<#include "/template/admin/head.ftl"/>
<@s.m "global.position"/>: <@s.m "cmsAdminGlobal.function"/> - <@s.m "global.add"/>
<#assign isSend=obj.emailNotify> <@p.form id="jvForm" action="update" labelWidth="12" onsubmit="return false;"> <@p.hidden id="conf.id" name="conf.id" value='${obj.id}' /> <@p.text width="30" label="仓库路径" id="conf.repositoryPath" name="conf.repositoryPath" value="${obj.repositoryPath}" maxlength="100" class="required" required="true"/><@p.tr/> <@p.text width="30" label="访问url" id="conf.domainPath" name="conf.domainPath" value="${obj.domainPath}" maxlength="100" class="required" required="true"/><@p.tr/> <@p.radio width="50" colspan="1" label="是否发送重置密码邮件" id="conf.emailNotify" name="conf.emailNotify" value=isSend list={"true":"global.true","false":"global.false"} required="true"/><@p.tr/> <@p.td label="默认开启的文件夹" colspan="6">

| 默认开启的文件夹
<#list obj.dirs as item> <#assign index = item_index>
<@s.m "system.delete"/> |

<@p.tr/> <tr id="attachTr{0}" colspan="3"> <td align="center"><a onclick="$('#attachTr{0}').remove();" href="javascript:void(0);" class="pn-opt"><@s.m "system.delete"/></a></td> <td align="center" colspan="2"><input type="text" id="conf.dirs[{0}]" name="conf.dirs[{0}]"/></td> </tr>
<@p.td colspan="1"><@p.submit code="global.submit" onclick="Cms.updateAll('conf/update','conf.rk');"/> <@p.reset code="global.reset"/><@p.tr/>