HTML->XHTML preparation (still *A LOT* to convert
[mailer.git] / inc / modules / admin / what-theme_check.php
index e29ae53c256ba77e9725dbad4bcd165312e95101..a7e9eee70ffb316d471c9f0985eb23fa544fe2db 100644 (file)
@@ -119,9 +119,11 @@ if (($response[sizeof($response) - 1] == "[EOF]") && ($response[0] != "[EOF]"))
                foreach ($THEMES['fname'] as $idx => $name) {
                        // Generate download link
                        $LINK = SERVER_URL."/themes/theme-".$name.".zip";
+
+                       // @TODO Move this HTML code to a template "admin_theme_row"
                        $OUT .= "<TR>
   <TD align=\"center\" class=\"switch_sw".$SW." bottom2 right2\">".($idx + 1).".</TD>
-  <TD align=\"center\" class=\"switch_sw".$SW." bottom2 right2\"><A href=\"".$LINK."\">".$name."</A></TD>
+  <TD align=\"center\" class=\"switch_sw".$SW." bottom2 right2\"><a href=\"".$LINK."\">".$name."</a></TD>
   <TD align=\"center\" class=\"switch_sw".$SW." bottom2 right2\">".MAKE_DATETIME($THEMES['fctime'][$idx], "2")."</TD>
   <TD align=\"center\" class=\"switch_sw".$SW." bottom2 right2\">".TRANSLATE_COMMA(round($THEMES['fsize'][$idx] / 1.024) / 1000)." ".KBYTES."</TD>
   <TD align=\"center\" class=\"switch_sw".$SW." bottom2\">".$THEMES['ver'][$idx]." (".$THEMES['cver'][$idx].")</TD>
@@ -129,7 +131,7 @@ if (($response[sizeof($response) - 1] == "[EOF]") && ($response[0] != "[EOF]"))
 <TR>
   <TD class=\"switch_sw".$SW." bottom2\">&nbsp;</TD>
   <TD colspan=\"4\" class=\"switch_sw".$SW." bottom2\">
-    <FONT class=\"tiny\">".$THEMES['infos'][$idx]."</FONT>
+    <div class=\"tiny\">".$THEMES['infos'][$idx]."</div>
   </TD>
 </TR>\n";
                        $TSIZE += $THEMES['fsize'][$idx];
@@ -147,7 +149,7 @@ if (($response[sizeof($response) - 1] == "[EOF]") && ($response[0] != "[EOF]"))
        }
 } else {
        // No theme where found
-       LOAD_TEMPLATE("admin_theme_404");
+       LOAD_TEMPLATE("admin_settings_saved", false, ADMIN_THEME_NOTHING_FOUND);
 }
 
 //