Changeset 520


Ignore:
Timestamp:
Sep 30, 2004, 8:53:39 AM (17 years ago)
Author:
kake
Message:

Don't prefill search terms box when showing results of a distance search.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/supersearch.tt

    r519 r520  
    2525  <form method="get" action="supersearch.cgi">
    2626    <label for="search_upper">Search text:</label>
    27     <input type="text" name="search" value="[% IF search_terms %][% search_terms %][% ELSE %]Search text[% END %]" size="50" maxlength="80" id="search_upper" onclick="this.value=''" />
     27    <input type="text" name="search" value="[% IF search_terms OR dist %][% search_terms %][% ELSE %]Search text[% END %]" size="50" maxlength="80" id="search_upper" onclick="this.value=''" />
    2828    <br />
    2929    Located within
Note: See TracChangeset for help on using the changeset viewer.