Commit 1084ac60 authored by nkoth's avatar nkoth

[FIX] icon for topic watch should only appear in forum mode

parent 1db485f4
{* $Header: /cvsroot/tikiwiki/tiki/templates/comment-header.tpl,v 1.10 2007-10-04 22:17:35 nyloth Exp $ *}
{* $Header: /cvsroot/tikiwiki/tiki/templates/comment-header.tpl,v 1.11 2007-10-11 02:35:36 nkoth Exp $ *}
<div class="postbody-title">
{if $thread_style != 'commentStyle_headers' and $comment.threadId > 0
......@@ -41,11 +41,13 @@
{/if}
{if $user and $prefs.feature_user_watches eq 'y'}
{if $forum_mode eq 'y'}
{if $user_watching_topic eq 'n'}
<a href="tiki-view_forum_thread.php?topics_offset={$smarty.request.topics_offset}{$topics_sort_mode_param}{$topics_threshold_param}{$topics_find_param}&amp;forumId={$forumId}&amp;comments_parentId={$comments_parentId}&amp;watch_event=forum_post_thread&amp;watch_object={$comments_parentId}&amp;watch_action=add">{html_image file='pics/icons/eye.png' border='0' alt='{tr}monitor this topic{/tr}' title='{tr}monitor this topic{/tr}'}</a>
{else}
<a href="tiki-view_forum_thread.php?topics_offset={$smarty.request.topics_offset}{$topics_sort_mode_param}{$topics_threshold_param}{$topics_find_param}&amp;forumId={$forumId}&amp;comments_parentId={$comments_parentId}&amp;watch_event=forum_post_thread&amp;watch_object={$comments_parentId}&amp;watch_action=remove">{html_image file='pics/icons/no_eye.png' border='0' alt='{tr}Stop Monitoring this Topic{/tr}' title='{tr}Stop Monitoring this Topic{/tr}'}</a>
{/if}
{/if}
<br />
{if $category_watched eq 'y'}
{tr}Watched by categories{/tr}:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment