Be more tolerant when splitting strings + remove col that we don't have a label for
| | |
| | | $rcmail_config['sendmail_delay'] = 0; |
| | | |
| | | // These cols are shown in the message list. Available cols are: |
| | | // subject, from, to, cc, replyto, date, size, encoding, flag, attachment |
| | | // subject, from, to, cc, replyto, date, size, flag, attachment |
| | | $rcmail_config['list_cols'] = array('subject', 'from', 'date', 'size', 'flag', 'attachment'); |
| | | |
| | | // Includes should be interpreted as PHP files |
| | |
| | | if (empty($attrib['columns'])) |
| | | $a_show_cols = is_array($CONFIG['list_cols']) ? $CONFIG['list_cols'] : array('subject'); |
| | | else |
| | | $a_show_cols = explode(',', strip_quotes($attrib['columns'])); |
| | | $a_show_cols = preg_split('/[\s,;]+/', strip_quotes($attrib['columns'])); |
| | | |
| | | // store column list in a session-variable |
| | | $_SESSION['list_columns'] = $a_show_cols; |