]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Sidebar/templates/actionbar.tmpl
position fine-tuning
[SourceForge/phpwiki.git] / themes / Sidebar / templates / actionbar.tmpl
1 <?php // -*-html-*- ?>
2 <!-- $Id: actionbar.tmpl,v 1.3 2002-02-01 18:21:30 carstenklapp Exp $ -->
3 <?php
4   if (!$page->get('locked') || $user->isAdmin())
5       $EditB = Button("edit",
6                       $revision->isCurrent() ? _("Edit") : _("Edit Old Revision"));
7   else
8       $EditB = Button("viewsource", _("View Source"));
9
10   //$Sep = $Theme->getButtonSeparator();
11   $Sep = HTML::br();
12 ?>
13
14 <?= $EditB ?> 
15 <?php if ($user->isAdmin()) { ?>
16   <?=$Sep?><?= Button($page->get('locked') ? 'unlock' : 'lock') ?>
17   <?=$Sep?><?= Button('remove') ?>
18 <?php } ?>
19 <?=$Sep?><?= Button(_("PageHistory")) ?>
20 <?=$Sep?><?= Button("diff") ?> 
21 <?=$Sep?><?= Button(_("DebugInfo")) ?> <!-- For debugging only, really -->
22 <?= Template('signin') ?>