diff options
author | neoraider <devnull@localhost> | 2006-12-04 01:11:05 +0100 |
---|---|---|
committer | neoraider <devnull@localhost> | 2006-12-04 01:11:05 +0100 |
commit | 3b7d2cb2fd40d744a2415a470b4e323d13dd1b63 (patch) | |
tree | 45dc49f5501c13d0e967e41bafb54e9f0dfad0a9 /code/links.inc.php | |
parent | a55cccfbc9ba53fb4b4b28586cfeb9e5e035a6a7 (diff) | |
download | neon-3b7d2cb2fd40d744a2415a470b4e323d13dd1b63.tar neon-3b7d2cb2fd40d744a2415a470b4e323d13dd1b63.zip |
Nav-Seiten durch Inserts ersetzt; Editor-Seiten jetzt in Templates.
Diffstat (limited to 'code/links.inc.php')
-rw-r--r-- | code/links.inc.php | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/code/links.inc.php b/code/links.inc.php index cb264cd..6c6fcd8 100644 --- a/code/links.inc.php +++ b/code/links.inc.php @@ -1,5 +1,5 @@ <?PHP - Uses('user'); + Uses('user', 'pages'); class Links { function GetNeonLink($page, $extra = '', $html = true) { @@ -26,15 +26,6 @@ function GetMailtoLink($address) { return 'mailto:' . $address; } - - function GetNavPage($page) { - if($GLOBALS['pages']->HasReadAccess($page, 'n')) { - $page = $GLOBALS['pages']->Get($page, 'n'); - return $page['content']; - } - - return ''; - } } $GLOBALS['links'] = new Links; |