Define base template : page.tpl
This commit is contained in:
parent
448a7c2d38
commit
ecfcae580b
6
tpl/page.tpl
Normal file
6
tpl/page.tpl
Normal file
@ -0,0 +1,6 @@
|
||||
{include file='head.tpl'}
|
||||
{include file='header.tpl'}
|
||||
|
||||
{block name=main}{/block}
|
||||
|
||||
{include file='footer.tpl'}
|
@ -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}
|
Loading…
Reference in New Issue
Block a user