Exemple #1
0
$wp_list_table->search_box(__('Search', 'formidable'), 'entry');
?>
            </div>
            <div class="clear"></div>
            </div>
            <?php 
if ($form) {
    ?>
            <div id="titlediv">
				<input id="title" type="text" value="<?php 
    echo esc_attr($form->name == '' ? __('(no title)') : $form->name);
    ?>
" readonly="readonly" disabled="disabled" />
            </div>
            <?php 
}
?>

			<?php 
FrmTipsHelper::pro_tip('get_entries_tip');
?>

            <?php 
$wp_list_table->display();
?>

        </div>
    </form>

</div>
</a>
				</li>
<?php 
    $col_class = empty($col_class) ? 'frm_col_one' : '';
    unset($field_key, $field_type);
}
?>
            </ul>
            <div class="clear"></div>
            <hr/>
			<ul <?php 
echo apply_filters('frm_drag_field_class', '');
?>
 style="margin-top:2px;">
				<li><?php 
FrmTipsHelper::pro_tip('get_builder_tip');
?>
</li>
<?php 
$col_class = 'frm_col_one';
$no_allow_class = apply_filters('frm_noallow_class', 'frm_noallow');
foreach (FrmField::pro_field_selection() as $field_key => $field_type) {
    if (is_array($field_type)) {
        $field_label = $field_type['name'];
        if (isset($field_type['switch_from'])) {
            continue;
        }
        ?>
				<li class="frmbutton button <?php 
        echo esc_attr($col_class . ' ' . $no_allow_class . ' frm_t' . $field_key);
        ?>
    public static function style_menu($active = '')
    {
        ?>
        <h2 class="nav-tab-wrapper">
			<a href="<?php 
        echo esc_url(admin_url('admin.php?page=formidable-styles'));
        ?>
" class="nav-tab <?php 
        echo '' == $active ? 'nav-tab-active' : '';
        ?>
"><?php 
        _e('Edit Styles', 'formidable');
        ?>
</a>
			<a href="<?php 
        echo esc_url(admin_url('admin.php?page=formidable-styles&frm_action=manage'));
        ?>
" class="nav-tab <?php 
        echo 'manage' == $active ? 'nav-tab-active' : '';
        ?>
"><?php 
        _e('Manage Form Styles', 'formidable');
        ?>
</a>
			<a href="<?php 
        echo esc_url(admin_url('admin.php?page=formidable-styles&frm_action=custom_css'));
        ?>
" class="nav-tab <?php 
        echo 'custom_css' == $active ? 'nav-tab-active' : '';
        ?>
"><?php 
        _e('Custom CSS', 'formidable');
        ?>
</a>
			<?php 
        FrmTipsHelper::pro_tip('get_styling_tip');
        ?>
        </h2>
<?php 
    }
Exemple #4
0
            <input type="file" name="frm_import_file" size="25" />
            </p>

            <?php 
do_action('frm_csv_opts', $forms);
?>

            <p class="submit">
				<input type="submit" value="<?php 
esc_attr_e('Upload file and import', 'formidable');
?>
" class="button-primary" />
            </p>
        </form>
		<?php 
FrmTipsHelper::pro_tip('get_import_tip');
?>
    </div>
    </div>


    <div class="postbox">
    <h3 class="hndle"><span><?php 
_e('Export', 'formidable');
?>
</span></h3>
    <div class="inside with_frm_style">
		<form method="post" action="<?php 
echo esc_url(admin_url('admin-ajax.php'));
?>
" id="frm_export_xml">
    do_action('frm_additional_form_options', $values);
    ?>
				</table>
				<?php 
}
?>

		</div>


        <div id="frm_notification_settings" class="frm_email_settings email_settings tabs-panel widgets-holder-wrap <?php 
echo $a == 'email_settings' ? ' frm_block' : ' frm_hidden';
?>
">
			<?php 
FrmTipsHelper::pro_tip('get_form_action_tip', 'p');
?>
            <div id="frm_email_addon_menu" class="manage-menus">
                <h3><?php 
_e('Add New Action', 'formidable');
?>
</h3>
                <ul class="frm_actions_list">
                <?php 
//For each add-on, add an li, class, and javascript function. If active, add an additional class.
foreach ($action_controls as $action_control) {
    ?>
                    <li><a href="javascript:void(0)" class="frm_<?php 
    echo esc_attr($action_control->id_base);
    ?>
_action frm_bstooltip <?php 
    private static function maybe_show_upgrade_bar()
    {
        $page = FrmAppHelper::simple_get('page', 'sanitize_title');
        if (strpos($page, 'formidable') !== 0) {
            return;
        }
        if (FrmAppHelper::pro_is_installed()) {
            return;
        }
        $affiliate = FrmAppHelper::get_affiliate();
        if (!empty($affiliate)) {
            $tip = FrmTipsHelper::get_banner_tip();
            ?>
<div class="update-nag frm-update-to-pro">
	<?php 
            echo FrmAppHelper::kses($tip['tip']);
            ?>
	<span><?php 
            echo FrmAppHelper::kses($tip['call']);
            ?>
</span>
	<a href="<?php 
            echo esc_url(FrmAppHelper::make_affiliate_url('https://formidablepro.com?banner=1&tip=' . absint($tip['num'])));
            ?>
" class="button">Upgrade to Pro</a>
</div>
<?php 
        }
    }
Exemple #7
0
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');
?>
		<?php 
FrmTipsHelper::pro_tip('get_styling_tip', 'p');
?>
	<div id="nav-menus-frame">
	<div id="menu-settings-column" class="metabox-holder">
		<div class="clear"></div>

		<div class="styling_settings">
		    <input type="hidden" name="style_name" value="frm_style_<?php 
echo esc_attr($style->post_name);
?>
" />
			<?php 
FrmStylesController::do_accordion_sections(FrmStylesController::$screen, 'side', compact('style', 'frm_style'));
?>
		</div>