Index: ssts-web/src/main/webapp/logon.jsp
===================================================================
diff -u -r14060 -r15337
--- ssts-web/src/main/webapp/logon.jsp (.../logon.jsp) (revision 14060)
+++ ssts-web/src/main/webapp/logon.jsp (.../logon.jsp) (revision 15337)
@@ -1,6 +1,7 @@
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp" %>
<%@page import="com.forgon.disinfectsystem.common.*"%>
+<%@page import="net.sf.json.JSONObject" %>
<%@page import="java.io.File" %>
<%
@@ -23,6 +24,16 @@
if(WebConstants.ENABLE_FILE_SYSTEM_OBJECT.equals(flag)){
session.setAttribute(WebConstants.ACCESS_FILE_SYSTEM_OBJECT_FLAG, flag);
}
+
+String companyName = CssdUtils.getSystemSetConfigByName("companyName");
+String companyNameStr = "";
+if(companyName == null || companyName.equals("forgon")){
+ companyNameStr = "@2012 广州孚峻信息技术有限公司 版权所有";
+}else if(companyName.equals("dingxiang")){
+ companyNameStr = "@2016 广州丁香软件有限公司 版权所有";
+}
+session.setAttribute("companyName", companyNameStr);
+
String project = CssdUtils.getConfigProperty("project");
session.setAttribute("profile", project);
@@ -32,7 +43,11 @@
if(file.exists()){
request.setAttribute("logoPath",imgPath);
}else{
- request.setAttribute("logoPath","themes/portalPage/img/logo_Forgon.png");
+ if(companyName == null || companyName.equals("forgon")){
+ request.setAttribute("logoPath","themes/portalPage/img/logo_Forgon.png");
+ }else if(companyName.equals("dingxiang")){
+ request.setAttribute("logoPath","themes/portalPage/img/logo_dingxiangsoft.png");
+ }
}
%>
@@ -86,7 +101,7 @@
-