#include "/jeebbs_sys/head.html"/>
<@s.m "global.position"/>: <@s.m "bbsTopicType.function"/> - <@s.m "global.add"/>
" onclick="this.form.action='v_list.do';"/>
<#include "/common/image_upload.html"/> <@p.form id="jvForm" action="o_save.do"> <@p.td colspan="1" width="50" label="bbsTopicType.parent"><#if parent??>${parent.name}<#else><@s.m "bbsTopicType.top"/>#if>@p.td> <@p.text colspan="1" width="50" label="bbsTopicType.name" name="name" required="true" class="required" maxlength="100"/><@p.tr/> <#assign pathExist><@s.m "error.topicTypePathExist"/>#assign> <@p.text colspan="1" width="50" label="bbsTopicType.path" name="path" vld="{required:true,path:true,remote:'v_check_path.do',messages:{remote:'${pathExist}'}}" required="true" class="required" maxlength="50"/> <@p.text colspan="1" width="50" label="bbsTopicType.priority" name="priority" required="true" class="required digits" maxlength="10"/><@p.tr/> <@p.radio width="100" colspan="2" label="bbsTopicType.display" name="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" style="width:220px"/>
" onclick="previewImg(1);" class="preview-button"/>
<@s.m "imageupload.mark"/>
" onclick="upload(1);" class="upload-button"/>
<@s.m "global.width"/>:
<@s.m "global.height"/>:
" onclick="imgCut(1);" class="cut-button"/>
" noResize="true" style="width:100px;height:70px;background-color:#CCCCCC;border:1px solid #333"/> @p.td> <@p.tr/> <@p.textarea colspan="2" label="bbsTopicType.description" name="description" maxlength="1000" cols="70" rows="5"/><@p.tr/> <@p.hidden name="parentId" value=root!/> <@p.hidden name="root" value=root!(bbsTopicType.parent.id)!/> <@p.td colspan="2" ><@p.submit code="global.submit"/> <@p.reset code="global.reset"/>@p.td> @p.form>