From b01bcb49f9b0d80308cb7724bfe3b4aecbb1c114 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Mon, 13 Aug 2001 05:53:05 +0000 Subject: Added status line to PHP froms. git-svn-id: svn://svn.zabbix.com/trunk@166 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/sysmaps.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'frontends/php/sysmaps.html') diff --git a/frontends/php/sysmaps.html b/frontends/php/sysmaps.html index c701b527..a794b25b 100644 --- a/frontends/php/sysmaps.html +++ b/frontends/php/sysmaps.html @@ -10,15 +10,18 @@ { if($register=="add") { - add_sysmap($name,$width,$height); + $result=add_sysmap($name,$width,$height); + show_messages($result,"Network map added","Cannot add network map"); } if($register=="update") { - update_sysmap($sysmapid,$name,$width,$height); + $result=update_sysmap($sysmapid,$name,$width,$height); + show_messages($result,"Network map updated","Cannot update network map"); } if($register=="delete") { - delete_sysmap($sysmapid); + $result=delete_sysmap($sysmapid); + show_messages($result,"Network map deleted","Cannot delete network map"); unset($sysmapid); } } -- cgit