2 <!-- $Id: actionbar.tmpl,v 1.17 2002-09-15 20:21:16 rurban Exp $ -->
4 if (!$page->get('locked') || $user->isAdmin()) {
5 $EditB = Button("edit", $revision->isCurrent() ? _("Edit") : _("Edit Old Revision"));
7 $EditB = Button("viewsource", _("View Source"));
9 $Sep = $Theme->getButtonSeparator();
11 <!-- I would like not to have to use these tables, and managed to
12 get this stuff to work more or less correctly using
13 CSSs float:left; and float:right;. However float:right; seems
14 to cause MSIE4.01/NT to hang.
15 So, we use tables... -->
16 <table summary="Toolbar 1: Page actions and user login."
17 width="100%" cellpadding="0" cellspacing="0" border="0">
18 <tr valign="baseline">
20 <div id="actionbuttons">
22 <?php if ($user->isAdmin()) { ?>
23 <?=$Sep?><?= Button($page->get('locked') ? 'unlock' : 'lock') ?>
24 <?=$Sep?><?= Button('remove') ?>
26 <?=$Sep?><?= Button(_("Info")) ?>
30 <div id="signin"><?= Template('signin') ?></div>