summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-05-21 12:59:19 +0000
committeralecpl <alec@alec.pl>2009-05-21 12:59:19 +0000
commit5d4ac46c1bc91fb95317a32fc1fcd0589501c956 (patch)
tree3618a0b66a203dfbccae8b1554022f8071d30809 /program/steps
parent5ced1927286894814af7472c4c7befd83477874f (diff)
- Add 1 minute interval in autosave options (#1485854)
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/settings/func.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc
index 6eda4dba3..5fad317f3 100644
--- a/program/steps/settings/func.inc
+++ b/program/steps/settings/func.inc
@@ -204,7 +204,7 @@ function rcmail_user_prefs_block($part, $no_override, $attrib)
foreach(array(1, 3, 5, 10, 15, 30, 60) as $min)
if((!$config['min_keep_alive'] || $config['min_keep_alive'] <= $min * 60)
&& (!$config['session_lifetime'] || $config['session_lifetime'] > $min)) {
- $select_keep_alive->add(rcube_label(array('name' => 'keepaliveevery', 'vars' => array('n' => $min))), $min);
+ $select_keep_alive->add(rcube_label(array('name' => 'everynminutes', 'vars' => array('n' => $min))), $min);
}
$table->add('title', html::label($field_id, Q(rcube_label('keepalive'))));
@@ -282,7 +282,7 @@ function rcmail_user_prefs_block($part, $no_override, $attrib)
$field_id = 'rcmfd_autosave';
$select_autosave = new html_select(array('name' => '_draft_autosave', 'id' => $field_id, 'disabled' => empty($config['drafts_mbox'])));
$select_autosave->add(rcube_label('never'), 0);
- foreach (array(3, 5, 10) as $i => $min)
+ foreach (array(1, 3, 5, 10) as $i => $min)
$select_autosave->add(rcube_label(array('name' => 'everynminutes', 'vars' => array('n' => $min))), $min*60);
$table->add('title', html::label($field_id, Q(rcube_label('autosavedraft'))));