actionbar.tmpl

来自「PhpWiki是sourceforge的一个开源项目」· TMPL 代码 · 共 40 行

TMPL
40
字号
<?php // -*-php-*-  rcs_id('$Id: actionbar.tmpl,v 1.4 2005/01/25 07:24:17 rurban Exp $');  if (!$page->get('locked') || $user->isAdmin() and $revision)      $EditB = Button("edit",                      $revision->isCurrent() ? _("Edit") : _("Edit Old Revision"));  else      $EditB = Button("viewsource", _("View Source"));  $Sep = $WikiTheme->getButtonSeparator();//MSIE needs sticky.js?><div <?= isBrowserIE() ? "class=ie-actionbuttons" : "id=actionbuttons"?>><?= $EditB ?><?php if ($user->isAdmin() or mayAccessPage('change',$page->getName())) { ?><?=$Sep?><?= Button($page->get('locked') ? 'unlock' : 'lock') ?><?php if (ENABLE_PAGEPERM) { ?><?=$Sep?><?= Button('chown') ?><?=$Sep?><?= Button('setacl') ?><?php }} ?><?php if ($user->isAdmin() or mayAccessPage('remove',$page->getName())) { ?><?=$Sep?><?= Button('remove') ?><?php } ?><?=$Sep?><?= Button("PageHistory", _("PageHistory")) ?><?=$Sep?><?= Button("diff") ?> <?=$Sep?><?= Button("PageInfo", _("PageInfo")) ?><?php if ((DEBUG and $request->getArg('action') == 'browse') || $user->isAdmin()) { ?> <!-- Buttons really only for debugging --><?=$Sep?><?= Button("DebugInfo", _("DebugInfo")) ?><?=$Sep?><?= Button("PageDump", _("PageDump")) ?><?php $purgeb = Button(array('nocache' => 'purge'),                       _("PurgeHtmlCache"), $page->getName());      $purgeb->addTooltip(_("Purge HTML cache for this page. Regenerate from WikiMarkup when next accessed."));?><?=$Sep?><?= $purgeb ?>    <!-- End debugging buttons --><?php } ?><?php if (defined('USE_EXTERNAL_HTML2PDF') and USE_EXTERNAL_HTML2PDF) { ?>     <?=$Sep?><?= Button("pdf") ?><?php } ?></div>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?