- $OUT .= "<TR>
- <TD class=\"switch_sw".$SW." bottom2 right2\" align=\"center\" height=\"30\">
- <INPUT type=\"radio\" name=\"member_theme\" class=\"member_normal\" value=\"".$unix."\"".$default.">
- </TD>
- <TD class=\"switch_sw".$SW." bottom2 right2\" align=\"center\">".$THEMES['theme_name'][$key]."</TD>
- <TD class=\"switch_sw".$SW." bottom2 right2\" align=\"center\">
- <A href=\"mailto:".$THEMES['theme_email'][$key]."?Subject=[Theme:] ".$THEMES['theme_name'][$key]." (".$unix.")"."\">".$THEMES['theme_author'][$key]."</A>
- </TD>
- <TD class=\"switch_sw".$SW." bottom2 right2\" align=\"center\">
- <A href=\"".DEREFERER($THEMES['theme_url'][$key])."\" target=\"_blank\">".$THEMES['theme_url'][$key]."</A>
- </TD>
- <TD class=\"switch_sw".$SW." bottom2\" align=\"center\">v".$THEMES['theme_ver'][$key]."</TD>
-</TR>\n";
- $SW = 3 - $SW;
-}
+ // @TODO Move this code into a template
+ $OUT .= "<tr>
+ <td class=\"{%template,ColorSwitch%} bottom right\" align=\"center\" height=\"30\">
+ <input type=\"radio\" name=\"member_theme\" class=\"member_normal\" value=\"".$unix."\"".$default." />
+ </td>
+ <td class=\"{%template,ColorSwitch%} bottom right\" align=\"center\">".$THEMES['theme_name'][$key]."</td>
+ <td class=\"{%template,ColorSwitch%} bottom right\" align=\"center\">
+ <a href=\"mailto:".$THEMES['theme_email'][$key]."?Subject=[Theme:] ".$THEMES['theme_name'][$key]." (".$unix.")'.'\">".$THEMES['theme_author'][$key]."</a>
+ </td>
+ <td class=\"{%template,ColorSwitch%} bottom right\" align=\"center\">
+ <a href=\"".generateDerefererUrl($THEMES['theme_url'][$key])."\" target=\"_blank\">".$THEMES['theme_url'][$key]."</a>
+ </td>
+ <td class=\"{%template,ColorSwitch%} bottom\" align=\"center\">v".$THEMES['theme_version'][$key]."</td>
+</tr>\n";
+} // END - foreach