aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pdf-as-lib/src/main/resources/config/config.zipbin1041855 -> 1205859 bytes
-rw-r--r--pdf-as-web/src/main/resources/template_sl.html17
-rw-r--r--pdf-as-web/src/main/webapp/index.jsp10
3 files changed, 23 insertions, 4 deletions
diff --git a/pdf-as-lib/src/main/resources/config/config.zip b/pdf-as-lib/src/main/resources/config/config.zip
index 8452de9e..ca7869d0 100644
--- a/pdf-as-lib/src/main/resources/config/config.zip
+++ b/pdf-as-lib/src/main/resources/config/config.zip
Binary files differ
diff --git a/pdf-as-web/src/main/resources/template_sl.html b/pdf-as-web/src/main/resources/template_sl.html
index 8399706c..5568ec7a 100644
--- a/pdf-as-web/src/main/resources/template_sl.html
+++ b/pdf-as-web/src/main/resources/template_sl.html
@@ -31,7 +31,17 @@ div.content {
}
</style>
<script language="javascript" type="text/javascript">
+ function adaptWindowSizes() {
+ var w = Math.max(document.documentElement.clientWidth, window.innerWidth || 221)
+ var h = Math.max(document.documentElement.clientHeight, window.innerHeight || 221)
+ var appletWidth = document.getElementById("appletWidth");
+ var appletHeight = document.getElementById("appletHeight");
+ appletWidth.value = w;
+ appletHeight.value = h;
+ }
+
function onAnmeldeSubmit() {
+ adaptWindowSizes();
document.CustomizedForm.submit();
document.CustomizedForm.Senden.disabled=true;
document.CustomizedForm.Senden.hidden = "hidden";
@@ -45,12 +55,15 @@ div.content {
<div class="frameTC">
<div class="content">
<form name="CustomizedForm" action="##BKU##" method="post"
- enctype="multipart/form-data">
+ enctype="multipart/x-www-form-urlencoded">
<input class="button" type="submit" value="Starte Anmeldung"
name="Senden"> <input type="hidden"
name="XMLRequest" value="##XMLRequest##"> <input
type="hidden" name="DataURL" value="##DataURL##">
- <input type="hidden" name="locale_" value="##LOCALE##" />
+ <input type="hidden" name="locale" value="##LOCALE##" />
+ <input type="hidden" name="iframe_" value="on" />
+ <input type="hidden" id="appletWidth" name="appletWidth" value="221" />
+ <input type="hidden" id="appletHeight" name="appletHeight" value="221" />
##ADDITIONAL##
</form>
<span id="spin" style="display:block;
diff --git a/pdf-as-web/src/main/webapp/index.jsp b/pdf-as-web/src/main/webapp/index.jsp
index 42f2a168..d8729e8f 100644
--- a/pdf-as-web/src/main/webapp/index.jsp
+++ b/pdf-as-web/src/main/webapp/index.jsp
@@ -7,8 +7,8 @@
<body>
<form action="Sign" method="POST"
enctype="multipart/form-data">
- <input type="hidden" name="source" id="source" value="internal" /> <input
- type="file" name="pdf-file" id="pdf-file" accept="application/pdf">
+ <input type="hidden" name="source" id="source" value="internal" />
+ <input type="file" name="pdf-file" id="pdf-file" accept="application/pdf">
<%
if (request.getAttribute("FILEERR") != null) {
%>
@@ -60,6 +60,12 @@
<%
}
%>
+
+ <select name="locale" id="locale" size="3">
+ <option>EN</option>
+ <option>DE</option>
+ </select>
+
</form>
<p><small>Version: <%= PdfAsHelper.getVersion() %> - <%= PdfAsHelper.getSCMRevision() %></small></p>