]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/wikilens/templates/navbar.tmpl
Put several _("") into new lines if inside attr="", so that xgettext
[SourceForge/phpwiki.git] / themes / wikilens / templates / navbar.tmpl
1 <?php // -*-html-*-
2     rcs_id('$Id: navbar.tmpl,v 1.3 2004-06-04 20:34:11 rurban Exp $');
3
4     $s = $Theme->getButtonSeparator();
5 ?>
6 <!-- The top navigation/search bar -->
7 <form action="<?= WikiURL(_("TitleSearch"))?>" target="_top"
8       method="get" accept-charset="<?=CHARSET?>">
9   <div id="navbuttons">
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="<?=
15 _("TitleSearch")?>" />
16       <?php } ?>
17       <input type="hidden" name="nocache" value="purge" />
18       <input type="text"  name="s" size="12" maxlength="256"
19              title='<?=_("Quick Search")?>'
20              onmouseover="window.status='<?=
21 _("Quick Search")?>'; return true;"
22              onmouseout="window.status=''; return true;" />
23     <?php if (!empty($revision)) { ?>
24      <?=$s?><?= Button("LikePages", _("LikePages")) ?>
25      <?=$s?><?= Button("BackLinks", _("BackLinks")) ?>
26     <?php } ?>
27     <?php if (!empty($user)) { ?>
28      <?=$s?>
29 <?php 
30 $loader = new WikiPluginLoader();
31 printXML($loader->expandPI("<"."?plugin RateIt ?".">", $request, $dbi->_markup));
32 ?>
33     <?php
34       /* Today's calendar page for the user, if the Calender subpage is defined. */
35       $UserCalPageTitle = $user->getId() . SUBPAGE_SEPARATOR . _("Calendar");
36       $dbi = $request->getDbh();
37       if ($dbi->isWikiPage($UserCalPageTitle)) {
38         $UserCalPageTodayTitle = $UserCalPageTitle . SUBPAGE_SEPARATOR . strftime("%Y-%m-%d", time());
39         ?>
40      <?=$s?><?= WikiLink($UserCalPageTodayTitle, "button", _("Today")) ?>
41       <?php } ?>
42       <?php if (!empty($user) && $user->isAdmin()) { ?>
43      <?=$s?><?= WikiLink(_("PhpWikiAdministration"), "button", _("Admin")) ?>
44       <?php } ?>
45     <?php } ?></div>
46 </form>