- /* FIX ME, we should use separate templates for icons */
- if ($bIcons) {
- $sValue = '<img src="' . $sImageLocation;
- switch ($aColumns[SQM_COL_PRIO]['value']) {
- case 1:
- case 2: $sValue .= 'prio_high.png" border="0" height="10" width="5" alt="" /> ' ; break;
- case 5: $sValue .= 'prio_low.png" border="0" height="10" width="5" alt="" /> ' ; break;
- default: $sValue .= 'transparent.png" border="0" width="5" alt="" /> ' ; break;
- }
- } else {
- $sValue = '';
- switch ($aColumns[SQM_COL_PRIO]['value']) {
- case 1:
- case 2: $sValue .= '<span class="high_priority">!</span>'; break;
- // use downwards arrow for low priority emails
- case 5: $sValue .= '<span class="low_priority">↓</span>'; break;
- default: break;
- }
- }