projects
/
hmb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e090f35
)
Added theme support. More functionality on index.
author
Richard Whitehouse
<github@richardwhiuk.com>
Thu, 3 Feb 2011 16:25:44 +0000
(16:25 +0000)
committer
Richard Whitehouse
<github@richardwhiuk.com>
Thu, 3 Feb 2011 16:25:44 +0000
(16:25 +0000)
theme.php
[new file with mode: 0644]
patch
|
blob
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
+ }
+
+}
+
+