]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Portland/templates/actionbar.tmpl
Always use the english version of the ActionPage name for the
[SourceForge/phpwiki.git] / themes / Portland / templates / actionbar.tmpl
1 <?php // -*-html-*- ?>
2 <!-- $Id: actionbar.tmpl,v 1.17 2002-09-18 19:29:43 dairiki Exp $ -->
3 <?php
4   $Sep = $Theme->getButtonSeparator();
5
6   if (!$page->get('locked') || $user->isAdmin())
7       $EditB = Button("edit",
8                       $revision->isCurrent() ? _("EditText") : _("Edit Old Revision"));
9   else
10       $EditB = Button("viewsource", _("View Source"));
11   $EditB = fmt("%s of this page", $EditB);
12
13 ?>
14
15 <?= $EditB ?> 
16 <a href="<?=WikiURL($revision,array('action'=>'diff'))?>"
17    ><?= $Theme->getLastModifiedMessage($revision) ?></a>
18         <?=$Sep?><?= Button("PageHistory", _("PageHistory")) ?>
19     <?=$Sep?><?= Button("info") ?>
20 <?php if (defined('DEBUG') || $user->isAdmin()) { ?>
21         <?=$Sep?><?= Button("DebugInfo", _("DebugInfo")) ?> <!-- For debugging only, really -->
22 <?php } ?>
23 <br />