summaryrefslogtreecommitdiffstats
path: root/frontends/php/items.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-04-10 09:34:21 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-04-10 09:34:21 +0000
commitfcc91decd3db84a94505ac2147be987867dcfb41 (patch)
treeec0ba6b36bf92051aca7b5fbcc4e2d4e9a792c9b /frontends/php/items.php
parentd53a7572a565383d4680361388063acb0a864aaa (diff)
downloadzabbix-fcc91decd3db84a94505ac2147be987867dcfb41.tar.gz
zabbix-fcc91decd3db84a94505ac2147be987867dcfb41.tar.xz
zabbix-fcc91decd3db84a94505ac2147be987867dcfb41.zip
- merged rev. 5602:5604 of branches/1.4 (Artem) [fixed empty cells for IE]
- fixes permissions SQL for different DBs (Artem) git-svn-id: svn://svn.zabbix.com/trunk@5605 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/items.php')
-rw-r--r--frontends/php/items.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/frontends/php/items.php b/frontends/php/items.php
index bb609d17..c06212da 100644
--- a/frontends/php/items.php
+++ b/frontends/php/items.php
@@ -793,9 +793,9 @@ include_once "include/page_header.php";
"&group_task=".($db_item["status"] ? "Activate+selected" : "Disable+selected"),
item_status2style($db_item["status"])));
- if($db_item["error"] == "")
+ if($db_item["error"] == '')
{
- $error=new CCol(SPACE,"off");
+ $error=new CCol('-',"off");
}
else
{
@@ -803,7 +803,7 @@ include_once "include/page_header.php";
}
$applications = $show_applications ? implode(', ', get_applications_by_itemid($db_item["itemid"], 'name')) : null;
-
+
$chkBox = new CCheckBox("group_itemid[]",null,null,$db_item["itemid"]);
//if($db_item["templateid"] > 0) $chkBox->SetEnabled(false);
$table->AddRow(array(
@@ -815,7 +815,7 @@ include_once "include/page_header.php";
$db_item["trends"],
item_type2str($db_item['type']),
$status,
- $applications,
+ ('' == $applications)?'-':$applications,
$error
));
}