mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
Moved filter labels to BO
This commit is contained in:
parent
272817b1c7
commit
7bc380fab9
@ -95,6 +95,31 @@ class infolog_bo
|
|||||||
*/
|
*/
|
||||||
var $max_line_chars = 40;
|
var $max_line_chars = 40;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Available filters
|
||||||
|
*
|
||||||
|
* @var array filter => label pairs
|
||||||
|
*/
|
||||||
|
var $filters = array(
|
||||||
|
'none' => 'no Filter',
|
||||||
|
'done' => 'done',
|
||||||
|
'responsible' => 'responsible',
|
||||||
|
'responsible-open-today' => 'responsible open',
|
||||||
|
'responsible-open-overdue' => 'responsible overdue',
|
||||||
|
'responsible-upcoming' => 'responsible upcoming',
|
||||||
|
'delegated' => 'delegated',
|
||||||
|
'delegated-open-today' => 'delegated open',
|
||||||
|
'delegated-open-overdue' => 'delegated overdue',
|
||||||
|
'delegated-upcoming' => 'delegated upcomming',
|
||||||
|
'own' => 'own',
|
||||||
|
'own-open-today' => 'own open',
|
||||||
|
'own-open-overdue' => 'own overdue',
|
||||||
|
'own-upcoming' => 'own upcoming',
|
||||||
|
'open-today' => 'open',
|
||||||
|
'open-overdue' => 'overdue',
|
||||||
|
'upcoming' => 'upcoming',
|
||||||
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor Infolog BO
|
* Constructor Infolog BO
|
||||||
*
|
*
|
||||||
|
@ -75,25 +75,7 @@ class infolog_ui
|
|||||||
'ongoing' => 'ongoing.gif', 'ongoing_alt' => 'ongoing',
|
'ongoing' => 'ongoing.gif', 'ongoing_alt' => 'ongoing',
|
||||||
'offer' => 'offer.gif', 'offer_alt' => 'offer' )
|
'offer' => 'offer.gif', 'offer_alt' => 'offer' )
|
||||||
);
|
);
|
||||||
var $filters = array(
|
var $filters;
|
||||||
'none' => 'no Filter',
|
|
||||||
'done' => 'done',
|
|
||||||
'responsible' => 'responsible',
|
|
||||||
'responsible-open-today' => 'responsible open',
|
|
||||||
'responsible-open-overdue' => 'responsible overdue',
|
|
||||||
'responsible-upcoming' => 'responsible upcoming',
|
|
||||||
'delegated' => 'delegated',
|
|
||||||
'delegated-open-today' => 'delegated open',
|
|
||||||
'delegated-open-overdue' => 'delegated overdue',
|
|
||||||
'delegated-upcoming' => 'delegated upcomming',
|
|
||||||
'own' => 'own',
|
|
||||||
'own-open-today' => 'own open',
|
|
||||||
'own-open-overdue' => 'own overdue',
|
|
||||||
'own-upcoming' => 'own upcoming',
|
|
||||||
'open-today' => 'open',
|
|
||||||
'open-overdue' => 'overdue',
|
|
||||||
'upcoming' => 'upcoming',
|
|
||||||
);
|
|
||||||
var $messages = array(
|
var $messages = array(
|
||||||
'edit' => 'InfoLog - Edit',
|
'edit' => 'InfoLog - Edit',
|
||||||
'add' => 'InfoLog - New',
|
'add' => 'InfoLog - New',
|
||||||
@ -124,6 +106,7 @@ class infolog_ui
|
|||||||
$this->duration_format = str_replace(',','',$pm_config['duration_units']).','.$pm_config['hours_per_workday'];
|
$this->duration_format = str_replace(',','',$pm_config['duration_units']).','.$pm_config['hours_per_workday'];
|
||||||
unset($pm_config);
|
unset($pm_config);
|
||||||
}
|
}
|
||||||
|
$this->filters =& $this->bo->filters;
|
||||||
/* these are just for testing of the notifications
|
/* these are just for testing of the notifications
|
||||||
for($i = -1; $i <= 3; ++$i)
|
for($i = -1; $i <= 3; ++$i)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user