diff options
author | michael <michael@content-space.de> | 2008-10-12 18:27:32 +0200 |
---|---|---|
committer | michael <michael@content-space.de> | 2008-10-12 18:27:32 +0200 |
commit | abdcc39f43938df72d22c688c8e8f7d92b47e018 (patch) | |
tree | 12990918f1cec8a2fc639fae9a5ae33a3e489d05 /inc/template.php | |
parent | c00de5466db3d6104eec84be1c2bd55afa6b86fa (diff) | |
download | rpg-abdcc39f43938df72d22c688c8e8f7d92b47e018.tar.gz rpg-abdcc39f43938df72d22c688c8e8f7d92b47e018.tar.bz2 |
Changed html_recent() to use Doku_Form, FS#135
html_recent() uses Doku_Form now, this makes it possible that action-plugins can customize the recent changes view as suggested in FS#135.
darcs-hash:20081012162732-074e0-ed776be1229177c5a8bd31540002afb2da9b3d31.gz
Diffstat (limited to 'inc/template.php')
-rw-r--r-- | inc/template.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/template.php b/inc/template.php index 0b6e245ac..1385c7547 100644 --- a/inc/template.php +++ b/inc/template.php @@ -88,6 +88,10 @@ function tpl_content_core(){ html_diff(); break; case 'recent': + if (is_array($_REQUEST['first'])) { + $_REQUEST['first'] = array_keys($_REQUEST['first']); + $_REQUEST['first'] = $_REQUEST['first'][0]; + } $first = is_numeric($_REQUEST['first']) ? intval($_REQUEST['first']) : 0; html_recent($first); break; |