summaryrefslogtreecommitdiffstats
path: root/code/links.inc.php
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-04-16 22:21:01 +0200
committerneoraider <devnull@localhost>2006-04-16 22:21:01 +0200
commitbde164393aa3b8c59ee15c0ae80c4268b236fb47 (patch)
tree9972504ddb25387ac1d20085e126afb583a66a19 /code/links.inc.php
parentac0c6f0b35a99fed2308aef85df818db3d871a95 (diff)
downloadneon-bde164393aa3b8c59ee15c0ae80c4268b236fb47.tar
neon-bde164393aa3b8c59ee15c0ae80c4268b236fb47.zip
Rechteverwaltung ?berarbeitet.
Diffstat (limited to 'code/links.inc.php')
-rw-r--r--code/links.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/links.inc.php b/code/links.inc.php
index b5ae18e..d65eea1 100644
--- a/code/links.inc.php
+++ b/code/links.inc.php
@@ -3,7 +3,7 @@
class Links {
function GetNeonLink($page, $extra = '', $html = true) {
- if($GLOBALS['pages']->HasAccess($page, 'c')) {
+ if($GLOBALS['pages']->HasReadAccess($page, 'c')) {
if($GLOBALS['user']->login_type == 'url')
$ret = 'index.php?page=' . $page . '&login=' . $GLOBALS['user']->login_key
. ($extra ? '&' . $extra : '');
@@ -27,7 +27,7 @@
}
function GetNavPage($page) {
- if($GLOBALS['pages']->HasAccess($page, 'n')) {
+ if($GLOBALS['pages']->HasReadAccess($page, 'n')) {
$page = $GLOBALS['pages']->Get($page, 'n');
return $page['content'];
}