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>
<TR>
<TD class=\"switch_sw".$SW." bottom2\"> </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];
}
} else {
// No theme where found
- LOAD_TEMPLATE("admin_theme_404");
+ LOAD_TEMPLATE("admin_settings_saved", false, ADMIN_THEME_NOTHING_FOUND);
}
//