Define base template : page.tpl

This commit is contained in:
Olivier PEREZ 2014-12-15 13:33:39 +01:00
parent 448a7c2d38
commit ecfcae580b
2 changed files with 9 additions and 3 deletions

6
tpl/page.tpl Normal file
View File

@ -0,0 +1,6 @@
{include file='head.tpl'}
{include file='header.tpl'}
{block name=main}{/block}
{include file='footer.tpl'}

View File

@ -1,6 +1,6 @@
{include file='head.tpl'}
{include file='header.tpl'}
{extends file='page.tpl'}
{block name=main}
<form action="{$poll_id|poll_url}" method="POST">
{* Global informations about the current poll *}
@ -258,4 +258,4 @@
</div>
{/if}
</form>
{include file='footer.tpl'}
{/block}