summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/addressbook/func.inc
diff options
context:
space:
mode:
authorjustinrandell <justinrandell@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-01-08 07:15:44 +0000
committerjustinrandell <justinrandell@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-01-08 07:15:44 +0000
commitbefd30a86846679f86c8a95223ae89e8ad6050b9 (patch)
tree54fa8fea2022951c1e1cdb5661da26c767a4a536 /roundcubemail/program/steps/addressbook/func.inc
parente381c2220d0e383f1ea287d7ce325133bd1d4e38 (diff)
adding files and modifications for public ldap search
git-svn-id: https://svn.roundcube.net/trunk@95 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/addressbook/func.inc')
-rw-r--r--roundcubemail/program/steps/addressbook/func.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/addressbook/func.inc b/roundcubemail/program/steps/addressbook/func.inc
index 8065219b0..ee3b8804a 100644
--- a/roundcubemail/program/steps/addressbook/func.inc
+++ b/roundcubemail/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
+?>