[bknr-cvs] r1917 - in branches/xml-class-rework/projects/bos/payment-website: images static
bknr at bknr.net
bknr at bknr.net
Sun Mar 12 11:36:13 UTC 2006
Author: hhubner
Date: 2006-03-12 06:36:07 -0500 (Sun, 12 Mar 2006)
New Revision: 1917
Added:
branches/xml-class-rework/projects/bos/payment-website/images/certificate_en.jpg
branches/xml-class-rework/projects/bos/payment-website/images/projekt_pic_en.jpg
branches/xml-class-rework/projects/bos/payment-website/images/ring_detail_en.jpg
branches/xml-class-rework/projects/bos/payment-website/images/ring_en.jpg
branches/xml-class-rework/projects/bos/payment-website/static/bos_en.js
branches/xml-class-rework/projects/bos/payment-website/static/profil_en.js
Log:
new files for the english version
Added: branches/xml-class-rework/projects/bos/payment-website/images/certificate_en.jpg
===================================================================
(Binary files differ)
Property changes on: branches/xml-class-rework/projects/bos/payment-website/images/certificate_en.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/xml-class-rework/projects/bos/payment-website/images/projekt_pic_en.jpg
===================================================================
(Binary files differ)
Property changes on: branches/xml-class-rework/projects/bos/payment-website/images/projekt_pic_en.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/xml-class-rework/projects/bos/payment-website/images/ring_detail_en.jpg
===================================================================
(Binary files differ)
Property changes on: branches/xml-class-rework/projects/bos/payment-website/images/ring_detail_en.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/xml-class-rework/projects/bos/payment-website/images/ring_en.jpg
===================================================================
(Binary files differ)
Property changes on: branches/xml-class-rework/projects/bos/payment-website/images/ring_en.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/xml-class-rework/projects/bos/payment-website/static/bos_en.js
===================================================================
--- branches/xml-class-rework/projects/bos/payment-website/static/bos_en.js 2006-03-12 11:35:12 UTC (rev 1916)
+++ branches/xml-class-rework/projects/bos/payment-website/static/bos_en.js 2006-03-12 11:36:07 UTC (rev 1917)
@@ -0,0 +1,96 @@
+
+// Formularcheck für Profilsetup
+
+function check_profil_setup() {
+
+ if (document.form.password.value == "") {
+ alert('Please enter your personal password.');
+ document.form.password.focus();
+ return false;
+ }
+
+ if (document.form.password.value != document.form.password1.value) {
+ alert('Please enter your personal password again.');
+ document.form.password.focus();
+ return false;
+ }
+
+ window_infosys();
+
+ return true;
+}
+
+function check_ueberweisung() {
+
+// alert("numsqm: " + + " numsqm1: " + );
+
+ if (!document.bestellformular.disclaimer_read.checked) {
+ alert("Please read the waiver clause and confirm your agreement with a click to the check box.");
+ return false;
+ }
+
+ if (document.bestellformular.numsqm[0].checked
+ || (document.bestellformular.numsqm[4].checked
+ && (document.bestellformular.numsqm1.value < 5))) {
+
+ alert("Aufgrund des hohen manuellen Bearbeitungsaufands sind Überweisungen erst ab einer Summe von 15 Euro (5 Quadratmeter) möglich");
+ return false;
+ }
+
+ if (document.bestellformular.gift.checked) {
+ alert("Den Geschenkservice können wir nur bei Online-Überweisungen anbieten");
+ return false;
+ }
+}
+
+function check_online() {
+
+ if (!document.bestellformular.disclaimer_read.checked) {
+ alert("Please read the waiver clause and confirm your agreement with a click to the check box.");
+ return false;
+ }
+
+ if (document.bestellformular.gift.checked
+ && (document.bestellformular.numsqm[0].checked
+ || document.bestellformular.numsqm[1].checked
+ || (document.bestellformular.numsqm[4].checked
+ && (document.bestellformular.numsqm1.value < 10)))) {
+
+ alert("Das Verschenken von Quadratmetern ist erst ab einer Summe von 30 Euro möglich");
+ return false;
+ }
+
+ return true;
+}
+
+// Formularcheck für Versandinformationen
+
+function check_versand_info() {
+
+ if ((document.formular.name.value == '')
+ || (document.formular.address.value == '')) {
+ alert("Please enter a name and address for your rainforest certificate.");
+ return false;
+ }
+
+ return true;
+}
+
+// Funktion zum Verschicken von Info-Mail-Requests
+
+function send_info_request() {
+ var address = document.form.email.value;
+
+ if (!is_valid_email(address)) {
+ alert('The email address you entered "' + address + '" was not recogniced by our server. Please send your request to '
+ + 'service at createrainforest.org');
+ } else {
+ if (confirm('Would you like to receive informations about BOS and Samboja Lestari to "' + address + '"?')) {
+ document.form.email.value = '';
+ open("info-request?email=" + escape(address),
+ "mailwin", "width=480,height=235,status=no,toolbar=no,menubar=no,resizable=yes,scrollbars=yes,left=100,top=100");
+ }
+ }
+
+ return false;
+}
Added: branches/xml-class-rework/projects/bos/payment-website/static/profil_en.js
===================================================================
--- branches/xml-class-rework/projects/bos/payment-website/static/profil_en.js 2006-03-12 11:35:12 UTC (rev 1916)
+++ branches/xml-class-rework/projects/bos/payment-website/static/profil_en.js 2006-03-12 11:36:07 UTC (rev 1917)
@@ -0,0 +1,46 @@
+// JavaScript Document
+
+function anonymizecheck ()
+{
+ if (confirm('Delete your personal data?')) {
+ document.form.name.value = '';
+ document.form.infotext.value = '';
+ return true;
+ }
+ return false;
+}
+
+function buycheck ()
+{
+ if (!document.form.numsqm.value.match(/^\d+$/)
+ || (document.form.numsqm.value.match(/^0+/))) {
+ alert("Invalid number of square metres.");
+ document.form.numsqm.select();
+ document.form.numsqm.focus();
+ return false;
+ }
+ return true;
+}
+
+function formcheck ()
+{
+ if (document.form.password.value != document.form.password1.value) {
+ alert('The passwords you have entered do not correspond');
+ document.form.password.select();
+ document.form.password.focus();
+ return false;
+ }
+
+ alert('Your changes will be saved.');
+
+ return true;
+}
+
+function window_urkunde (sponsorid) {
+ var url = "/certificate/";
+ var certwin = open(url, "certwin", "width=480,height=620,status=no,toolbar=no,menubar=no,resizable=yes,scrollbars=no");
+ certwin.focus();
+
+ return false
+};
+
More information about the Bknr-cvs
mailing list