本文整理汇总了PHP中GFForms::edit_form_title方法的典型用法代码示例。如果您正苦于以下问题:PHP GFForms::edit_form_title方法的具体用法?PHP GFForms::edit_form_title怎么用?PHP GFForms::edit_form_title使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GFForms
的用法示例。
在下文中一共展示了GFForms::edit_form_title方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: form_page_title
public static function form_page_title($form)
{
?>
<h1>
<span id='gform_settings_page_title' class='gform_settings_page_title' onclick='GF_ShowEditTitle()'><?php
echo esc_html(rgar($form, 'title'));
?>
</span>
<?php
GFForms::form_switcher();
?>
<span class="gf_admin_page_formid">ID: <?php
echo absint($form['id']);
?>
</span>
</h1>
<?php
GFForms::edit_form_title($form);
?>
<?php
}
示例2: form_page_title
public static function form_page_title($form)
{
$editable_class = GFCommon::current_user_can_any('gravityforms_edit_forms') ? ' gform_settings_page_title_editable' : '';
?>
<h1>
<span id='gform_settings_page_title' class='gform_settings_page_title<?php
echo $editable_class;
?>
' onclick='GF_ShowEditTitle()'><?php
echo esc_html(rgar($form, 'title'));
?>
</span>
<?php
GFForms::form_switcher();
?>
<span class="gf_admin_page_formid">ID: <?php
echo absint($form['id']);
?>
</span>
</h1>
<?php
GFForms::edit_form_title($form);
?>
<?php
}
示例3: lead_detail_page
//.........这里部分代码省略.........
?>
</strong> of <strong><?php
echo $total_count;
?>
</strong></span>
</li>
<li class="gf_entry_prev gf_entry_pagination"><?php
echo GFEntryDetail::entry_detail_pagination_link($prev_pos, 'Previous Entry', 'gf_entry_prev_link', 'fa fa-arrow-circle-o-left');
?>
</li>
<li class="gf_entry_next gf_entry_pagination"><?php
echo GFEntryDetail::entry_detail_pagination_link($next_pos, 'Next Entry', 'gf_entry_next_link', 'fa fa-arrow-circle-o-right');
?>
</li>
</ul>
</div>
<?php
}
?>
<span class="gf_admin_page_subtitle">
<span class="gf_admin_page_formid">ID: <?php
echo absint($form['id']);
?>
</span>
</span>
<?php
$gf_entry_locking = new GFEntryLocking();
$gf_entry_locking->lock_info($lead_id);
?>
</h2>
<?php
GFForms::edit_form_title($form);
?>
<?php
GFCommon::display_dismissible_message();
?>
<?php
RGForms::top_toolbar();
?>
<div id="poststuff">
<?php
wp_nonce_field('closedpostboxes', 'closedpostboxesnonce', false);
?>
<?php
wp_nonce_field('meta-box-order', 'meta-box-order-nonce', false);
?>
<div id="post-body" class="metabox-holder columns-2">
<div id="post-body-content">
<?php
/**
* Fires before the entry detail content is displayed
*
* @param array $form The Form object
* @param array $lead The Entry object
*/
do_action('gform_entry_detail_content_before', $form, $lead);
if ($mode == 'view') {
self::lead_detail_grid($form, $lead, true);
} else {