2 <!-- $Id: navbar.tmpl,v 1.3 2002-01-20 02:55:29 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 <!-- The bottom navigation/search bar -->
19 <?= $BF->makeLinkButton(_("FindPage")) ?> by searching
20 <?php if (!empty($PAGE)) { ?>
21 (or browse <?= $ButtonFactory->makeActionPageButton(_("LikePages")) ?>)
23 <?php if ($user->isAdmin()) { ?>
24 <?=$Sep?><?= $LockPageB ?><?=$Sep?><?= $RemovePageB ?>
26 <!-- For debugging only, really -->
27 <?=$Sep?><?= $DebugInfoB ?><br />
29 <!-- I would like not to have to use these tables, and managed to
30 get this stuff to work more or less correctly using
31 CSSs float:left; and float:right;. However float:right; seems
32 to cause MSIE4.01/NT to hang.
33 So, we use tables... -->
34 <table summary="Toolbar 1: Navigation and user login."
35 class="toolbar" width="100%"
36 cellpadding="0" cellspacing="0" border="0"
38 <tr valign="baseline">
40 <?= $BF->makeLinkButton(_("RecentChanges")) ?>
41 <?php if (!empty($user) && $user->isAdmin()) { ?>
42 <?=$Sep?><?= $ButtonFactory->makeLinkButton(_("PhpWikiAdministration")) ?>
45 <?= new WikiTemplate('signin') ?>