From 041c93ce0bc00cb6417ce2e4bdce2ed84d37f50a Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Tue, 22 May 2012 06:31:37 -0400 Subject: [PATCH] Removed $Id$ --- program/steps/mail/list_contacts.inc | 11 ++++------- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/program/steps/mail/list_contacts.inc b/program/steps/mail/list_contacts.inc index 0791ae3..1a64803 100644 --- a/program/steps/mail/list_contacts.inc +++ b/program/steps/mail/list_contacts.inc @@ -17,9 +17,6 @@ +-----------------------------------------------------------------------+ | Author: Thomas Bruederli <roundcube@gmail.com> | +-----------------------------------------------------------------------+ - - $Id$ - */ $jsenv = array(); @@ -45,7 +42,7 @@ $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,14 +50,14 @@ $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'); } } } // get contacts for this user $CONTACTS->set_group(0); - $result = $CONTACTS->list_records(array('name', 'email')); + $result = $CONTACTS->list_records(array('name', 'firstname', 'surname', 'email')); if (!$result->count && $result->searchonly) { $OUTPUT->show_message('contactsearchonly', 'notice'); @@ -75,7 +72,7 @@ $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'); } } } -- Gitblit v1.9.1