<#include "/jeecms_sys/head.html"/>
<@s.m "global.position"/>: <@s.m "template.function"/> - <@s.m "global.list"/>
<@cms_perm url="/template/v_add.do"> " onclick="this.form.action='v_add.do';" class="create-template"/>

<@s.m "resource.currentDir"/>: ${root} <@cms_perm url="/template/o_swfupload.do"> |  | " onclick="swfu.cancelQueue();" disabled="disabled" /> <@cms_perm url="/template/o_create_dir.do"> | <@s.m "template.addDir"/>: " onclick="this.form.method='post';this.form.action='o_create_dir.do';"/>

<@p.table value=list;template,i,has_next><#rt/> <@p.column title="" width="20"> <#t/> <#t/> <@p.column title=" " width="20" align="center"><#t/> <@p.column code="template.filename">${template.filename}<#t/> <@p.column code="template.size" align="right">${template.size} KB<#t/> <@p.column code="template.lastModified" align="center">${template.lastModifiedDate?string('yyyy-MM-dd HH:mm:ss')}<#t/> <@p.column code="global.operate" align="center"> <@cms_perm url="/template/v_rename.do"> <@s.m "template.rename"/> | <#rt/> <@cms_perm url="/template/v_edit.do"> href="v_edit.do?root=${root?url}&name=${template.name?url}" class="pn-opt"<#else>disabled="disabled"><@s.m "global.edit"/> | <#rt/> <@cms_perm url="/template/o_delete_single.do"> ')) {return false;}" class="pn-opt"><@s.m "global.delete"/><#t/> <#t/>
<@cms_perm url="/template/o_delete.do"> " onclick="optDelete();" class="del-button"/>
<#include "/common/alert_message.html"/>