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