diff --git a/templates/zones.php b/templates/zones.php
index 6e6ca60..b31a875 100644
--- a/templates/zones.php
+++ b/templates/zones.php
@@ -69,7 +69,7 @@
pending_updates > 0) { ?>pending_updates))?>
- name))?>
+ name)))?>
|
serial)?> |
kind)?> |
@@ -107,7 +107,7 @@
pending_updates > 0) { ?>pending_updates))?>
- name))?>
+ name)))?>
|
name))?> |
name))?> |
@@ -154,7 +154,7 @@
pending_updates > 0) { ?>pending_updates))?>
- name))?>
+ name)))?>
|
name))?> |
name))?> |
diff --git a/views/zones.php b/views/zones.php
index d166c3b..7982846 100644
--- a/views/zones.php
+++ b/views/zones.php
@@ -17,8 +17,8 @@
$zones = $active_user->list_accessible_zones(array('pending_updates'));
usort($zones, function($a, $b) {
- $aname = implode(',', array_reverse(explode('.', $a->name)));
- $bname = implode(',', array_reverse(explode('.', $b->name)));
+ $aname = implode(',', array_reverse(explode('.', punycode_to_utf8($a->name))));
+ $bname = implode(',', array_reverse(explode('.', punycode_to_utf8($b->name))));
return strnatcasecmp($aname, $bname);
});