mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-24 06:48:40 +01:00
Set calendar alarm time to 5 min, if there is no user preferences
This commit is contained in:
parent
06696b1f35
commit
2789a8d3a7
@ -1286,8 +1286,8 @@ class calendar_uiforms extends calendar_ui
|
|||||||
$sel_options += array(
|
$sel_options += array(
|
||||||
'new_alarm[options]' => $alarm_options + array(0 => lang('Custom'))
|
'new_alarm[options]' => $alarm_options + array(0 => lang('Custom'))
|
||||||
);
|
);
|
||||||
// set default preference value
|
// set default preference value. If there's no preference chooses 5 min
|
||||||
$event['new_alarm']['options'] = $default_alarm;
|
$event['new_alarm']['options'] = $default_alarm ? $default_alarm: 300;
|
||||||
|
|
||||||
$etpl = new etemplate_new();
|
$etpl = new etemplate_new();
|
||||||
if (!$etpl->read($preserv['template']))
|
if (!$etpl->read($preserv['template']))
|
||||||
|
Loading…
Reference in New Issue
Block a user