[%if count($array) > 0%] [%forlist from=$array key=list%]
powercheck('templates','smstemplateedit')==true %]ondblClick="javascript:parent.onbotton('[%$ST.smstemplatemain_edit_title%]','index.php?archive=smstemplatemain&action=smstemplateedit&tmid=[%$array[list].tmid%]&type=edit&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),true,'smstempedit[%$array[list].tmid%]',self.frameElement.getAttribute('name'));"[%/if%]>
[%$array[list].tmid%] [%$array[list].lng%] [%$array[list].templatename|cutstr(10)%] [%$array[list].templatecode%]
[%if $array[list].isclass==1%][%else%][%/if%]
[%if @this->powercheck('templates','smstemplateedit')==true %] [%/if%] [%if @this->powercheck('templates','smstemplatedel')==true && $array[list].lockin==0%] [%/if%]
[%$ST.setedit_botton%] [%$ST.setdel_botton%]
[%/forlist%] [%else%]
[%$ST.list_nothing_title%]
[%/if%]