diff --git a/index.php b/index.php index 07cfe74..b9cc9be 100644 --- a/index.php +++ b/index.php @@ -181,8 +181,10 @@ if ($blocklogin === TRUE) { } ?>
- + + +
@@ -503,7 +505,7 @@ $(document).ready(function () { hoverAnimationDuration: 60, hoverAnimationEasing: undefined, items: [ - + { icon: 'jtable/lib/themes/metro/add.png', text: 'Import a new zone', @@ -511,6 +513,8 @@ $(document).ready(function () { $('#ImportZone').jtable('showCreateForm'); } }, + + { icon: 'jtable/lib/themes/metro/add.png', text: 'Clone a zone', @@ -887,7 +891,6 @@ $(document).ready(function () { } }); - $('#CloneZone').jtable({ title: 'Clone zone', actions: { diff --git a/zones.php b/zones.php index dd7f674..dc3bbe8 100644 --- a/zones.php +++ b/zones.php @@ -546,6 +546,8 @@ case "formzonelist": usort($zones, "zone_compare"); $ret = array(); foreach ($zones as $zone) { + if (!check_account($zone)) + continue; if ($zone['kind'] == 'Slave') continue; array_push($ret, array(