X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Faction-themes.php;h=998d08471f2b6d857fbe6cd9b81e8a8fe0946eb1;hb=6989412ec2be23ffb4febbba8924db25ce1ac113;hp=8b4ee7ff02b5afa0c2c73ed33a1e127329ddac73;hpb=64c8349613addc3da2242c5cd6b99d64e3fb5f8e;p=mailer.git diff --git a/inc/modules/guest/action-themes.php b/inc/modules/guest/action-themes.php index 8b4ee7ff02..998d08471f 100644 --- a/inc/modules/guest/action-themes.php +++ b/inc/modules/guest/action-themes.php @@ -1,7 +1,7 @@ 1) { // If more than 1 is installed output selection box $OUT = generateThemeSelectionBox(); -} elseif (($num_themes == 1) || ((!isAdmin()) && ($num_themes == 0))) { +} elseif (($num_themes == 1) || ((!isAdmin()) && ($num_themes == '0'))) { // If there's only one just output it's name $OUT = loadTemplate('theme_one', true, getCurrentThemeName()); } elseif (isAdmin()) { // If there is no theme installed and there's an admin notify him! - $OUT = loadTemplate('admin_settings_saved', true, "
{--ADMIN_NO_THEME_INSTALLED_WARNING--}
"); + $OUT = '{--ADMIN_NO_THEME_INSTALLED_WARNING--}'; } // Load final box template