phpns-team team mailing list archive
-
phpns-team team
-
Mailing list archive
-
Message #00451
Re: [Question #79493]: Problems when logging in
Question #79493 on phpns changed:
https://answers.launchpad.net/phpns/+question/79493
Status: Open => Solved
lundern confirmed that the question is solved:
Solved it by digging deeper into answers on this site. I replaced the
code with:
function htmlspecialchars_decode($str) {
return strtr($str,
array_flip(get_html_translation_table(HTML_SPECIALCHARS)));
}
I then tried relogging and I got another message, I then went on to
themecontrol.php and replaced decode_data with htmlspecialschars_decode
in this code:
if (trim($global_message['v3']) != NULL) {
$important_notice = '<div class="global_message"><div class="global_message_link"><a href="preferences.php?do=globalmessage">[Change Message]</a></div><div class="global_message_text">'.decode_data($global_message['v3']).'</div></div>';
}
Line 96 through 98.
--
You received this question notification because you are a member of
Phpns-team, which is an answer contact for phpns.