📄 module_modify.jsp.svn-base
字号:
<%@ page contentType="text/html;charset=utf-8" %>
<%@ include file="../../include/include.jsp"%>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="css/pub.css">
<script>
function checkform() {
if(moduleActionForm.moduleName.value.length<1) {
window.alert("<bean:message key="admin.modul.modify.name.limit"/>");
moduleActionForm.moduleName.focus();
return false;
}
if(moduleActionForm.showOrder.value=="" || !checknum(moduleActionForm.showOrder.value)) {
window.alert("<bean:message key="admin.modul.modify.show.order"/>");
moduleActionForm.moduleName.focus();
return false;
}
if(parseInt(moduleActionForm.showOrder.value)>255) {
window.alert("<bean:message key="admin.modul.modify.show.limit"/>");
moduleActionForm.moduleName.focus();
return false;
}
return true;
}
function checknum(n) {
if(n.length<1 || n.length>10) return false;
for(i=0;i<n.length;i++)
if(n.substring(i,i+1)<"0" || n.substring(i,i+1)>"9") return false;
return true;
}
</script>
</head>
<body topmargin="8">
<table width="360">
<tr>
<td>
<b><bean:message key="admin.module.list.manage"/> >> <bean:write name="moduleActionForm" property="result" /></b>
</td>
</tr>
<tr>
<td>
<table width="100%" bgcolor="#6DB1DE" cellpadding="6" cellspacing="1">
<html:form action="moduleAction" onsubmit="return checkform();">
<html:hidden property="method" />
<html:hidden property="moduleId" />
<logic:equal name="moduleActionForm" property="method" value="modifyModuleResult">
<tr>
<td align="right" bgcolor="#EFF8FF" class="ajc3"><bean:message key="admin.modul.modify.id"/>:</td>
<td bgcolor="white"><bean:write name="moduleActionForm" property="moduleId" /></td>
</tr>
</logic:equal>
<tr>
<td align="right" bgcolor="#EFF8FF" class="ajc3"><bean:message key="admin.module.list.name"/>:</td>
<td bgcolor="white"><html:text property="moduleName" size="30" maxlength="40" /></td>
</tr>
<tr>
<td align="right" bgcolor="#EFF8FF" class="ajc3"><bean:message key="admin.modul.modify.showorder"/>:</td>
<td bgcolor="white"><html:text property="showOrder" size="10" maxlength="3" onkeypress="if(event.keyCode<48||event.keyCode>57)event.keyCode=0;" /></td>
</tr>
<tr>
<td align="right" bgcolor="#EFF8FF" class="ajc3"><bean:message key="admin.modul.modify.linkUrl"/>:</td>
<td bgcolor="white"><html:text property="linkURL" size="40" maxlength="80" /></td>
</tr>
<!--tr>
<td align="right" bgcolor="#EFF8FF" class="ajc3"><bean:message key="admin.modul.modify.aim.window"/>:</td>
<td bgcolor="white"><html:select property="targetWindow">
<html:option value="1"><bean:message key="admin.modul.modify.left.window"/></html:option>
<html:option value="2"><bean:message key="admin.modul.modify.mainwindow"/></html:option>
</html:select></td>
</tr-->
<tr>
<td align="right" bgcolor="#EFF8FF" class="ajc3">上级模块编号:</td>
<td bgcolor="white"><html:text property="parentId" size="10" maxlength="3" onkeypress="if(event.keyCode<48||event.keyCode>57)event.keyCode=0;" /></td>
</tr>
<tr>
<td colspan=2 align=center bgcolor="white"><input type="submit" value="<bean:message key="admin.modul.modify.submit"/>"> <input type="reset" value="<bean:message key="admin.modul.modify.reset"/>"></td>
</tr>
</html:form>
</table>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -