diff --git a/web/zm_html.php b/web/zm_html.php index d3a093811..9992d3c74 100644 --- a/web/zm_html.php +++ b/web/zm_html.php @@ -57,7 +57,7 @@ switch( $view ) packageControl( 'start' ); } - header("Refresh: ".(($start||$stop)?1:REFRESH_MAIN)."; URL='$PHP_SELF'" ); + header("Refresh: ".(($start||$stop)?1:REFRESH_MAIN)."; URL=$PHP_SELF" ); header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1 @@ -124,6 +124,10 @@ function confirmStatus( new_status ) { return( confirm( 'Are you sure you wish to '+new_status+' all processes?' ) ); } +function confirmDelete() +{ + return( confirm( 'Warning, deleting a monitor also deletes all events and database entries associated with it.\nAre you sure you wish to delete?' ) ); +}
@@ -167,7 +171,7 @@ function confirmStatus( new_status )