summaryrefslogtreecommitdiffstats
path: root/frontends/php/sysmaps.html
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2001-08-13 05:53:05 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2001-08-13 05:53:05 +0000
commitb01bcb49f9b0d80308cb7724bfe3b4aecbb1c114 (patch)
tree75cc311c7f3364ce1a72cf458c388c5077b3585b /frontends/php/sysmaps.html
parent2d42de62ddd7faf462a1f5850fa80bedeb8d48d1 (diff)
downloadzabbix-b01bcb49f9b0d80308cb7724bfe3b4aecbb1c114.tar.gz
zabbix-b01bcb49f9b0d80308cb7724bfe3b4aecbb1c114.tar.xz
zabbix-b01bcb49f9b0d80308cb7724bfe3b4aecbb1c114.zip
Added status line to PHP froms.
git-svn-id: svn://svn.zabbix.com/trunk@166 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/sysmaps.html')
-rw-r--r--frontends/php/sysmaps.html9
1 files changed, 6 insertions, 3 deletions
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);
}
}