When I select the "Karate" theme in PHP-Nuke 6.5, the Topics dropdown navigator in the top/right header does not function properly. Namely, it does the following two things:
1). Sometimes the default reads All Topics, and it I click somewhere on the site and come back, it then reads "_ALLTOPICS" in that dropdown field. The same thing happens to the Hello (that appears on the left side, right before the user name), it changes to "_HELLO."
2). If I try to select a topic category from the aforementioned Topics dropdown, it gives me the following text on the screen "Sorry, you can't access this file directly..." Apparently somewhere along the line there is some trouble with some code.
Please try your Karate theme and see if you experience the same thing.
I'd appreciate your help with the above.
Thank you.
B-truE
P.S. The following is the code for the search and topics selection from the Karate theme:
|
Code:
|
."<form action=\"modules.php?name=Search\" method=\"post\"><font class=\"content\" color=\"#000000\">"._SEARCH." \n"
."<input type=\"text\" name=\"query\" size=\"14\"></font></form></td>\n"
."<td bgcolor=\"#F3E1AF\" align=\"center\">\n"
."<form action=\"modules.php?name=Search\" method=\"get\"><font class=\"content\">"._TOPICS." \n";
$toplist = mysql_query("select topicid, topictext from $prefix"._topics." order by topictext");
echo "<select name=\"topic\"onChange='submit()'>\n"
."<option value=\"\">"._ALLTOPICS."</option>\n";
while(list($topicid, $topics) = mysql_fetch_row($toplist)) {
if ($topicid==$topic) { $sel = "selected "; }
echo "<option $sel value=\"$topicid\">$topics</option>\n";
$sel = "";
}
echo "</select></font></form></td>\n"
."</tr></table>\n" |