]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Sidebar/templates/actionbar.tmpl
comments cleanup
[SourceForge/phpwiki.git] / themes / Sidebar / templates / actionbar.tmpl
1 <?php // -*-html-*- ?>
2 <!-- $Id: actionbar.tmpl,v 1.2 2002-02-01 18:13:58 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 ?>
12
13 <?= $EditB ?> 
14 <?php if ($user->isAdmin()) { ?>
15   <?=$Sep?><?= Button($page->get('locked') ? 'unlock' : 'lock') ?>
16   <?=$Sep?><?= Button('remove') ?>
17 <?php } ?>
18 <?=$Sep?><?= Button(_("PageHistory")) ?>
19 <?=$Sep?><?= Button("diff") ?> 
20 <?=$Sep?><?= Button(_("DebugInfo")) ?> <!-- For debugging only, really -->
21 <?= Template('signin') ?>