📄 modifyapp.jsp
字号:
<%@ page contentType="text/html;charset=gb2312"%>
<%@ page import = "com.huawei.icd30.common.systemconfig.*" %>
<%
// 确保系统已经初始化
if (!Initor.ensureInited())
{
response.sendRedirect("/public/systemconfig/common/error.jsp?ecode=initorError");
return;
}
%>
<%@ include file="/agt/public/jsp/top.jsp" %>
<form name="pageform" method="POST" action="/appAction.do">
<table width="539" border="0" cellpadding="3" cellspacing="1" class="table-cs1">
<tr align="center">
<td height="35" colspan="3" class="td-cs1"><strong>发通知方式配置</strong></td>
</tr>
<%
int notify = Initor.systemConfig.getInt("agt/calendarNotify",4);
%>
<tr>
<td align="right" nowrap class="td-cs1">日程通知方式:</td>
<td width="58%" colspan="2" class="td-cs2">
<select name="calendarNotify" class="input2">
<option value="0" <%if(notify == 0){%> selected <%}%>>不通知</option>
<option value="1" <%if(notify == 1){%> selected <%}%>>发邮件</option>
<option value="2" <%if(notify == 2){%> selected <%}%>>发便笺</option>
<option value="3" <%if(notify == 3){%> selected <%}%>>发邮件与便笺</option>
<option value="4" <%if(notify == 4){%> selected <%}%>>发短信</option>
</select>
</td>
</tr>
<%
notify = Initor.systemConfig.getInt("agt/planNotify",3);
%>
<tr>
<td align="right" nowrap class="td-cs1">学习计划通知方式:</td>
<td width="58%" colspan="2" class="td-cs2">
<select name="planNotify" class="input2">
<option value="0" <%if(notify == 0){%> selected <%}%>>不通知</option>
<option value="1" <%if(notify == 1){%> selected <%}%>>发邮件</option>
<option value="2" <%if(notify == 2){%> selected <%}%>>发便笺</option>
<option value="3" <%if(notify == 3){%> selected <%}%>>发邮件与便笺</option>
<option value="4" <%if(notify == 4){%> selected <%}%>>发短信</option>
</select>
</td>
</tr>
<%
notify = Initor.systemConfig.getInt("agt/examNotify",3);
%>
<tr>
<td align="right" nowrap class="td-cs1">发布考试通知方式:</td>
<td width="58%" colspan="2" class="td-cs2">
<select name="examNotify" class="input2">
<option value="0" <%if(notify == 0){%> selected <%}%>>不通知</option>
<option value="1" <%if(notify == 1){%> selected <%}%>>发邮件</option>
<option value="2" <%if(notify == 2){%> selected <%}%>>发便笺</option>
<option value="3" <%if(notify == 3){%> selected <%}%>>发邮件与便笺</option>
<option value="4" <%if(notify == 4){%> selected <%}%>>发短信</option>
</select>
</td>
</tr>
<%
notify = Initor.systemConfig.getInt("agt/lessonNotify",3);
%>
<tr>
<td align="right" nowrap class="td-cs1">发布课程通知方式:</td>
<td width="58%" colspan="2" class="td-cs2">
<select name="lessonNotify" class="input2">
<option value="0" <%if(notify == 0){%> selected <%}%>>不通知</option>
<option value="1" <%if(notify == 1){%> selected <%}%>>发邮件</option>
<option value="2" <%if(notify == 2){%> selected <%}%>>发便笺</option>
<option value="3" <%if(notify == 3){%> selected <%}%>>发邮件与便笺</option>
<option value="4" <%if(notify == 4){%> selected <%}%>>发短信</option>
</select>
</td>
</tr>
</table>
<table width="400" border="0" cellspacing="1" cellpadding="3">
<tr>
<td height="35" align="right" width="50%" >
<input name="edit" type="image" onclick="pageform.submit();return false;" src="/agt/public/images/edit.gif" width="82" height="22" border="0" onmouseover="this.src='/agt/public/images/'+ this.name + '_2.gif';" onmouseout="this.src='/agt/public/images/'+ this.name + '.gif'">
</td>
<td height="50"align="center" width="50%" >
<input name="reset" type="image" onclick="reset();return false;" src="/agt/public/images/reset.gif" width="82" height="22" border="0" onmouseover="this.src='/agt/public/images/'+ this.name + '_2.gif';" onmouseout="this.src='/agt/public/images/'+ this.name + '.gif'"></td>
</tr>
</table>
</form>
<%@ include file="/agt/public/jsp/bot.jsp" %>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -