diff options
Diffstat (limited to 'program/steps/settings/func.inc')
-rw-r--r-- | program/steps/settings/func.inc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index f72b437c9..f833c1a5c 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -258,13 +258,21 @@ function rcmail_user_prefs_block($part, $no_override, $attrib) $table->add(null, $input_inline_images->show($config['inline_images']?1:0)); } + // "display after delete" checkbox + if (!isset($no_override['display_next'])) { + $field_id = 'rcmfd_displaynext'; + $input_displaynext = new html_checkbox(array('name' => '_display_next', 'id' => $field_id, 'value' => 1)); + + $table->add('title', html::label($field_id, Q(rcube_label('displaynext')))); + $table->add(null, $input_displaynext->show($config['display_next']?1:0)); + } + $RCMAIL->plugins->exec_hook('user_preferences', array('section' => $part, 'table' => $table)); if ($table->size()) $out = html::tag('fieldset', null, html::tag('legend', null, Q(rcube_label('messagesdisplaying'))) . $table->show($attrib)); break; - // Mail composition case 'compose': $table = new html_table(array('cols' => 2)); |