summaryrefslogtreecommitdiff
path: root/Templates.class.php
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-03-18 20:54:44 +0000
committerTrygve Laugstøl <trygvis@inamo.no>2012-03-18 20:54:44 +0000
commit68c00efedb777d59e610f46a121c56e3cc3f9444 (patch)
tree641c49bc4fe806637eb6ac32f03ede1d6b67775b /Templates.class.php
parente0a5561fda74908f19166844da6e08a6c02ff0e1 (diff)
downloadhttp-mq-68c00efedb777d59e610f46a121c56e3cc3f9444.tar.gz
http-mq-68c00efedb777d59e610f46a121c56e3cc3f9444.tar.bz2
http-mq-68c00efedb777d59e610f46a121c56e3cc3f9444.tar.xz
http-mq-68c00efedb777d59e610f46a121c56e3cc3f9444.zip
o Prettier templates.
Diffstat (limited to 'Templates.class.php')
-rw-r--r--Templates.class.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/Templates.class.php b/Templates.class.php
index 9cfec4f..47467a7 100644
--- a/Templates.class.php
+++ b/Templates.class.php
@@ -103,16 +103,10 @@ function html_default($body, $head = NULL) {
?>
<html>
<head>
-<?php
-if($head != NULL) {
- $head();
-}
-?>
+<?php if($head != NULL) { $head(); } ?>
</head>
<body>
-<?php
-invoke($body);
-?>
+<?php invoke($body); ?>
</body>
</html>
<?php