PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 4.01.02
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v4.01.02
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 / frm-forms / settings.php

settings.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 4.01.02, at classes/views/frm-forms/settings.php

61 lines 2.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <div id="form_settings_page" class="frm_wrap">
2 <form method="post" class="frm_form_settings">
3 <div class="frm_page_container">
4
5 <?php
6 FrmAppHelper::get_admin_header(
7 array(
8 'label' => __( 'Settings', 'formidable' ),
9 'form' => $form,
10 'hide_title' => true,
11 'close' => '?page=formidable',
12 'publish' => array( 'FrmFormsController::form_publish_button', compact( 'values' ) ),
13 )
14 );
15 ?>
16
17 <div class="columns-2">
18 <div class="frm-right-panel">
19 <?php include( FrmAppHelper::plugin_path() . '/classes/views/frm-settings/tabs.php' ); ?>
20 </div>
21
22 <div id="post-body-content" class="frm-fields">
23
24 <input type="hidden" name="id" id="form_id" value="<?php echo (int) $id; ?>" />
25 <input type="hidden" name="frm_action" value="update_settings" />
26 <?php wp_nonce_field( 'process_form_nonce', 'process_form' ); ?>
27
28 <div id="frm-categorydiv">
29 <div class="inside frm-inner-content">
30 <?php
31 // Add form messages.
32 require( FrmAppHelper::plugin_path() . '/classes/views/shared/errors.php' );
33 ?>
34
35 <?php foreach ( $sections as $section ) { ?>
36 <div id="<?php echo esc_attr( $section['id'] ); ?>" class="tabs-panel <?php echo ( $current === $section['anchor'] ) ? ' frm_block' : ' frm_hidden'; ?> <?php echo esc_attr( $section['anchor'] . ' frm_' . $section['anchor'] ); ?>">
37 <h2>
38 <?php echo esc_html( $section['title'] ); ?>
39 </h2>
40
41 <?php
42 if ( isset( $section['class'] ) ) {
43 call_user_func( array( $section['class'], $section['function'] ), $values );
44 } elseif ( ! isset( $section['data'] ) ) {
45 call_user_func( ( isset( $section['function'] ) ? $section['function'] : $section ), $values );
46 }
47 ?>
48 </div>
49 <?php } ?>
50
51 <?php do_action( 'frm_add_form_option_section', $values ); ?>
52 <div class="clear"></div>
53 <?php include( FrmAppHelper::plugin_path() . '/classes/views/frm-forms/mb_insert_fields.php' ); ?>
54 </div>
55 </div>
56 </div>
57 </div>
58 </div>
59 </form>
60 </div>
61