]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/shamino_com/templates/actionbar.tmpl
rcs_id no longer makes sense with Subversion global version number
[SourceForge/phpwiki.git] / themes / shamino_com / templates / actionbar.tmpl
1 <?php // -*-php-*-
2 // rcs_id('$Id$');
3 ?>
4 <?php
5 if (empty($revision)) $revision = $page->getCurrentRevision(false);
6 ?>
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') ?>
14   <?php } ?>
15 <?php } ?>
16 <?php if ($user->isAdmin() or mayAccessPage('remove',$page->getName())) { ?>
17    <?=$SEP?><?= Button('remove') ?>
18 <?php } ?>
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 -->
26 <?php } ?>