AddSystemDirectory.jsp
上传用户:mingda
上传日期:2017-06-20
资源大小:27691k
文件大小:6k
源码类别:

OA系统

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312"%>
  2. <%@ page import="com.gforce.gfoa.*,com.gforce.currency.*,java.util.*" %>
  3. <jsp:include page="/CheckLogin.jsp" flush="true" /> <% Session m_session = new Session(session); %>
  4. <html>
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta http-equiv="pragma" content="no-cache">
  7. <title>系统目录管理-- GForce OA 2.0</title>
  8. <link href="/css/txt.jsp" rel="stylesheet" type="text/css">
  9. <script language="JavaScript" src="/js/changestyle.js"></script>
  10. <script language="JavaScript" type="text/javascript">
  11. function checkAddSystemDirectory()
  12. {
  13.     if(document.addSystemDirectory.Name.value=="")
  14.     {
  15.         alert("请输入系统目录名称!");
  16.         document.addSystemDirectory.Name.focus();
  17.         return false;
  18.     }
  19.     if(document.addSystemDirectory.SystemDirectoryID.value=="")
  20.     {
  21.         alert("选择上级系统目录!");
  22.         self.SelectSystemDirectory.document.SelectSystemDirectory.SystemDirectory[0].focus();
  23.         return false;
  24.     }
  25. }
  26. </script>
  27. </head>
  28. <body bgcolor="<%=m_session.GetString("BackColor")%>" leftmargin="0" topmargin="0">
  29. <table width="100%" height="100%" border="0" align="center" cellspacing="0">
  30.     <tr>
  31.         <td align="center" valign="top"><p>&nbsp;</p>
  32.             <form name="addSystemDirectory" action="AddSystemDirectoryAction.jsp" method="post" onSubmit="javascript:return checkAddSystemDirectory();">
  33.             <table  border="0" cellpadding="0" cellspacing="0" width="90%">
  34.                 <tr>
  35.                     <td align="right" valign="middle"><font color="#0A0A0A">系统目录名称:</font></td>
  36.                     <td align="left" valign="middle" nowrap>
  37.                         <input name="Name" type="text" maxlength="50" size="16">
  38.                     </td>
  39.                 </tr>
  40.                 <tr>
  41.                     <td align="right" valign="top"><font color="#0A0A0A">上级系统目录:</font></td>
  42.                     <td align="left" valign="middle" nowrap>
  43.                         <iframe id="SelectSystemDirectory" frameborder=1 src="SelectSystemDirectory.jsp" width="100%" height="100%" scrolling="auto"></iframe>
  44.                     </td>
  45.                 </tr>
  46.                         <input name="Station" type="hidden" ID="Station" Value="_0_">
  47.                         <input name="LevelNumber" type="hidden" id="LevelNumber" value="1">
  48.                         <input name="ChildrenAcount" type="hidden" id="ChildrenAcount" value="0">
  49.                         <input name="OrderNumber" type="hidden" id="OrderNumber" value="1">
  50.                         <input name="SystemDirectoryID" type="hidden" id="SystemDirectoryID" value="">
  51.                 <tr>
  52.                     <td align="right" valign="middle"><font color="#0A0A0A">打开时的图标:</font></td>
  53.                     <td align="left" valign="middle" nowrap>
  54.                         <input name="OpenedICO" type="text" maxlength="50" size="20">
  55.                         <a href="" onclick="return uploadimage(document.addSystemDirectory.OpenedICO,document.all.OpenedICOImg);"><font color="#0A0A0A"><img src="/images/tree/folderopen.gif" width="19" height="19" id="OpenedICOImg" align="absbottom" border="0">上传图片</font></a>
  56.                    </td>
  57.                 </tr>
  58.                 <tr>
  59.                     <td align="right" valign="middle"><font color="#0A0A0A">关闭时的图标:</font></td>
  60.                     <td align="left" valign="middle" nowrap>
  61.                         <input name="CloseedICO" type="text" maxlength="50" size="20">
  62.                         <a href="" onclick="return uploadimage(document.addSystemDirectory.CloseedICO,document.all.CloseedICOImg);"><font color="#0A0A0A"><img src="/images/tree/folderclosed.gif" width="19" height="19" id="CloseedICOImg" align="absbottom" border="0">上传图片</font></a>
  63.                    </td>
  64.                 </tr>
  65.                 <tr>
  66.                     <td align="right" valign="middle"><font color="#0A0A0A">连接URL:</font></td>
  67.                     <td align="left" valign="middle" nowrap>
  68.                         <input name="LinkUrl" type="text" maxlength="50" size="38">
  69.                    </td>
  70.                 </tr>
  71.                 <tr>
  72.                     <td align="right" valign="middle"><font color="#0A0A0A">连接目标框架:</font></td>
  73.                     <td align="left" valign="middle" nowrap>
  74.                         <input name="Target" type="text" maxlength="50" size="38">
  75.                    </td>
  76.                 </tr>
  77.                 <tr>
  78.                     <td align="right" valign="middle"><font color="#0A0A0A">是否连接:</font></td>
  79.                     <td align="left" valign="middle" nowrap>
  80.                         <font color="#0A0A0A"><input name="IsLink" type="radio" value="1" checked>是&nbsp; <input name="IsLink" type="radio" value="0">否</font>
  81.                    </td>
  82.                 </tr>
  83.                 <tr>
  84.                     <td align="right" valign="middle"><font color="#0A0A0A">系统目录简介:</font></td>
  85.                     <td align="left" valign="middle" nowrap>
  86.                         <input name="Content" type="text" maxlength="50" size="38">
  87.                    </td>
  88.                 </tr>
  89.                 <tr>
  90.                     <td align="right" valign="middle"><font color="#0A0A0A">是否显示:</font></td>
  91.                     <td align="left" valign="middle" nowrap>
  92.                         <font color="#0A0A0A"><input name="IsShow" type="radio" value="1" checked>是&nbsp; <input name="IsShow" type="radio" value="0">否</font>
  93.                    </td>
  94.                 </tr>
  95.                 <tr>
  96.                     <td align="right" valign="middle"><font color="#0A0A0A">&nbsp;</font></td>
  97.                     <td align="left" valign="middle" nowrap>
  98.                    </td>
  99.                 </tr>
  100.                 <tr>
  101.                     <td align="right" valign="middle">&nbsp;</td>
  102.                     <td align="left" valign="middle" nowrap>
  103.                         <input type="submit" value="添加">  &nbsp;&nbsp;&nbsp; <input type="reset" value="重填">
  104.                     </td>
  105.                 </tr>
  106.             </table>
  107.             </form>
  108.         </td>
  109.     </tr>
  110. </table>
  111. </body>
  112. </html>