View Single Post
Old
  (#2 (permalink))
mikem
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
04-29-2003, 05:18 PM

Change what you have there to this
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=\"post\"><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"
or just change this part
Code:
method=\"get\"
to this:
Code:
method=\"post\"
then open your language/lang-english.php
or your MAIN language file you use
and add these definitions
Code:
define("_ALLTOPICS", " All Topics ");
define("_TOPICS", " Topics ");
define("_HELLO", " Hello ");
mikem
   
Reply With Quote