summaryrefslogtreecommitdiffstats
path: root/frontends/php/graphs.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-04-04 11:58:53 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-04-04 11:58:53 +0000
commit8850b23b07e03ea95cd335183f54ed305a5e00ba (patch)
tree03132ca7f924cb09c1f7437c889512bda4a885f9 /frontends/php/graphs.php
parenta96322ba711caad8f6e3681ebf0e44f02853b23f (diff)
- [DEV-124] screen actions moved to Audit, added filter for Audit (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5590 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/graphs.php')
-rw-r--r--frontends/php/graphs.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/php/graphs.php b/frontends/php/graphs.php
index d49ec3e9..088e6d80 100644
--- a/frontends/php/graphs.php
+++ b/frontends/php/graphs.php
@@ -273,7 +273,7 @@ include_once "include/page_header.php";
url_param('name').url_param('legend').url_param('graph3d').url_param('width').url_param('height').url_param('graphtype')));
$table->Show();
}
- else {
+ else{
$table->AddRow(new CImg('chart3.php?period=3600'.url_param('items').
url_param('name').url_param('width').url_param('height').url_param('yaxistype').
url_param('yaxismin').url_param('yaxismax').url_param('show_work_period').
@@ -322,6 +322,7 @@ include_once "include/page_header.php";
' WHERE h.hostid IN ('.$available_hosts.') '.
' ORDER BY h.host';
}
+
$result=DBselect($sql);
while($row=DBfetch($result)){
$cmbHosts->AddItem($row["hostid"],$row["host"]);
@@ -345,8 +346,7 @@ include_once "include/page_header.php";
make_sorting_link(S_HEIGHT,'g.height'),
make_sorting_link(S_GRAPH_TYPE,'g.graphtype')));
- if($_REQUEST["hostid"] > 0)
- {
+ if($_REQUEST["hostid"] > 0){
$result = DBselect('SELECT DISTINCT g.* '.
' FROM graphs g, graphs_items gi,items i '.
' WHERE g.graphid IN ('.$available_graphs.') '.