summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/settings/func.inc
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-11-02 08:31:29 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-11-02 08:31:29 +0000
commit88798d1ed2265d3fc8d7a31e3509c2c52064e62c (patch)
tree1001808160303454bba193ed1e3730c703f3fa50 /roundcubemail/program/steps/settings/func.inc
parent5d2f4c2023d5b7d0d085a1cb71f53cf4bfb96bc4 (diff)
- top posting (#1484272)
git-svn-id: https://svn.roundcube.net/trunk@3087 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/settings/func.inc')
-rw-r--r--roundcubemail/program/steps/settings/func.inc24
1 files changed, 24 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/settings/func.inc b/roundcubemail/program/steps/settings/func.inc
index 7bd30a3f4..e451d57d5 100644
--- a/roundcubemail/program/steps/settings/func.inc
+++ b/roundcubemail/program/steps/settings/func.inc
@@ -448,6 +448,30 @@ function rcmail_user_prefs($current=null)
'content' => $select_param_folding->show($config['mime_param_folding']),
);
}
+
+ if (!isset($no_override['top_posting'])) {
+ $field_id = 'rcmfd_top_posting';
+ $input_topposting = new html_checkbox(array('name' => '_top_posting', 'id' => $field_id, 'value' => 1));
+
+ $blocks['main']['options']['top_posting'] = array(
+ 'title' => html::label($field_id, Q(rcube_label('top_posting'))),
+ 'content' => $input_topposting->show($config['top_posting']?1:0),
+ );
+ }
+
+ if (!isset($no_override['show_sig'])) {
+ $field_id = 'rcmfd_show_sig';
+ $select_show_sig = new html_select(array('name' => '_show_sig', 'id' => $field_id));
+ $select_show_sig->add(rcube_label('always'), 0);
+ $select_show_sig->add(rcube_label('never'), 1);
+ $select_show_sig->add(rcube_label('new_msg_only'), 2);
+ $select_show_sig->add(rcube_label('reply_forward_only'), 3);
+
+ $blocks['main']['options']['show_sig'] = array(
+ 'title' => html::label($field_id, Q(rcube_label('auto_add_sig'))),
+ 'content' => $select_show_sig->show(intval($config['show_sig'])),
+ );
+ }
break;