source: trunk/templates/userstats.tt @ 700

Last change on this file since 700 was 700, checked in by Earle Martin, 16 years ago

Change "action=rss" parameter to "action=rc;format=rss". Extract RecentChanges code in OpenGuides.pm to its own sub (display_recent_changes()). Fix references to old params in templates. Put redirect to URL with new parameters into wiki.cgi for old parameter.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1[% USE CGI %]
2[% INCLUDE header.tt page_title = "User stats for $username - $site_name" %]
3[% INCLUDE banner.tt %]
4<div id="content">
5[% INCLUDE navbar.tt %]
6<div id="maincontent">
7<h2>
8  User Stats for
9    [% IF username %]
10      [% username %]
11    [% ELSE %]
12      [% host %]
13    [% END %]
14</h2>
15
16[% content %]
17
18<h2>
19  Last five edits made by
20  [% IF username %]
21    <a href="[% full_cgi_url %]?[% username_param %]">[% username %]</a>:
22  [% ELSE %]
23    [% host %]:
24  [% END %]
25</h2>
26
27<ul>
28[% FOREACH node = last_five_nodes %]
29  <li>[% node.last_modified %]
30      <a href="[% node.url %]">[% node.name %]</a>
31      [% IF node.comment %]
32        <b>[[% node.comment %]]</b>
33      [% END %]
34  </li>
35[% END %]
36</ul>
37
38[% IF username %]
39  <h2>Personalised RSS feeds:</h2>
40  <ul>
41    <li><a href="[% full_cgi_url %]?action=rc;format=rss;username=[% CGI.escape(username) %];items=10">Last ten edits made by [% username %]</a></li>
42    <li><a href="[% full_cgi_url %]?action=rc;format=rss;username=[% CGI.escape(username) %];items=20">Last twenty edits made by [% username %]</a></li>
43    <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>
44    <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>
45  </ul>
46[% END %]
47
48</div>
49[% INCLUDE footer.tt %]
Note: See TracBrowser for help on using the repository browser.