summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
authorGina Haeussge <osd@foosel.net>2008-10-11 14:15:39 +0200
committerGina Haeussge <osd@foosel.net>2008-10-11 14:15:39 +0200
commite83cef14d812e85c06dc19b51fe3bc6d5d61b5e5 (patch)
tree1944fc62e3e01e4cf059a5138f69b4ef381f4fdf /inc/html.php
parent85313d6f550a93b5757c8876ab5733c3abea9246 (diff)
downloadrpg-e83cef14d812e85c06dc19b51fe3bc6d5d61b5e5.tar.gz
rpg-e83cef14d812e85c06dc19b51fe3bc6d5d61b5e5.tar.bz2
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
Diffstat (limited to 'inc/html.php')
-rw-r--r--inc/html.php4
1 files changed, 4 insertions, 0 deletions
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 '<div class="level1"><p>' . sprintf($lang['recent_global'], wl('', 'do=recent')) . '</p></div>';
+
print '<ul>';
foreach($recents as $recent){