source: trunk/templates/footer.tt @ 1034

Last change on this file since 1034 was 1031, checked in by kake, 15 years ago

Omit footer search form from edit form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 KB
Line 
1<br clear="all" />
2
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 %]
11
12<div id="footer">
13  [% BLOCK delete_link %]
14    [% IF enable_page_deletion AND NOT not_deletable %]
15      <div id="footer_delete_link">
16        <a href="[% full_cgi_url %]?id=[% node_param %];action=delete">Delete page</a> (admins only)
17      </div>
18    [% END %]
19  [% END %]
20
21  [% TRY %]
22    [% INCLUDE custom_footer_credits.tt %]
23  [% CATCH %]
24    <p>
25      [% INCLUDE delete_link %]
26    </p>
27    <p>
28      Powered by <a href="[% full_cgi_url%]?action=about">OpenGuides [% openguides_version %]</a>.
29    </p>
30    [% IF licence_name %]
31      <p>
32        This work is licensed under the
33        [% IF licence_url %]
34           <a href="[% licence_url %]">[% licence_name %]</a>
35                [% ELSE %]
36                        [% licence_name %]
37        [% END %]
38        licence
39        [% IF licence_info_url %]
40           (<a href="[% licence_info_url %]">more info</a>)
41        [% END %]
42      </p>
43    [% END %]
44  [% END %]
45
46</div>
47</div>
48</div>
49
50  [% IF config.google_analytics_key %]
51    <script src="http://www.google-analytics.com/urchin.js"
52     type="text/javascript">
53    </script>
54    <script type="text/javascript">
55      _uacct = "[% CGI.escapeHTML( config.google_analytics_key  ) %]";
56      if ( typeof urchinTracker == 'function' ) urchinTracker();
57    </script>
58  [% END %]
59
60</body>
61</html>
Note: See TracBrowser for help on using the repository browser.