X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=inc%2Flibs%2Ftheme_functions.php;h=1a8e05bba28b6aa0656cfaa46313db2c1d1c577d;hb=f2edf32502b2774dc17ef419a2e6a1c60e361c0a;hp=a044e8a06c2aeb84b049a401378a4715a3cd5e4f;hpb=a36ec5d82756cd4db92ce27b6acc42b8a01920ce;p=mailer.git diff --git a/inc/libs/theme_functions.php b/inc/libs/theme_functions.php index a044e8a06c..1a8e05bba2 100644 --- a/inc/libs/theme_functions.php +++ b/inc/libs/theme_functions.php @@ -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("
".print_r($GLOBALS['cache_array']['themes'], true).""); + //die("
".print_r($GLOBALS['cache_array']['themes'], TRUE).""); // Get theme from cookie $ret = getSession('mailer_theme');