1
I have used another laguage other than english for my XOOPS site. And if I called the search from /www.mysite.com/search.php, then everything works fine (It shows the correct language, and the search works too). But in xDirectory module, it use the following code for search:
<table border="1" bordercolor="#666666" bgcolor="#FFFFCC" width="100%">
<tr>
<td align="center">
<table border="0">
<form name='search' id='search' action='/search.php' method='post' onsubmit='return xoopsFormValidate_search();'>
<input type='hidden' name='mids[]' value='12' />
<tr>
<td><strong>Search for: strong>td>
<td><input type='text' name='query' id='query' size='20' maxlength='255' value='' />td>
<td><select size='1' name='andor' id='andor'>
<option value='AND' selected='selected'>All Wordsoption>
<option value='OR'>Any Wordsoption>
<option value='exact'>Exact Matchoption>
select>td>
<td><input type='submit' class='formButton' name='submit' id='submit' value='Search' />td>
tr>
<input type='hidden' name='action' id='action' value='results' />
form>
/table>
td>
tr>
table>
Then it shows english version search only and the search doesn't work.
What do I need to do to fix this issue. Thanks in advance!