aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-web/src/main')
-rw-r--r--pdf-as-web/src/main/webapp/sitemesh/standalone.jsp10
1 files changed, 2 insertions, 8 deletions
diff --git a/pdf-as-web/src/main/webapp/sitemesh/standalone.jsp b/pdf-as-web/src/main/webapp/sitemesh/standalone.jsp
index 4b1ab94..11075c5 100644
--- a/pdf-as-web/src/main/webapp/sitemesh/standalone.jsp
+++ b/pdf-as-web/src/main/webapp/sitemesh/standalone.jsp
@@ -50,12 +50,7 @@
String serverUrl=LocalRequestHelper.getLocalServerAddress(request,response);
String baseUrl=LocalRequestHelper.getLocalContextAddress(request,response);
- /*if (serverUrl.contains("http")) {
- serverUrl.replace("http","https");
- baseUrl.replace("http","https");
- }*/
-
- String requestLang = (String)request.getParameter("lang");
+ String requestLang = (String)session.getAttribute(SessionAttributes.LANGUAGE);
String language = "";
@@ -183,8 +178,7 @@
<link rel="stylesheet" href="<%=serverUrl %>style.css" type="text/css" />
</head>
- <body style="background:#e6f2fa">
- <%= phpHeader %>
+ <%= phpHeader %>
<!-- mitte -->
<div id="mitte">
<!-- inhalt -->