本文整理匯總了PHP中GFEntryDetail::entry_detail_pagination_link方法的典型用法代碼示例。如果您正苦於以下問題:PHP GFEntryDetail::entry_detail_pagination_link方法的具體用法?PHP GFEntryDetail::entry_detail_pagination_link怎麽用?PHP GFEntryDetail::entry_detail_pagination_link使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類GFEntryDetail
的用法示例。
在下文中一共展示了GFEntryDetail::entry_detail_pagination_link方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: lead_detail_page
//.........這裏部分代碼省略.........
<div class="wrap gf_entry_wrap">
<h2 class="gf_admin_page_title">
<span><?php
echo esc_html__('Entry #', 'gravityforms') . absint($lead['id']);
?>
</span><span class="gf_admin_page_subtitle"><span class="gf_admin_page_formid">ID: <?php
echo absint($form['id']);
?>
</span><span class='gf_admin_page_formname'><?php
esc_html_e('Form Name', 'gravityforms');
?>
: <?php
echo esc_html($form['title']);
$gf_entry_locking = new GFEntryLocking();
$gf_entry_locking->lock_info($lead_id);
?>
</span></span></h2>
<?php
if (isset($_GET['pos'])) {
?>
<div class="gf_entry_detail_pagination">
<ul>
<li class="gf_entry_count">
<span>entry <strong><?php
echo $position + 1;
?>
</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
}
?>
<?php
RGForms::top_toolbar();
?>
<div id="poststuff" class="metabox-holder has-right-sidebar">
<div id="side-info-column" class="inner-sidebar">
<?php
do_action('gform_entry_detail_sidebar_before', $form, $lead);
?>
<!-- INFO BOX -->
<div id="submitdiv" class="stuffbox">
<h3 class="hndle" style="cursor:default;">
<span><?php
esc_html_e('Entry', 'gravityforms');
?>
</span>
</h3>
<div class="inside">
示例2: lead_detail_page
//.........這裏部分代碼省略.........
</script>
<form method="post" id="entry_form" enctype='multipart/form-data'>
<?php
wp_nonce_field('gforms_save_entry', 'gforms_save_entry');
?>
<input type="hidden" name="action" id="action" value=""/>
<input type="hidden" name="screen_mode" id="screen_mode" value="<?php
echo esc_attr(rgpost("screen_mode"));
?>
" />
<div class="wrap gf_entry_wrap">
<div class="icon32" id="gravity-title-icon"><br></div>
<h2><?php
_e("Entry #", "gravityforms");
echo absint($lead["id"]);
?>
</h2>
<?php
if (isset($_GET["pos"])) {
?>
<div class="gf_entry_detail_pagination">
<ul>
<li class="gf_entry_count"><span>entry <strong><?php
echo $position + 1;
?>
</strong> of <strong><?php
echo $lead_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');
?>
</li>
<li class="gf_entry_next gf_entry_pagination"><?php
echo GFEntryDetail::entry_detail_pagination_link($next_pos, 'Next Entry', 'gf_entry_next_link');
?>
</li>
</ul>
</div>
<?php
}
?>
<?php
RGForms::top_toolbar();
?>
<div id="poststuff" class="metabox-holder has-right-sidebar">
<div id="side-info-column" class="inner-sidebar">
<div id="submitdiv" class="stuffbox">
<h3>
<span class="hndle"><?php
_e("Info", "gravityforms");
?>
</span>
</h3>
<div class="inside">
<div id="submitcomment" class="submitbox">
<div id="minor-publishing" style="padding:10px;">
<br/>
<?php
_e("Entry Id", "gravityforms");
?>
示例3: lead_detail_page
//.........這裏部分代碼省略.........
<input type="hidden" name="action" id="action" value=""/>
<input type="hidden" name="screen_mode" id="screen_mode" value="<?php
echo esc_attr(rgpost("screen_mode"));
?>
" />
<div class="wrap gf_entry_wrap">
<h2 class="gf_admin_page_title"><span><?php
echo __("Entry #", "gravityforms") . absint($lead["id"]);
?>
</span><span class="gf_admin_page_subtitle"><span class="gf_admin_page_formid">ID: <?php
echo $form['id'];
?>
</span><?php
echo $form['title'];
$gf_entry_locking = new GFEntryLocking();
$gf_entry_locking->lock_info($lead_id);
?>
</span></h2>
<?php
if (isset($_GET["pos"])) {
?>
<div class="gf_entry_detail_pagination">
<ul>
<li class="gf_entry_count"><span>entry <strong><?php
echo $position + 1;
?>
</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
}
?>
<?php
RGForms::top_toolbar();
?>
<div id="poststuff" class="metabox-holder has-right-sidebar">
<div id="side-info-column" class="inner-sidebar">
<?php
do_action("gform_entry_detail_sidebar_before", $form, $lead);
?>
<!-- INFO BOX -->
<div id="submitdiv" class="stuffbox">
<h3>
<span class="hndle"><?php
_e("Entry", "gravityforms");
?>
</span>
</h3>
<div class="inside">
<div id="submitcomment" class="submitbox">
示例4: lead_detail_page
//.........這裏部分代碼省略.........
?>
<input type="hidden" name="action" id="action" value="" />
<input type="hidden" name="screen_mode" id="screen_mode" value="<?php
echo esc_attr(rgpost('screen_mode'));
?>
" />
<input type="hidden" name="entry_id" id="entry_id" value="<?php
echo absint($lead['id']);
?>
" />
<div class="wrap gf_entry_wrap">
<h2 class="gf_admin_page_title">
<span><?php
echo esc_html(rgar($form, 'title'));
?>
</span>
<?php
if (isset($_GET['pos'])) {
?>
<div class="gf_entry_detail_pagination">
<ul>
<li class="gf_entry_count">
<span>entry <strong><?php
echo $position + 1;
?>
</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
GFCommon::display_dismissible_message();
?>
<?php
RGForms::top_toolbar();
?>