function esclfhtml($s)
{
- return str_replace("\n", "<br>\n", htmlentities($s));
+ return str_replace("\n", "<br>", htmlspecialchars($s));
}
-
function langtolng($lang)
{
GLOBAL $G_lang;
$user->rec->supp_comp_set($this->supp_comp);
}
if ($is_save)
- $user->store_set();
+ $user->prefs_store();
}
}