summaryrefslogtreecommitdiffstats
path: root/frontends/php/history.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-04-19 14:47:21 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-04-19 14:47:21 +0000
commit979fcceb99e555800fdfbc2cecf4ba585e780b73 (patch)
tree1c00b2ade37f4fa1ef285c070ddfe3e0d4a70247 /frontends/php/history.php
parentd4f46d541400d6a6a55924d27c9c43430aade509 (diff)
downloadzabbix-979fcceb99e555800fdfbc2cecf4ba585e780b73.tar.gz
zabbix-979fcceb99e555800fdfbc2cecf4ba585e780b73.tar.xz
zabbix-979fcceb99e555800fdfbc2cecf4ba585e780b73.zip
- code optimization (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@2744 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/history.php')
-rw-r--r--frontends/php/history.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/frontends/php/history.php b/frontends/php/history.php
index 150a8a6c..f118b7e6 100644
--- a/frontends/php/history.php
+++ b/frontends/php/history.php
@@ -74,7 +74,7 @@
if(!isset($_REQUEST["plaintext"]))
insert_confirm_javascript();
else
- print($main_header.BR);
+ echo $main_header.BR;
if(is_array($_REQUEST["itemid"]))
{
@@ -282,7 +282,7 @@
}
else
{
- print $l_header."\n";
+ echo $l_header."\n";
}
$cond_clock = "";
@@ -340,7 +340,7 @@
}
else
{
- print("<PRE>\n");
+ echo "<PRE>\n";
}
while($row=DBfetch($result))
@@ -427,14 +427,14 @@
}
else
{
- print(date("Y-m-d H:i:s",$row["clock"]));
- print("\t".$row["clock"]."\t".$row["value"]."\n");
+ echo date("Y-m-d H:i:s",$row["clock"]);
+ echo "\t".$row["clock"]."\t".$row["value"]."\n";
}
}
if(!isset($_REQUEST["plaintext"]))
$table->ShowTagEnd(); // to solve memory leak we call 'Show' method by steps
else
- print("</PRE>");
+ echo "</PRE>";
}
else
{
@@ -462,7 +462,7 @@
}
else
{
- print("<PRE>\n");
+ echo "<PRE>\n";
}
$i=0;
@@ -498,7 +498,7 @@
if(!isset($_REQUEST["plaintext"]))
$table->ShowTagEnd(); // to solve memory leak we call 'Show' method by steps
else
- print("</PRE>");
+ echo "</PRE>";
}
}