4 +-----------------------------------------------------------------------+
5 | program/steps/addressbook/list.inc |
7 | This file is part of the Roundcube Webmail client |
8 | Copyright (C) 2005-2007, Roundcube Dev. - Switzerland |
9 | Licensed under the GNU GPL |
12 | Send contacts list to client (as remote response) |
14 +-----------------------------------------------------------------------+
15 | Author: Thomas Bruederli <roundcube@gmail.com> |
16 +-----------------------------------------------------------------------+
18 $Id: list.inc 3989 2010-09-25 13:03:53Z alec $
22 // get contacts for this user
23 $result = $CONTACTS->list_records();
25 // update message count display
26 $OUTPUT->set_env('pagecount', ceil($result->count / $CONTACTS->page_size));
27 $OUTPUT->command('set_rowcount', rcmail_get_rowcount_text($rowcount));
29 // create javascript list
30 rcmail_js_contacts_list($result);