📄 addtemplet.jsp
字号:
<%@ page contentType="text/html;charset=GB2312" %>
<HTML>
<HEAD>
<TITLE>新建模板</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" type="text/css" href="/krm/jsp/css/css.css">
</HEAD>
<BODY leftmargin="0" topmargin="0">
<form name="addTemplet" method="post">
<table width="100%">
<tr>
<td class="tdC" align="center"><font color="#FF0000">关闭页面请点击页面下方的关闭按钮!</font></td>
</tr>
</table>
<div align="center">
<APPLET code="applet.TempletAddApplet" codebase="." width=90% height=90% name="obj_applet" mayscript="true"></APPLET>
</div>
<table class="collapse" width="100%">
<tr height="25">
<td class="common"> 模板名称 :<input class="biglong" type="text" name="TI_Name" alt="模板名称">
</td>
</tr>
<tr height="25">
<td class="tdC" align="center"><INPUT name="Button1" type="button" onClick="callApplet()" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" value="提 交">
<INPUT name="Button1" type="button" onClick="deleteFile()" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" value="关 闭">
</td>
</tr>
</table>
</form>
<Script language=javascript>
function callApplet()
{
if(window.document.addTemplet.TI_Name.value==""){
alert('请填写模板名称!');
} else{
window.document.obj_applet.executeButton();
var clientError= window.document.obj_applet.getClientError();
var serverError= window.document.obj_applet.getServerError();
if(!clientError&&!serverError)
{
alert ('成功添加!');
window.opener.location.reload();
window.close();
}
else alert('请检查是否删除了模板中的公文域!');
}
}
function deleteFile()
{
window.document.obj_applet.closeBook();
window.close();
}
</Script>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -