Changeset 686 in subversion


Ignore:
Timestamp:
Aug 15, 2007 6:30:31 PM (6 years ago)
Author:
till
Message:

+ fixed CS

  • removed debug code

+ bug fix in folder display

Location:
branches/devel-vnext/program/steps/mail
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/devel-vnext/program/steps/mail/check_recent.inc

    r651 r686  
    1919*/ 
    2020 
    21 rc_main::tfk_debug('recent!'); 
     21//rc_main::tfk_debug('recent!'); 
    2222 
    2323$registry    = rc_registry::getInstance(); 
     
    2727 
    2828//rc_main::tfk_debug('About to get some mailboxes.'); 
    29 rc_main::tfk_debug('Mailboxes: ' . var_export($a_mailboxes, true)); 
     29//rc_main::tfk_debug('Mailboxes: ' . var_export($a_mailboxes, true)); 
    3030 
    3131foreach ($a_mailboxes as $mbox_name) { 
  • branches/devel-vnext/program/steps/mail/compose.inc

    r632 r686  
    3737        $status = @unlink($_SESSION['compose']['attachments'][$id]['path']); 
    3838        if ($status === false) { 
    39             rc_main::tfk_debug('Could not delete attachment.'); 
     39            //rc_main::tfk_debug('Could not delete attachment.'); 
    4040        } 
    4141        $_SESSION['compose']['attachments'][$id] = NULL; 
  • branches/devel-vnext/program/steps/mail/func.inc

    r655 r686  
    220220 
    221221 
    222 // return html for a structured list <ul> for the mailbox tree 
     222/** 
     223 * return html for a structured list <ul> for the mailbox tree 
     224 */ 
    223225function rcmail_render_folder_tree_html(&$arrFolders, &$special, &$mbox_name, $maxlength, $nestLevel=0) 
    224226{ 
     
    260262 
    261263        // set special class for Sent, Drafts, Trash and Junk 
    262         if ($folder['id']==$CONFIG['sent_mbox']) 
     264        if ($folder['id']==$CONFIG['sent_mbox']) { 
    263265            $class_name = 'sent'; 
    264         else if ($folder['id']==$CONFIG['drafts_mbox']) 
     266        } 
     267        else if ($folder['id']==$CONFIG['drafts_mbox']) { 
    265268            $class_name = 'drafts'; 
    266         else if ($folder['id']==$CONFIG['trash_mbox']) 
     269        } 
     270        else if ($folder['id']==$CONFIG['trash_mbox']) { 
    267271            $class_name = 'trash'; 
    268         else if ($folder['id']==$CONFIG['junk_mbox']) 
     272        } 
     273        else if ($folder['id']==$CONFIG['junk_mbox']) { 
    269274            $class_name = 'junk'; 
     275        } 
    270276 
    271277        $js_name = htmlspecialchars(rc_main::JQ($folder['id'])); 
     
    303309        /** 
    304310         * Append a new list if it has subfolders. 
     311         * 
     312         * Work with a seperate list-entry (<li>) to combat giant 
     313         * onmouseover fuckups. 
     314         * 
     315         * @ignore 
    305316         */ 
    306317        if (!empty($folder['folders'])) { 
    307             $out .= "\n<ul>\n"; 
    308             $out .= rcmail_render_folder_tree_html($folder['folders'], $special, $mbox_name, $maxlength, $nestLevel+1) . "</ul>\n"; 
     318            $out .= '<li class="mailboxsub">' . "\n<ul>\n"; 
     319            $out .= rcmail_render_folder_tree_html($folder['folders'], $special, $mbox_name, $maxlength, $nestLevel+1); 
     320            $out .= "</ul>\n"; 
     321            $out .= '</li>' . "\n"; 
    309322        } 
    310323 
     
    12931306 
    12941307    if (isset($MESSAGE) === false) { 
    1295         rc_main::tfk_debug('rcmail_message_headers: no $MESSAGE :('); 
     1308        //rc_main::tfk_debug('rcmail_message_headers: no $MESSAGE :('); 
    12961309        return FALSE; 
    12971310    } 
  • branches/devel-vnext/program/steps/mail/move_del.inc

    r629 r686  
    5252// unknown action or missing query param 
    5353else { 
    54     rc_main::tfk_debug('/ unknown action'); 
     54    //rc_main::tfk_debug('/ unknown action'); 
    5555    exit; 
    5656} 
Note: See TracChangeset for help on using the changeset viewer.