[%if count($array) > 0%] [%forlist from=$array key=list%]
powercheck('templates','printedit')==true %]ondblClick="javascript:parent.onbotton('[%$array[list].templatename%][%$ST.printtemplatemain_edit_title%]','index.php?archive=printtemplatemain&action=printedit&tmid=[%$array[list].tmid%]&type=edit&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),true,'printcopy[%$array[list].tmid%]',self.frameElement.getAttribute('name'));"[%/if%]>
[%$array[list].tmid%] [%$array[list].templatename%]
[%if $array[list].lockin==1%][%else%][%/if%]
[%if @this->powercheck('templates','printedit')==true %] [%/if%] [%if @this->powercheck('templates','printdel')==true && $array[list].lockin==0%] [%/if%]
[%$ST.setedit_botton%] [%$ST.setcopy_botton%] [%$ST.setdel_botton%]
[%/forlist%] [%else%]
[%$ST.list_nothing_title%]
[%/if%]