From 600d1fa907d54c247ab2fdb38573c4503aeffc8a Mon Sep 17 00:00:00 2001 From: osmiy Date: Wed, 9 May 2007 13:38:49 +0000 Subject: - increased maximal size of images (Eugene) - improoved validation - more git-svn-id: svn://svn.zabbix.com/trunk@4109 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/report4.php | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'frontends/php/report4.php') diff --git a/frontends/php/report4.php b/frontends/php/report4.php index cbd63524..dc04f714 100644 --- a/frontends/php/report4.php +++ b/frontends/php/report4.php @@ -38,13 +38,21 @@ include_once "include/page_header.php"; check_fields($fields); ?> AddItem(SPACE.S_MEDIA_TYPE.SPACE); @@ -69,7 +77,7 @@ include_once "include/page_header.php"; { $form->AddItem(SPACE.S_YEAR.SPACE); $cmbYear = new CComboBox("year", $year, "submit();"); - for($y = date("Y")-YEAR_LEFT_SHIFT; $y <= date("Y"); $y++) + for($y = $MIN_YEAR; $y <= date("Y"); $y++) $cmbYear->AddItem($y, $y); $form->AddItem($cmbYear); } @@ -105,7 +113,7 @@ include_once "include/page_header.php"; switch($period) { case "yearly": - $from = (date("Y") - YEAR_LEFT_SHIFT); + $from = $MIN_YEAR; $to = date("Y"); array_unshift($header, new CCol(S_YEAR,"center")); function get_time($y) { return mktime(0,0,0,1,1,$y); } -- cgit