📄 modifyconfigstep2.jsp
字号:
<%@ page contentType="text/html;charset=gb2312" %>
<%@ include file="../incoming/Common.jsp"%>
<%@ include file="../Check.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<title><%=title%></title>
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen">
<script language="javascript">
function check_input(theForm)
{
if (theForm.scvalue.value == "")
{
alert("请输入参数值.");
theForm.scvalue.focus();
return (false);
}
if (theForm.description.value == "")
{
alert("请输入参数描述.");
theForm.description.focus();
return (false);
}
}
</script>
</head>
<body>
<%@ include file="UserHeader.jsp"%>
<%
String name = new String(request.getParameter("name").getBytes("ISO8859_1"),"GBK");
SysConfig sysconfig = SysConfig .FindByName(name);
%>
<table width="900" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="100" valign="top" background="../images/in_left_bg.gif"><%@ include file="RootLeft.jsp"%></td>
<td width="800" align="center" valign="top">
<form name="form1" method="post" action="ModifyConfigStep3.jsp" onsubmit="return check_input(this)">
<p align="center" class="title2">修改系统参数</p>
<table width="553" height="169" border="1" align="center" cellpadding="3" cellspacing="0" bordercolor="#CCCCCC">
<tr>
<td width="72" height="33"><div align="right">参数名:</div></td>
<td width="463"><input name="name" type="text" value="<%=DataConvert.ViewStr(sysconfig.getSCName())%>" class="data" id="name" size="25" maxlength="16" readonly="true"> </td>
</tr>
<tr>
<td height="33"><div align="right">参数值: </div></td>
<td height="33"><input name="scvalue" type="text" class="data" id="username" value="<%=sysconfig.getSCValue()%>" size="60" maxlength="40" >
* </td>
</tr>
<tr>
<td height="33"><div align="right">参数描述: </div></td>
<td height="33"><textarea name="description" cols="60" rows="3" id="description"><%=DataConvert.ViewStr(sysconfig.getDescription())%></textarea>
* </td>
</tr>
<tr>
<td height="68" colspan="2"><div align="center">
<input type="submit" name="Submit" value="修改">
<input type="reset" name="Submit2" value="取消">
</div></td>
</tr>
</table>
</form></td>
</tr>
</table>
<%@ include file="UserFooter.jsp"%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -