Exemple #1
0
<div class="nav-menus-php">
<div class="wrap">
    <?php 
FrmStylesHelper::style_menu('manage');
?>

	<p><?php 
printf(__('Easily change which template your forms are using by making changes below or %1$screate a new style%2$s.', 'formidable'), '<a href="?page=formidable-styles&frm_action=new_style">', '</a>');
?>
</p>

	<?php 
include FrmAppHelper::plugin_path() . '/classes/views/shared/errors.php';
?>

	<div id="menu-locations-wrap">
	<form method="post">
	    <input type="hidden" name="frm_action" value="manage_styles"/>
		<table class="widefat fixed" id="menu-locations-table">
			<thead>
			<tr>
				<th scope="col" class="manage-column column-locations"><?php 
_e('Form Title', 'formidable');
?>
</th>
				<th scope="col" class="manage-column column-menus"><?php 
_e('Assigned Style Templates', 'formidable');
?>
</th>
			</tr>
			</thead>
Exemple #2
0
<div class="nav-menus-php">
<div class="wrap">
    <?php 
FrmStylesHelper::style_menu('custom_css');
?>

    <p><?php 
_e('You can add custom css here or in your theme style.css', 'formidable');
?>
</p>

    <?php 
include FrmAppHelper::plugin_path() . '/classes/views/shared/errors.php';
?>

	<form method="post">
	    <input type="hidden" name="ID" value="<?php 
echo esc_attr($style->ID);
?>
" />
        <input type="hidden" name="<?php 
echo esc_attr($frm_style->get_field_name('post_title', ''));
?>
" value="<?php 
echo esc_attr($style->post_title);
?>
" />
        <input type="hidden" name="<?php 
echo esc_attr($frm_style->get_field_name('menu_order', ''));
?>
" value="<?php 
<div class="nav-menus-php">
<div class="wrap">
    <?php 
FrmStylesHelper::style_menu();
?>

	<?php 
include FrmAppHelper::plugin_path() . '/classes/views/shared/errors.php';
?>

	<?php 
do_action('frm_style_switcher', $style, $styles);
?>

	<form id="frm_styling_form" action="" name="frm_styling_form" method="post">
	    <input type="hidden" name="ID" value="<?php 
echo esc_attr($style->ID);
?>
" />
		<input type="hidden" name="frm_action" value="save" />
        <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>
		<?php 
wp_nonce_field('frm_style_nonce', 'frm_style');
?>