From 9cd95cd52ae86eb1d89c7ebed429e9b7ec3f303b Mon Sep 17 00:00:00 2001 From: laf Date: Tue, 10 Dec 2013 03:19:42 +0000 Subject: [PATCH] Updated the device delete page so that confirmation is requested. --- html/pages/delhost.inc.php | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/html/pages/delhost.inc.php b/html/pages/delhost.inc.php index f7f9d750d..cb4cd5675 100644 --- a/html/pages/delhost.inc.php +++ b/html/pages/delhost.inc.php @@ -20,12 +20,13 @@ if (is_numeric($_REQUEST['id'])) else { $device = device_by_id_cache($_REQUEST['id']); - print_message("Are you sure you want to delete device " . $device['hostname'] . "?"); + print_error("Are you sure you want to delete device " . $device['hostname'] . "?"); ?>
+ -

- - - -

+ + + + + + + +