mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 17:46:18 +00:00
Changed: Remove hardcoded FAQ URLs
--HG-- branch : compatibility-develop
This commit is contained in:
parent
1e892148c7
commit
9cfebf3eb3
1 changed files with 7 additions and 14 deletions
|
@ -52,21 +52,14 @@ void browseFAQ(NLMISC::CConfigFile &cf)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (url.empty())
|
||||
{
|
||||
// not found ? rely on hardcoded stuff
|
||||
if (nlstricmp(languageCode, "fr") == 0)
|
||||
{
|
||||
url = "http://forums.ryzom.com/forum/showthread.php?t=29130";
|
||||
}
|
||||
else if (nlstricmp(languageCode, "de") == 0)
|
||||
{
|
||||
url = "http://forums.ryzom.com/forum/showthread.php?t=29131";
|
||||
}
|
||||
else
|
||||
{
|
||||
url = "http://forums.ryzom.com/forum/showthread.php?t=29129";
|
||||
}
|
||||
// not found
|
||||
nlwarning("No FAQ url");
|
||||
}
|
||||
else
|
||||
{
|
||||
openURL(url.c_str());
|
||||
}
|
||||
openURL(url.c_str());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue