pdfdokumente/Application/views/tpl/documents/inc/page/base.tpl

29 lines
1019 B
Smarty
Raw Normal View History

2020-06-11 01:29:04 +02:00
[{assign var="pageset" value=$pageset|default:"new"}]
[{assign var="orientation" value=$orientation|default:"P"}]
[{assign var="format" value=$format|default:"A4"}]
2020-06-14 00:46:17 +02:00
[{assign var="defaultPagePadding" value=","|explode:"45,20,10,25"}]
2020-06-13 22:43:57 +02:00
[{assign var="pagePadding" value=$pagePadding|default:$defaultPagePadding}]
2020-06-11 01:29:04 +02:00
<style type="text/css">
[{foreach from=$pdfBlock_style item="_block"}]
[{$_block}]
[{/foreach}]
</style>
2020-06-13 22:43:57 +02:00
<page backtop="[{$pagePadding.0}]mm" backright="[{$pagePadding.1}]mm" backbottom="[{$pagePadding.2}]mm" backleft="[{$pagePadding.3}]mm" pageset="[{$pageset}]" orientation="[{$orientation}]" format="[{$format}]">
2020-06-11 01:29:04 +02:00
<page_header>
[{foreach from=$pdfBlock_header item="_block"}]
[{$_block}]
[{/foreach}]
</page_header>
<page_footer>
[{foreach from=$pdfBlock_footer item="_block"}]
[{$_block}]
[{/foreach}]
</page_footer>
[{foreach from=$pdfBlock_content item="_block"}]
[{$_block}]
[{/foreach}]
</page>