]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-extensions.php
Countless fixes, ext-grade started:
[mailer.git] / inc / modules / admin / what-extensions.php
index 4b9f9a988be10db568e2998c1d647240e0b66d18..e7bdea2baf583e70682811cd2620cf9518f8233c 100644 (file)
@@ -278,7 +278,11 @@ switch ($do) {
                if (isExtensionInstalledAndNewer('sql_patches', '0.0.6')) {
                        // Load extension data with CSS informations
                        $result = SQL_QUERY("SELECT
-       `id` AS ext_id, `ext_name`, `ext_active`, `ext_has_css` AS ext_css, `ext_version`
+       `id` AS `ext_id`,
+       `ext_name`,
+       `ext_active`,
+       `ext_has_css` AS `ext_css`,
+       `ext_version`
 FROM
        `{?_MYSQL_PREFIX?}_extensions`
 ".$where."
@@ -287,7 +291,10 @@ ORDER BY
                } else {
                        // Load extension data without CSS informations
                        $result = SQL_QUERY("SELECT
-       `id` AS ext_id, `ext_name`, `ext_active`, `ext_version`
+       `id` AS `ext_id`,
+       `ext_name`,
+       `ext_active`,
+       `ext_version`
 FROM
        `{?_MYSQL_PREFIX?}_extensions`
 ".$where."
@@ -303,7 +310,7 @@ ORDER BY
                                // Prepare CSS selection output
                                $cssSelection = '---';
                                if (isExtensionInstalledAndNewer('sql_patches', '0.0.6')) {
-                                       $cssSelection = translateYesNo($content['ext_css']);
+                                       $cssSelection = '{%pipe,translateYesNo=' . $content['ext_css'] . '%}';
                                } // END - if
 
                                // Prepare data for the row template