2 <!-- $Id: navbar.tmpl,v 1.3 2004-06-18 08:40:39 rurban Exp $ -->
5 $s = $WikiTheme->getButtonSeparator();
11 <!-- The top navigation/search bar -->
12 <form action="<?= WikiURL(_("TitleSearch"))?>" target="_top"
13 method="get" accept-charset="<?=CHARSET?>">
14 <input type="hidden" name="auto_redirect" value="1" />
15 <?php if (! USE_PATH_INFO) { ?>
16 <input type="hidden" name="pagename" value="<?=_("TitleSearch")?>" />
19 <table width="100%" cellpadding="0" cellspacing="0" border="0">
20 <tr valign="middle"><td align="left">
21 <?= WikiLink(_("RecentChanges"), "button") ?>
22 <?php if (!empty($revision)) { ?>
23 <?=$s?><?= Button("RelatedChanges", _("RelatedChanges")) ?>
24 <?=$s?><?= Button("LikePages", _("LikePages")) ?>
25 <?=$s?><?= Button("BackLinks", _("BackLinks")) ?>
30 <?php if (!empty($user) && $user->isSignedIn()) { ?>
31 <?= WikiLink(_("UserPreferences"),'button',_("Preferences")) ?>
33 <?php if (!empty($user)) { ?>
35 /* Today's calendar page for the user, if the Calender subpage is defined. */
36 $UserCalPageTitle = $user->getId() . SUBPAGE_SEPARATOR . _("Calendar");
37 $dbi = $request->getDbh();
38 if ($dbi->isWikiPage($UserCalPageTitle)) {
39 $UserCalPageTodayTitle = $UserCalPageTitle . SUBPAGE_SEPARATOR . strftime("%Y-%m-%d", time());
40 //$UserCalPageTodayUrl = WikiURL($UserCalPageTodayTitle);
42 <?=$s?><?= WikiLink($UserCalPageTodayTitle, "button", _("Today")) ?>
44 <?php if (!empty($user) && $user->isAdmin()) { ?>
45 <?=$s?><?= WikiLink(_("PhpWikiAdministration"), "button", _("Admin")) ?>
48 <?=$s?><?= WikiLink(_("FindPage"), "button") ?><input type="text" name="s" size="12" maxlength="256" title='<?=_("Quick Search")?>' onmouseover="window.status='<?=_("Quick Search")?>'; return true;" onmouseout="window.status=''; return true;" /></div></td></tr></table>