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
?>
>
= $EditB ?>
isAdmin() or mayAccessPage('change',$page->getName())) { ?>
=$SEP?>= Button($page->get('locked') ? 'unlock' : 'lock') ?>
=$SEP?>= Button('chown') ?>
=$SEP?>= Button('setacl') ?>
isAdmin() or mayAccessPage('remove',$page->getName())) { ?>
=$SEP?>= Button('remove') ?>
=$SEP?>= Button("PageHistory", _("PageHistory")) ?>
=$SEP?>= Button("diff") ?>
=$SEP?>= Button("PageInfo", _("PageInfo")) ?>
getArg('action') == 'browse') || $user->isAdmin()) { ?>
=$SEP?>= Button("DebugInfo", _("DebugInfo")) ?>
=$SEP?>= Button("PageDump", _("PageDump")) ?>
'purge'),
_("PurgeHtmlCache"), $page->getName());
$purgeb->addTooltip(_("Purge HTML cache for this page. Regenerate from WikiMarkup when next accessed."));
?>
=$SEP?>= $purgeb ?>
=$SEP?>= Button("pdf") ?>