From 31c91c6ccde9328448d4e67db22f0a9200e4b03d Mon Sep 17 00:00:00 2001 From: hugetoad Date: Tue, 14 Jan 2003 20:29:48 +0000 Subject: - fixed Plain Text values (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@645 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/history.php | 4 ++++ frontends/php/include/config.inc.php | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'frontends/php') diff --git a/frontends/php/history.php b/frontends/php/history.php index 3b54c9c6..ffa6cbe1 100644 --- a/frontends/php/history.php +++ b/frontends/php/history.php @@ -43,6 +43,10 @@ { show_header("$host:$description",0,0); } + if($HTTP_GET_VARS["action"]=="plaintext") + { + show_header("$host:$description",0,1); + } if(!check_right("Item","R",$HTTP_GET_VARS["itemid"])) { diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php index bc8786bb..17d18d11 100644 --- a/frontends/php/include/config.inc.php +++ b/frontends/php/include/config.inc.php @@ -1166,9 +1166,8 @@ where h.hostid=i.hostid and i.itemid=f.itemid and f.triggerid=$triggerid"; { $sql="select clock,value from history where itemid=$itemid and clock>$from and clock<$till order by clock"; $result=DBselect($sql); - echo $sql; - echo "
";
+		echo "
\n";
 		for($i=0;$i