Ignore:
Timestamp:
Mar 30, 2007, 6:26:31 PM (15 years ago)
Author:
kake
Message:

Use full URLs for all links in navbar, so people can INCLUDE navbar.tt in their own scripts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/navbar_search.tt

    r952 r1008  
    33  <ul>
    44    <li>
    5       <form method="post" action="search.cgi" enctype="application/x-www-form-urlencoded">
     5      <form method="post" action="[% script_url %]search.cgi" enctype="application/x-www-form-urlencoded">
    66        <input type="hidden" name="action" value="search" />
    77        <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>
     
    99      </form>
    1010    </li>
    11     <li><a href="search.cgi">Advanced Search</a></li>
     11    <li><a href="[% script_url %]search.cgi">Advanced Search</a></li>
    1212  </ul>
    1313</div>
Note: See TracChangeset for help on using the changeset viewer.