Scripts updated to use new PG interface.
[cocanwiki.git] / templates / recent.html
index 92eac4a..96dead5 100644 (file)
@@ -5,9 +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>
+<h1><span>Recent changes</span></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::
+<li> <a href="_recent.rss">RSS feed of this page</a> </li>
+</ul>
 
 <ul id="recent_changes">
 ::table(recent_changes)::
 <span class="date">::last_modified_date_html::</span>
 (<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(is_live)::<a href="/::url_html_tag::">::title_html::</a> <strong>(live)</strong>::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::
-</li>
 ::end::
-</ul>
-
-<ul id="topmenu" class="menu">
-<li class="first"> <a href="/">Home&nbsp;page</a> </li>
-<li> <a href="/_sitemap">Sitemap</a> </li>
-<li> <a href="/_recent">Recent&nbsp;changes</a> </li>
-</ul>
-
-<ul id="bottommenu" class="menu">
-<li class="first"> <a href="/">Home&nbsp;page</a> </li>
-::table(sitemenu)::<li> <a href="/::url_html_tag::">::label_html::</a> </li>
+</li>
 ::end::
-<li> <a href="/_sitemap">Sitemap</a> </li>
-</ul>
-
-<hr/>
-
-<ul id="footer" class="menu">
-<li class="first"> <a href="/copyright">Copyright &copy; ::year::</a> </li>
-<li> Powered by <a href="http://sandbox.merjis.com/">::cocanwiki_package_html:: ::cocanwiki_version_html::</a> </li>
 </ul>
 
+::include(footer.html)::
 </body>
 </html>
\ No newline at end of file