My 2 cents for postnukers
I did this for ADS-Ultralight-Blue theme and mostlikely it will work for Piterpan theme also
problem:
If you did not select any topc and have selected just some category in story submission in IE broken topic icon will show up, in mozilla everything is fine.
fix
1. open theme.php and find:
Code
echo "<table border=\"0\" bgcolor=\"$bgcolor1\" cellpadding=\"10\" cellspacing=\"0\" width=\"100%\">\n"
."<tr>\n"
."<td>\n"
."<font class=\"content\"><a href=\"$links[searchtopic]\"><img src=\"images/topics/$info[topicimage]\" border=\"0\" Alt=\"$info[topictext]\" align=\"right\" hspace=\"10\" vspace=\"10\"></a></font>\n"
."<font class=\"content\">$preformat[hometext]</font>\n";
."<tr>\n"
."<td>\n"
."<font class=\"content\"><a href=\"$links[searchtopic]\"><img src=\"images/topics/$info[topicimage]\" border=\"0\" Alt=\"$info[topictext]\" align=\"right\" hspace=\"10\" vspace=\"10\"></a></font>\n"
."<font class=\"content\">$preformat[hometext]</font>\n";
and change it with
Code
echo "<table border=\"0\" bgcolor=\"$bgcolor1\" cellpadding=\"10\" cellspacing=\"0\" width=\"100%\">\n"
."<tr>\n"
."<td>\n"
."<font class=\"content\"><a href=\"$links[searchtopic]\">";
if($info[topicimage]!=null)
{
echo "<img src=\"images/topics/$info[topicimage]\" border=\"0\" align=\"left\" hspace=\"10\" vspace=\"10\"></font></a></img>\n";
}
else
{
echo "</a>\n";
}
echo "<font class=\"content\">$preformat[hometext]</font>\n";
."<tr>\n"
."<td>\n"
."<font class=\"content\"><a href=\"$links[searchtopic]\">";
if($info[topicimage]!=null)
{
echo "<img src=\"images/topics/$info[topicimage]\" border=\"0\" align=\"left\" hspace=\"10\" vspace=\"10\"></font></a></img>\n";
}
else
{
echo "</a>\n";
}
echo "<font class=\"content\">$preformat[hometext]</font>\n";
I programm in c++ . I'm not PHP programmer but it seems this C like fixes the problem.
;)
