From e83cef14d812e85c06dc19b51fe3bc6d5d61b5e5 Mon Sep 17 00:00:00 2001 From: Gina Haeussge Date: Sat, 11 Oct 2008 14:15:39 +0200 Subject: Adjust behaviour of Recent Changes to mirror behaviour of Index Like the index, recent changes are now displayed only for the current namespace. For convenience, a link to the recent changes of the whole wiki is included in the listing. darcs-hash:20081011121539-2b4f5-a98e96550bdc4f28b401139def051b5a6beb56a6.gz --- inc/html.php | 4 ++++ inc/lang/en/lang.php | 1 + inc/template.php | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/inc/html.php b/inc/html.php index e7525ae2d..9802f9ad9 100644 --- a/inc/html.php +++ b/inc/html.php @@ -540,6 +540,10 @@ function html_recent($first=0){ } print p_locale_xhtml('recent'); + + if (getNS($ID) != '') + print '

' . sprintf($lang['recent_global'], wl('', 'do=recent')) . '

'; + print '