📄 add.jsp
字号:
<%@ page contentType="text/html; charset=GBK"%>
<%@include file="/common/common.jsp"%>
<%@ page import="com.dc.common.*"%>
<html>
<%
String RenCode = (String) session.getAttribute(SysConstant.RETCODE);
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<link rel="stylesheet" href="<%=request.getContextPath()%>/css/style.css" type="text/css">
<script language="javaScript" src="<%=request.getContextPath()%>/scripts/check.js"></script>
<script language="javaScript" src="<%=request.getContextPath()%>/scripts/ajax.js"></script>
<title>短信模板配置</title>
</head>
<body class="navtree">
<form name="fm" method="POST" action="" target="suibian">
<input type="hidden" name="optmode" value="add"/>
<html:errors />
<script>
window.name="suibian";
</script>
<%
if (RenCode !=null){
if (SysConstant.SUCRETCODE.equals(RenCode)) {
%>
<script language="javascript">
alert("短信模板配置增加成功!");
</script>
<%
}else{
%>
<script language="javascript">
alert("短信模板配置增加失败,请联系管理员!");
</script>
<%
}
session.removeAttribute(SysConstant.RETCODE);
}
%>
<table class="content01">
<tr class="listHead">
<td align=left colspan=4>
短信模板配置增加
</td>
</tr>
<tr class="listContent">
<td align=right>短信模板类型:</td>
<td align="left" >
<input type="text" name="smstype" maxlength=20/>
</td>
<td align="right">短信内容:</td>
<td align="left">
<input type="text" name="smsdesc" maxlength=255/>
</td>
</tr>
<tr class="listContent">
<td align="right">备注:</td>
<td align="left">
<input type="text" name="remark" maxlength=64/>
</td>
</tr>
<tr class="listContent">
<td align=left colspan=4>
<input type=button class=add onClick="doAdd();" />
<input type=button class=close onClick="window.close();" />
</td>
</tr>
</table>
</form>
</body>
</html>
<script language="javaScript">
function doAdd(){
var items = new CheckItem();
items.add("0|1|smstype|短信模板类型|-1");
items.add("0|1|smsdesc|短信内容|-1");
if(!checkForm(document.forms[0],items))
return false;
fm.action = "systemMgr.do?method=smsAdd";
fm.submit();
}
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -