OrgChartEdit.jsp
2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ page import="weaver.general.Util"%>
<%@ page import="weaver.org.layout.*" %>
<%@ include file="/systeminfo/init_wev8.jsp" %>
<%
if(!HrmUserVarify.checkUserRight("HrmDepartLayoutEdit:Edit", user)) {
response.sendRedirect("/notice/noright.jsp");
return;
}
DepLayout dl = DownloadDeptLayoutServlet.readDeptLayout(user.getLanguage(), false);
dl.buildObjectRef();
dl.checkAndAutoset(10, 10, 20, 20);
String serverstr=request.getScheme()+"://"+request.getHeader("Host");
%>
<html>
<head>
<title><%=SystemEnv.getHtmlLabelName(15771,user.getLanguage())%></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<%@ include file="/systeminfo/RightClickMenuConent_wev8.jsp" %>
<%@ include file="/systeminfo/RightClickMenu_wev8.jsp" %>
<table width=100% height=100% border="0" cellspacing="0" cellpadding="0">
<colgroup>
<col width="10">
<col width="">
<col width="10">
</colgroup>
<tr>
<td height="10" colspan="3"></td>
</tr>
<tr>
<td ></td>
<td valign="top">
<TABLE class=Shadow>
<tr>
<td valign="top">
<table border="0" width="75%" height="343">
<tr>
<td valign="top">
<object classid="clsid:CAFEEFAC-0013-0001-0004-ABCDEFFEDCBA" width=<%=dl.getMaxPos().x+10>1024?dl.getMaxPos().x+10:1024%> height=<%=dl.getMaxPos().y+10>768?dl.getMaxPos().y+40:768%> codebase="<%=serverstr%>/resource/j2re-1_3_1_04-windows-i586.exe">
<param name = CODE value = weaver.org.layout.DepLayoutEditor.class >
<param name = CODEBASE value = /classbean >
<param name="type" value="application/x-java-applet;jpi-version=1.3.1">
<param name="scriptable" value="false">
<param name="MAYSCRIPT" value="true">
<param name = "downloadUrl" value ="<%=serverstr%>/weaver/weaver.org.layout.DownloadDeptLayoutServlet"/>
<param name = "uploadUrl" value ="<%=serverstr%>/weaver/weaver.org.layout.DownloadDeptLayoutServlet"/>
<param name = actionRedirectToLogin value = "redirect"/>
</object>
</td>
</tr>
</table>
<form name="redirect" method="post" action="/Refresh.jsp?loginfile=<%=Util.getCookie(request , "loginfileweaver")%>&message=19"></form>
</td>
</tr>
</TABLE>
</td>
<td></td>
</tr>
<tr>
<td height="10" colspan="3"></td>
</tr>
</table>
</body>
</html>