Added theme support. More functionality on index.
authorRichard Whitehouse <github@richardwhiuk.com>
Thu, 3 Feb 2011 16:25:44 +0000 (16:25 +0000)
committerRichard Whitehouse <github@richardwhiuk.com>
Thu, 3 Feb 2011 16:25:44 +0000 (16:25 +0000)
theme.php [new file with mode: 0644]

diff --git a/theme.php b/theme.php
new file mode 100644 (file)
index 0000000..e38f84f
--- /dev/null
+++ b/theme.php
@@ -0,0 +1,24 @@
+<?php
+
+class Theme_Impl extends Theme {
+
+       public function display($template){
+               header('Content-type: text/html; charset=utf-8');
+?>
+<!DOCTYPE html>
+<html>
+<head>
+       <title>Homerton May Ball 2011 Ticketing - <?php echo $template->title(); ?></title>
+</head>
+<body>
+<div class="content">
+       <?php $template->display(); ?>
+</div>
+</body>
+</html>
+<?php
+       }
+
+}
+
+