]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Portland/templates/actionbar.tmpl
private
[SourceForge/phpwiki.git] / themes / Portland / templates / actionbar.tmpl
1 <?php
2   if ($revision and (!$page->get('locked') || $user->isAdmin()))
3       $EditB = Button("edit",
4                       $revision->isCurrent() ? _("EditText") : _("Edit Old Revision"));
5   else
6       $EditB = Button("viewsource", _("View Source"));
7   $EditB = fmt("%s of this page", $EditB);
8   if (empty($revision)) $revision = $page->getCurrentRevision(false);
9 ?>
10 <?php echo $EditB ?> 
11 <a href="<?php echo WikiURL($revision,array('action'=>'diff'))?>"><?php echo $WikiTheme->getLastModifiedMessage($revision) ?></a>
12     <?php echo $SEP?><?php echo Button("PageHistory", _("PageHistory")) ?>
13     <?php echo $SEP?><?php echo Button("PageInfo", _("PageInfo")) ?>
14 <?php if (defined('DEBUG') && DEBUG || $user->isAdmin()) { ?>
15     <?php echo $SEP?><?php echo Button("DebugInfo", _("DebugInfo")) ?> <!-- For debugging only, really -->
16 <?php } ?>
17 <br />