]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-register.php
Minor improvements, wrote all upper-case
[mailer.git] / inc / modules / guest / what-register.php
index 3ef7b69b32c1efcd9156a6390443200f35498e9f..96b3265873f1e05e0cd13a89b76b2de608fb4d26 100644 (file)
@@ -92,11 +92,11 @@ if ((isFormSent()) && (isRegistrationDataComplete())) {
                        registerOutputFailedMessage('ENTER_PASSWORD2');
                }
 
-               if ((isset($GLOBALS['registration_short_password'])) && ($GLOBALS['registration_short_password'] === true)) {
+               if ((isset($GLOBALS['registration_short_password'])) && ($GLOBALS['registration_short_password'] === TRUE)) {
                        registerOutputFailedMessage('GUEST_SHORT_PASS', ': ' . getPassLen());
                } // END - if
 
-               if ((isset($GLOBALS['registration_ip_timeout'])) && ($GLOBALS['registration_ip_timeout'] === true)) {
+               if ((isset($GLOBALS['registration_ip_timeout'])) && ($GLOBALS['registration_ip_timeout'] === TRUE)) {
                        registerOutputFailedMessage('REMOTE_ADDR_TIMEOUT');
                } // END - if
 
@@ -116,20 +116,17 @@ if ((isFormSent()) && (isRegistrationDataComplete())) {
                        break;
        } // END - switch
 
-       // Adds maximum receiveable mails list... :)
-       $content['max_receive_list'] = addMaxReceiveList('guest', '', true);
-
        // Shall I display the refid or shall I make it editable?
        if (isDisplayRefidEnabled()) {
                // Load "hide" form template
-               $content['refid_content'] = loadTemplate('guest_register_refid_hide', true);
+               $content['refid_content'] = loadTemplate('guest_register_refid_hide', TRUE);
        } else {
                // Load template to enter it
-               $content['refid_content'] = loadTemplate('guest_register_refid', true);
+               $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);
+       $content['header_content'] = loadTemplate('register_header', TRUE);
 
        // ZIP codes are numerical values
        $content['zip'] = '';
@@ -142,14 +139,11 @@ if ((isFormSent()) && (isRegistrationDataComplete())) {
                $content[$entry] = SQL_ESCAPE(postRequestElement($entry));
        } // END - foreach
 
-       // Prepare country selection box
-       $content['country'] = addCountryCodeSelectionBox(postRequestElement('country_code'));
-
        // Set must-fillout fields
        $content = runFilterChain('register_must_fillout', $content);
 
        // Display registration form
-       loadTemplate('guest_register', false, $content);
+       loadTemplate('guest_register', FALSE, $content);
 }
 
 // [EOF]