comparison program/steps/mail/func.inc @ 5:3a5f959af5ae

debugging aids, all commented out
author Charlie Root
date Thu, 30 Aug 2018 16:15:17 -0400
parents 0cac1d1e799f
children
comparison
equal deleted inserted replaced
4:1ab920879b88 5:3a5f959af5ae
442 $a_show_cols = array('threads', 'subject', 'fromto', 'date', 'flag', 'attachment'); 442 $a_show_cols = array('threads', 'subject', 'fromto', 'date', 'flag', 'attachment');
443 } 443 }
444 444
445 // Plugins may set header's list_cols/list_flags and other rcube_message_header variables 445 // Plugins may set header's list_cols/list_flags and other rcube_message_header variables
446 // and list columns 446 // and list columns
447 #rcube::write_log('thunderbird_labels','t? |'.$RCMAIL->storage->get_threading().'|');
447 $plugin = $RCMAIL->plugins->exec_hook('messages_list', 448 $plugin = $RCMAIL->plugins->exec_hook('messages_list',
448 array('messages' => $a_headers, 'cols' => $a_show_cols)); 449 array('messages' => $a_headers, 'cols' => $a_show_cols));
449 450
450 $a_show_cols = $plugin['cols']; 451 $a_show_cols = $plugin['cols'];
451 $a_headers = $plugin['messages']; 452 $a_headers = $plugin['messages'];
452 #rcube::write_log('thunderbird_labels','plugh: '.print_r($a_headers,true)); 453 #rcube::write_log('thunderbird_labels','plugh: '.print_r($a_headers,true));
453 if ($RCMAIL->config->get('layout', 'widescreen') == 'widescreen') { 454 if ($RCMAIL->config->get('layout', 'widescreen') == 'widescreen') {