From 3c7212f0f7a2a2f3b49be3b57ea4c1c25c0ce27a Mon Sep 17 00:00:00 2001 From: alec Date: Thu, 10 Nov 2011 14:30:51 +0000 Subject: - Add option to skip alternative email addresses in autocompletion git-svn-id: https://svn.roundcube.net/trunk@5412 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/settings/func.inc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'roundcubemail/program/steps/settings/func.inc') diff --git a/roundcubemail/program/steps/settings/func.inc b/roundcubemail/program/steps/settings/func.inc index bb144d4cb..6ba524724 100644 --- a/roundcubemail/program/steps/settings/func.inc +++ b/roundcubemail/program/steps/settings/func.inc @@ -659,6 +659,16 @@ function rcmail_user_prefs($current=null) ); } + if (!isset($no_override['autocomplete_single'])) { + $field_id = 'rcmfd_autocomplete_single'; + $checkbox = new html_checkbox(array('name' => '_autocomplete_single', 'id' => $field_id, 'value' => 1)); + + $blocks['main']['options']['autocomplete_single'] = array( + 'title' => html::label($field_id, Q(rcube_label('autocompletesingle'))), + 'content' => $checkbox->show($config['autocomplete_single']?1:0), + ); + } + break; // Special IMAP folders -- cgit v1.2.3