PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
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
← All changes | classes/views/frm-forms/settings-buttons.php +14 -10 6.5.3 → trunk View file →
@@ -2,16 +2,13 @@
2 2 if ( ! defined( 'ABSPATH' ) ) {
3 3 die( 'You are not allowed to call this page directly.' );
4 4 }
5 5 ?>
6 -<p class="howto">
7 - <?php esc_html_e( 'Select a style for this form and set your button text.', 'formidable' ); ?>
8 -</p>
9 6
10 -<input type="hidden" name="options[custom_style]" value="<?php echo esc_attr( $values['custom_style'] ); ?>" />
11 -
12 7 <table class="form-table">
13 - <?php do_action( 'frm_add_form_style_tab_options', $values ); ?>
8 + <?php
9 + do_action_deprecated( 'frm_add_form_style_tab_options', array( $values ), '6.16.3' );
10 + ?>
14 11 <tr>
15 12 <td colspan="2">
16 13 <h3><?php esc_html_e( 'Buttons', 'formidable' ); ?></h3>
17 14 </td>
@@ -16,11 +13,18 @@
16 13 <h3><?php esc_html_e( 'Buttons', 'formidable' ); ?></h3>
17 14 </td>
18 15 </tr>
19 16 <tr>
20 - <td><label for="frm_submit_button_text"><?php esc_html_e( 'Submit Button Text', 'formidable' ); ?></label></td>
21 - <td>
22 - <input id="frm_submit_button_text" type="text" name="options[submit_value]" value="<?php echo esc_attr( $values['submit_value'] ); ?>" />
17 + <td colspan="2">
18 + <div class="frm_note_style" style="margin-top: 0;">
19 + <?php esc_html_e( 'Submit button settings were moved to the Submit button in the form builder.', 'formidable' ); ?>
20 + </div>
23 21 </td>
24 22 </tr>
25 - <?php do_action( 'frm_add_form_button_options', $values ); ?>
23 + <?php
24 + if ( $should_deprecate_hook ) {
25 + do_action_deprecated( 'frm_add_form_button_options', array( $values ), '6.16.3' );
26 + } else {
27 + do_action( 'frm_add_form_button_options', $values );
28 + }
29 + ?>
26 30 </table>