diff options
author | emkael <emkael@tlen.pl> | 2016-03-09 16:21:01 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-03-09 16:21:01 +0100 |
commit | 558770dc8aedf9d34daa5dffd0bf251a4f0cb727 (patch) | |
tree | 13bf9fa3f7f87380e395e0ef38f8e539dbaac401 /app/php/layouts | |
parent | 8bcee8a976362bb2b23af6306cfcd1339380bd60 (diff) |
* common page template
Diffstat (limited to 'app/php/layouts')
-rw-r--r-- | app/php/layouts/MainLayout.php | 9 | ||||
-rw-r--r-- | app/php/layouts/MainLayout.tpl | 19 |
2 files changed, 28 insertions, 0 deletions
diff --git a/app/php/layouts/MainLayout.php b/app/php/layouts/MainLayout.php new file mode 100644 index 0000000..678b1aa --- /dev/null +++ b/app/php/layouts/MainLayout.php @@ -0,0 +1,9 @@ +<?php + +Prado::using('Application.components.HeaderMenu'); + +class MainLayout extends TTemplateControl { + +} + +?> diff --git a/app/php/layouts/MainLayout.tpl b/app/php/layouts/MainLayout.tpl new file mode 100644 index 0000000..f8c5f50 --- /dev/null +++ b/app/php/layouts/MainLayout.tpl @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<html> + <com:THead> + <com:TMetaTag HttpEquiv="Content-Type" Content="text/html; charset=utf-8" /> + <title><com:TContentPlaceHolder ID="Title" /></title> + </com:THead> + <body> + <com:TForm> + <header role="banner"> + <com:HeaderMenu /> + </header> + <main role="main"> + <com:TContentPlaceHolder ID="Content" /> + </main> + <footer role="contentinfo"> + </footer> + </com:TForm> + </body> +</html> |