5 if (empty($revision)) $revision = $page->getCurrentRevision(false);
7 <?= Button(array('action'=>'PageInfo'),_("PageInfo"),$page->getName()) ?>
8 <?=$SEP?><?= Button("edit", $revision->isCurrent() ? _("Edit") : _("Edit Old Revision")) ?>
9 <?php if ($user->isAdmin() or mayAccessPage('change',$page->getName())) { ?>
10 <?=$SEP?><?= Button($page->get('locked') ? 'unlock' : 'lock') ?>
11 <?php if (ENABLE_PAGEPERM) { ?>
12 <?=$SEP?><?= Button('chown') ?>
13 <?=$SEP?><?= Button('setacl') ?>
16 <?php if ($user->isAdmin() or mayAccessPage('remove',$page->getName())) { ?>
17 <?=$SEP?><?= Button('remove') ?>
19 <?php if (!empty($user) && $user->isAdmin()) { ?>
20 <?=$SEP?><?= WikiLink(_("PhpWikiAdministration"), "","Admin") ?>
21 <!-- Buttons really only for debugging. See info for more -->
22 <?=$SEP?><?= Button(_("PageHistory")) ?>
23 <?=$SEP?><?= Button("diff") ?>
24 <?=$SEP?><?= Button(_("PageDump")) ?>
25 <!-- End debugging buttons -->