projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove span tags from core
[squirrelmail.git]
/
functions
/
template
/
message_list_util.php
diff --git
a/functions/template/message_list_util.php
b/functions/template/message_list_util.php
index cdd8825b5bda5f58dff9d07705371770a98c3bdf..8ffa17a4b8fd977fd00bb9f7331278ed47e12198 100644
(file)
--- a/
functions/template/message_list_util.php
+++ b/
functions/template/message_list_util.php
@@
-174,16
+174,15
@@
function getPriorityIcon ($priority, $icon_theme_path) {
switch ($priority) {
case 1:
case 2:
switch ($priority) {
case 1:
case 2:
- $icon = getIcon($icon_theme_path, 'prio_high.png',
'<span class="high_priority">!</span>'
);
+ $icon = getIcon($icon_theme_path, 'prio_high.png',
create_span('!', 'high_priority')
);
break;
case 5:
break;
case 5:
- $icon = getIcon($icon_theme_path, 'prio_low.png',
'<span class="low_priority">↓</span>'
);
+ $icon = getIcon($icon_theme_path, 'prio_low.png',
create_span('↓', 'low_priority')
);
break;
default:
$icon = getIcon($icon_theme_path, 'transparent.png', '', '', 5);
break;
}
break;
default:
$icon = getIcon($icon_theme_path, 'transparent.png', '', '', 5);
break;
}
- echo "prio = $priority<br>icon = $icon<br>";
return $icon;
}
return $icon;
}