From 7693f344d4a626f0385c12edd265cd5c3f0b60a7 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Tue, 5 Jun 2018 19:16:08 +0000 Subject: [PATCH] unbound: style #2440 --- src/www/services_unbound_acls.php | 43 ++++++++++---------------- src/www/services_unbound_overrides.php | 20 ++++++------ 2 files changed, 27 insertions(+), 36 deletions(-) diff --git a/src/www/services_unbound_acls.php b/src/www/services_unbound_acls.php index cfe2372b5..919fa1b52 100644 --- a/src/www/services_unbound_acls.php +++ b/src/www/services_unbound_acls.php @@ -116,11 +116,17 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { } $service_hook = 'unbound'; + legacy_html_escape_form_data($pconfig); + include("head.inc"); -?> +$main_buttons = array(); +if (!isset($_GET['act'])) { + $main_buttons[] = array('label' => gettext('Add'), 'href' => 'services_unbound_acls.php?act=new'); +} +?>