Move focus column to the left-most side
| | |
| | | |
| | | // These cols are shown in the message list. Available cols are: |
| | | // subject, from, to, fromto, cc, replyto, date, size, status, flag, attachment, 'priority' |
| | | $config['list_cols'] = array('subject', 'status', 'fromto', 'date', 'size', 'flag', 'attachment', 'focus'); |
| | | $config['list_cols'] = array('subject', 'status', 'fromto', 'date', 'size', 'flag', 'attachment'); |
| | | |
| | | // the default locale setting (leave empty for auto-detection) |
| | | // RFC1766 formatted language name like en_US, de_DE, de_CH, fr_FR, pt_BR |
| | |
| | | $labels['priority'] = 'Priority'; |
| | | $labels['organization'] = 'Organization'; |
| | | $labels['readstatus'] = 'Read status'; |
| | | $labels['focus'] = 'Focus'; |
| | | $labels['listoptions'] = 'List options...'; |
| | | |
| | | $labels['mailboxlist'] = 'Folders'; |
| | |
| | | |
| | | // save some variables for use in ajax list |
| | | $_SESSION['list_attrib'] = $attrib; |
| | | |
| | | // make sure 'threads' and 'subject' columns are present |
| | | if (!in_array('subject', $a_show_cols)) |
| | | array_unshift($a_show_cols, 'subject'); |
| | | if (!in_array('threads', $a_show_cols)) |
| | | array_unshift($a_show_cols, 'threads'); |
| | | |
| | | // always put focus first |
| | | array_unshift($a_show_cols, 'focus'); |
| | | |
| | | $_SESSION['skin_path'] = $CONFIG['skin_path']; |
| | | |
| | |
| | | } |
| | | |
| | | $mbox = $RCMAIL->storage->get_folder(); |
| | | |
| | | |
| | | // make sure 'threads' and 'subject' columns are present |
| | | if (!in_array('subject', $a_show_cols)) |
| | | array_unshift($a_show_cols, 'subject'); |
| | | if (!in_array('threads', $a_show_cols)) |
| | | array_unshift($a_show_cols, 'threads'); |
| | | |
| | | |
| | | // always put focus first |
| | | array_unshift($a_show_cols, 'focus'); |
| | | |
| | | $_SESSION['list_attrib']['columns'] = $a_show_cols; |
| | | |
| | | // Make sure there are no duplicated columns (#1486999) |
| | |
| | | <li><label><input type="checkbox" name="list_col[]" value="attachment" /> <span><roundcube:label name="attachment" /></span></label></li> |
| | | <li><label><input type="checkbox" name="list_col[]" value="flag" /> <span><roundcube:label name="flag" /></span></label></li> |
| | | <li><label><input type="checkbox" name="list_col[]" value="priority" /> <span><roundcube:label name="priority" /></span></label></li> |
| | | <li><label><input type="checkbox" name="list_col[]" value="focus" /> <span><roundcube:label name="focus" /></span></label></li> |
| | | </ul> |
| | | </fieldset> |
| | | <roundcube:endif /> |