<#include "/jeebbs_sys/head.html"/>
<@s.m "global.position"/>: <@s.m "bbsTopicType.function"/> - <@s.m "global.edit"/>
" onclick="history.back();"/>
<#include "/common/image_upload.html"/> <@p.form id="jvForm" action="o_update.do"> <@p.td colspan="1" width="50" label="bbsTopicType.parent"> <@p.select name="parentId" list=typeList value=(bbsTopicType.parent.id)! listKey="id" listValue="name" listDeep="deep" headerKey="" headerValue="bbsTopicType.top"/> <@p.text colspan="1" width="50" label="bbsTopicType.name" name="name" value=bbsTopicType.name required="true" class="required" maxlength="100"/><@p.tr/> <#assign pathExist><@s.m "error.topicTypePathExist"/> <@p.text colspan="1" width="50" label="bbsTopicType.path" name="path" value=bbsTopicType.path vld="{required:true,path:true,remote:'v_check_path.do?id=${bbsTopicType.id}',messages:{remote:'${pathExist}'}}" required="true" class="required" maxlength="50"/> <@p.text colspan="1" width="50" label="bbsTopicType.priority" name="priority" value=bbsTopicType.priority required="true" class="required digits" maxlength="10"/><@p.tr/> <@p.radio width="100" colspan="2" label="bbsTopicType.display" name="display" value=bbsTopicType.display value="true" list={"true":"global.true","false":"global.false"}/><@p.tr/> <@p.td label="bbsTopicType.typeLog" colspan="2" width="100" noHeight="true"> <@p.text id="uploadImgPath1" name="typeLog" value=bbsTopicType.typeLog style="width:220px"/> " onclick="previewImg(1);" class="preview-button"/>
" onclick="upload(1);" class="upload-button"/>
<@s.m "global.width"/>: <@s.m "global.height"/>: " onclick="imgCut(1);" class="cut-button"/> <@s.m " noResize="true" style="width:100px;height:70px;background-color:#CCCCCC;border:1px solid #333"/> <@p.tr/> <@p.textarea colspan="2" label="bbsTopicType.description" name="description" value=bbsTopicType.description maxlength="1000" cols="70" rows="5"/><@p.tr/> <@p.hidden name="root" value=root!(bbsTopicType.parent.id)!/> <@p.td colspan="2"><@p.hidden name="id" value=bbsTopicType.id/><@p.submit code="global.submit"/>   <@p.reset code="global.reset"/>