root/tags/rel0_61/templates/footer.tt

Revision 1055, 1.6 kB (checked in by kake, 19 months ago)

Remove <p> element which wraps <div id=footer_delete_link>, since it's invalid markup and it wasn't doing anything anyway (fixes #221).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
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    [% INCLUDE delete_link %]
25    <p>
26      Powered by <a href="[% full_cgi_url%]?action=about">OpenGuides [% openguides_version %]</a>.
27    </p>
28    [% IF licence_name %]
29      <p>
30        This work is licensed under the
31        [% IF licence_url %]
32           <a href="[% licence_url %]">[% licence_name %]</a>
33                [% ELSE %]
34                        [% licence_name %]
35        [% END %]
36        licence
37        [% IF licence_info_url %]
38           (<a href="[% licence_info_url %]">more info</a>)
39        [% END %]
40      </p>
41    [% END %]
42  [% END %]
43
44</div>
45</div>
46</div>
47
48  [% IF config.google_analytics_key %]
49    <script src="http://www.google-analytics.com/urchin.js"
50     type="text/javascript">
51    </script>
52    <script type="text/javascript">
53      _uacct = "[% CGI.escapeHTML( config.google_analytics_key  ) %]";
54      if ( typeof urchinTracker == 'function' ) urchinTracker();
55    </script>
56  [% END %]
57
58</body>
59</html>
Note: See TracBrowser for help on using the browser.