2 <!-- $Id: navbar.tmpl,v 1.2 2002-01-20 02:48:05 carstenklapp Exp $ -->
7 $LockPageB = $BF->makeActionButton($page->get('locked') ? 'unlock' : 'lock');
8 $RemovePageB = $BF->makeActionButton('remove');
10 $DiffB = $BF->makeActionButton(array('action' => 'diff', 'previous' => 'major'));
12 $DebugInfoB = $BF->makeActionPageButton(_("DebugInfo"));
14 $Sep = $Theme->getButtonSeparator();
17 /* TODO: Cleanup for localization. */
19 <!-- The bottom navigation/search bar -->
21 <?= $BF->makeLinkButton(_("FindPage")) ?> by searching
22 <?php if (!empty($PAGE)) { ?>
23 (or browse <?= $ButtonFactory->makeActionPageButton(_("LikePages")) ?>)
25 <?php if ($user->isAdmin()) { ?>
26 <?=$Sep?><?= $LockPageB ?><?=$Sep?><?= $RemovePageB ?>
28 <!-- For debugging only, really -->
29 <?=$Sep?><?= $DebugInfoB ?><br />
31 <!-- I would like not to have to use these tables, and managed to
32 get this stuff to work more or less correctly using
33 CSSs float:left; and float:right;. However float:right; seems
34 to cause MSIE4.01/NT to hang.
35 So, we use tables... -->
36 <table summary="Toolbar 1: Navigation and user login."
37 class="toolbar" width="100%"
38 cellpadding="0" cellspacing="0" border="0"
40 <tr valign="baseline">
42 <?= $BF->makeLinkButton(_("RecentChanges")) ?>
43 <?php if (!empty($user) && $user->isAdmin()) { ?>
44 <?=$Sep?><?= $ButtonFactory->makeLinkButton(_("PhpWikiAdministration")) ?>
47 <?= new WikiTemplate('signin') ?>