]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/theme_functions.php
More rewrites/templates swapped out:
[mailer.git] / inc / libs / theme_functions.php
index 2279e5741fdfb5adf53b55b50b095872f7bb9b80..ef2d07b3aa8ded9b112433b37b9b0b09fb72911d 100644 (file)
@@ -92,11 +92,12 @@ ORDER BY
        SQL_FREERESULT($result);
 
        // Construct selection form for the box template
+       // @TODO Can't this be rewritten to an API function?
        $OUT = '';
        foreach ($themesArray['theme_unix'] as $key => $theme) {
-               $OUT .= "  <option value=\"".$theme."\"";
+               $OUT .= '  <option value="' . $theme . '"';
                if ($theme == getCurrentTheme()) $OUT .= ' selected="selected"';
-               $OUT .= ">".$themesArray['theme_name'][$key]."</option>\n";
+               $OUT .= '>' . $themesArray['theme_name'][$key] . '</option>';
        } // END - foreach
 
        // Remember content