]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-register.php
Updated copyright notice as there are changes in this year
[mailer.git] / inc / modules / guest / what-register.php
index 2036b9f7e1e33713246aee87b0f2d5eb1464a5c4..8809d0ed64923338f3f2fccbb3af3b18242a4d3b 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -108,11 +108,11 @@ if ((isFormSent()) && (isRegistrationDataComplete())) {
        // Generate birthday selection
        switch (getLanguage()) {
                case 'de': // German date format
-                       $content['birthday_selection'] = addSelectionBox('day', postRequestElement('day')).addSelectionBox('month', postRequestElement('month')).addSelectionBox('year', postRequestElement('year'));
+                       $content['birthday_selection'] = addSelectionBox('da', postRequestElement('day')).addSelectionBox('mo', postRequestElement('month')).addSelectionBox('ye', postRequestElement('year'));
                        break;
 
                default: // Default is the US date format... :)
-                       $content['birthday_selection'] = addSelectionBox('month', postRequestElement('month')).addSelectionBox('day', postRequestElement('day')).addSelectionBox('year', postRequestElement('year'));
+                       $content['birthday_selection'] = addSelectionBox('mo', postRequestElement('month')).addSelectionBox('da', postRequestElement('day')).addSelectionBox('ye', postRequestElement('year'));
                        break;
        } // END - switch
 
@@ -125,9 +125,6 @@ if ((isFormSent()) && (isRegistrationDataComplete())) {
                $content['refid_content'] = loadTemplate('guest_register_refid', TRUE);
        }
 
-       // You may want to modify the register_header.tpl.xx file and not this script when you add your scripts etc. :-)
-       $content['header_content'] = loadTemplate('register_header', TRUE);
-
        // ZIP codes are numerical values
        $content['zip'] = '';
        if ((isPostRequestElementSet('zip')) && (postRequestElement('zip') > 0)) {