{strip}
Podgląd szablonu

{* wyswietlanie bledow i informacji*} {assign var="errTab" value=$errTemplates} {assign var="msgTab" value=$msgTemplates} {include file="provex/error.inc.tpl"} {include file="provex/msg.inc.tpl"}
{if $template->template_id} {/if} {if $template->template_id} {/if} {if $template->template_id} {/if} {if $template->template_id} {/if}
{t}ID{/t}: {$template->template_id}
{t}Nazwa{/t}: {$formData['templateName']}
{t}Typ{/t}: {$formData['templateType']}
{t}Status{/t}: {$template->template_status}
{t}Model{/t}: {$modelList->model_list[$formData['modelId']]->model_symbol}
{t}Data modyfikacji{/t}: {$template->modification_date}
{t}Data utworzenia{/t}: {$template->creation_date}
{t}Parametry{/t}
{t}Elementy zapisane{/t} {foreach name=list from=$formData['templateItemList'] item=row} {/foreach}
{t}Nazwa systemowa{/t} {t}Nazwa producenta{/t} {t}Typ{/t} {t}Wartość domyślna{/t} {t}Komentarz{/t}
{$row['provexName']} {$row['vendorName']} {$row['type']} {if $row['type'] == 'TEXT'} {$row['defaultValue']} {elseif $row['type'] == 'INTEGER'} {$row['defaultValue']} {elseif $row['type'] == 'BOOL'} {if {$row['defaultValue']}}{t}TAK(BOOL){/t} {else}{t}NIE(BOOL){/t} {/if} {/if} {$row['comment']}
{/strip}