]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Portland/templates/navbar.tmpl
new minimalist theme "Portland", like c2.com
[SourceForge/phpwiki.git] / themes / Portland / templates / navbar.tmpl
1 <?php // -*-html-*- ?>
2 <!-- $Id: navbar.tmpl,v 1.1 2002-01-19 22:48:42 carstenklapp Exp $ -->
3 <?php
4
5 $BF = &$ButtonFactory;
6 $s = $Theme->getButtonSeparator();
7
8 /* TODO: Cleanup for localization. */
9 ?>
10 <!-- The bottom navigation/search bar -->
11
12     <?= $BF->makeLinkButton(_("FindPage")) ?> by searching
13     <?php if (!empty($PAGE)) { ?>
14       (or browse <?= $ButtonFactory->makeActionPageButton(_("LikePages")) ?>)
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    <?= $BF->makeLinkButton(_("RecentChanges")) ?>
29     <?php if (!empty($user) && $user->isAdmin()) { ?>
30      <?=$s?><?= $ButtonFactory->makeLinkButton(_("PhpWikiAdministration")) ?>
31     <?php } ?>
32   <td align="right">
33     <?= new WikiTemplate('signin') ?>
34   </td>
35 </tr></table>
36 </form>