diff --git a/zones.php b/zones.php index 3b7850c..592419e 100644 --- a/zones.php +++ b/zones.php @@ -194,6 +194,9 @@ if ($action == "list" or $action== "listslaves") { } } usort($return, "zonesort"); + if (isset($_GET['jtStartIndex']) and isset($_GET['jtPageSize'])) { + jtable_respond(array_slice($return, $_GET['jtStartIndex'], $_GET['jtPageSize'])); + } jtable_respond($return); } elseif ($action == "create") { if (_valid_label($_POST['name']) === FALSE) {