summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/addressbook
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-10-05 07:18:15 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-10-05 07:18:15 +0000
commit688e394cf0af9e05365742cbf2ec510ff7b3152a (patch)
tree279d9ba02a21c93f2aaf1a838c4dcceb9db63a77 /roundcubemail/program/steps/addressbook
parente6c827cdaa0ee47465d39d79e571e9f8f8377661 (diff)
- removed deprecated rcube_add_label() and all uses
- code for 'show' action added in r1937 moved to show.inc git-svn-id: https://svn.roundcube.net/trunk@1939 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/addressbook')
-rw-r--r--roundcubemail/program/steps/addressbook/edit.inc3
-rw-r--r--roundcubemail/program/steps/addressbook/func.inc2
2 files changed, 2 insertions, 3 deletions
diff --git a/roundcubemail/program/steps/addressbook/edit.inc b/roundcubemail/program/steps/addressbook/edit.inc
index 61c660d94..410a09b14 100644
--- a/roundcubemail/program/steps/addressbook/edit.inc
+++ b/roundcubemail/program/steps/addressbook/edit.inc
@@ -43,8 +43,7 @@ function rcmail_contact_editform($attrib)
}
// add some labels to client
- rcube_add_label('noemailwarning');
- rcube_add_label('nonamewarning');
+ $OUTPUT->add_label('noemailwarning', 'nonamewarning');
list($form_start, $form_end) = get_form_tags($attrib);
unset($attrib['form']);
diff --git a/roundcubemail/program/steps/addressbook/func.inc b/roundcubemail/program/steps/addressbook/func.inc
index 41995026d..33dfad646 100644
--- a/roundcubemail/program/steps/addressbook/func.inc
+++ b/roundcubemail/program/steps/addressbook/func.inc
@@ -114,7 +114,7 @@ function rcmail_contacts_list($attrib)
$OUTPUT->include_script('list.js');
// add some labels to client
- rcube_add_label('deletecontactconfirm');
+ $OUTPUT->add_label('deletecontactconfirm');
return $out;
}