This allows you to add content per topic before the unread icon and after the last post information. I think it is important to add the following as well:
- topiclist_topic_title_before - Add something directly before the topic title (but not within the <a></a> tags) - Can be used to add a prefix, icon, etc. to a topic title
- topiclist_topic_title_after - Add something directly after the topic title (but not within the <a></a> tags) - Can be used to add a suffix to a topic title - can be used together with *_before to wrap the title in tags for formatting, etc.
- topiclist_topic_title_prepend - Add something directly before the topic title (within the <a></a> tags) - Same application as *_before, somewhat different result
- topiclist_topic_title_append - Add something directly after the topic title (within the <a></a> tags) - Same application as *_after, somewhat different result
I specifically need the first one for my topic prefixes extension (since I wish to add the prefix before the title link but not within the link itself). The rest are just to cover all the bases.
I plan to submit a PR unless someone else beats me to it.