<%@ page import="at.knowcenter.wag.egov.egiz.web.FormFields" %> <%@ page contentType="text/html; charset=UTF-8" %> <% boolean freetext_entry = false; String parameter_freetext = (String)request.getParameter(FormFields.PARAMETER_FREE_TEXT_ENTRY); if (parameter_freetext != null && parameter_freetext.equals(FormFields.VALUE_TRUE)) { freetext_entry = true; } %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>PDF-AS Amtssignaturen</title> <link rel="stylesheet" type="text/css" href="/pdf-as/css/styles.css" /> </head> <body> <div class="maindiv"> <h1>PDF-AS Amtssignaturen</h1> <div class="mainframe"> <div class="mainheadline">Dokument Signatur prüfen</div> <form name="submitform" enctype="multipart/form-data" method="post" action="/pdf-as/Verify" accept-charset="UTF-8"> <div class="contentsdiv"> <% if (freetext_entry) { %> <div>Vollständiger Dokumenttext:</div> <textarea class="previewfield" cols="80" rows="14" name="<%= FormFields.FIELD_UPLOAD %>">Hier bitte den vollständigen Dokumenttext samt Signaturblock eingeben.</textarea> <br /> <% } else { %> <br /> <label class="uploadlabel">PDF Datei:</label> <input class="field" size="20" type="file" name="<%= FormFields.FIELD_UPLOAD %>" accept="application/pdf,text/plain" /> <% } %> <br /> <label class="uploadlabel">Prüf Applikation:</label> <%= FormFields.generateConnectorSelectBox() %> <% if (freetext_entry) { %> <br /> <label class="uploadlabel">Prüf Modus:</label> <span>textuell</span> <!-- <input type="hidden" name="<%= FormFields.FIELD_MODE %>" value="<%= FormFields.VALUE_MODE_TEXTUAL %>" /> --> <% } else { %> <!-- <select name="<%= FormFields.FIELD_MODE %>" class="field"> <option value="<%= FormFields.VALUE_MODE_BINARY %>" selected="selected">binär</option> <option value="<%= FormFields.VALUE_MODE_TEXTUAL %>">textuell</option> </select> --> <% } %> <br /> <br /> <label class="uploadlabel"> </label> <input type="hidden" name="<%= FormFields.FIELD_PREVIEW %>" value="false" /> <input class="button" type="submit" value="Alle prüfen" /> <input class="button" type="submit" value="Signaturen auflisten" onclick="document.submitform.<%= FormFields.FIELD_PREVIEW %>.value='true'" /> </div> </form> </div> <a class="big" href="/pdf-as/">zurück</a> </div> </body> </html>