2 <!-- $Id: actionbar.tmpl,v 1.7 2002-01-28 01:01:27 dairiki Exp $ -->
4 if (!$page->get('locked') || $user->isAdmin())
5 $EditB = $Theme->makeActionButton("edit",
6 $revision->isCurrent() ? _("Edit") : _("Edit Old Revision"));
8 $EditB = $Theme->makeActionButton("edit", _("View Source"));
10 $LockPageB = $Theme->makeActionButton($page->get('locked') ? 'unlock' : 'lock');
11 $RemovePageB = $Theme->makeActionButton('remove');
13 $PageHistoryB = $Theme->makeActionButton(_("PageHistory"));
14 $DiffB = $Theme->makeActionButton(array('action' => 'diff', 'previous' => 'major'));
16 $DebugInfoB = $Theme->makeActionButton(_("DebugInfo"));
18 $Sep = $Theme->getButtonSeparator();
21 <!-- I would like not to have to use these tables, and managed to
22 get this stuff to work more or less correctly using
23 CSSs float:left; and float:right;. However float:right; seems
24 to cause MSIE4.01/NT to hang.
25 So, we use tables... -->
28 <table summary="Toolbar 1: Page actions and user login."
29 class="toolbar" width="100%"
30 cellpadding="0" cellspacing="0" border="0"
32 <tr valign="baseline">
35 <?php if ($user->isAdmin()) { ?>
36 <?=$Sep?><?= $LockPageB ?><?=$Sep?><?= $RemovePageB ?>
38 <?=$Sep?><?= $PageHistoryB ?>
39 <?=$Sep?><?= $DiffB ?>
40 <?=$Sep?><?= $DebugInfoB ?> <!-- For debugging only, really -->
43 <?= Template('signin') ?>