PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.8.2
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.8.2
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
formidable / classes / views / styles / _manage-styles-row.php

_manage-styles-row.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 6.8.2, at classes/views/styles/_manage-styles-row.php

28 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 die( 'You are not allowed to call this page directly.' );
4 }
5
6 $form_name = ! empty( $form->name ) ? $form->name : __( '(no title)', 'formidable' );
7 $dropdown_id = 'frm_style_dropdown_' . absint( $form->id );
8 ?>
9 <tr>
10 <td>
11 <label for="<?php echo esc_html( $dropdown_id ); ?>"><?php echo esc_html( $form_name ); ?></label>
12 </td>
13 <td>
14 <input type="hidden" name="prev_style[<?php echo absint( $form->id ); ?>]" value="<?php echo esc_attr( $active_style_id ); ?>" />
15
16 <select id="<?php echo esc_html( $dropdown_id ); ?>" name="style[<?php echo absint( $form->id ); ?>]">
17 <?php foreach ( $styles as $style ) { ?>
18 <option value="<?php echo esc_attr( $style->ID ); ?>" <?php selected( $style->ID, $active_style_id ); ?>>
19 <?php echo esc_html( $style->post_title . ( empty( $style->menu_order ) ? '' : ' (' . __( 'default', 'formidable' ) . ')' ) ); ?>
20 </option>
21 <?php } ?>
22 <option value="" <?php selected( 0, $active_style_id ); ?>>
23 <?php esc_html_e( 'Styling disabled', 'formidable' ); ?>
24 </option>
25 </select>
26 </td>
27 </tr>
28