]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/shamino_com/templates/actionbar.tmpl
Add a minimalistic design by walter rafelsberger
[SourceForge/phpwiki.git] / themes / shamino_com / templates / actionbar.tmpl
1 <?php // -*-php-*-
2   $Sep = $WikiTheme->getButtonSeparator();
3 ?>
4 <!-- $Id: actionbar.tmpl,v 1.1 2004-12-19 17:34:19 rurban Exp $ -->
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') ?>
12   <?php } ?>
13 <?php } ?>
14 <?php if ($user->isAdmin() or mayAccessPage('remove',$page->getName())) { ?>
15    <?=$Sep?><?= Button('remove') ?>
16 <?php } ?>
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 -->
24 <?php } ?>