]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Sidebar/templates/navbar.tmpl
Remove accesskeys
[SourceForge/phpwiki.git] / themes / Sidebar / templates / navbar.tmpl
1 <?php
2 // With MonoBook it is similar to Sidebar, named boxes at the left.
3 // actionbuttons, navigation, search, toolbox
4 ?>
5 <!-- The left navigation/search bar -->
6 <!-- Here you should add favorite Links and Categories -->
7 <div class="portlet" id="p-navigation">
8   <div class="_pBody">
9     <ul>
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>
14     </ul>
15   </div>
16 </div>
17
18 <div class="portlet" id="p-nav1">
19   <h2><?php echo _("Main Categories")?></h2>
20   <div class="pBody">
21     <ul>
22       <li><?php echo WikiLink("CategoryWikiPlugin") ?></li>
23       <li><?php echo WikiLink("CategoryActionPage") ?></li>
24     </ul>
25   </div>
26 </div>
27
28 <div class="portlet" id="p-search">
29   <h2><?php echo _("Search")?></h2>
30   <div class="pBody">
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" />&nbsp;<input type="submit" name="searchtype" value="fulltext" class="searchButton" title="Wiki fulltext search" />'))) ?>
34   </div>
35 </div>
36
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">
40     <ul>
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>
45     <?php } ?>
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>
49     <?php } ?>
50       <?php $PrintableLink = $WikiTheme->makeButton(_("Printable version"), "javascript:PrinterStylesheet();", 'wikiaction'); ?>
51 <script type="text/javascript"><!--
52 document.write('<li><?php echo $PrintableLink ?></li>'); // -->
53 </script>
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');
57       ?>
58       <li><?php echo $btn ?> &nbsp;&nbsp; <?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>
59     <?php } ?>
60     <li><?php echo WikiLink(_("AllPages")) ?></li>
61     <?php if (!empty($user) && $user->isAdmin()) { ?>
62       <li><?php echo WikiLink(_("PhpWikiAdministration"), "", _("Administration")) ?></li>
63     <?php } ?>
64   </ul>
65   </div>
66 </div>
67 <?php echo Template('rc') ?>
68 <?php echo Template('tags') ?>
69 <!-- end of the left (by default at least) column -->