Author: dom Date: 2009-03-15 22:17:46 +0000 (Sun, 15 Mar 2009) New Revision: 1262
Added: sites/london.openguides.org/ sites/london.openguides.org/templates/ sites/london.openguides.org/templates/custom_banner.tt sites/london.openguides.org/templates/userstats.tt Log: add templates for london
Added: sites/london.openguides.org/templates/custom_banner.tt =================================================================== --- sites/london.openguides.org/templates/custom_banner.tt (rev 0) +++ sites/london.openguides.org/templates/custom_banner.tt 2009-03-15 22:17:46 UTC (rev 1262) @@ -0,0 +1,4 @@ +<div id="banner" onclick="location.href='http://london.openguides.org/'" +onmouseover="window.status='http://london.openguides.org/'; return true" onmouseout="window.status=''; return true"> +<h1>The Open Guide to London</h1> +</div>
Added: sites/london.openguides.org/templates/userstats.tt =================================================================== --- sites/london.openguides.org/templates/userstats.tt (rev 0) +++ sites/london.openguides.org/templates/userstats.tt 2009-03-15 22:17:46 UTC (rev 1262) @@ -0,0 +1,49 @@ +[% USE CGI %] +[% INCLUDE header.tt page_title = "User stats for $username - $site_name" %] +[% INCLUDE banner.tt %] +<div id="content"> +[% INCLUDE navbar.tt %] +<div id="maincontent"> +<h2> + User Stats for + [% IF username %] + [% username %] + [% ELSE %] + [% host %] + [% END %] +</h2> + +[% content %] + +<h2> + Last five edits made by + [% IF username AND 0 %] + <a href="[% full_cgi_url %]?[% username_param %]">[% username %]</a>: + [% ELSE %] + [% host %]: + [% END %] +</h2> + +<ul> +[% FOREACH node = last_five_nodes %] + <li>[% node.last_modified %] + <a href="[% node.url %]">[% node.name %]</a> + [% IF node.comment %] + <b>[[% node.comment %]]</b> + [% END %] + </li> +[% END %] +</ul> + +[% IF username %] + <h2>Personalised RSS feeds:</h2> + <ul> + <li><a href="[% full_cgi_url %]?action=rc;format=rss;username=[% CGI.escape(username) %];items=10">Last ten edits made by [% username %]</a></li> + <li><a href="[% full_cgi_url %]?action=rc;format=rss;username=[% CGI.escape(username) %];items=20">Last twenty edits made by [% username %]</a></li> + <li><a href="[% full_cgi_url %]?action=rc;format=rss;username=[% CGI.escape(username) %];items=10;ignore_minor_edits=1">Last ten edits made by [% username %], ignoring minor edits</a></li> + <li><a href="[% full_cgi_url %]?action=rc;format=rss;username=[% CGI.escape(username) %];items=20;ignore_minor_edits=1">Last twenty edits made by [% username %], ignoring minor edits</a></li> + </ul> +[% END %] + +</div> +[% INCLUDE footer.tt %]
openguides-commits@lists.openguides.org