]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/shamino_com/templates/actionbar.tmpl
Allow bold, italics or underlined for numbers
[SourceForge/phpwiki.git] / themes / shamino_com / templates / actionbar.tmpl
1 <?php
2 if (empty($revision)) $revision = $page->getCurrentRevision(false);
3 ?>
4 <?php echo Button(array('action'=>'PageInfo'),_("PageInfo"),$page->getName()) ?>
5 <?php echo $SEP?><?php echo Button("edit", $revision->isCurrent() ? _("Edit") : _("Edit Old Revision")) ?>
6 <?php if ($user->isAdmin() or mayAccessPage('change',$page->getName())) { ?>
7   <?php echo $SEP?><?php echo Button($page->get('locked') ? 'unlock' : 'lock') ?>
8   <?php if (ENABLE_PAGEPERM) { ?>
9      <?php echo $SEP?><?php echo Button('chown') ?>
10      <?php echo $SEP?><?php echo Button('setacl') ?>
11   <?php } ?>
12 <?php } ?>
13 <?php if ($user->isAdmin() or mayAccessPage('remove',$page->getName())) { ?>
14    <?php echo $SEP?><?php echo Button('remove') ?>
15 <?php } ?>
16 <?php if (!empty($user) && $user->isAdmin()) { ?>
17   <?php echo $SEP?><?php echo WikiLink(_("PhpWikiAdministration"), "","Admin") ?>
18   <!-- Buttons really only for debugging. See info for more -->
19   <?php echo $SEP?><?php echo Button(_("PageHistory")) ?>
20   <?php echo $SEP?><?php echo Button("diff") ?>
21   <?php echo $SEP?><?php echo Button(_("PageDump")) ?>
22   <!-- End debugging buttons -->
23 <?php } ?>