<#include "/jeecms_sys/head.html"/>
<@s.m "global.position"/>: <@s.m "template.function"/> - <@s.m "global.edit"/>
" onclick="this.form.action='v_list.do'"/>
<@s.m "template.textarea"/> <@s.m "template.editor"/>
<@p.form id="jvForm" action="o_ajaxUpdate.do" labelWidth="15" onsubmit="ajaxSubmit();return false;"> <@p.td colspan="1" width="50" label="template.filename" help="template.source.help"> <@p.td colspan="1" > <@p.tr/> <@p.td colspan="2"> <@p.textarea id="source" name="source" value=template.source style="width:90%;height:350px" wrap="off" maxlength="1232896" onkeydown="if((event.keyCode==115||event.keyCode==83)&&event.ctrlKey){ajaxSubmit();return false;}"/> <@p.tr/> <@p.td colspan="2"> <@p.hidden id="name" name="name" value=template.name/> <@p.hidden id="root" name="root" value=root/> <@p.submit code="global.submit"/>   <@p.reset code="global.reset"/>
<@s.m "directive.directives.help"/>
<@s.m "directive.directives"/>
<@s.m "directive.description"/>
<#if directives?size gt 0>${directives[0].description!}
<@s.m "directive.code"/> <#list directives as d>
<@s.m "directive.directives.help"/>
<@p.form id="tempForm" action="../directive/v_getcode.do" labelWidth="12"> <@p.td required="true" label='directive.module' colspan='2' width="100"> <@p.select onchange="selectModule()" list={"channel":"directive.channel","content":"directive.content","comment":"directive.comment","topic":"directive.topic","vote":"directive.vote","guestbook":"directive.guestbook","advertise":"directive.advertise","link":"directive.link","tag":"directive.tag"} name="module" id="module" colspan="2" width="100"/> <@p.tr/> <@p.td colspan="2" label='directive.module.rule' colspan='2' width="100" >
<@p.tr/> <@p.td colspan="2" width="100" ><@p.submit code="directive.code.insert"/>