summaryrefslogtreecommitdiff
path: root/program/steps/settings/func.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-09-29 12:58:23 +0000
committeralecpl <alec@alec.pl>2010-09-29 12:58:23 +0000
commitb3660bbdc3a7dcae7873016f10ddc0b7c82e17b7 (patch)
treeaa50edfb298fe33d1de05b4043fa4f3fafa8d338 /program/steps/settings/func.inc
parenta99968259d001ebc8bd98f0f2a0aa544ed4740e8 (diff)
- Add option to "Return receipt" will be always checked (1486352)
Diffstat (limited to 'program/steps/settings/func.inc')
-rw-r--r--program/steps/settings/func.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc
index e35edde47..00c2cf7b8 100644
--- a/program/steps/settings/func.inc
+++ b/program/steps/settings/func.inc
@@ -510,6 +510,16 @@ function rcmail_user_prefs($current=null)
);
}
+ if (!isset($no_override['mdn_default'])) {
+ $field_id = 'rcmfd_mdn_default';
+ $input_mdn = new html_checkbox(array('name' => '_mdn_default', 'id' => $field_id, 'value' => 1));
+
+ $blocks['main']['options']['mdn_default'] = array(
+ 'title' => html::label($field_id, Q(rcube_label('reqmdn'))),
+ 'content' => $input_mdn->show($config['mdn_default']?1:0),
+ );
+ }
+
if (!isset($no_override['top_posting'])) {
$field_id = 'rcmfd_top_posting';
$select_replymode = new html_select(array('name' => '_top_posting', 'id' => $field_id, 'onchange' => "\$('#rcmfd_sig_above').attr('disabled',this.selectedIndex==0)"));