Changeset 1031 for trunk/templates


Ignore:
Timestamp:
May 7, 2007, 5:05:07 PM (15 years ago)
Author:
kake
Message:

Omit footer search form from edit form.

Location:
trunk/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/edit_form.tt

    r1021 r1031  
    368368  [% END %]
    369369
    370 [% INCLUDE footer.tt %]
     370[% INCLUDE footer.tt omit_footer_search_form = 1 %]
  • trunk/templates/footer.tt

    r965 r1031  
    11<br clear="all" />
    22
    3 <div id="search_form">
    4   <form action="search.cgi" method="get">
    5     <strong><label for="search">Search [% site_name %]:</label></strong> <input type="text" size="50" name="search" id="search" value="Search text" onclick="this.value=''" />
    6     <input type="submit" name="Go" value="Go" id="go" class="form_button" />
    7   </form>
    8 </div>
     3[% UNLESS omit_footer_search_form %]
     4  <div id="search_form">
     5    <form action="search.cgi" method="get">
     6      <strong><label for="search">Search [% site_name %]:</label></strong> <input type="text" size="50" name="search" id="search" value="Search text" onclick="this.value=''" />
     7      <input type="submit" name="Go" value="Go" id="go" class="form_button" />
     8    </form>
     9  </div>
     10[% END %]
    911
    1012<div id="footer">
Note: See TracChangeset for help on using the changeset viewer.