Changeset 537


Ignore:
Timestamp:
Oct 20, 2004, 9:55:13 PM (17 years ago)
Author:
Dominic Hargreaves
Message:

Fix broken navbar introduced in previous revision.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Changes

    r536 r537  
     1        Fix broken navbar changes that crept into last release.
     2
    130.42   
    24        Handle distance searching with OpenGuides::Supersearch instead of
  • trunk/templates/navbar.tt

    r536 r537  
    22
    33  <div class="navbar_group">
    4     <div class="navbar_group_title">[% labels.navbar.tools %]</div>
    5     <div class="navbar_item"><a href="[% full_cgi_url %]?RecentChanges">[% labels.navbar.recent_changes %]</a> <span class="hidden">/</span></div>
    6     <div class="navbar_item"><a href="newpage.cgi">[% labels.navbar.new_page %]</a> <span class="hidden">/</span></div>
    7     <div class="navbar_item"><a href="[% full_cgi_url %]?action=random">[% labels.navbar.random_page %]</a> <span class="hidden">/</span></div>
    8     <div class="navbar_item"><a href="[% full_cgi_url %]?action=show_wanted_pages">[% labels.navbar.wanted_pages %]</a> <span class="hidden">/</span></div>
     4    <div class="navbar_group_title">Tools:</div>
     5    <div class="navbar_item"><a href="[% full_cgi_url %]?RecentChanges">Recent Changes</a> <span class="hidden">/</span></div>
     6    <div class="navbar_item"><a href="newpage.cgi">Create a new page</a> <span class="hidden">/</span></div>
     7    <div class="navbar_item"><a href="[% full_cgi_url %]?action=random">Random Page</a> <span class="hidden">/</span></div>
     8    <div class="navbar_item"><a href="[% full_cgi_url %]?action=show_wanted_pages">Wanted Pages</a> <span class="hidden">/</span></div>
    99    [% IF geocache_link AND latitude AND longitude %]
    1010      <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>
     
    1414  [% UNLESS omit_help_links %]
    1515    <div class="navbar_group">
    16       <div class="navbar_group_title">[% labels.navbar.help %] <span class="hidden">/</span></div>
    17       <div class="navbar_item"><a href="[% full_cgi_url %]?FAQ">[% labels.navbar.faq %]</a> <span class="hidden">/</span></div>
    18       <div class="navbar_item"><a href="[% full_cgi_url %]?How_To_Get_Started">[% labels.navbar.get_started %]</a> <span class="hidden">/</span></div>
     16      <div class="navbar_group_title">Help: <span class="hidden">/</span></div>
     17      <div class="navbar_item"><a href="[% full_cgi_url %]?FAQ">FAQ</a> <span class="hidden">/</span></div>
     18      <div class="navbar_item"><a href="[% full_cgi_url %]?How_To_Get_Started">How To Get Started</a> <span class="hidden">/</span></div>
    1919      [% IF formatting_rules_link %]
    2020        <div class="navbar_item"><a href="[% formatting_rules_link %]">[% formatting_rules_node %]</a> <span class="hidden">/</span></div>
    2121      [% END %]
    22       <div class="navbar_item"><a href="[% full_cgi_url %]?Wiki_Etiquette">[% labels.navbar.etiquette %]</a> <span class="hidden">/</span></div>
     22      <div class="navbar_item"><a href="[% full_cgi_url %]?Wiki_Etiquette">Wiki Etiquette</a> <span class="hidden">/</span></div>
    2323    </div>
    2424  [% END %]
    2525
    2626  <div class="navbar_group">
    27     <div class="navbar_group_title">[% labels.navbar.options %]</div>
    28     <div class="navbar_item"><a href="preferences.cgi">[% labels.navbar.user_prefs %]</a></div>
     27    <div class="navbar_group_title">Options:</div>
     28    <div class="navbar_item"><a href="preferences.cgi">Set username/prefs</a></div>
    2929  </div>
    3030
    3131  <div class="navbar_group">
    32     <div class="navbar_group_title">[% labels.navbar.search %]</div>
     32    <div class="navbar_group_title">Search:</div>
    3333    <div class="navbar_item">
    3434      <form method="post" action="supersearch.cgi" enctype="application/x-www-form-urlencoded">
    3535        <input type="hidden" name="action" value="search" />
    36         <input type="text" size="15" name="search" id="nav_search" value="[% labels.general.search_text %]" onfocus="this.value=''" /> <label for="nav_search" class="hidden">[% labels.general.search_text %]</label>
    37         <input type="submit" value="[% labels.general.go %]" class="form_button" />
     36        <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>
     37        <input type="submit" value="Go" class="form_button" />
    3838      </form>
    3939    </div>
    4040    <div class="navbar_item">
    41       <a href="supersearch.cgi">[% labels.navbar.advanced_search %]</a>
     41      <a href="supersearch.cgi">Advanced Search</a>
    4242    </div>
    4343  </div>
Note: See TracChangeset for help on using the changeset viewer.