From 62269b71135bd7dca7c6adf7618609afed561ba8 Mon Sep 17 00:00:00 2001 From: thomasb Date: Wed, 21 Sep 2011 11:17:46 +0000 Subject: Add option 'searchonly' for address books; currently used by LDAP directories git-svn-id: https://svn.roundcube.net/trunk@5258 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/addressbook/list.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'roundcubemail/program/steps') diff --git a/roundcubemail/program/steps/addressbook/list.inc b/roundcubemail/program/steps/addressbook/list.inc index dbc86e20f..313b52ea1 100644 --- a/roundcubemail/program/steps/addressbook/list.inc +++ b/roundcubemail/program/steps/addressbook/list.inc @@ -73,6 +73,9 @@ else { // get contacts for this user $result = $CONTACTS->list_records(array('name')); + + if (!$result->count && $result->searchonly) + $OUTPUT->show_message('contactsearchonly', 'notice'); } // update message count display -- cgit v1.2.3