From: <te...@us...> - 2004-07-13 20:48:05
|
Update of /cvsroot/tikiwiki/tiki/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8495/templates Modified Files: Tag: BRANCH-1-9 comments.tpl comment.tpl Log Message: made forum reply behavior the same as wiki comment repliy behavior Index: comments.tpl =================================================================== RCS file: /cvsroot/tikiwiki/tiki/templates/comments.tpl,v retrieving revision 1.44.2.11 retrieving revision 1.44.2.12 diff -u -d -r1.44.2.11 -r1.44.2.12 --- comments.tpl 13 Jul 2004 15:16:57 -0000 1.44.2.11 +++ comments.tpl 13 Jul 2004 20:47:56 -0000 1.44.2.12 @@ -155,7 +155,7 @@ {if $tiki_p_post_comments eq 'y'} {if $forum_mode eq 'y'} - {if $thread_info.parentId > 0} // it is a reply + {if $post_reply > 0} {* it is a reply *} <div id='{$postclass}open' class="threadpost"> {else} <input type="button" name="comments_postComment" value="{tr}new reply{/tr}" onclick="flip('{$postclass}');"/> Index: comment.tpl =================================================================== RCS file: /cvsroot/tikiwiki/tiki/templates/comment.tpl,v retrieving revision 1.8.2.3 retrieving revision 1.8.2.4 diff -u -d -r1.8.2.3 -r1.8.2.4 --- comment.tpl 30 Jun 2004 19:48:37 -0000 1.8.2.3 +++ comment.tpl 13 Jul 2004 20:47:56 -0000 1.8.2.4 @@ -72,9 +72,9 @@ {/if} {if $tiki_p_post_comments == 'y'} {if $comments_grandParentId} - <a class="linkbut" href="{$comments_complete_father}comments_threshold={$comments_threshold}&comments_reply_threadId={$comment.threadId}&comments_offset={$comments_offset}&comments_sort_mode={$comments_sort_mode}&comments_maxComments={$comments_maxComments}&comments_grandParentId={$comments_grandParentId}&comments_parentId={$comment.threadId}&comments_style={$comments_style}&post_reply=1#form">{tr}reply{/tr}</a> + <a class="linkbut" href="{$comments_complete_father}comments_threshold={$comments_threshold}&comments_reply_threadId={$comment.threadId}&comments_offset={$comments_offset}&comments_sort_mode={$comments_sort_mode}&comments_maxComments={$comments_maxComments}&comments_grandParentId={$comments_grandParentId}&comments_parentId={$comments_grandParentId}&comments_style={$comments_style}&post_reply=1#form">{tr}reply{/tr}</a> {else} - <a class="linkbut" href="{$comments_complete_father}comments_threshold={$comments_threshold}&comments_reply_threadId={$comment.threadId}&comments_offset={$comments_offset}&comments_sort_mode={$comments_sort_mode}&comments_maxComments={$comments_maxComments}&comments_grandParentId={$comment.parentId}&comments_parentId={$comment.threadId}&comments_style={$comments_style}&post_reply=1#form">{tr}reply{/tr}</a> + <a class="linkbut" href="{$comments_complete_father}comments_threshold={$comments_threshold}&comments_reply_threadId={$comment.threadId}&comments_offset={$comments_offset}&comments_sort_mode={$comments_sort_mode}&comments_maxComments={$comments_maxComments}&comments_grandParentId={$comment.parentId}&comments_parentId={$comment.parentId}&comments_style={$comments_style}&post_reply=1#form">{tr}reply{/tr}</a> {/if} {/if} <hr /> |