summaryrefslogtreecommitdiffstats
path: root/frontends/php/items.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-03-31 12:52:37 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-03-31 12:52:37 +0000
commit69ac0b14036019a94cc3ceb44d447773df4198d0 (patch)
tree02c9c6fac12eedfad916693b50c76a3db9514328 /frontends/php/items.php
parent1cae722c88b6402f0c59a8c8503441d7e338252b (diff)
downloadzabbix-69ac0b14036019a94cc3ceb44d447773df4198d0.tar.gz
zabbix-69ac0b14036019a94cc3ceb44d447773df4198d0.tar.xz
zabbix-69ac0b14036019a94cc3ceb44d447773df4198d0.zip
- added column value_type to table items_template (Alexei)
- support for system[uname] (Alexei) - support for system[hostname] (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@342 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/items.php')
-rw-r--r--frontends/php/items.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/items.php b/frontends/php/items.php
index 944064eb..07e5232f 100644
--- a/frontends/php/items.php
+++ b/frontends/php/items.php
@@ -11,7 +11,7 @@
{
if($register=="update")
{
- $result=update_item($itemid,$description,$key,$hostid,$delay,$history,$status,$type,$snmp_community,$snmp_oid);
+ $result=update_item($itemid,$description,$key,$hostid,$delay,$history,$status,$type,$snmp_community,$snmp_oid,$value_type);
show_messages($result,"Item updated","Cannot update item");
unset($itemid);
}
@@ -23,7 +23,7 @@
}
if($register=="add")
{
- $result=add_item($description,$key,$hostid,$delay,$history,$status,$type,$snmp_community,$snmp_oid);
+ $result=add_item($description,$key,$hostid,$delay,$history,$status,$type,$snmp_community,$snmp_oid,$value_type);
show_messages($result,"Item added","Cannot add item");
unset($itemid);
}