From faecdfdffdfb8a67b97b5d31903316301c7dc2d7 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 11 May 2007 22:04:26 +0200 Subject: UNDO: don't show page metadata for non accessible pages darcs-hash:20070511200426-7ad00-8ac8909d40e7c62d61980c4f9b29d88b92be9da6.gz --- inc/template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/template.php b/inc/template.php index 1738aacf6..76e016878 100644 --- a/inc/template.php +++ b/inc/template.php @@ -783,8 +783,8 @@ function tpl_pageinfo(){ $fn = utf8_decodeFN($fn); $date = date($conf['dformat'],$INFO['lastmod']); - // print it, but hide if user/group is not allowed to access (FS#970) - if(act_permcheck($ACT) != "denied" && $INFO['exists']){ + // print it + if($INFO['exists']){ print $fn; print ' · '; print $lang['lastmod']; -- cgit v1.2.3