summaryrefslogtreecommitdiffstats
path: root/frontends/php/include
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2001-07-08 15:44:10 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2001-07-08 15:44:10 +0000
commit06b0209984cd7d65fdd4ed5ffeb965f7e894f6c7 (patch)
tree39449be83e3fb3b99f81897e2478a1857427dd96 /frontends/php/include
parentade87bab8d26dd4a23a1e96e9e13ae3158999696 (diff)
downloadzabbix-06b0209984cd7d65fdd4ed5ffeb965f7e894f6c7.tar.gz
zabbix-06b0209984cd7d65fdd4ed5ffeb965f7e894f6c7.tar.xz
zabbix-06b0209984cd7d65fdd4ed5ffeb965f7e894f6c7.zip
Color attribute added to each parameter of graph.
git-svn-id: svn://svn.zabbix.com/trunk@132 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include')
-rw-r--r--frontends/php/include/config.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/php/include/config.inc b/frontends/php/include/config.inc
index 9066fbf2..b098bc32 100644
--- a/frontends/php/include/config.inc
+++ b/frontends/php/include/config.inc
@@ -197,7 +197,7 @@
{
Header("WWW-authenticate: basic realm=\"Zabbix\"");
Header("HTTP/1.0 401 Unauthorized");
- echo "Try to contact System Administrator to get additional rights :-)\n";
+ echo "Try to contact Zabbix Administrator to get additional rights :-)\n";
exit;
}
@@ -980,9 +980,9 @@
$result=DBexecute($sql);
}
- function add_item_to_graph($graphid,$itemid)
+ function add_item_to_graph($graphid,$itemid,$color)
{
- $sql="insert into graphs_items (graphid,itemid) values ($graphid,$itemid)";
+ $sql="insert into graphs_items (graphid,itemid,color) values ($graphid,$itemid,'$color')";
$result=DBexecute($sql);
}