0byt3m1n1
Path:
/
data
/
applications
/
aps
/
phpwiki
/
1.4.0-0
/
standard
/
htdocs
/
themes
/
shamino_com
/
templates
/
[
Home
]
File: actionbar.tmpl
<?php // -*-php-*- // rcs_id('$Id: actionbar.tmpl 7589 2010-07-02 07:31:33Z vargenau $'); ?> <?php if (empty($revision)) $revision = $page->getCurrentRevision(false); ?> <?php echo Button(array('action'=>'PageInfo'),_("PageInfo"),$page->getName()) ?> <?php echo $SEP?><?php echo Button("edit", $revision->isCurrent() ? _("Edit") : _("Edit Old Revision")) ?> <?php if ($user->isAdmin() or mayAccessPage('change',$page->getName())) { ?> <?php echo $SEP?><?php echo Button($page->get('locked') ? 'unlock' : 'lock') ?> <?php if (ENABLE_PAGEPERM) { ?> <?php echo $SEP?><?php echo Button('chown') ?> <?php echo $SEP?><?php echo Button('setacl') ?> <?php } ?> <?php } ?> <?php if ($user->isAdmin() or mayAccessPage('remove',$page->getName())) { ?> <?php echo $SEP?><?php echo Button('remove') ?> <?php } ?> <?php if (!empty($user) && $user->isAdmin()) { ?> <?php echo $SEP?><?php echo WikiLink(_("PhpWikiAdministration"), "","Admin") ?> <!-- Buttons really only for debugging. See info for more --> <?php echo $SEP?><?php echo Button(_("PageHistory")) ?> <?php echo $SEP?><?php echo Button("diff") ?> <?php echo $SEP?><?php echo Button(_("PageDump")) ?> <!-- End debugging buttons --> <?php } ?>