From f94e442469deca30b39f3fa08aade83cbd0ede70 Mon Sep 17 00:00:00 2001 From: thomascube Date: Fri, 16 Dec 2011 18:38:59 +0000 Subject: Add more classes and options to HTML elements for better styleability --- program/steps/mail/func.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'program/steps/mail/func.inc') diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 857ecd3f6..d44e9c3d5 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -379,6 +379,8 @@ function rcmail_message_list_head($attrib, $a_show_cols) // make sort links if (in_array($col, $a_sort_cols)) $col_name = html::a(array('href'=>"./#sort", 'onclick' => 'return '.JS_OBJECT_NAME.".command('sort','".$col."',this)", 'title' => rcube_label('sortby')), $col_name); + else if ($col_name[0] != '<') + $col_name = '' . $col_name . ''; $sort_class = $col == $sort_col ? " sorted$sort_order" : ''; $class_name = $col.$sort_class; -- cgit v1.2.3