summaryrefslogtreecommitdiff
path: root/program/steps/mail/func.inc
diff options
context:
space:
mode:
authorcmcnulty <cmcnulty@kznf.com>2013-11-09 20:49:23 -0600
committercmcnulty <cmcnulty@kznf.com>2013-11-09 20:49:23 -0600
commit1f705968827f9dea3ee66e5ea9d35f00d360ad9a (patch)
tree3d4e610dfb6b2343f641f3b7eefdf5c518beacc7 /program/steps/mail/func.inc
parent9a7258a368ddca14e5d55fff77a76889a1f23871 (diff)
CSS only solution to focused messages
Diffstat (limited to 'program/steps/mail/func.inc')
-rw-r--r--program/steps/mail/func.inc11
1 files changed, 2 insertions, 9 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 6317e328f..9358848bd 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -262,9 +262,6 @@ function rcmail_message_list($attrib)
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'];
// set client env
@@ -314,9 +311,6 @@ function rcmail_js_message_list($a_headers, $insert_top=FALSE, $a_show_cols=null
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)
@@ -342,8 +336,8 @@ function rcmail_js_message_list($a_headers, $insert_top=FALSE, $a_show_cols=null
if (empty($a_headers))
return;
- // remove 'threads', 'attachment', 'flag', 'status', 'focus' columns, we don't need them here
- foreach (array('threads', 'attachment', 'flag', 'status', 'priority', 'focus') as $col) {
+ // remove 'threads', 'attachment', 'flag', 'status' columns, we don't need them here
+ foreach (array('threads', 'attachment', 'flag', 'status', 'priority') as $col) {
if (($key = array_search($col, $a_show_cols)) !== FALSE)
unset($a_show_cols[$key]);
}
@@ -471,7 +465,6 @@ function rcmail_message_list_head($attrib, $a_show_cols)
case 'attachment':
case 'priority':
case 'status':
- case 'focus':
$col_name = '<span class="' . $col .'">&nbsp;</span>';
break;
case 'threads':