summaryrefslogtreecommitdiffstats
path: root/frontends/php/graph.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/graph.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/graph.html')
-rw-r--r--frontends/php/graph.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/frontends/php/graph.html b/frontends/php/graph.html
index dca018cb..ddf3f1c1 100644
--- a/frontends/php/graph.html
+++ b/frontends/php/graph.html
@@ -15,11 +15,13 @@
{
if($register=="add")
{
- add_item_to_graph($graphid,$itemid,$color);
+ $result=add_item_to_graph($graphid,$itemid,$color);
+ show_messages($result,"Item added","Cannot add item");
}
if($register=="delete")
{
- delete_graphs_item($gitemid);
+ $result=delete_graphs_item($gitemid);
+ show_messages($result,"Item deleted","Cannot delete item");
unset($gitemid);
}
}