diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-10-05 07:18:15 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-10-05 07:18:15 +0000 |
| commit | 688e394cf0af9e05365742cbf2ec510ff7b3152a (patch) | |
| tree | 279d9ba02a21c93f2aaf1a838c4dcceb9db63a77 /roundcubemail/program/include | |
| parent | e6c827cdaa0ee47465d39d79e571e9f8f8377661 (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/include')
| -rw-r--r-- | roundcubemail/program/include/main.inc | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/roundcubemail/program/include/main.inc b/roundcubemail/program/include/main.inc index 23c2c2822..ee847470b 100644 --- a/roundcubemail/program/include/main.inc +++ b/roundcubemail/program/include/main.inc @@ -133,20 +133,6 @@ function rcmail_url($action, $p=array(), $task=null) /** - * Add a localized label to the client environment - * @deprecated - */ -function rcube_add_label() - { - global $OUTPUT; - - $arg_list = func_get_args(); - foreach ($arg_list as $i => $name) - $OUTPUT->add_label($name); - } - - -/** * Garbage collector function for temp files. * Remove temp files older than two days */ @@ -913,8 +899,7 @@ function rcmail_mailbox_list($attrib) $attrib += array('maxlength' => 100, 'relanames' => false); // add some labels to client - rcube_add_label('purgefolderconfirm'); - rcube_add_label('deletemessagesconfirm'); + $RCMAIL->output->add_label('purgefolderconfirm', 'deletemessagesconfirm'); $type = $attrib['type'] ? $attrib['type'] : 'ul'; unset($attrib['type']); |
