summaryrefslogtreecommitdiff
path: root/skin/base.skin.php
diff options
context:
space:
mode:
Diffstat (limited to 'skin/base.skin.php')
-rw-r--r--skin/base.skin.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/skin/base.skin.php b/skin/base.skin.php
new file mode 100644
index 0000000..d5e02e2
--- /dev/null
+++ b/skin/base.skin.php
@@ -0,0 +1,15 @@
+<?php
+
+namespace skin\base;
+
+function layout($ctx, $title, $unsafe_body) {
+return <<<HTML
+<!doctype html>
+<html lang="en">
+ <body>
+ <title>{$title}</title>
+ </body>
+ <body>{$unsafe_body}</body>
+</html>
+HTML;
+}