{@ switch ( $notify_type ): case 'comment_comment': $notify_icon = 'comments'; break; case 'mention': $notify_icon = 'quote-left'; break; case 'vote': $notify_icon = 'heart'; break; case 'scrap': $notify_icon = 'bookmark'; break; case 'message': $notify_icon = 'envelope'; break; default: $notify_icon = $notify_type; endswitch; }