Author: leithoff
New Revision: 27433
URL: http://www.egroupware.org/viewvc/egroupware?rev=27433&view=rev
Log:
announce vacation message active status for by_date too
Modified:
trunk/felamimail/inc/class.uifelamimail.inc.php
Modified: trunk/felamimail/inc/class.uifelamimail.inc.php
URL: http://www.egroupware.org/viewvc/egroupware/trunk/felamimail/inc/class.uifelamimail.inc.php?rev=27433&r1=27432&r2=27433&view=diff
— trunk/felamimail/inc/class.uifelamimail.inc.php (original)
+++ trunk/felamimail/inc/class.uifelamimail.inc.php Tue Jul 14 09:49:18 2009
@@ -525,11 +525,16 @@
$this->bosieve =& CreateObject(‘felamimail.bosieve’,$imapServer);
$this->bosieve->retrieveRules($this->bosieve->scriptName);
$vacation = $this->bosieve->getVacation($this->bosieve->scriptName);
-
} -
if(is_array($vacation) && $vacation['status'] == 'on') -
{
-
//_debug_array($vacation); -
// [status] => can be: on, off, by_date -
// [end_date] => 1247522400 (timestamp, use showdate for visualisation) -
// [start_date] => 1247176800 (timestamp, use showdate for visualisation) -
} -
if(is_array($vacation) && ($vacation['status'] == 'on' || $vacation['status']=='by_date')) -
{ -
$dtfrmt = $GLOBALS['egw_info']['user']['preferences']['common']['dateformat']; $this->t->set_var('vacation_warning',
-
html::image('phpgwapi','dialog_warning',false,'style="vertical-align: middle; width: 16px;"').lang('Vacation notice is active'));
-
html::image('phpgwapi','dialog_warning',false,'style="vertical-align: middle; width: 16px;"').lang('Vacation notice is active').($vacation['status']=='by_date'? ' '.common::show_date($vacation['start_date'],$dtfrmt,true).'->'.common::show_date($vacation['end_date'],$dtfrmt,true):'')); } else {
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World™ will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs