- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 134 guest(s) and 1 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - modules/Reviews/index.php [ ]
Author
Message
marius
Nuke Cadet
Joined: Jun 13, 2003
Posts: 3
Posted:
Mon Jul 28, 2003 9:17 am
function write_review()
The current language is never selected in the option list. You can verify this by doing a view source from your web browser.
Code:
if($languageslist[$i]==$currentlang) echo "selected";
Fix:
if($languageslist[$i]==strtolower($currentlang)) echo "selected";
marius
Nuke Cadet
Joined: Jun 13, 2003
Posts: 3
Posted:
Tue Jul 29, 2003 5:53 am
Try that instead:
Fix:
if(<b>ucfirst(</b>$languageslist[$i]<b>)</b>==$currentlang) echo "selected";
echo "><b>".ucfirst(</b>$languageslist[$i]<b>)."</b></option>\n";
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum