]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/theme_functions.php
Code style changed, ext-user continued:
[mailer.git] / inc / libs / theme_functions.php
index a044e8a06c2aeb84b049a401378a4715a3cd5e4f..1a8e05bba28b6aa0656cfaa46313db2c1d1c577d 100644 (file)
@@ -106,7 +106,7 @@ ORDER BY
        );
 
        // Return generated selection
-       return loadTemplate('theme_select_form', true, $content);
+       return loadTemplate('theme_select_form', TRUE, $content);
 }
 
 // Get version from name
@@ -157,11 +157,11 @@ function isThemeActive ($name) {
        // Is the extension 'theme' installed?
        if (!isExtensionActive('theme')) {
                // Then abort here
-               return false;
+               return FALSE;
        } // END - if
 
        // Default is nothing active
-       $active = false;
+       $active = FALSE;
 
        // Is the cache entry there?
        if (isset($GLOBALS['cache_array']['themes']['theme_active'][$name])) {
@@ -234,7 +234,7 @@ function getActualTheme () {
                // Set default theme
                setMailerTheme($ret);
        } elseif ((isMailerThemeSet()) && (isExtensionInstalledAndNewer('sql_patches', '0.1.4'))) {
-               //die("<pre>".print_r($GLOBALS['cache_array']['themes'], true)."</pre>");
+               //die("<pre>".print_r($GLOBALS['cache_array']['themes'], TRUE)."</pre>");
                // Get theme from cookie
                $ret = getSession('mailer_theme');