]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-email_details.php
Code style changed, ext-user continued:
[mailer.git] / inc / modules / admin / what-email_details.php
index a5a4ab2f1dff4811691b4d3356638ec634802d33..fed64612ec424b9e2da837248dc37ed349e9c676 100644 (file)
@@ -47,7 +47,7 @@ addYouAreHereLink('admin', __FILE__);
 if (!isExtensionInstalledAndNewer('sql_patches', '0.7.4')) {
        // No, abort here
        displayMessage(generateExtensionOutdatedMessage('sql_patches', '0.7.4'));
 if (!isExtensionInstalledAndNewer('sql_patches', '0.7.4')) {
        // No, abort here
        displayMessage(generateExtensionOutdatedMessage('sql_patches', '0.7.4'));
-       return false;
+       return FALSE;
 } // END - if
 
 // Normal mails ordered by your members
 } // END - if
 
 // Normal mails ordered by your members
@@ -91,7 +91,7 @@ ORDER BY
 }
 
 // Init result_bonus
 }
 
 // Init result_bonus
-$result_bonus = false;
+$result_bonus = FALSE;
 
 if ((isExtensionActive('bonus')) && (empty($WHO))) {
        // Check for maximum pages
 
 if ((isExtensionActive('bonus')) && (empty($WHO))) {
        // Check for maximum pages
@@ -149,7 +149,7 @@ if (isConfigEntrySet('mails_page')) {
 // Free result
 SQL_FREERESULT($result_normal);
 
 // Free result
 SQL_FREERESULT($result_normal);
 
-$MAIL = false;
+$MAIL = FALSE;
 if (!SQL_HASZERONUMS($result_list)) {
        // Init rows
        $OUT = '';
 if (!SQL_HASZERONUMS($result_list)) {
        // Init rows
        $OUT = '';
@@ -173,23 +173,23 @@ if (!SQL_HASZERONUMS($result_list)) {
                $content['timestamp']   = generateDateTime($content['timestamp'], 0);
 
                // Load row template
                $content['timestamp']   = generateDateTime($content['timestamp'], 0);
 
                // Load row template
-               $OUT .= loadTemplate('admin_list_emails_row', true, $content);
+               $OUT .= loadTemplate('admin_list_emails_row', TRUE, $content);
        } // END - while
 
        // Free memory
        SQL_FREERESULT($result_list);
 
        // Add navigation (with change box and colspan=3)
        } // END - while
 
        // Free memory
        SQL_FREERESULT($result_list);
 
        // Add navigation (with change box and colspan=3)
-       $content['nav'] = addEmailNavigation($numPages, getMailsPage(), false, 3, true);
+       $content['nav'] = addEmailNavigation($numPages, getMailsPage(), FALSE, 3, TRUE);
 
        // Prepare content
        $content['rows'] = $OUT;
        $content['who'] = $WHO;
 
        // Mail orders are in pool so we can display them
 
        // Prepare content
        $content['rows'] = $OUT;
        $content['who'] = $WHO;
 
        // Mail orders are in pool so we can display them
-       loadTemplate('admin_list_emails', false, $content);
+       loadTemplate('admin_list_emails', FALSE, $content);
 
 
-       $MAIL = true;
+       $MAIL = TRUE;
        if ((isExtensionActive('bonus')) && (empty($WHO))) {
                // Only check if bonus extension is active
                if (!SQL_HASZERONUMS($result_bonus)) outputHtml('<br /><br />');
        if ((isExtensionActive('bonus')) && (empty($WHO))) {
                // Only check if bonus extension is active
                if (!SQL_HASZERONUMS($result_bonus)) outputHtml('<br /><br />');
@@ -212,22 +212,22 @@ if ((isExtensionActive('bonus')) && (empty($WHO))) {
                        $content['timestamp']   = generateDateTime($content['timestamp'], 0);
 
                        // Load row template
                        $content['timestamp']   = generateDateTime($content['timestamp'], 0);
 
                        // Load row template
-                       $OUT .= loadTemplate('admin_list_bonus_emails_row', true, $content);
+                       $OUT .= loadTemplate('admin_list_bonus_emails_row', TRUE, $content);
                } // END - while
 
                // Add navigation (without change box but with colspan=3)
                } // END - while
 
                // Add navigation (without change box but with colspan=3)
-               $content['nav'] = addEmailNavigation($numPages, getMailsPage(), false, 3, true);
+               $content['nav'] = addEmailNavigation($numPages, getMailsPage(), FALSE, 3, TRUE);
 
                // Prepare content
                $content['rows'] = $OUT;
 
                // Load main template
 
                // Prepare content
                $content['rows'] = $OUT;
 
                // Load main template
-               loadTemplate('admin_list_bonus_emails', false, $content);
-               $MAIL = true;
+               loadTemplate('admin_list_bonus_emails', FALSE, $content);
+               $MAIL = TRUE;
        } // END - if
 } // END - if
 
        } // END - if
 } // END - if
 
-if ($MAIL === false) {
+if ($MAIL === FALSE) {
        // No mail orders fond
        displayMessage('{--ADMIN_NO_MAILS_IN_POOL--}');
 } // END - if
        // No mail orders fond
        displayMessage('{--ADMIN_NO_MAILS_IN_POOL--}');
 } // END - if