2 <!-- $Id: navbar.tmpl,v 1.6 2002-01-28 01:01:27 dairiki Exp $ -->
5 $LockPageB = $Theme->makeActionButton($page->get('locked') ? 'unlock' : 'lock');
6 $RemovePageB = $Theme->makeActionButton('remove');
8 $DiffB = $Theme->makeActionButton(array('action' => 'diff', 'previous' => 'major'));
10 $DebugInfoB = $Theme->makeActionButton(_("DebugInfo"));
12 $Sep = $Theme->getButtonSeparator();
15 <!-- The bottom navigation/search bar -->
17 <?= $Theme->makeLinkButton(_("FindPage")) ?> by searching
18 <?php if (!empty($revision)) { ?>
19 (or browse <?= $Theme->makeActionButton(_("LikePages")) ?>)
21 <?php if ($user->isAdmin()) { ?>
22 <?=$Sep?><?= $LockPageB ?><?=$Sep?><?= $RemovePageB ?>
24 <!-- For debugging only, really -->
25 <?=$Sep?><?= $DebugInfoB ?><br />
27 <!-- I would like not to have to use these tables, and managed to
28 get this stuff to work more or less correctly using
29 CSSs float:left; and float:right;. However float:right; seems
30 to cause MSIE4.01/NT to hang.
31 So, we use tables... -->
32 <table summary="Toolbar 1: Navigation and user login."
33 class="toolbar" width="100%"
34 cellpadding="0" cellspacing="0" border="0"
36 <tr valign="baseline">
38 <?= $Theme->makeLinkButton(_("RecentChanges")) ?>
39 <?php if (!empty($user) && $user->isAdmin()) { ?>
40 <?=$Sep?><?= $Theme->makeLinkButton(_("PhpWikiAdministration")) ?>
44 <?= Template('signin') ?>