From 112c9133bb8dc3b4e8f1d47241fa57c86dd5065c Mon Sep 17 00:00:00 2001 From: alecpl Date: Sun, 5 Oct 2008 07:18:15 +0000 Subject: - removed deprecated rcube_add_label() and all uses - code for 'show' action added in r1937 moved to show.inc --- program/steps/addressbook/edit.inc | 3 +-- program/steps/addressbook/func.inc | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'program/steps/addressbook') diff --git a/program/steps/addressbook/edit.inc b/program/steps/addressbook/edit.inc index 61c660d94..410a09b14 100644 --- a/program/steps/addressbook/edit.inc +++ b/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/program/steps/addressbook/func.inc b/program/steps/addressbook/func.inc index 41995026d..33dfad646 100644 --- a/program/steps/addressbook/func.inc +++ b/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; } -- cgit v1.2.3