Changeset 112c9133 in github for program/steps/mail/func.inc


Ignore:
Timestamp:
Oct 5, 2008 3:18:15 AM (5 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
6afdd69
Parents:
1bb6541
Message:
  • removed deprecated rcube_add_label() and all uses
  • code for 'show' action added in r1937 moved to show.inc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/steps/mail/func.inc

    ra862043 r112c9133  
    7070 
    7171  if (!$OUTPUT->ajax_call) 
    72     rcube_add_label('checkingmail', 'deletemessage', 'movemessagetotrash', 'movingmessage'); 
     72    $OUTPUT->add_label('checkingmail', 'deletemessage', 'movemessagetotrash', 'movingmessage'); 
    7373 
    7474  $OUTPUT->set_pagetitle(rcmail_localize_foldername($IMAP->get_mailbox_name())); 
    75   } 
    76 else if ($RCMAIL->action == 'show') 
    77   { 
    78   // set current mailbox in client environment 
    79   $OUTPUT->set_env('mailbox', $IMAP->get_mailbox_name()); 
    80   if ($CONFIG['trash_mbox']) 
    81     $OUTPUT->set_env('trash_mailbox', $CONFIG['trash_mbox']); 
    82   if (!$OUTPUT->ajax_call) 
    83     rcube_add_label('checkingmail', 'deletemessage', 'movemessagetotrash', 'movingmessage'); 
    8475  } 
    8576 
     
    10091   
    10192  // add some labels to client 
    102   rcube_add_label('from', 'to'); 
     93  $OUTPUT->add_label('from', 'to'); 
    10394 
    10495  // get message headers 
Note: See TracChangeset for help on using the changeset viewer.