diff options
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> |