]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/smaller/templates/navbar.tmpl
fixed Calendar link
[SourceForge/phpwiki.git] / themes / smaller / templates / navbar.tmpl
1 <?php // -*-html-*- ?>
2 <!-- $Id: navbar.tmpl,v 1.3 2004-05-27 17:55:38 rurban Exp $ -->
3 <?php
4 $s = $Theme->getButtonSeparator();
5 ?>
6 <!-- The top navigation/search bar -->
7 <form action="<?= WikiURL(_("TitleSearch"))?>"
8       method="get" accept-charset="<?=$charset?>">
9   <div id="navbuttons">
10    <?= WikiLink(_("RecentChanges"), "","News") ?>
11    <?=$s?><?= WikiLink(_("FindPage"), "","Search:") ?>
12    <input type="hidden" name="auto_redirect" value="1" />
13       <input type="text"  name="s" size="12" maxlength="256"
14              title='<?=_("Quick Search")?>'
15              onmouseover="window.status='<?=_("Quick Search")?>'; return true;"
16              onmouseout="window.status=''; return true;" />
17     <?php if (!empty($revision)) { ?>
18      <?=$s?><?= Button(array('action'=>'LikePages'),_("LikePages"),$page->getName()) ?>
19      <?=$s?><?= Button(array('action'=>'BackLinks'), _("BackLinks"),$page->getName()) ?>
20     <?php } ?>
21     <?php if (!empty($user) && $user->isAdmin()) { ?>
22      <?=$s?><?= WikiLink(_("PhpWikiAdministration"), "","Admin") ?>
23     <?php } ?>
24     <?php if (!empty($user) && $user->isSignedIn()) { ?>
25      <?=$s?><?= WikiLink(_("UserPreferences"), "","Preferences") ?>
26     <?php } ?>
27   </div>
28 </form>