Code style changed, ext-user continued:
[mailer.git] / inc / modules / guest / what-register.php
index 1a0b5463d453395417db9f34789e79c7a9f05b2d..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
 
@@ -119,14 +119,14 @@ if ((isFormSent()) && (isRegistrationDataComplete())) {
        // 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'] = '';
@@ -143,7 +143,7 @@ if ((isFormSent()) && (isRegistrationDataComplete())) {
        $content = runFilterChain('register_must_fillout', $content);
 
        // Display registration form
-       loadTemplate('guest_register', false, $content);
+       loadTemplate('guest_register', FALSE, $content);
 }
 
 // [EOF]