diff options
author | rpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2011-10-13 16:37:30 +0000 |
---|---|---|
committer | rpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2011-10-13 16:37:30 +0000 |
commit | 43e512389be4ae1864c6bc7442a420af10f61e95 (patch) | |
tree | 477f6c0c18806ac65903e69c0693f01efdd714ba /pdf-as-web/src | |
parent | 2f6c909d02b598c4f411db7e6c274bfb86c9f3ef (diff) | |
download | pdf-as-3-43e512389be4ae1864c6bc7442a420af10f61e95.tar.gz pdf-as-3-43e512389be4ae1864c6bc7442a420af10f61e95.tar.bz2 pdf-as-3-43e512389be4ae1864c6bc7442a420af10f61e95.zip |
Change the attribute name for language from "lang" to "locale"
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@863 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'pdf-as-web/src')
-rw-r--r-- | pdf-as-web/src/main/webapp/sitemesh/standalone.jsp | 10 |
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 -->
|