mirror of
https://github.com/Mibew/java.git
synced 2025-01-22 17:40:35 +03:00
fix encoding in operators list
This commit is contained in:
parent
d091447409
commit
9780210973
@ -152,6 +152,7 @@ function print_pending_threads($groupids, $since)
|
|||||||
|
|
||||||
function print_operators()
|
function print_operators()
|
||||||
{
|
{
|
||||||
|
global $webim_encoding;
|
||||||
echo "<operators>";
|
echo "<operators>";
|
||||||
$operators = operator_get_all();
|
$operators = operator_get_all();
|
||||||
|
|
||||||
@ -159,7 +160,7 @@ function print_operators()
|
|||||||
if (!operator_is_online($operator))
|
if (!operator_is_online($operator))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
$name = htmlspecialchars(htmlspecialchars($operator['vclocalename']));
|
$name = myiconv($webim_encoding, "utf-8", htmlspecialchars(htmlspecialchars($operator['vclocalename'])));
|
||||||
$away = operator_is_away($operator) ? " away=\"1\"" : "";
|
$away = operator_is_away($operator) ? " away=\"1\"" : "";
|
||||||
|
|
||||||
echo "<operator name=\"$name\"$away/>";
|
echo "<operator name=\"$name\"$away/>";
|
||||||
|
Loading…
Reference in New Issue
Block a user