X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-theme_import.php;h=0d6ad900376e53aaeb6e0c3707f6f9fc63b9f6d8;hb=1410e014d23f244e73d3a7916a61c2473416bab9;hp=a7f9c10e510ab5f9f68cba3ec39d67032660989c;hpb=2ede2488c926695e022e33fa40fe74584831990f;p=mailer.git diff --git a/inc/modules/admin/what-theme_import.php b/inc/modules/admin/what-theme_import.php index a7f9c10e51..0d6ad90037 100644 --- a/inc/modules/admin/what-theme_import.php +++ b/inc/modules/admin/what-theme_import.php @@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { addYouAreHereLink('admin', __FILE__); if (!isExtensionActive('theme')) { - loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('theme')); + displayMessage(generateExtensionInactiveNotInstalledMessage('theme')); return; } // END - if @@ -87,7 +87,7 @@ VALUES ('%s','N','%s','%s')", } // Output message - loadTemplate('admin_settings_saved', false, $message); + displayMessage($message); } // END - if // Initialize array @@ -152,7 +152,7 @@ foreach ($THEMES['theme_unix'] as $key => $unix) { if (empty($OUT)) { // No themes found??? - $OUT .= loadTemplate('admin_import_theme_none', true, loadTemplate('admin_settings_saved', true, '{--ADMIN_NO_THEMES_FOUND--}')); + $OUT .= loadTemplate('admin_import_theme_none', true, displayMessage('{--ADMIN_NO_THEMES_FOUND--}', true)); } // END - if // Load template