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