<#include "/jspgou_sys/head.html"/>
<@s.m "global.position"/>: <@s.m "admin.function"/> - <@s.m "global.add"/>
" onclick="this.form.action='v_list.do';"/>
<#assign errorUserExist><@s.m "error.usernameExist"/> <#assign errorEmailExist><@s.m "error.emailExist"/> <@p.form id="jvForm" action="o_save.do" labelWidth="12"> <@p.text colspan="1" width="50" label="admin.username" name="username" required="true" vld="{required:true,rangelength:[3,100],remote:'v_check_username.do',messages:{remote:'${errorUserExist}'}}"/> <@p.text colspan="1" width="50" label="admin.email" name="email" required="true" vld="{required:true,email:true,rangelength:[3,100],remote:'v_check_email.do',messages:{remote:'${errorEmailExist}'}}"/><@p.tr/> <@p.password colspan="1" width="50" label="admin.password" id="password" name="password" required="true" class="required" minlength="3" maxlength="32"/> <@p.password colspan="1" width="50" label="admin.passwordAgain" id="passwordAgain" equalTo="#password" required="true"/><@p.tr/> <@p.text colspan="1" width="50" label="admin.fullname" name="firstname" maxlength="100"/> <@p.radio colspan="1" width="50" label="admin.disabled" name="disabled" value="false" list={"true":"global.true","false":"global.false"}/><@p.tr/> <@p.radio colspan="2" width="50" label="只读管理员" name="viewonlyAdmin" value="false" list={"true":"global.true","false":"global.false"} required="true" help="用于后台演示"/><@p.tr/> <@p.checkboxlist colspan="2" label="角色" name="roleIds" list=roleList listKey="id" listValue="name" onclick="checkedThis(this);" /><@p.tr/> <@p.td colspan="2"><@p.submit code="global.submit"/>   <@p.reset code="global.reset"/>