aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web
diff options
context:
space:
mode:
authorrpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2012-01-30 13:56:48 +0000
committerrpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2012-01-30 13:56:48 +0000
commit98d3577c238cb5f3a9a06d3904c8e9f6ff10a3fe (patch)
treea05499ce7128d17055660c475fce65d3b0f52c02 /pdf-as-web
parent13099fc9a9e709a0951fb712592448eb922041ef (diff)
downloadpdf-as-3-98d3577c238cb5f3a9a06d3904c8e9f6ff10a3fe.tar.gz
pdf-as-3-98d3577c238cb5f3a9a06d3904c8e9f6ff10a3fe.tar.bz2
pdf-as-3-98d3577c238cb5f3a9a06d3904c8e9f6ff10a3fe.zip
Changed language settings
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@911 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'pdf-as-web')
-rw-r--r--pdf-as-web/src/main/webapp/jsp/signupload.jsp8
1 files changed, 4 insertions, 4 deletions
diff --git a/pdf-as-web/src/main/webapp/jsp/signupload.jsp b/pdf-as-web/src/main/webapp/jsp/signupload.jsp
index 5db75e7..ba7651b 100644
--- a/pdf-as-web/src/main/webapp/jsp/signupload.jsp
+++ b/pdf-as-web/src/main/webapp/jsp/signupload.jsp
@@ -52,10 +52,10 @@
session.setAttribute(SignServlet.SUBMITFORM_FREETEXT_KEY, text_request);
}
if (lang_request.equals("de")) {
- session.setAttribute(SessionAttributes.LANGUAGE, "en");
+ session.setAttribute(SessionAttributes.LANGUAGE, "de");
}
else {
- session.setAttribute(SessionAttributes.LANGUAGE, "de");
+ session.setAttribute(SessionAttributes.LANGUAGE, "en");
}
}
@@ -859,9 +859,9 @@
This is for passing the information when the change language link was hit. -->
<form name="changelanguage" id="changelanguage" method="post" accept-charset="UTF-8" action="<%=baseUrl %>/" target="_self">
<% if (german) { %>
- <input type="hidden" name="newlanguage" value="de"/>
- <% } else { %>
<input type="hidden" name="newlanguage" value="en"/>
+ <% } else { %>
+ <input type="hidden" name="newlanguage" value="de"/>
<% } %>
<% if (source_mode!=null) {
if (source_mode.contains(FormFields.VALUE_SOURCE_FILE)) { %>