diff options
author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-02-11 14:48:34 +0000 |
---|---|---|
committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-02-11 14:48:34 +0000 |
commit | 8e0de84965c91f571e94fa4e1bd7848310a787b3 (patch) | |
tree | 36c838de1bbed7a330901d286873fddcde8c9390 /frontends/php/charts.php | |
parent | ec99dcce124d70002c5eee4af75a9cf57479b2f1 (diff) | |
download | zabbix-8e0de84965c91f571e94fa4e1bd7848310a787b3.tar.gz zabbix-8e0de84965c91f571e94fa4e1bd7848310a787b3.tar.xz zabbix-8e0de84965c91f571e94fa4e1bd7848310a787b3.zip |
- [DEV-112] added themes option in frontend (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5341 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/charts.php')
-rw-r--r-- | frontends/php/charts.php | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/frontends/php/charts.php b/frontends/php/charts.php index 1db027e1..9d3be1e8 100644 --- a/frontends/php/charts.php +++ b/frontends/php/charts.php @@ -256,7 +256,6 @@ include_once 'include/page_header.php'; ' AND h.hostid=i.hostid '. ' AND hg.groupid='.$_REQUEST['groupid']. ' AND hg.hostid=h.hostid '. -// ' AND h.hostid NOT IN ('.$denyed_hosts.') '. ' AND h.hostid IN ('.$availiable_hosts.') '. ' AND i.itemid=gi.itemid'. ' ORDER BY h.host'; @@ -267,7 +266,6 @@ include_once 'include/page_header.php'; ' WHERE h.status='.HOST_STATUS_MONITORED. ' AND i.status='.ITEM_STATUS_ACTIVE. ' AND h.hostid=i.hostid'. -// ' AND h.hostid NOT IN ('.$denyed_hosts.') '. ' AND h.hostid IN ('.$availiable_hosts.') '. ' AND i.itemid=gi.itemid'. ' ORDER BY h.host'; @@ -290,7 +288,6 @@ include_once 'include/page_header.php'; ' AND g.graphid=gi.graphid '. ' AND i.hostid='.$_REQUEST['hostid']. ' AND '.DBin_node('g.graphid'). -// ' AND i.hostid NOT IN ('.$denyed_hosts.') '. ' AND i.hostid IN ('.$availiable_hosts.') '. ' ORDER BY g.name'; } @@ -304,7 +301,6 @@ include_once 'include/page_header.php'; ' AND i.hostid=h.hostid '. ' AND h.status='.HOST_STATUS_MONITORED. ' AND '.DBin_node('g.graphid'). -// ' AND h.hostid NOT IN ('.$denyed_hosts.') '. ' AND h.hostid IN ('.$availiable_hosts.') '. ' ORDER BY g.name'; } @@ -316,7 +312,6 @@ include_once 'include/page_header.php'; ' AND i.hostid=h.hostid '. ' AND h.status='.HOST_STATUS_MONITORED. ' AND '.DBin_node('g.graphid'). -// ' AND h.hostid NOT IN ('.$denyed_hosts.') '. ' AND h.hostid IN ('.$availiable_hosts.') '. ' ORDER BY g.name'; } @@ -395,7 +390,7 @@ include_once 'include/page_header.php'; //ZBX_G_WIDTH-= '.($shiftXleft+$shiftXright+27).'; document.write(\'<img id="'.$dom_graph_id.'" src="chart2.php?graphid='.$_REQUEST['graphid'].url_param('stime'). - '&period='.$effectiveperiod.'&width=\'+ZBX_G_WIDTH+\'" /><br /><br />\'); + '&period='.$effectiveperiod.'&width=\'+ZBX_G_WIDTH+\'" /><br />\'); --> </script>'."\n"; } @@ -403,7 +398,8 @@ include_once 'include/page_header.php'; $table->AddRow(new CScript($row)); } $table->Show(); - + echo SBR; + if($_REQUEST['graphid'] > 0) { // NAV BAR |