summaryrefslogtreecommitdiffstats
path: root/code/links.inc.php
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-01-13 00:49:05 +0100
committerneoraider <devnull@localhost>2006-01-13 00:49:05 +0100
commit8b89c8c8a9001c5f5b38465ceb58306fc6f0659e (patch)
treea5b57b8809365c8e3184ae81bd193986367e31b8 /code/links.inc.php
parentecb8233cd7e9fbacd7614028115161565e841d87 (diff)
downloadneon-8b89c8c8a9001c5f5b38465ceb58306fc6f0659e.tar
neon-8b89c8c8a9001c5f5b38465ceb58306fc6f0659e.zip
Navigationsleiste verbessert (ungenutzte Eintr?ge werden ausgeblendet); einige kleinere ?nderungen + Bugs gefixt
Diffstat (limited to 'code/links.inc.php')
-rw-r--r--code/links.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/code/links.inc.php b/code/links.inc.php
index ab3b786..39a1ae2 100644
--- a/code/links.inc.php
+++ b/code/links.inc.php
@@ -4,7 +4,9 @@
class Links {
function GetNeonLink($page) {
- return 'index.php?page=' . $page;
+ if($GLOBALS['pages']->HasAccess($page))
+ return 'index.php?page=' . $page;
+ return '';
}
function GetExternalLink($link) {