|
|
@ -436,12 +436,9 @@ class enigma_ui
|
|
|
|
$table->add_header('valid', $this->enigma->gettext('uservalid'));
|
|
|
|
$table->add_header('valid', $this->enigma->gettext('uservalid'));
|
|
|
|
|
|
|
|
|
|
|
|
foreach ($this->data->users as $user) {
|
|
|
|
foreach ($this->data->users as $user) {
|
|
|
|
// Convert punny-code domain into UTF8
|
|
|
|
// Display domains in UTF8
|
|
|
|
if (($pos = strpos($user->email, '@xn--')) > 0) {
|
|
|
|
if ($email = rcube_utils::idn_to_utf8($user->email)) {
|
|
|
|
$domain = substr($user->email, $pos + 1);
|
|
|
|
$user->email = $email;
|
|
|
|
if ($domain = rcube_utils::idn_to_utf8($domain)) {
|
|
|
|
|
|
|
|
$user->email = substr($user->email, 0, $pos + 1) . $domain;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$username = $user->name;
|
|
|
|
$username = $user->name;
|
|
|
|