2 <!-- $Id: navbar.tmpl,v 1.2 2004-06-14 11:26:49 rurban Exp $ -->
4 // With MonoBook it is similar to Sidebar, named boxes at the left.
5 // navigation, search, toolbox
7 <!-- The left navigation/search bar -->
8 <div class="portlet" id="p-nav">
12 <li id="n-mainpage"><?= WikiLink(HOME_PAGE) ?></li>
13 <li id="t-recentchanges"><?= WikiLink(_("RecentChanges")) ?></li>
14 <li id="t-recentcomments"><?= WikiLink(_("RecentComments")) ?></li>
15 <li id="n-randompage"><?= WikiLink(_("RandomPage")) ?></li>
16 <li id="n-help"><a href="http://www.phpwiki.org/PhpWikiDocumentation">Help</a></li>
20 <div id="p-search" class="portlet">
23 <form action="<?= WikiURL(_("TitleSearch"))?>"
24 method="get" accept-charset="<?=$charset?>">
25 <?= WikiLink(_("FindPage"), "searchButton","Search:") ?>
26 <input type="hidden" name="auto_redirect" value="1" />
27 <input type="text" name="s" size="12" maxlength="256"
28 title='<?=_("Quick Search")?>'
29 onmouseover="window.status='<?=_("Quick Search")?>'; return true;"
30 onmouseout="window.status=''; return true;" />
34 <div class="portlet" id="p-tb">
38 <?php if (!empty($revision)) { ?>
39 <li id="t-whatlinkshere"><?= Button(array('action'=>'LikePages'),_("Like Pages"), $page->getName()) ?></li>
40 <li id="t-whatlinkshere"><?= Button(array('action'=>'BackLinks'), _("What links here"), $page->getName()) ?></li>
42 <?php $links = $page->getPageLinks(); if ($links->count() > 1) { ?>
43 <li id="t-recentchangeslinked"><?= $WikiTheme->makeLinkButton($revision,_("RelatedChanges"),_("RelatedChanges")) ?></li>
45 <?php if (!empty($user) && $user->isAdmin()) { ?>
46 <li><?= WikiLink(_("PhpWikiAdministration"), "","Administration") ?></li>
48 <?php if (!empty($user) && $user->isSignedIn()) { ?>
49 <li><?= WikiLink(_("UserPreferences"), "","Preferences") ?></li>
54 <!-- end of the left (by default at least) column -->