summaryrefslogtreecommitdiffstats
path: root/frontends/php/items.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-04-05 09:16:29 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-04-05 09:16:29 +0000
commit0c9653d6ab8fca3be69489943f1fcc4e9d797102 (patch)
tree4e3d0f7e328577428161b62d3872bbdeefacb70c /frontends/php/items.php
parent07abfc5904f98fd5139b5ac6d92aaa34a7ccf9b7 (diff)
downloadzabbix-0c9653d6ab8fca3be69489943f1fcc4e9d797102.tar.gz
zabbix-0c9653d6ab8fca3be69489943f1fcc4e9d797102.tar.xz
zabbix-0c9653d6ab8fca3be69489943f1fcc4e9d797102.zip
- added latest values filtring/marking of log history (Eugene)
- developed multiple log history viewing (Eugene) git-svn-id: svn://svn.zabbix.com/trunk@2719 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/items.php')
-rw-r--r--frontends/php/items.php19
1 files changed, 14 insertions, 5 deletions
diff --git a/frontends/php/items.php b/frontends/php/items.php
index e7ae5bc6..ece2552a 100644
--- a/frontends/php/items.php
+++ b/frontends/php/items.php
@@ -287,6 +287,15 @@
<?php
+ $form = new CForm();
+
+ $form->AddVar("hostid",$_REQUEST["hostid"]);
+
+ $form->AddItem(new CButton("form",S_CREATE_ITEM));
+
+ show_header2(S_CONFIGURATION_OF_ITEMS_BIG, $form);
+ echo BR;
+
$db_hosts=DBselect("select hostid from hosts");
if(isset($_REQUEST["form"])&&isset($_REQUEST["hostid"])&&DBnum_rows($db_hosts)>0)
{
@@ -353,10 +362,8 @@
$form->AddItem(SPACE.S_HOST.SPACE);
$form->AddItem($cmbHosts);
- $form->AddItem(SPACE."|".SPACE);
- $form->AddItem(new CButton("form",S_CREATE_ITEM));
- show_header2(S_CONFIGURATION_OF_ITEMS_BIG, $form);
+ show_header2(S_ITEMS_BIG, $form);
// TABLE
$form = new CForm();
@@ -382,7 +389,9 @@
if($db_item["templateid"]==0)
{
- $description = new CLink($db_item["description"],"items.php?form=update&itemid=".
+ $description = new CLink(
+ item_description($db_item["description"],$db_item["key_"]),
+ "items.php?form=update&itemid=".
$db_item["itemid"].url_param("hostid").url_param("groupid"),
'action');
} else {
@@ -392,7 +401,7 @@
"hostid=".$template_host["hostid"],
'action'),
":",
- $db_item["description"]
+ item_description($db_item["description"],$db_item["key_"]),
);
}