diff options
author | svncommit <devs@roundcube.net> | 2006-01-08 07:15:44 +0000 |
---|---|---|
committer | svncommit <devs@roundcube.net> | 2006-01-08 07:15:44 +0000 |
commit | d1d2c4fb1d0e9b7a46693e617835850b0edc0fd5 (patch) | |
tree | 038a14713ddb3005c1ba33926094b13e15bb012e /program/steps/addressbook/func.inc | |
parent | 3baec23206671623a6a011f323775e0dd897d538 (diff) |
adding files and modifications for public ldap search
Diffstat (limited to 'program/steps/addressbook/func.inc')
-rw-r--r-- | program/steps/addressbook/func.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/program/steps/addressbook/func.inc b/program/steps/addressbook/func.inc index 8065219b0..ee3b8804a 100644 --- a/program/steps/addressbook/func.inc +++ b/program/steps/addressbook/func.inc @@ -81,6 +81,7 @@ function rcmail_contacts_list($attrib) $javascript = sprintf("%s.gui_object('contactslist', '%s');\n", $JS_OBJECT_NAME, $attrib['id']); $javascript .= sprintf("%s.set_env('current_page', %d);\n", $JS_OBJECT_NAME, $CONTACTS_LIST['page']); $javascript .= sprintf("%s.set_env('pagecount', %d);\n", $JS_OBJECT_NAME, ceil($rowcount/$CONFIG['pagesize'])); + $javascript .= "rcmail.set_env('newcontact', '" . rcube_label('newcontact') . "');"; //$javascript .= sprintf("%s.set_env('contacts', %s);", $JS_OBJECT_NAME, array2js($a_js_message_arr)); $OUTPUT->add_script($javascript); @@ -191,4 +192,4 @@ function rcmail_get_rowcount_text($max=NULL) return $out; } -?>
\ No newline at end of file +?> |