2 rcs_id('$Id: navbar.tmpl,v 1.1 2004-03-30 02:40:07 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)) { ?>
28 $loader = new WikiPluginLoader();
29 printXML($loader->expandPI("<"."?plugin RateIt ?".">",$request,$dbi->_markup));
32 /* Today's calendar page for the user, if the Calender subpage is defined. */
33 $UserCalPageTitle = $user->getId() . SUBPAGE_SEPARATOR . _("Calendar");
34 $dbi = $request->getDbh();
35 if ($dbi->isWikiPage($UserCalPageTitle)) {
36 $UserCalPageTodayTitle = $UserCalPageTitle . SUBPAGE_SEPARATOR . strftime("%Y-%m-%d", time());
37 $UserCalPageTodayUrl = WikiURL($UserCalPageTodayTitle);
39 <?=$s?><?= WikiLink($UserCalPageTodayUrl, "button", _("Today")) ?>
41 <?php if (!empty($user) && $user->isAdmin()) { ?>
42 <?=$s?><?= WikiLink(_("PhpWikiAdministration"), "button", _("Admin")) ?>