summaryrefslogtreecommitdiffstats
path: root/frontends/php/history.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-12-14 15:14:24 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-12-14 15:14:24 +0000
commitbeb9fbcdd9d8d9b5b9c6e5d9c6c1af91caf3dfea (patch)
tree131965548929548eac6d51236a437f8d0d65ba4f /frontends/php/history.php
parent38591cdcd09a97021d0cf109fbd75978c8632f06 (diff)
downloadzabbix-beb9fbcdd9d8d9b5b9c6e5d9c6c1af91caf3dfea.tar.gz
zabbix-beb9fbcdd9d8d9b5b9c6e5d9c6c1af91caf3dfea.tar.xz
zabbix-beb9fbcdd9d8d9b5b9c6e5d9c6c1af91caf3dfea.zip
- [DEV-85] improvements to graph navigations (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5177 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/history.php')
-rw-r--r--frontends/php/history.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/frontends/php/history.php b/frontends/php/history.php
index d77d74fc..8c3aab0f 100644
--- a/frontends/php/history.php
+++ b/frontends/php/history.php
@@ -46,7 +46,7 @@ include_once "include/page_header.php";
"itemid"=> array(T_ZBX_INT, O_MAND, P_SYS, DB_ID, null),
"from"=> array(T_ZBX_INT, O_OPT, null, '{}>=0', null),
- "period"=> array(T_ZBX_INT, O_OPT, null, BETWEEN(ZBX_MIN_PERIOD,ZBX_MAX_PERIOD), null),
+ "period"=> array(T_ZBX_INT, O_OPT, null, null, null),
"dec"=> array(T_ZBX_INT, O_OPT, null, null, null),
"inc"=> array(T_ZBX_INT, O_OPT, null, null, null),
"left"=> array(T_ZBX_INT, O_OPT, null, null, null),
@@ -239,9 +239,9 @@ include_once "include/page_header.php";
$till = time(null) - $_REQUEST["from"] * 3600;
$hours=$effectiveperiod / 3600;
- $l_header = array('Showing history of '.$effectiveperiod.' seconds('.$hours.' h)',
+ $l_header = array(S_SHOWING_HISTORY_OF.SPACE.$effectiveperiod.SPACE.S_SECONDS_SMALL.'('.$hours.' h)',
BR(),
- '[from: '.date('Y.M.d H:i:s',$time).'] [till: '.date('Y.M.d H:i:s',$till).']'
+ '['.S_FROM_SMALL.': '.date('Y.M.d H:i:s',$time).'] ['.S_TILL_SMALL.': '.date('Y.M.d H:i:s',$till).']'
);
}
else
@@ -274,7 +274,7 @@ include_once "include/page_header.php";
$cmbFTask->AddItem(FILTER_TAST_INVERT_MARK,S_MARK_OTHERS);
$r_header->AddItem(array(
- "Select rows with value like",SPACE,
+ S_SELECT_ROWS_WITH_VALUE_LIKE,SPACE,
new CTextBox("filter",$filter,25),
$cmbFTask,SPACE));
@@ -300,7 +300,9 @@ include_once "include/page_header.php";
}
else
{
- echo $l_header."\n";
+ $txt = new CTag('p','yes',$l_header);
+ $txt->Show();
+ echo "\n";
}
$cond_clock = "";