Ticket #132: footer.tt

File footer.tt, 1.2 kB (added by cds, 2 years ago)
Line 
1<div id="footer">
2<div id="search_form">
3  <form action="search.cgi" method="get">
4    <strong><label for="search">Search [% site_name %]:</label></strong> <input type="text" size="50" name="search" id="search" value="Search text" onclick="this.value=''" />
5    <input type="submit" name="Go" value="Go" id="go" class="form_button" />
6  </form>
7</div>
8
9  [% BLOCK delete_link %]
10    [% IF enable_page_deletion AND NOT not_deletable %]
11      <a href="[% full_cgi_url %]?id=[% node_param %];action=delete">Delete page</a> (admins only)
12    [% END %]
13  [% END %]
14
15  [% TRY %]
16    [% INCLUDE custom_footer_credits.tt %]
17  [% CATCH %]
18    <p>
19      [% INCLUDE delete_link %]
20    </p>
21    <p>
22      Powered by <a href="[% full_cgi_url%]?action=about">OpenGuides [% openguides_version %]</a>.
23    </p>
24    <p>
25      [% IF licence_name %]
26        This work is licensed under the
27        [% IF licence_url %]
28           <a href="[% licence_url %]">
29        [% END %]
30        [% licence_name %]
31        [% IF licence_url %]
32           </a>
33        [% END %]
34        licence
35        [% IF licence_info_url %]
36           (<a href="[% licence_info_url %]">more info</a>)
37        [% END %]
38      [% END %]
39  [% END %]
40
41</div>
42</div>
43</body>
44</html>