diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-06-03 18:10:20 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-06-03 18:10:20 +0000 |
| commit | 09c21bc3dbdf65ac9a4b8a159e33df42fa86d254 (patch) | |
| tree | b98dd77f6a596d2954be2063b7ad6bb5c4348da9 /frontends/php/items.php | |
| parent | 2063cfc51d64b11ab9f51ad56f81459a5aa3b5bc (diff) | |
| download | zabbix-09c21bc3dbdf65ac9a4b8a159e33df42fa86d254.tar.gz zabbix-09c21bc3dbdf65ac9a4b8a159e33df42fa86d254.tar.xz zabbix-09c21bc3dbdf65ac9a4b8a159e33df42fa86d254.zip | |
- dynamic form items.php (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@805 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/items.php')
| -rw-r--r-- | frontends/php/items.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/items.php b/frontends/php/items.php index 55874b24..738019c6 100644 --- a/frontends/php/items.php +++ b/frontends/php/items.php @@ -156,7 +156,7 @@ show_table_header_end(); $lasthost=""; - if(isset($HTTP_GET_VARS["hostid"])&&!isset($HTTP_GET_VARS["itemid"])) + if(isset($HTTP_GET_VARS["hostid"])&&!isset($HTTP_GET_VARS["type"])) { $result=DBselect("select h.host,i.key_,i.itemid,i.description,h.port,i.delay,i.history,i.lastvalue,i.lastclock,i.status,i.lastdelete,i.nextcheck,h.hostid,i.type from hosts h,items i where h.hostid=i.hostid and h.hostid=".$HTTP_GET_VARS["hostid"]." order by h.host,i.key_,i.description"); $col=0; @@ -302,7 +302,7 @@ if(DBget_field($result,0,0)>0) { echo "<a name=\"form\"></a>"; - @insert_item_form($HTTP_GET_VARS["itemid"]); + insert_item_form(); } ?> |
