source: trunk/templates/footer.tt

Last change on this file was 1404, checked in by kake, 10 years ago

Fixed indentation in footer template.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.9 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 is_admin 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    [% INCLUDE delete_link %]
25    <p>
26      Powered by <a href="[% full_cgi_url%]?action=about">OpenGuides [% openguides_version %]</a>.
27      [% IF read_only %]
28        This guide is in read-only mode.
29      [% END %]
30    </p>
31    [% IF licence_name %]
32      <p>
33        This work is licensed under the
34        [% IF licence_url %]
35          <a href="[% licence_url %]">[% licence_name %]</a>
36        [% ELSE %]
37          [% licence_name %]
38        [% END %]
39        licence
40        [% IF licence_info_url %]
41           (<a href="[% licence_info_url %]">more info</a>)
42        [% END %]
43      </p>
44    [% END %]
45  [% END %]
46
47</div>
48</div>
49</div>
50
51  [% IF config.google_analytics_key %]
52    <script type="text/javascript">
53    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
54    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
55    </script>
56
57    <script type="text/javascript">
58      try {
59       var pageTracker = _gat._getTracker("[% config.google_analytics_key %]");
60       pageTracker._trackPageview();
61      } catch(err) {}
62    </script>
63  [% END %]
64
65</body>
66</html>
Note: See TracBrowser for help on using the repository browser.