With locked threads and sticky threads, an extra icon is added. I want this icon to replace the status icon.
How can I do this? Here is the relevant section from the forum_view template:
<%GForum::Post::status_icon($post_thread_hot, $post_new, $post_replies, $new_replies)%>
<nobr>
<img src="<%image_url%>/<%Icon%>" alt="<%IconAlt%>" title="<%IconAlt%>" border="0" width="13" height="15">
<%if post_locked%>
<img src="<%image_url%>/locked.gif" alt="This thread is locked" border="0" width="11" height="15">
<%GForum::Template::store_gvars(legend_locked => 1)%>
<%endif%>
<%if post_sticky and not post_root_id%>
<font size="-2"> </font>
<img src="<%image_url%>/sticky.gif" title="Sticky thread" border="0" width="13" height="15">
<%GForum::Template::store_gvars(legend_sticky => 1)%>
<%endif%>
</nobr>
How can I do this? Here is the relevant section from the forum_view template:
Code:
<%-- This gives the appropriate Icon and IconAlt variables --%> <%GForum::Post::status_icon($post_thread_hot, $post_new, $post_replies, $new_replies)%>
<nobr>
<img src="<%image_url%>/<%Icon%>" alt="<%IconAlt%>" title="<%IconAlt%>" border="0" width="13" height="15">
<%if post_locked%>
<img src="<%image_url%>/locked.gif" alt="This thread is locked" border="0" width="11" height="15">
<%GForum::Template::store_gvars(legend_locked => 1)%>
<%endif%>
<%if post_sticky and not post_root_id%>
<font size="-2"> </font>
<img src="<%image_url%>/sticky.gif" title="Sticky thread" border="0" width="13" height="15">
<%GForum::Template::store_gvars(legend_sticky => 1)%>
<%endif%>
</nobr>