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