<% /* Texte des Kontaktformulars Anfuehrungszeichen muessen mit einem Backslash maskiert werden, Zeilenumbrüche durch "\n" definiert werden Stand 29.7.2008 - Mailadresse Wehrbeauftragter aktiviert. */ java.util.HashMap textMap = new java.util.HashMap(); java.lang.String contactCategory = "wehrbeauftragter"; // Angaben zur Applikationssteuerung textMap.put("isUploadAllowed","false"); textMap.put("uploadFileTypes","doc pdf zip"); textMap.put("uploadTotalSize","5242880"); textMap.put("uploadTotalCount","4"); textMap.put("isSubjectChangeable","false"); textMap.put("isMailReceiverEncrypted","true"); textMap.put("isEmailChangeable","false"); textMap.put("mailReceiver","UmFuZG9tSVZ2g24B1J1HeU9/sPBUKIf5AJOuHDZLvzDobIjKR/ybpw=="); //ru@babiel.com textMap.put("inputErrorHeader", "

Folgende Fehler sind aufgetreten:

"); textMap.put("mailSenderLabel","E-Mail"); textMap.put("mailSender",""); textMap.put("mailSenderDefault","briefkasten@dbt-internet.de"); textMap.put("mailFromDefault","briefkasten@dbt-internet.de"); // Feldvorbelegungen, Labeltexte textMap.put("nameLastLabel","Name"); textMap.put("nameLast",""); textMap.put("nameFirstLabel","Vorname"); textMap.put("nameFirst",""); textMap.put("companyLabel","Organisation"); textMap.put("company","Organisation"); textMap.put("postalCodeLabel","PLZ"); textMap.put("postalCode",""); textMap.put("townLabel","Ort"); textMap.put("town",""); textMap.put("countryLabel","Land"); textMap.put("country",""); textMap.put("streetLabel","Straße, Hausnr."); textMap.put("street",""); textMap.put("numberLabel","Nr."); textMap.put("number","Nr."); textMap.put("phoneLabel","Telefon"); textMap.put("phone",""); textMap.put("rankLabel","Dienstgrad"); textMap.put("rank",""); textMap.put("triberankLabel","Stammeinheit"); textMap.put("triberank",""); textMap.put("subjectLabel","Betreff"); textMap.put("subjectDefault","Wehrbeauftragter"); textMap.put("subject",""); textMap.put("messageLabel","Nachrichtentext"); textMap.put("message",""); textMap.put("address","Adresse"); textMap.put("addressLabel","Adresse"); textMap.put("salutation","Anrede"); textMap.put("salutationLabel","Anrede"); textMap.put("salutationMs","Frau"); textMap.put("salutationMsLabel",""); textMap.put("salutationMrs","Frau"); textMap.put("salutationMrsLabel",""); textMap.put("salutationMr","Herr"); textMap.put("salutationMrLabel",""); textMap.put("mailCC",""); textMap.put("mailCCLabel","Kopie an mich senden"); textMap.put("country",""); textMap.put("countryLabel","Land"); textMap.put("receiver",""); textMap.put("receiverLabel","An"); // Schaltertexte textMap.put("submit","Absenden"); textMap.put("next","Weiter"); textMap.put("cancel","Abbrechen"); textMap.put("reset","Eingaben löschen"); textMap.put("back","Eingaben ändern"); textMap.put("send","Absenden"); textMap.put("uploadFile","Datei hochladen"); // Ausgabetexte textMap.put("yes","Ja"); textMap.put("no","Nein"); textMap.put("thankyou","Vielen Dank für Ihre Nachricht."); textMap.put("mailTemplate", "An: {receiver}\nBetreff: {subject}\n\n{message}\n\nABSENDER:\nVORNAME: {nameFirst}\nNAME: {nameLast}\nSTRASSE: {street}\nPLZ: {postalCode}\nORT: {town}\nLand: {country}\nTELEFON: {phone}\nDIENSTGRAD: {rank}\nSTAMMEINHEIT: {triberank}\n\nEMAIL: {mailSender}\n\nZustimmung Datenübermittlung: Ja\n\nFORMULAR: {formular}\n\nDIESE NACHRICHT WURDE IM INTERNET\nDES DEUTSCHEN BUNDESTAGES ERFASST\n{timestamp}\n______________________________________________\nExterne IP-Adresse: {ip}\nExterner Host: {host}\nExterner Port: {port}\n______________________________________________\n"); textMap.put("errorDefault","Fehler in der Anwendung"); textMap.put("errorToken","Ihre Nachricht wurde bereits übermittelt."); request.setAttribute("initialTexts", textMap); request.setAttribute("lang", "de"); request.setAttribute("contactCategory", contactCategory); java.io.File configMap = new java.io.File(System.getProperty("java.io.tmpdir") + java.io.File.separator + contactCategory + "Deutsch"); //if (configMap.exists() == false) { java.beans.XMLEncoder e = new java.beans.XMLEncoder(new java.io.BufferedOutputStream(new java.io.FileOutputStream(configMap))); e.writeObject(textMap); e.close(); //} textMap = null; %>