]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-theme_edit.php
Several more constants rewritten to getConfig()
[mailer.git] / inc / modules / admin / what-theme_edit.php
index 57c5ffe1a1c77b25102802a65c2b95083ceaca11..baf8be84e460351f180341d378f1fc7306fe809c 100644 (file)
@@ -41,7 +41,7 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 } elseif (!EXT_IS_ACTIVE('theme')) {
-       addFatalMessage(__FILE__, __LINE__, sprintf(getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), 'theme'));
+       addFatalMessage(__FILE__, __LINE__, generateExtensionInactiveNotInstalledMessage('theme'));
        return;
 }
 
@@ -113,7 +113,7 @@ if (SQL_NUMROWS($result) > 0) {
 
                // Is the loaded theme name != current theme name?
                $LINK = $content['theme_path'];
-               if ($content['theme_path'] != getCurrentTheme()) $LINK = "<a href=\"{!URL!}/modules.php?module=admin&amp;what=theme_edit&amp;default_theme=".$content['theme_path']."\" title=\"{--ADMIN_SET_AS_NEW_THEME--}\">".$content['theme_path']."</a>";
+               if ($content['theme_path'] != getCurrentTheme()) $LINK = "<a href=\"{?URL?}/modules.php?module=admin&amp;what=theme_edit&amp;default_theme=".$content['theme_path']."\" title=\"{--ADMIN_SET_AS_NEW_THEME--}\">".$content['theme_path']."</a>";
 
                // Prepare data for the row template
                $content = array(
@@ -137,7 +137,7 @@ if (SQL_NUMROWS($result) > 0) {
        // Free memory
        SQL_FREERESULT($result);
 } else {
-               // No themes found???
+       // No themes found???
        $OUT .= "<tr>
   <td colspan=\"7\" class=\"bottom2\" height=\"60\">
     ".LOAD_TEMPLATE('admin_settings_saved', true, getMessage('ADMIN_NO_THEMES_FOUND'))."