$helperInstance->addFieldText('pass2', "Passwortwiederholung:");
$helperInstance->addInputPasswordField('pass2');
+// Does this registration require an email?
if ($helperInstance->ifRegisterRequiresEmailVerification()) {
$helperInstance->addFormGroup('email', "Bitte gebe deine Email zweimal (ein zweites Mal zur Bestätigung) ein, damit wir dir deinen Freischaltlink zusenden können.");
$helperInstance->addFieldText('email1', "Email-Adresse:");
$helperInstance->addFieldText('email2', "Wiederholung Email-Adresse:");
$helperInstance->addInputTextField('email2');
+ // Must the email address be unique in this system?
if ($helperInstance->ifEmailMustBeUnique()) {
$helperInstance->addFormNote('email', "Die von dir eingegebene Email-Adresse darf nur einmal im Spiel verwendet worden sein.");
- } // END - Unique email addresses
-
-} // END - email verification
+ } // END - if
+} // END - if
+// Shall we also ask some personal data to complete the profile?
if ($helperInstance->ifRegisterIncludesProfile()) {
$helperInstance->addFormGroup('profile', "Hier kannst du zusätzlich deine Profildaten vorweg eingeben, du kannst sie aber auch nach dem Login vervollständigen!");
$helperInstance->addFormSubGroup('email', "Die Angabe deiner Email-Adresse ist nur dann nötig, wenn du auch Email-Benachrichtigungen (<span id=\"add_note\">*1</span>) haben möchtest.");
$helperInstance->addFieldText('email1', "Email-Adresse:");
$helperInstance->addInputTextField('email1');
- } // END - No email verification
+
+ // Must the email address be unique in this system?
+ if ($helperInstance->ifEmailMustBeUnique()) {
+ $helperInstance->addFormNote('email', "Die von dir eingegebene Email-Adresse darf nur einmal im Spiel verwendet worden sein.");
+ } // END - if
+ } // END - if
// Persoenliche Daten mit in der Anmeldung abfragen?
if ($helperInstance->ifRegisterIncludesPersonaData()) {
$helperInstance->addInputTextField('street');
$helperInstance->addFieldText('city', "Wohnort:");
$helperInstance->addInputTextField('city');
- } // END - Persona data
+
+ // Include birthday?
+ if ($helperInstance->ifProfileIncludesBirthDay()) {
+ $helperInstance->addFormSubGroup('birthday', "Verrate uns doch dein Geburtsdatum, als Dankeschön erhälst du interessante Prämien - ausschliesslich per Email - zum Geburtstag zugesandt! Gültiges Format: TT.MM.JJJJ");
+ $helperInstance->addInputTextField('birth_day');
+ $helperInstance->addFieldText('birth_day', ".");
+ $helperInstance->addInputTextField('birth_month');
+ $helperInstance->addFieldText('birth_day', ".");
+ $helperInstance->addInputTextField('birth_year');
+ } // END - if
+ } // END - if
$helperInstance->addFormSubGroup('zip', "Magst du uns auch deine Postleitzahl verraten?");
$helperInstance->addFieldText('zip', "Postleitzahl:");