%@ page contentType="text/html; charset=UTF-8"%> <%@ include file="language.jsp" %> <%@ page import="at.gv.egiz.pdfas.web.session.SessionAttributes" %> <%@ page import="at.gv.egiz.pdfas.web.helper.LocalRequestHelper" %> <%@ page import="at.gv.egiz.pdfas.web.servlets.SignServlet" %> <%@ page import="at.gv.egiz.pdfas.api.commons.Constants" %> <%@page import="at.gv.egiz.pdfas.web.FormFields"%> <% String serverUrl=LocalRequestHelper.getLocalServerAddress(request,response); String baseUrl=LocalRequestHelper.getLocalContextAddress(request,response); String downloadURL = (String) session.getAttribute(SessionAttributes.DOWNLOAD_URL_FOR_SIGNED_PDF_DOCUMENT); String connector = (String)session.getAttribute(SignServlet.SUBMITFORM_SIGNATURE_DEVICE_KEY); session.setAttribute(SignServlet.SUBMITFORM_SIGNATURE_MODE_KEY, null); session.setAttribute(SignServlet.SUBMITFORM_SOURCE_KEY, null); session.setAttribute(SignServlet.SUBMITFORM_SIGNATURE_TYPE_KEY, null); session.setAttribute(SignServlet.SUBMITFORM_PDFA_KEY, null); session.setAttribute(SignServlet.SUBMITFORM_NOTE_KEY, null); session.setAttribute(SignServlet.SUBMITFORM_FREETEXT_KEY, null); session.setAttribute(SignServlet.SUBMITFORM_SIGNATURE_DEVICE_KEY, null); session.setAttribute(SignServlet.SUBMITFORM_FILE_KEY, null); session.setAttribute(SignServlet.SUBMITFORM_FILENAME_KEY, null); session.setAttribute(SessionAttributes.ATTRIBUTE_SESSION_INFORMATION, null); session.setAttribute(SignServlet.ERROR_WITHIN_IFRAME, null); String height = (String)session.getAttribute(SignServlet.HEIGHT_SIGN_DIV); String language = (String)session.getAttribute(SessionAttributes.LANGUAGE); boolean german = true; //Check if application is started within an iframe from an extern application boolean startedFromIFrame = false; String extern = (String)session.getAttribute("extern"); if (extern!=null) { if (extern.equals("yes")) { startedFromIFrame = true; } } // %>
<% if (language!=null) { %> <% if (language.equals("de")) { %>