本文整理汇总了PHP中FrmAppHelper::wp_pages_dropdown方法的典型用法代码示例。如果您正苦于以下问题:PHP FrmAppHelper::wp_pages_dropdown方法的具体用法?PHP FrmAppHelper::wp_pages_dropdown怎么用?PHP FrmAppHelper::wp_pages_dropdown使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类FrmAppHelper
的用法示例。
在下文中一共展示了FrmAppHelper::wp_pages_dropdown方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _e
</option>
</select><br/>
<span id="post_select_container">
<?php
_e('on page', 'formidable');
?>
<!-- <img src="<?php
echo FRM_IMAGES_URL;
?>
/tooltip.png" alt="?" class="frm_help" title="<?php
_e('If you would like the content to be inserted automatically, you must then select the page in which to insert it.', 'formidable');
?>
" /><br/> -->
<?php
FrmAppHelper::wp_pages_dropdown('post_id', $values['post_id'], 35);
?>
</span>
<?php
if ($values['insert_loc'] != 'none' and is_numeric($values['post_id'])) {
?>
<a href="<?php
echo get_permalink($values['post_id']);
?>
" target="_blank" class="button-secondary"><?php
_e('View Post', 'formidable');
?>
</a>
<?php
}
?>
示例2: _e
" placeholder="http://example.com" />
</span>
<?php
if (FrmAppHelper::pro_is_installed()) {
?>
<span class="success_action_page_box success_action_box<?php
echo $values['success_action'] == 'page' ? '' : ' frm_hidden';
?>
">
<label><?php
_e('Use Content from Page', 'formidable');
?>
</label>
<?php
FrmAppHelper::wp_pages_dropdown('options[success_page_id]', $values['success_page_id']);
?>
</span>
<?php
}
?>
</td>
</tr>
<tr class="frm_show_form_opt success_action_message_box success_action_box<?php
echo $values['success_action'] == 'message' ? '' : ' frm_hidden';
?>
">
<td colspan="2">
<label for="show_form"><input type="checkbox" name="options[show_form]" id="show_form" value="1" <?php
checked($values['show_form'], 1);
?>
示例3: _e
?>
/> <?php
_e('Use this menu name site-wide', 'formidable');
?>
</label>
<?php
}
?>
</p>
<p><label class="frm_left_label"><?php
_e('Preview Page', 'formidable');
?>
</label>
<?php
FrmAppHelper::wp_pages_dropdown('frm-preview-page-id', $frm_settings->preview_page_id);
?>
</p>
</div>
<?php
foreach ($sections as $sec_name => $section) {
if ($a == $sec_name . '_settings') {
?>
<style type="text/css">.<?php
echo esc_attr($sec_name);
?>
_settings{display:block;}</style><?php
}
?>
示例4: _e
/> <?php
_e('Use this menu name site-wide', 'formidable');
?>
<?php
}
?>
</td>
</tr>
<tr class="form-field">
<td valign="top"><?php
_e('Preview Page', 'formidable');
?>
</td>
<td>
<?php
FrmAppHelper::wp_pages_dropdown($frm_settings->preview_page_id_str, $frm_settings->preview_page_id);
?>
</td>
</tr>
<tr>
<td valign="top" width="200px"><?php
_e('Tracking', 'formidable');
?>
</td>
<td>
<p><input type="checkbox" id="frm_track" name="frm_track" value="1" <?php
checked($frm_settings->track, 1);
?>
> <?php
_e('Track referrer information and pages visited', 'formidable');
示例5: esc_attr
"></span>
</label>
<input type="number" id="insert_pos" name="options[insert_pos]" min="1" max="15" step="1" size="4" value="<?php
echo esc_attr($post->frm_insert_pos);
?>
" style="float:none;"/>
</p>
<span id="post_select_container" <?php
echo $post->frm_insert_loc == 'none' ? ' class="frm_hidden"' : '';
?>
>
<?php
_e('on page', 'formidable');
?>
<?php
FrmAppHelper::wp_pages_dropdown('post_id', $post->frm_post_id, 35);
?>
<span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php
esc_attr_e('If you would like the content to be inserted automatically, you must then select the page in which to insert it.', 'formidable');
?>
"></span>
</span>
<?php
if ($post->frm_insert_loc != 'none' && is_numeric($post->frm_post_id)) {
?>
<a href="<?php
echo esc_url(get_permalink($post->frm_post_id));
?>
" target="_blank" class="button-secondary"><?php
_e('View Post', 'formidable');
?>
示例6: esc_attr
echo esc_attr($values['edit_url']);
}
?>
" style="width:61%" placeholder="http://example.com" />
</span>
<span class="edit_action_page_box edit_action_box" <?php
echo $values['edit_action'] == 'page' ? '' : 'style="display:none;"';
?>
>
<label><?php
_e('Use Content from Page', 'formidable');
?>
</label>
<?php
FrmAppHelper::wp_pages_dropdown('options[edit_page_id]', $values['edit_page_id']);
?>
</span>
</td>
</tr>
<tr>
<td colspan="2"><label for="save_draft"><input type="checkbox" name="options[save_draft]" id="save_draft" value="1"<?php
echo $values['save_draft'] ? ' checked="checked"' : '';
?>
/> <?php
_e('Allow logged-in users to save drafts', 'formidable');
?>
</label>
</td>
</tr>