0byt3m1n1
Path:
/
data
/
applications
/
aps.bak
/
phpwiki
/
1.3.14-6
/
standard
/
htdocs
/
themes
/
Crao
/
templates
/
[
Home
]
File: actionbar.tmpl
<?php // -*-php-*- rcs_id('$Id: actionbar.tmpl,v 1.6 2007/02/22 20:12:53 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")); if (empty($revision)) $revision = $page->getCurrentRevision(false); //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>