]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-theme_check.php
Email details and bonus mails in admin swapped out to template
[mailer.git] / inc / modules / admin / what-theme_check.php
index f416bd31155a81acd6609ad02928da995e25ee13..b3368dd7796a757a90c988f463e71e1b32db2293 100644 (file)
@@ -44,7 +44,7 @@ global $cacheInstance, $cacheArray, $cacheMode;
 
 // Normally we want the overview of all registered theme_check
 $mode = "overview";
-$SEL = "0";
+$SEL = 0;
 
 // Get response from our server
 $response = GET_URL("check-themes.php");
@@ -64,7 +64,7 @@ if (($response[sizeof($response) - 1] == "[EOF]") && ($response[0] != "[EOF]"))
 
        // Get count of theme_check for validation
        $count = trim($response[sizeof($response) - 2]);
-       foreach ($response as $idx=>$value)
+       foreach ($response as $idx => $value)
        {
                $value = str_replace("\n", "", $value); $ver = "";
 
@@ -95,7 +95,7 @@ if (($response[sizeof($response) - 1] == "[EOF]") && ($response[0] != "[EOF]"))
                                $INFO = ADMIN_EXT_NO_INFO_FOUND;
 
                                // Trim every data line
-                               foreach ($LANG_DUMMY as $k=>$v) {
+                               foreach ($LANG_DUMMY as $k => $v) {
                                        $v = trim($v);
                                        if (substr($v, 3) == "") $v = "---";
                                        $LANG_DUMMY[$k] = $v;
@@ -121,7 +121,7 @@ if (($response[sizeof($response) - 1] == "[EOF]") && ($response[0] != "[EOF]"))
 
                // Extensions where found which are not downloaded and installed
                $SW = 2; $OUT = ""; $TSIZE = 0;
-               foreach ($THEMES['fname'] as $idx=>$name) {
+               foreach ($THEMES['fname'] as $idx => $name) {
                        // Generate download link
                        $LINK = SERVER_URL."/themes/theme-".$name.".zip";
                        $OUT .= "<TR>