diff --git a/tpl/page.tpl b/tpl/page.tpl new file mode 100644 index 0000000..025864a --- /dev/null +++ b/tpl/page.tpl @@ -0,0 +1,6 @@ +{include file='head.tpl'} +{include file='header.tpl'} + +{block name=main}{/block} + +{include file='footer.tpl'} \ No newline at end of file diff --git a/tpl/studs.tpl b/tpl/studs.tpl index 79424f7..18b8f44 100644 --- a/tpl/studs.tpl +++ b/tpl/studs.tpl @@ -1,6 +1,6 @@ -{include file='head.tpl'} -{include file='header.tpl'} +{extends file='page.tpl'} +{block name=main}
{* Global informations about the current poll *} @@ -258,4 +258,4 @@ {/if}
-{include file='footer.tpl'} \ No newline at end of file +{/block} \ No newline at end of file