PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 2.05.09
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v2.05.09
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 / show.php

show.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 2.05.09, at classes/views/styles/show.php

89 lines 4.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <div class="nav-menus-php">
2 <div class="wrap">
3 <?php FrmStylesHelper::style_menu(); ?>
4
5 <?php include( FrmAppHelper::plugin_path() . '/classes/views/shared/errors.php' ); ?>
6
7 <?php do_action( 'frm_style_switcher', $style, $styles ) ?>
8
9 <form id="frm_styling_form" action="" name="frm_styling_form" method="post">
10 <input type="hidden" name="ID" value="<?php echo esc_attr( $style->ID ) ?>" />
11 <input type="hidden" name="frm_action" value="save" />
12 <textarea name="<?php echo esc_attr( $frm_style->get_field_name( 'custom_css' ) ) ?>" class="frm_hidden"><?php echo FrmAppHelper::esc_textarea( $style->post_content['custom_css'] ) ?></textarea>
13 <?php wp_nonce_field( 'frm_style_nonce', 'frm_style' ); ?>
14 <?php FrmTipsHelper::pro_tip( 'get_styling_tip', 'p' ); ?>
15 <div id="nav-menus-frame">
16 <div id="menu-settings-column" class="metabox-holder">
17 <div class="clear"></div>
18
19 <div class="styling_settings">
20 <input type="hidden" name="style_name" value="frm_style_<?php echo esc_attr( $style->post_name ) ?>" />
21 <?php FrmStylesController::do_accordion_sections( FrmStylesController::$screen, 'side', compact( 'style', 'frm_style' ) ); ?>
22 </div>
23
24 </div><!-- /#menu-settings-column -->
25
26
27 <div id="menu-management-liquid">
28 <div id="menu-management">
29 <div class="menu-edit blank-slate">
30 <div id="nav-menu-header">
31 <div class="major-publishing-actions">
32 <label class="menu-name-label howto open-label" for="menu-name">
33 <span><?php esc_html_e( 'Style Name', 'formidable' ) ?></span>
34 <input id="menu-name" name="<?php echo esc_attr( $frm_style->get_field_name( 'post_title', '' ) ); ?>" type="text" class="menu-name regular-text menu-item-textbox" title="<?php esc_attr_e( 'Enter style name here', 'formidable' ) ?>" value="<?php echo esc_attr( $style->post_title ) ?>" />
35 </label>
36
37 <input name="prev_menu_order" type="hidden" value="<?php echo esc_attr( $style->menu_order ) ?>" />
38 <label class="menu-name-label howto open-label default-style-box" for="menu_order">
39 <span>
40 <?php if ( $style->menu_order ) { ?>
41 <input name="<?php echo esc_attr( $frm_style->get_field_name( 'menu_order', '' ) ); ?>" type="hidden" value="1" />
42 <input id="menu_order" disabled="disabled" type="checkbox" value="1" <?php checked( $style->menu_order, 1 ) ?> />
43 <?php } else { ?>
44 <input id="menu_order" name="<?php echo esc_attr( $frm_style->get_field_name( 'menu_order', '' ) ); ?>" type="checkbox" value="1" <?php checked( $style->menu_order, 1 ) ?> />
45 <?php } ?>
46 <?php esc_html_e( 'Make default style', 'formidable' ) ?></span>
47 </label>
48
49 <div class="publishing-action">
50 <input type="submit" id="save_menu_header" class="button button-primary menu-save" value="<?php esc_attr_e( 'Save Style', 'formidable' ); ?>" />
51 </div><!-- END .publishing-action -->
52 </div><!-- END .major-publishing-actions -->
53 </div><!-- END .nav-menu-header -->
54 <div id="post-body">
55 <div id="post-body-content">
56
57 <?php include( dirname( __FILE__ ) . '/_sample_form.php' ); ?>
58
59 </div><!-- /#post-body-content -->
60 </div><!-- /#post-body -->
61 <div id="nav-menu-footer" class="submitbox">
62 <div class="major-publishing-actions">
63 <?php if ( ! empty( $style->ID ) && empty( $style->menu_order ) ) { ?>
64 <a href="<?php echo esc_url( admin_url( 'admin.php?page=formidable-styles&frm_action=destroy&id=' . $style->ID ) ); ?>" id="frm_delete_style" class="submitdelete deletion" onclick="return confirm('<?php esc_attr_e( 'Are you sure you want to delete that style?', 'formidable' ) ?>')">
65 <?php esc_html_e( 'Delete Style', 'formidable' ) ?>
66 </a>
67 <?php } ?>
68 <?php
69 if ( $style->ID ) {
70 echo '<span class="howto"><span>.frm_style_' . esc_attr( $style->post_name ) . '</span></span>';
71 }
72 ?>
73 <div class="publishing-action">
74 <input type="button" value="<?php esc_attr_e( 'Reset to Default', 'formidable' ) ?>" class="button-secondary frm_reset_style" />
75 <input type="submit" id="save_menu_header" class="button button-primary menu-save" value="<?php esc_attr_e( 'Save Style', 'formidable' ); ?>" />
76 </div><!-- END .publishing-action -->
77 <div class="clear"></div>
78 </div><!-- END .major-publishing-actions -->
79 </div><!-- /#nav-menu-footer -->
80 </div><!-- /.menu-edit -->
81 </div><!-- /#menu-management -->
82 </div><!-- /#menu-management-liquid -->
83 </div><!-- /#nav-menus-frame -->
84 </form>
85 </div>
86 </div>
87
88 <div id="this_css"></div>
89