diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-07-07 20:31:22 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-07-07 20:31:22 +0300 |
commit | 6c081f3aff64689ed3b77bfeec1d2e0005fe5286 (patch) | |
tree | ceaeb1c9b235a7f701039d11da145bd18ae98be3 /skin/base.skin.php |
initial
Diffstat (limited to 'skin/base.skin.php')
-rw-r--r-- | skin/base.skin.php | 15 |
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; +} |