]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Portland/templates/navbar.tmpl
Always use the english version of the ActionPage name for the
[SourceForge/phpwiki.git] / themes / Portland / templates / navbar.tmpl
1 <?php // -*-html-*- ?>
2 <!-- $Id: navbar.tmpl,v 1.9 2002-09-18 19:29:43 dairiki Exp $ -->
3 <?php
4   $Sep = $Theme->getButtonSeparator();
5 ?>
6 <!-- The bottom navigation/search bar -->
7
8     <?= WikiLink(_("FindPage"), "button") ?> by searching
9     <?php if (!empty($revision)) { ?>
10       (or browse <?= Button("LikePages", _("LikePages")) ?>)
11     <?php } ?>
12     <?php if ($user->isAdmin()) { ?>
13      <?=$Sep?><?= Button($page->get('locked') ? 'unlock' : 'lock')?>
14      <?=$Sep?><?= Button('remove') ?>
15     <?php } ?>
16    <hr />
17 <!-- I would like not to have to use these tables, and managed to
18      get this stuff to work more or less correctly using
19      CSSs float:left; and float:right;.  However float:right; seems
20      to cause MSIE4.01/NT to hang. 
21      So, we use tables...  -->
22 <table summary="Toolbar 1: Navigation and user login."
23        class="toolbar" width="100%"
24        cellpadding="0" cellspacing="0" border="0"
25        id="actionbar">
26 <tr valign="baseline">
27   <td>
28    <?= WikiLink(_("RecentChanges"), "button") ?>
29     <?php if (!empty($user) && $user->isAdmin()) { ?>
30      <?=$Sep?><?= WikiLink(_("PhpWikiAdministration"), "button") ?>
31     <?php } ?>
32   </td>
33   <td align="right">
34     <?= Template('signin') ?>
35   </td>
36 </tr></table>