summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-03-20 22:47:24 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-03-20 22:47:24 +0000
commit2ce86af0590f133c551c1601ce2320e96aade98c (patch)
treea00b12767dbac53dc8509e2369f52c6c45d0780b /roundcubemail/program/steps/mail
parent126abdf51ff967eb77555abe0f9868410a6399f5 (diff)
Add support for read-only address book records
git-svn-id: https://svn.roundcube.net/trunk@6023 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail')
-rw-r--r--roundcubemail/program/steps/mail/list_contacts.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/roundcubemail/program/steps/mail/list_contacts.inc b/roundcubemail/program/steps/mail/list_contacts.inc
index eb425d2ba..6954e110a 100644
--- a/roundcubemail/program/steps/mail/list_contacts.inc
+++ b/roundcubemail/program/steps/mail/list_contacts.inc
@@ -45,7 +45,7 @@ if ($CONTACTS && $CONTACTS->ready) {
$row_id = 'G'.$group['ID'];
$jsresult[$row_id] = format_email_recipient($email, $group['name']);
$OUTPUT->command('add_contact_row', $row_id, array(
- 'contactgroup' => html::span(array('title' => $email), Q($group['name']))));
+ 'contactgroup' => html::span(array('title' => $email), Q($group['name']))), 'group');
}
}
// show group with count
@@ -53,7 +53,7 @@ if ($CONTACTS && $CONTACTS->ready) {
$row_id = 'E'.$group['ID'];
$jsresult[$row_id] = $group['name'];
$OUTPUT->command('add_contact_row', $row_id, array(
- 'contactgroup' => Q($group['name'] . ' (' . intval($result->count) . ')')));
+ 'contactgroup' => Q($group['name'] . ' (' . intval($result->count) . ')')), 'group');
}
}
}
@@ -75,7 +75,7 @@ if ($CONTACTS && $CONTACTS->ready) {
$row_id = $row['ID'].$i;
$jsresult[$row_id] = format_email_recipient($email, $name);
$OUTPUT->command('add_contact_row', $row_id, array(
- 'contact' => html::span(array('title' => $email), Q($name ? $name : $email))));
+ 'contact' => html::span(array('title' => $email), Q($name ? $name : $email))), 'person');
}
}
}