2 rcs_id('$Id: navbar.tmpl,v 1.24 2004-02-22 23:20:34 rurban Exp $');
4 $s = $Theme->getButtonSeparator();
6 <!-- The top navigation/search bar -->
7 <form action="<?= WikiURL(_("TitleSearch"))?>" target="_top"
8 method="get" accept-charset="<?=CHARSET?>">
10 <?= WikiLink(_("RecentChanges"), "button") ?>
11 <?=$s?><?= WikiLink(_("FindPage"), "button") ?>
12 <?=$s?><input type="hidden" name="auto_redirect" value="1" />
13 <?php if (! USE_PATH_INFO) { ?>
14 <input type="hidden" name="pagename" value="<?=_("TitleSearch")?>" />
16 <input type="hidden" name="nocache" value="purge" />
17 <input type="text" name="s" size="12" maxlength="256"
18 title='<?=_("Quick Search")?>'
19 onmouseover="window.status='<?=_("Quick Search")?>'; return true;"
20 onmouseout="window.status=''; return true;" />
21 <?php if (!empty($revision)) { ?>
22 <?=$s?><?= Button("LikePages", _("LikePages")) ?>
23 <?=$s?><?= Button("BackLinks", _("BackLinks")) ?>
25 <?php if (!empty($user)) { ?>
27 /* Today's calendar page for the user, if the Calender subpage is defined. */
28 $UserCalPageTitle = $user->getId() . SUBPAGE_SEPARATOR . _("Calendar");
29 $dbi = $request->getDbh();
30 if ($dbi->isWikiPage($UserCalPageTitle)) {
31 $UserCalPageTodayTitle = $UserCalPageTitle . SUBPAGE_SEPARATOR . strftime("%Y-%m-%d", time());
32 $UserCalPageTodayUrl = WikiURL($UserCalPageTodayTitle);
34 <?=$s?><?= WikiLink($UserCalPageTodayUrl, "button", _("Today")) ?>
36 <?php if (!empty($user) && $user->isAdmin()) { ?>
37 <?=$s?><?= WikiLink(_("PhpWikiAdministration"), "button", _("Admin")) ?>