summaryrefslogtreecommitdiffstats
path: root/index.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 /index.php
parentecb8233cd7e9fbacd7614028115161565e841d87 (diff)
downloadneon-8b89c8c8a9001c5f5b38465ceb58306fc6f0659e.tar
neon-8b89c8c8a9001c5f5b38465ceb58306fc6f0659e.zip
Navigationsleiste verbessert (ungenutzte Eintr?ge werden ausgeblendet); einige kleinere ?nderungen + Bugs gefixt
Diffstat (limited to 'index.php')
-rw-r--r--index.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/index.php b/index.php
index bb1fa29..b511b8c 100644
--- a/index.php
+++ b/index.php
@@ -3,7 +3,7 @@
include('code/message.inc.php');
include('code/util.inc.php');
- include('code/content.inc.php');
+ include('code/pages.inc.php');
include('code/nav.inc.php');
header('Content-type: text/html;charset=UTF-8');
@@ -17,7 +17,10 @@
$template_data = join('', file('templates/' . $template));
- $data = GetPage($page);
+ $data = $pages->Get($page);
- echo Subst($template_data, array('title' => $config['title'] . $data['title'], 'stylesheet' => 'styles/' . $style . '/style.css', 'content' => $data['content'], 'nav' => $nav->ParseEntries()));
+ echo Subst($template_data, array('title' => $config['title'] . $data['title'],
+ 'stylesheet' => 'styles/' . $style . '/style.css',
+ 'content' => $data['content'],
+ 'nav' => $nav->ParseEntries()));
?>