diff --git a/tpl/footer.tpl b/tpl/footer.tpl deleted file mode 100644 index 0313ca5..0000000 --- a/tpl/footer.tpl +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/tpl/head.tpl b/tpl/head.tpl deleted file mode 100644 index 401a271..0000000 --- a/tpl/head.tpl +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - {if !empty($title)} - {$title|html} - {$APPLICATION_NAME|html} - {else} - {$APPLICATION_NAME|html} - {/if} - - - - - - - - - - - - - {if !empty($nav_js)} - - {/if} - - {block name="header"}{/block} - - - -
\ No newline at end of file diff --git a/tpl/page.tpl b/tpl/page.tpl index 025864a..1d94cf7 100644 --- a/tpl/page.tpl +++ b/tpl/page.tpl @@ -1,6 +1,40 @@ -{include file='head.tpl'} + + + + + + {if !empty($title)} + {$title|html} - {$APPLICATION_NAME|html} + {else} + {$APPLICATION_NAME|html} + {/if} + + + + + + + + + + + + + {if !empty($nav_js)} + + {/if} + + {block name="header"}{/block} + + + +
+ {include file='header.tpl'} {block name=main}{/block} -{include file='footer.tpl'} \ No newline at end of file + +
+ + \ No newline at end of file