diff options
author | matthiasgrimm <matthiasgrimm@users.sourceforge.net> | 2005-05-23 18:58:26 +0200 |
---|---|---|
committer | matthiasgrimm <matthiasgrimm@users.sourceforge.net> | 2005-05-23 18:58:26 +0200 |
commit | a39955b0135f89ef41e583346fd459934a652025 (patch) | |
tree | eb682c076666a08ddff95b654f79b64d07b814b7 /inc/template.php | |
parent | a2021ad8be2c99855e491f4a6c368687425daf06 (diff) | |
download | rpg-a39955b0135f89ef41e583346fd459934a652025.tar.gz rpg-a39955b0135f89ef41e583346fd459934a652025.tar.bz2 |
history navigation buttons
This patch adds a 'next' and a 'previous' button to the history
page. They make it possible to see more than one page of history
data.
darcs-hash:20050523165826-7ef76-77a2c21e8b172200f169e0aea8441e8b100ab278.gz
Diffstat (limited to 'inc/template.php')
-rw-r--r-- | inc/template.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/template.php b/inc/template.php index f76e48108..a5e656443 100644 --- a/inc/template.php +++ b/inc/template.php @@ -75,7 +75,9 @@ function tpl_content(){ html_diff(); break; case 'recent': - html_recent(); + $first = $_REQUEST['first']; + if(empty($first)) $first=0; + html_recent($first); break; case 'index': html_index($IDX); #FIXME can this be pulled from globals? is it sanitized correctly? |