#35 NS-Admin Messages selected language (with solution)

closed
nobody
None
5
2002-05-15
2002-04-09
Jorge
No

When you try to modify a message the language
select-box do not mark as selected the language in
witch the message was written.

This is the actual code:

if (is_dir("language/$f") && (!empty($lang[$f]))) {
$langlist[$f] = $lang[$f];
$sel_lang[$f]='';
}

as you can see the value of $sel_lang is ALWAYS ''.
Commenting or deleting this line solve the problem :

if (is_dir("language/$f") && (!empty($lang[$f]))) {
$langlist[$f] = $lang[$f];
// Modified by JorgeGorka so the
selected option is the correct
//$sel_lang[$f]='';
}

Discussion

  • Jorge

    Jorge - 2002-04-09
    • summary: NS-Admin Messages --> NS-Admin Messages selected language (with solution)
     
  • Jorge

    Jorge - 2002-05-15
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks