PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 1.07.11
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v1.07.11
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 / edit.php

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

54 lines 2.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <div class="wrap">
2 <div class="frmicon icon32"><br/></div>
3 <h2><?php echo ( $form->is_template ? __('Templates', 'formidable') : __('Build', 'formidable')); ?>
4 <a href="?page=formidable&amp;frm_action=new-selection" class="add-new-h2"><?php _e('Add New', 'formidable'); ?></a>
5 </h2>
6 <?php
7 if ( ! $form->is_template ) {
8 FrmAppController::get_form_nav($id, true);
9 }
10 require(FrmAppHelper::plugin_path() .'/classes/views/shared/errors.php');
11
12 if(version_compare( $GLOBALS['wp_version'], '3.3.3', '<')){ ?>
13 <div id="poststuff" class="metabox-holder has-right-sidebar">
14 <?php
15 require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/add_field_links.php');
16 }else{ ?>
17 <div id="poststuff">
18 <?php } ?>
19
20 <div id="post-body" class="metabox-holder columns-2">
21 <div id="post-body-content">
22 <div class="frm_form_builder<?php echo (isset($form->options['custom_style']) && $form->options['custom_style']) ? ' with_frm_style' : ''; ?>">
23
24 <p style="margin-top:0;">
25 <input type="button" onclick="frmSubmit<?php echo (isset($form->options['ajax_load']) && $form->options['ajax_load']) ? 'Build' : 'NoAjax'; ?>(this)" value="<?php _e('Update', 'formidable') ?>" class="button-primary" />
26 <?php _e('or', 'formidable') ?>
27 <a class="button-secondary cancel" href="?page=formidable<?php echo ($form->is_template) ? '-templates' : ''; ?>"><?php _e('Cancel', 'formidable') ?></a>
28 <span class="frm-loading-img"></span>
29 </p>
30
31 <form method="post" id="frm_build_form">
32 <input type="hidden" name="frm_action" value="update" />
33 <input type="hidden" name="action" value="update" />
34 <input type="hidden" name="id" value="<?php echo $id; ?>" />
35
36 <?php require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/form.php'); ?>
37
38 <p>
39 <input type="button" onclick="frmSubmit<?php echo (isset($form->options['ajax_load']) && $form->options['ajax_load']) ? 'Build' : 'NoAjax'; ?>(this)" value="<?php _e('Update', 'formidable') ?>" class="button-primary" />
40 <?php _e('or', 'formidable') ?>
41 <a class="button-secondary cancel" href="?page=formidable<?php echo $form->is_template ? '-templates' : ''; ?>"><?php _e('Cancel', 'formidable') ?></a>
42 <span class="frm-loading-img"></span>
43 </p>
44 </form>
45 </div>
46 </div>
47 <?php
48 if(version_compare( $GLOBALS['wp_version'], '3.3.2', '>'))
49 require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/add_field_links.php');
50 ?>
51 </div>
52 </div>
53 </div>
54