From 4cf42fde05ff891f6961ba60dbb1c2e4c91c39c6 Mon Sep 17 00:00:00 2001 From: thomascube Date: Tue, 20 Mar 2012 22:47:24 +0000 Subject: Add support for read-only address book records --- program/steps/mail/list_contacts.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'program/steps/mail/list_contacts.inc') diff --git a/program/steps/mail/list_contacts.inc b/program/steps/mail/list_contacts.inc index eb425d2ba..6954e110a 100644 --- a/program/steps/mail/list_contacts.inc +++ b/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'); } } } -- cgit v1.2.3