diff options
Diffstat (limited to 'frontends/php/sysmaps.html')
| -rw-r--r-- | frontends/php/sysmaps.html | 9 |
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); } } |
