source: sites/oxford.openguides.org/templates/navbar.tt @ 1074

Last change on this file since 1074 was 1074, checked in by Dominic Hargreaves, 14 years ago

Add oxford's custom templates

File size: 3.0 KB
Line 
1<div id="navbar">
2
3  <strong><a href="[% full_cgi_url %]">Back to home</a></strong>
4
5  <div class="navbar_group">
6    <div class="navbar_group_title">Tools:</div>
7    <div class="navbar_item"><a href="[% full_cgi_url %]?RecentChanges">Recent Changes</a> <span class="hidden">/</span></div>
8    <div class="navbar_item"><a href="newpage.cgi">Create a new page</a> <span class="hidden">/</span></div>
9    <div class="navbar_item"><a href="[% full_cgi_url %]?action=random">Random Page</a> <span class="hidden">/</span></div>
10    <div class="navbar_item"><a href="[% full_cgi_url %]?action=show_wanted_pages">Wanted Pages</a> <span class="hidden">/</span></div>
11    [% IF geocache_link AND latitude AND longitude %]
12      <div class="navbar_item"><a href="http://www.geocaching.com/seek/nearest_cache.asp?origin_lat=[% latitude %];origin_long=[% longitude %]">Look for nearby geocaches</a></div>
13    [% END %]
14  </div>
15
16  [% UNLESS omit_help_links %]
17    <div class="navbar_group">
18      <div class="navbar_group_title">Help: <span class="hidden">/</span></div>
19      <div class="navbar_item"><a href="[% full_cgi_url %]?FAQ">FAQ</a> <span class="hidden">/</span></div>
20      <div class="navbar_item"><a href="[% full_cgi_url %]?How_To_Get_Started">How To Get Started</a> <span class="hidden">/</span></div>
21      [% IF formatting_rules_link %]
22        <div class="navbar_item"><a href="[% formatting_rules_link %]">[% formatting_rules_node %]</a> <span class="hidden">/</span></div>
23      [% END %]
24      <div class="navbar_item"><a href="[% full_cgi_url %]?Wiki_Etiquette">Wiki Etiquette</a> <span class="hidden">/</span></div>
25    </div>
26  [% END %]
27
28  <div class="navbar_group">
29    <div class="navbar_group_title">Options:</div>
30    <div class="navbar_item"><a href="preferences.cgi">Set username/prefs</a></div>
31  </div>
32
33  <div class="navbar_group">
34    <div class="navbar_group_title">Search:</div>
35    <div class="navbar_item">
36      <form method="post" action="search.cgi" enctype="application/x-www-form-urlencoded">
37        <input type="hidden" name="action" value="search" />
38        <input type="text" size="15" name="search" id="nav_search" value="Search text" onfocus="this.value=''" /> <label for="nav_search" class="hidden">Search text</label>
39        <input type="submit" value="Go" class="form_button" />
40      </form>
41    </div>
42    <div class="navbar_item">
43      <a href="search.cgi">Advanced Search</a>
44    </div>
45  </div>
46
47  [% UNLESS not_editable %]
48    <div class="navbar_group">
49      <div class="navbar_group_title">This page:</div>
50        <div class="edit_page_link"><a href="[% full_cgi_url %]?id=[% node_param %];action=edit">Edit this page</a></div>
51      <div class="navbar_item">
52        <a href="[% cgi_url %]?action=show_backlinks;id=[% node_param %]">Pages that link to here</a>
53      </div>
54      <div class="navbar_item">
55        <a href="http://the.earth.li/~kake/cgi-bin/openguides/vegan-oxford.cgi?[% node_param %]">Jump to Vegan Oxford entry</a>
56      </div>
57    </div>
58  [% END %]
59
60</div>
Note: See TracBrowser for help on using the repository browser.