29 lines
1.0 KiB
Smarty
29 lines
1.0 KiB
Smarty
[{assign var="pageset" value=$pageset|default:"new"}]
|
|
[{assign var="orientation" value=$orientation|default:"P"}]
|
|
[{assign var="format" value=$format|default:"A4"}]
|
|
[{assign var="defaultPagePadding" value=","|explode:"45,15,25,25"}] [{* top, right, bottom, left *}]
|
|
[{assign var="pagePadding" value=$pagePadding|default:$defaultPagePadding}]
|
|
|
|
<style type="text/css">
|
|
[{foreach from=$pdfBlock_style item="_block"}]
|
|
[{$_block}]
|
|
[{/foreach}]
|
|
</style>
|
|
|
|
<page backtop="[{$pagePadding.0}]mm" backright="[{$pagePadding.1}]mm" backbottom="[{$pagePadding.2}]mm" backleft="[{$pagePadding.3}]mm" pageset="[{$pageset}]" orientation="[{$orientation}]" format="[{$format}]">
|
|
<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> |