5 // With MonoBook it is similar to Sidebar, named boxes at the left.
6 // actionbuttons, navigation, search, toolbox
7 $p = $WikiTheme->tooltipAccessKeyPrefix();
9 <!-- The left navigation/search bar -->
10 <!-- Here you should add favorite Links and Categories -->
11 <div class="portlet" id="p-navigation">
14 <li id="n-mainpage"><?php echo WikiLink(HOME_PAGE) ?></li>
15 <li><?php echo WikiLink("Help:HowToUseWiki","auto","How to use this Wiki") ?></li>
16 <li><?php echo WikiLink("Help:AddingPages","auto","Adding Pages") ?></li>
17 <li><?php echo WikiLink("CategoryCategory","auto","List all Categories") ?></li>
22 <div class="portlet" id="p-nav1">
23 <h5><?php echo _("Main Categories")?></h5>
26 <li><?php echo WikiLink("CategoryWikiPlugin") ?></li>
27 <li><?php echo WikiLink("CategoryActionPage") ?></li>
32 <div class="portlet" id="p-search">
33 <h5><?php echo _("Search")?></h5>
35 <?php echo Template("search",
36 array('SEARCH_BEFORE' => ''/*HTML::h5(WikiLink(_("FindPage")))*/,
37 'SEARCH_AFTER' => HTML::Raw('<br /><input type="submit" name="searchtype" value="title" class="searchButton" title="Press to perform a wiki title search" /> <input type="submit" name="searchtype" value="fulltext" class="searchButton" title="Wiki fulltext search" />'))) ?>
41 <div class="portlet" id="p-tb">
42 <h5><?php echo _("Toolbox") ?><?php echo $WikiTheme->folderArrow('p-tb', 'Open') ?></h5>
43 <div class="pBody" id="p-tb-body">
45 <li><? $link = WikiLink(_("RecentChanges"), "",_("RecentChanges")); $link->setAttr("accesskey","r"); $link->addTooltip(_("The list of recent changes in the wiki.")." [$p-r]"); ?><?php echo $link ?> </li>
46 <li><?php echo WikiLink(_("RecentNewPages"), "",_("RecentNewPages")) ?></li>
47 <?php if (!empty($revision)) { ?>
48 <li id="t-whatlinkshere"><?php echo Button(array('action'=>_("BackLinks")), _("What links here"), $page->getName()) ?></li>
50 <?php if (!empty($user) && $user->isSignedIn()) { ?>
51 <li><? $link = WikiLink(_("UpLoad"),"",_("Upload file")); $link->setAttr("accesskey","u"); $link->addTooltip(_("Upload images or media files")." [$p-u]"); ?><?php echo $link ?></li>
52 <li><?php echo WikiLink(_("UserPreferences"), "",_("Preferences")) ?></li>
55 <?php $PrintableLink = $WikiTheme->makeButton(_("Printable version"), "javascript:PrinterStylesheet();", 'wikiaction'); ?>
56 <script type="text/javascript"><!--
57 document.write('<?php echo $PrintableLink ?>'); // -->
60 <?php echo $WikiTheme->makeButton(_("Printable version"), "?format=printable", 'wikiaction') ?>
63 <?php if (defined('USE_EXTERNAL_HTML2PDF') and USE_EXTERNAL_HTML2PDF) {
64 // Do not display the pdf icon
65 $btn = new Button(_("Display as Pdf"), WikiURL($page->getName(), array('action' => 'pdf')), 'wikiaction');
67 <li><?php echo $btn ?> <?php echo WikiLink("Help/Display as Pdf","",HTML::img(array('src'=>$WikiTheme->_findData('images/mini_help.png'),'border'=>0,'width'=>12,'height'=>13,'alt'=>'pdf-help','title'=>"How to generate multi-page PDFs"))) ?></li>
69 <li><?php echo WikiLink(_("AllPages")) ?></li>
70 <?php if (!empty($user) && $user->isAdmin()) { ?>
71 <li><?php echo WikiLink(_("PhpWikiAdministration"), "", _("Administration")) ?></li>
76 <?php echo Template('rc') ?>
77 <?php echo Template('tags') ?>
78 <!-- end of the left (by default at least) column -->