2 // With MonoBook it is similar to Sidebar, named boxes at the left.
3 // actionbuttons, navigation, search, toolbox
5 <!-- The left navigation/search bar -->
6 <!-- Here you should add favorite Links and Categories -->
7 <div class="portlet" id="p-navigation">
10 <li id="n-mainpage"><?php echo WikiLink(HOME_PAGE) ?></li>
11 <li><?php echo WikiLink("Help:HowToUseWiki","auto","How to use this Wiki") ?></li>
12 <li><?php echo WikiLink("Help:AddingPages","auto","Adding Pages") ?></li>
13 <li><?php echo WikiLink("CategoryCategory","auto","List all Categories") ?></li>
18 <div class="portlet" id="p-nav1">
19 <h2><?php echo _("Main Categories")?></h2>
22 <li><?php echo WikiLink("CategoryWikiPlugin") ?></li>
23 <li><?php echo WikiLink("CategoryActionPage") ?></li>
28 <div class="portlet" id="p-search">
29 <h2><?php echo _("Search")?></h2>
31 <?php echo Template("search",
32 array('SEARCH_BEFORE' => ''/*HTML::h2(WikiLink(_("FindPage")))*/,
33 '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" />'))) ?>
37 <div class="portlet" id="p-tb">
38 <h2><?php echo _("Toolbox") ?><?php echo $WikiTheme->folderArrow('p-tb', 'Open') ?></h2>
39 <div class="pBody" id="p-tb-body">
41 <li><?php $link = WikiLink(_("RecentChanges"), "",_("RecentChanges")); $link->addTooltip(_("The list of recent changes in the wiki.")); ?><?php echo $link ?> </li>
42 <li><?php echo WikiLink(_("RecentNewPages")) ?></li>
43 <?php if (!empty($revision)) { ?>
44 <li id="t-whatlinkshere"><?php echo Button(array('action'=>_("BackLinks")), _("What links here"), $page->getName()) ?></li>
46 <?php if (!empty($user) && $user->isSignedIn()) { ?>
47 <li><?php $link = WikiLink(_("UpLoad"),"",_("Upload File")); $link->addTooltip(_("Upload images or media files")); ?><?php echo $link ?></li>
48 <li><?php echo WikiLink(_("UserPreferences"), "",_("Preferences")) ?></li>
50 <?php $PrintableLink = $WikiTheme->makeButton(_("Printable version"), "javascript:PrinterStylesheet();", 'wikiaction'); ?>
51 <script type="text/javascript"><!--
52 document.write('<li><?php echo $PrintableLink ?></li>'); // -->
54 <?php if (defined('USE_EXTERNAL_HTML2PDF') and USE_EXTERNAL_HTML2PDF) {
55 // Do not display the pdf icon
56 $btn = new Button(_("Display as Pdf"), WikiURL($page->getName(), array('action' => 'pdf')), 'wikiaction');
58 <li><?php echo $btn ?> <?php echo WikiLink("Help:PDF","",HTML::img(array('src'=>$WikiTheme->_findData('images/mini_help.png'),'width'=>12,'height'=>13,'alt'=>'PDF help','title'=>'PDF help'))) ?></li>
60 <li><?php echo WikiLink(_("AllPages")) ?></li>
61 <?php if (!empty($user) && $user->isAdmin()) { ?>
62 <li><?php echo WikiLink(_("PhpWikiAdministration"), "", _("Administration")) ?></li>
67 <?php echo Template('rc') ?>
68 <?php echo Template('tags') ?>
69 <!-- end of the left (by default at least) column -->