]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Sidebar/templates/actionbar.tmpl
New theme with sidebar navigation and actions
[SourceForge/phpwiki.git] / themes / Sidebar / templates / actionbar.tmpl
1 <?php // -*-html-*- ?>
2 <!-- $Id: actionbar.tmpl,v 1.1 2002-02-01 18:07:50 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 <!-- I would like not to have to use these tables, and managed to
14      get this stuff to work more or less correctly using
15      CSSs float:left; and float:right;.  However float:right; seems
16      to cause MSIE4.01/NT to hang. 
17      So, we use tables...  -->
18
19
20     <?= $EditB ?> 
21     <?php if ($user->isAdmin()) { ?>
22      <?=$Sep?><?= Button($page->get('locked') ? 'unlock' : 'lock') ?>
23      <?=$Sep?><?= Button('remove') ?>
24     <?php } ?>
25    <?=$Sep?><?= Button(_("PageHistory")) ?>
26    <?=$Sep?><?= Button("diff") ?> 
27    <?=$Sep?><?= Button(_("DebugInfo")) ?> <!-- For debugging only, really -->
28     <?= Template('signin') ?>