X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=reports.php;h=1b91b2312e26700e95f13c7e291e880cdfc53ae6;hb=bb92f78d67fee6fd5b005e8196ccbf618c76518b;hp=9062abf8e9ce095bf828b49dffaaddbd48386208;hpb=41cf24c4700d2637472ef3c7cc920caf86f51cf4;p=timetracker.git diff --git a/reports.php b/reports.php index 9062abf8..1b91b231 100644 --- a/reports.php +++ b/reports.php @@ -161,12 +161,12 @@ if ($user->canManageTeam() || $user->isClient()) { $form->addInput(array('type'=>'combobox', 'name'=>'period', 'style'=>'width: 250px;', - 'data'=>array(INTERVAL_THIS_MONTH=>$i18n->getKey('dropdown.this_month'), - INTERVAL_LAST_MONTH=>$i18n->getKey('dropdown.last_month'), - INTERVAL_THIS_WEEK=>$i18n->getKey('dropdown.this_week'), - INTERVAL_LAST_WEEK=>$i18n->getKey('dropdown.last_week'), - INTERVAL_THIS_DAY=>$i18n->getKey('dropdown.this_day'), - INTERVAL_LAST_DAY=>$i18n->getKey('dropdown.last_day')), + 'data'=>array(INTERVAL_THIS_MONTH=>$i18n->getKey('dropdown.current_month'), + INTERVAL_LAST_MONTH=>$i18n->getKey('dropdown.previous_month'), + INTERVAL_THIS_WEEK=>$i18n->getKey('dropdown.current_week'), + INTERVAL_LAST_WEEK=>$i18n->getKey('dropdown.previous_week'), + INTERVAL_THIS_DAY=>$i18n->getKey('dropdown.current_day'), + INTERVAL_LAST_DAY=>$i18n->getKey('dropdown.previous_day')), 'empty'=>array(''=>$i18n->getKey('dropdown.select')))); // Add controls for start and end dates. $form->addInput(array('type'=>'datefield','maxlength'=>'20','name'=>'start_date'));