[{assign var="defaultPagePadding" value=","|explode:"45,20,20,25"}] [{assign var="pagePadding" value=$pagePadding|default:$defaultPagePadding}] [{* rulers *}] [{* include file="d3pdfrulers.tpl" pagePadding=$pagePadding *}] [{* horizontal *}] [{section name=rulerItemsHorizontal start=10 step=10 loop=600}]
[{$smarty.section.rulerItemsHorizontal.index}]
[{/section}] [{* vertical *}] [{section name=rulerItemsVertical start=0 step=10 loop=600}]
[{$smarty.section.rulerItemsVertical.index}]
[{/section}]