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