本文整理汇总了PHP中tpl_pageinfo函数的典型用法代码示例。如果您正苦于以下问题:PHP tpl_pageinfo函数的具体用法?PHP tpl_pageinfo怎么用?PHP tpl_pageinfo使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了tpl_pageinfo函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: tpl_flush
<div class="clearer"></div>
</div>
<?php
tpl_flush();
?>
<?php
_tpl_include('pagefooter.html');
?>
</div></div><!-- /content -->
<div class="clearer"></div>
<hr class="a11y" />
<div class="doc"><?php
tpl_pageinfo();
?>
</div>
<!-- PAGE ACTIONS -->
<?php
if ($showTools) {
?>
<div id="dokuwiki__pagetools">
<h3 class="a11y"><?php
echo tpl_getLang('page_tools');
?>
</h3>
<ul>
<?php
tpl_action('edit', 1, 'li');
_tpl_action('discussion', 1, 'li');
开发者ID:numahell,项目名称:dokuwiki_template_blue_grey,代码行数:31,代码来源:main.php
示例2: tpl_actionlink
<!-- end content -->
</div> <!-- id="maincolContent" -->
<div id="contentfooterNavigation" class="horizontalNavigation">
<?php
if ($conf['useacl'] && $_SERVER['REMOTE_USER']) {
echo '<ul >' . '<li >';
tpl_actionlink('edit');
echo '</li >' . '<li >';
tpl_actionlink('history');
echo '</li >' . '<li >';
tpl_actionlink('recent');
echo '</li >' . '</ul>';
} else {
echo '<ul>' . '<li>';
echo tpl_pageinfo() . '</li >' . '<li>' . tpl_userinfo() . '</li >' . '</ul>';
}
?>
</div>
</div>
<!--right column-->
<?php
writeMBPortlet($monobook['personal'], 'rightcol', '', 'rightcol');
?>
</div>
<!--++++++++++++++++++Footer++++++++++++++-->
<div class="clearer"> </div>
开发者ID:BackupTheBerlios,项目名称:openaqua-svn,代码行数:31,代码来源:main.php
示例3: tpl_content
<?php tpl_content()?>
<!-- wikipage stop -->
</div>
<div class="clearer"></div>
<?php tpl_flush()?>
<div class="stylefoot">
<div class="meta">
<div class="user">
<?php tpl_userinfo()?>
</div>
<div class="doc">
<?php tpl_pageinfo()?>
</div>
</div>
<?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?>
<div class="bar" id="bar__bottom">
<div class="bar-left" id="bar__bottomleft">
<?php tpl_button('edit')?>
<?php tpl_button('history')?>
<?php tpl_button('revert')?>
</div>
<div class="bar-right" id="bar__bottomright">
<?php tpl_button('subscribe')?>
<?php tpl_button('media')?>
<?php tpl_button('admin')?>
开发者ID:neutrinog,项目名称:Door43,代码行数:31,代码来源:main.php
示例4: tpl_flush
<div class="page group">
<?php tpl_flush() ?>
<?php tpl_includeFile('pageheader.html') ?>
<!-- wikipage start -->
<?php tpl_content() ?>
<!-- wikipage stop -->
<?php tpl_includeFile('pagefooter.html') ?>
</div>
<div class="docInfo">
<a href="<?php echo exportlink($ID)?>"><img class="download" src="<?php echo DOKU_BASE?>lib/images/fileicons/txt.png" alt="Text Export"></a>
<a href="<?php echo exportlink($ID, 'xhtmlbody')?>"><img class="download" src="<?php echo DOKU_BASE?>lib/images/fileicons/htm.png" alt="HTML Export"></a>
<a href="<?php echo exportlink($ID, 'odt')?>"><img class="download" src="<?php echo DOKU_BASE?>lib/images/fileicons/odt.png" alt="ODT Export"></a><br />
<?php tpl_pageinfo() ?></div>
<?php tpl_flush() ?>
</div></div><!-- /content -->
<hr class="a11y" />
<!-- PAGE ACTIONS -->
<div id="dokuwiki__pagetools">
<h3 class="a11y"><?php echo $lang['page_tools']; ?></h3>
<div class="tools">
<ul>
<?php
tpl_action('edit', 1, 'li', 0, '<span>', '</span>');
tpl_action('revert', 1, 'li', 0, '<span>', '</span>');
tpl_action('revisions', 1, 'li', 0, '<span>', '</span>');
开发者ID:neutrinog,项目名称:Door43,代码行数:31,代码来源:main.php
示例5: handle_display_banner
function handle_display_banner(&$event, $param)
{
global $ID, $REV, $INFO;
if ($event->data != 'show') {
return;
}
if (!$INFO['exists']) {
return;
}
$m = p_get_metadata($ID);
$changelog = new PageChangeLog($ID);
//sprawdź status aktualnej strony
if ($REV != 0) {
$ch = $changelog->getRevisionInfo($REV);
$sum = $ch['sum'];
} else {
$sum = $m['last_change']['sum'];
}
if ($sum != APPRVOED) {
$class = 'approved_no';
$last_approved_rev = $this->find_lastest_approved();
}
ptln('<div class="approval ' . ($sum == APPROVED ? 'approved_yes' : 'approved_no') . '">');
tpl_pageinfo();
ptln(' | ');
if ($sum == APPROVED) {
ptln('<span>' . $this->getLang('approved') . '</span>');
if ($REV != 0 && auth_quickaclcheck($ID) > AUTH_READ) {
ptln('<a href="' . wl($ID) . '">');
ptln($this->getLang($m['last_change']['sum'] == APPROVED ? 'newest_approved' : 'newest_draft'));
ptln('</a>');
} else {
if ($REV != 0 && $REV != $last_approved_rev) {
ptln('<a href="' . wl($ID) . '">');
ptln($this->getLang('newest_approved'));
ptln('</a>');
}
}
} else {
ptln('<span>' . $this->getLang('draft') . '</span>');
if (isset($last_approved_rev)) {
if ($last_approved_rev != 0) {
ptln('<a href="' . wl($ID, array('rev' => $last_approved_rev)) . '">');
} else {
ptln('<a href="' . wl($ID) . '">');
}
ptln($this->getLang('newest_approved'));
ptln('</a>');
} else {
ptln('<a href="' . wl($ID) . '">');
ptln($this->getLang('newest_draft'));
ptln('</a>');
}
//można zatwierdzać tylko najnowsze strony
if ($REV == 0 && $this->can_approve()) {
ptln('<a href="' . wl($ID, array('rev' => $last_approved_rev, 'do' => 'diff', 'approve' => 'approve')) . '">');
ptln($this->getLang('approve'));
ptln('</a>');
}
}
ptln('</div>');
}
开发者ID:sawachan,项目名称:dokuwiki-plugin-approve,代码行数:62,代码来源:approve.php
示例6: tpl_pageinfo
</div><!-- /content-inner-inner -->
</div><!-- /content-inner -->
</div><!-- /content-region-inner -->
</div><!-- /content-region -->
</div><!-- /content-group-inner -->
</div><!-- /content-group -->
</div><!-- /main-content-inner -->
</div><!-- /main-content -->
</div><!-- /main-group-inner -->
</div><!-- /main-group -->
</div><!-- /main-inner -->
</div><!-- /main -->
</div>
<div class="footer-message-wrapper full-width" id="footer-message-wrapper">
<div class="footer-message row grid16-16" id="footer-message">
<div class="footer-message-inner inner clearfix" id="footer-message-inner">
<div id="dokuwiki__footer">
<div class="doc"><?php tpl_pageinfo() // 'Last modified' etc ?></div>
<?php tpl_license('button'); // content license, parameters: img=*badge|button|0, imgonly=*0|1, return=*0|1 ?>
</div>
<?php _tpl_include('footer.html'); ?>
<?php tpl_indexerWebBug(); // provide DokuWiki housekeeping, required in all templates ?>
</div><!-- /footer-message-inner -->
</div><!-- /footer-message -->
</div>
</div>
</div>
</body>
</html>
开发者ID:neverpanic,项目名称:dokuwiki-template-acquia-marina,代码行数:30,代码来源:main.php
注:本文中的tpl_pageinfo函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论