X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=inc%2Fmodules%2Fadmin%2Fwhat-theme_edit.php;h=6f761b24508b325eab946bb2e23fdd358d4d6c76;hb=6b35670152207024eac824879ceeffdaf847c972;hp=00a47149682935f051224b650f77f9d16c63b781;hpb=2e715eb7f3f8ca8d259aacb4cbbddde7d9d18e01;p=mailer.git
diff --git a/inc/modules/admin/what-theme_edit.php b/inc/modules/admin/what-theme_edit.php
index 00a4714968..6f761b2450 100644
--- a/inc/modules/admin/what-theme_edit.php
+++ b/inc/modules/admin/what-theme_edit.php
@@ -43,11 +43,6 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
// Add description as navigation point
addYouAreHereLink('admin', __FILE__);
-if (!isExtensionActive('theme')) {
- loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('theme'));
- return;
-} // END - if
-
// Check for selected themes
if (ifPostContainsSelections()) {
$OUT = '';
@@ -124,7 +119,9 @@ if (!SQL_HASZERONUMS($result)) {
// Is the loaded theme name != current theme name?
$content['link'] = $content['theme_path'];
- if ($content['theme_path'] != getCurrentTheme()) $content['link'] = '' . $content['theme_path'] . '';
+ if ($content['theme_path'] != getCurrentTheme()) {
+ $content['link'] = '' . $content['theme_path'] . '';
+ } // END - if
// Prepare data for the row template
$content['email'] = '
- ' . loadTemplate('admin_settings_saved', true, '{--ADMIN_NO_THEMES_FOUND--}') . '
+ ' . displayMessage('{--ADMIN_NO_THEMES_FOUND--}', true) . '
';
}