diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2002-06-17 06:27:32 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2002-06-17 06:27:32 +0000 |
| commit | 043dbb70cbc557bbc5f70a74453e506546148963 (patch) | |
| tree | 9dcdd9364879c4ac3384d4e53b2054653964a69b /frontends/php/items.php | |
| parent | 565fba506fd51acbedc8d06c07b93abae22444a7 (diff) | |
| download | zabbix-043dbb70cbc557bbc5f70a74453e506546148963.tar.gz zabbix-043dbb70cbc557bbc5f70a74453e506546148963.tar.xz zabbix-043dbb70cbc557bbc5f70a74453e506546148963.zip | |
- php/include/*inc renamed to php/include/*inc.php (Alexei)
- check of source IP address for trapped values (Alexei)
- added include/security.h and include/security.c (Alexei)
- added items.trapper_hosts (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@411 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/items.php')
| -rw-r--r-- | frontends/php/items.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/frontends/php/items.php b/frontends/php/items.php index f380e2cd..c2116ac7 100644 --- a/frontends/php/items.php +++ b/frontends/php/items.php @@ -2,7 +2,7 @@ $page["title"] = "Configuration of items"; $page["file"] = "items.php"; - include "include/config.inc"; + include "include/config.inc.php"; show_header($page["title"],0,0); ?> @@ -21,7 +21,7 @@ { if($register=="update") { - $result=update_item($itemid,$description,$key,$hostid,$delay,$history,$status,$type,$snmp_community,$snmp_oid,$value_type); + $result=update_item($itemid,$description,$key,$hostid,$delay,$history,$status,$type,$snmp_community,$snmp_oid,$value_type,$trapper_hosts); show_messages($result,"Item updated","Cannot update item"); unset($itemid); } @@ -33,7 +33,7 @@ } if($register=="add") { - $result=add_item($description,$key,$hostid,$delay,$history,$status,$type,$snmp_community,$snmp_oid,$value_type); + $result=add_item($description,$key,$hostid,$delay,$history,$status,$type,$snmp_community,$snmp_oid,$value_type,$trapper_hosts); show_messages($result,"Item added","Cannot add item"); unset($itemid); } @@ -184,7 +184,7 @@ if(DBget_field($result,0,0)>0) { echo "<a name=\"form\"></a>"; - @insert_item_form($itemid); + insert_item_form($itemid); } ?> |
