2 <!-- $Id: actionbar.tmpl,v 1.19 2002-09-18 19:29:44 dairiki Exp $ -->
4 if (!$page->get('locked') || $user->isAdmin())
5 $EditB = Button("edit",
6 $revision->isCurrent() ? _("Edit") : _("Edit Old Revision"));
8 $EditB = Button("viewsource", _("View Source"));
10 $Sep = $Theme->getButtonSeparator();
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... -->
19 <table summary="Toolbar 1: Page actions and user login."
20 width="100%" cellpadding="0" cellspacing="0" border="0">
21 <tr valign="baseline">
23 <div id="actionbuttons">
25 <?php if ($user->isAdmin()) { ?>
26 <?=$Sep?><?= Button($page->get('locked') ? 'unlock' : 'lock') ?>
27 <?=$Sep?><?= Button('remove') ?>
29 <?=$Sep?><?= Button("PageHistory", _("PageHistory")) ?>
30 <?=$Sep?><?= Button("diff") ?>
31 <?=$Sep?><?= Button("PageInfo", _("PageInfo")) ?>
32 <?php if (defined('DEBUG') || $user->isAdmin()) { ?>
33 <?=$Sep?><?= Button("DebugInfo", _("DebugInfo")) ?> <!-- For debugging only, really -->
38 <div id="signin"><?= Template('signin') ?></div>