diff options
author | neoraider <devnull@localhost> | 2006-04-16 22:21:01 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2006-04-16 22:21:01 +0200 |
commit | bde164393aa3b8c59ee15c0ae80c4268b236fb47 (patch) | |
tree | 9972504ddb25387ac1d20085e126afb583a66a19 /code/links.inc.php | |
parent | ac0c6f0b35a99fed2308aef85df818db3d871a95 (diff) | |
download | neon-bde164393aa3b8c59ee15c0ae80c4268b236fb47.tar neon-bde164393aa3b8c59ee15c0ae80c4268b236fb47.zip |
Rechteverwaltung ?berarbeitet.
Diffstat (limited to 'code/links.inc.php')
-rw-r--r-- | code/links.inc.php | 4 |
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']; } |