Changeset 1031


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

Omit footer search form from edit form.

Location:
trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Changes

    r1028 r1031  
    55
    660.60
     7        Removed footer search from edit page (shouldn't have been there).
    78        Upgraded Module::Build requirement to cope with API change.
    89        Added new parameters to action=random - you can now supply category
  • trunk/MANIFEST

    r1027 r1031  
    8686t/18_http_headers.t
    8787t/19_autocreate.t
     88t/20_edit_form.t
    8889t/21_rdf.t
    8990t/22_feed_recent_changes.t
  • 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.