Recent changes is now page-based, making it work much faster when
[cocanwiki.git] / templates / recent.html
index 1fbfe01..7b1d315 100644 (file)
@@ -5,10 +5,21 @@
 <meta name="robots" content="noindex,nofollow"/>
 <meta name="author" content="http://www.merjis.com/" />
 <link rel="stylesheet" href="::theme_css_html_tag::" type="text/css" title="Standard"/>
+<link rel="alternate stylesheet" href="/_css/easytoread.css" type="text/css" title="High contrast, big fonts"/>
 </head><body>
 
 <h1>Recent changes</h1>
 
+<ul class="menu">
+<li class="first"> Showing changes ::offset:: to ::last:: of ::count:: in total </li>
+::if(has_prev)::
+<li> <a href="?offset=::prev_offset::&limit=::limit::">Show previous ::limit::</a> </li>
+::end::
+::if(has_next)::
+<li> <a href="?offset=::next_offset::&limit=::limit::">Show next ::limit::</a> </li>
+::end::
+</ul>
+
 <ul id="recent_changes">
 ::table(recent_changes)::
 <li>
@@ -16,7 +27,9 @@
 (<a href="/::url_html_tag::/diff?version=::version::">diff</a>)
 (<a href="/::url_html_tag::/history">history</a>)
 ::if(is_live)::<a href="/::url_html_tag::">::title_html::</a> (live)::else::<a href="/::url_html_tag::?version=::version::">::title_html::</a>::end::
+::if(has_logged_user)::(by ::logged_user_html::)::else::
 ::if(has_logged_ip)::(from ::logged_ip_html::)::end::
+::end::
 </li>
 ::end::
 </ul>