X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fguest%2Faction-themes.php;h=69fbd7b83745907fb3cc686d491123a41dcdddf4;hb=0715fa7aa8e5e70bcf1d957fb09ae655c3896c4e;hp=00b6bf45f5685e14790427b412cc5ecbbdfaa10c;hpb=c8a83fa31256474eccf50db85187ee6a83d67e26;p=mailer.git diff --git a/inc/modules/guest/action-themes.php b/inc/modules/guest/action-themes.php index 00b6bf45f5..69fbd7b837 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