summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-01-09 20:49:02 +0100
committerneoraider <devnull@localhost>2006-01-09 20:49:02 +0100
commit73d5e907a797e976e59f328d4f2fd0b8bfcebde6 (patch)
tree98108e9738db75d2688de5f7a68c72253c54c450 /index.php
parent61f7b4cc39a399a16298453acbe5a8f49ad0513d (diff)
downloadneon-73d5e907a797e976e59f328d4f2fd0b8bfcebde6.tar
neon-73d5e907a797e976e59f328d4f2fd0b8bfcebde6.zip
Allgemein ist jetzt alles etwas weiter. Vieles ist jetzt durch Klassen gel?st, und einige andere Teile von Neon sind jetzt besser strukturiert.
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/index.php b/index.php
index 1167f1a..be663fe 100644
--- a/index.php
+++ b/index.php
@@ -15,5 +15,7 @@
$template_data = join('', file('templates/' . $template));
- echo Subst($template_data, array('title' => $title, 'stylesheet' => 'styles/' . $style . '/style.css', 'content' => GetPage($page)));
+ $data = GetPage($page);
+
+ echo Subst($template_data, array('title' => $title . ' - ' . $data['title'], 'stylesheet' => 'styles/' . $style . '/style.css', 'content' => $data['content']));
?>