diff -u -r1.52 paper.tpl --- templates/paper/paper.tpl 18 Apr 2008 20:06:46 -0000 1.52 +++ templates/paper/paper.tpl 6 Jun 2008 20:08:08 -0000 @@ -139,14 +139,39 @@ {assign var=poster value=$comment->getUser()}
  • getPaperId()|to_array:$galleyId:$comment->getCommentId()}" target="_parent">{$comment->getTitle()|escape|default:" "} - {if $comment->getChildCommentCount()==1}{translate key="comments.oneReply"}{elseif $comment->getChildCommentCount()>0}{translate key="comments.nReplies" num=$comment->getChildCommentCount()}{/if}
    - {if $poster}{translate key="comments.authenticated" userName=$comment->getPosterName()|escape}{elseif $comment->getPosterName()}{translate key="comments.anonymousNamed" userName=$comment->getPosterName()|escape}{else}{translate key="comments.anonymous"}{/if} ({$comment->getDatePosted()|date_format:$dateFormatShort}) + {if $comment->getChildCommentCount()==1} + {translate key="comments.oneReply"} + {elseif $comment->getChildCommentCount()>0} + {translate key="comments.nReplies" num=$comment->getChildCommentCount()} + {/if} + +
    + + {if $poster} + {translate key="comments.authenticated" userName=$comment->getPosterName()|escape} + {elseif $comment->getPosterName()} + {translate key="comments.anonymousNamed" userName=$comment->getPosterName()|escape} + {else} + {translate key="comments.anonymous"} + {/if} + ({$comment->getDatePosted()|date_format:$dateFormatShort})
  • {/foreach} -getPaperId()|to_array:$galleyId}" class="action" target="_parent">{translate key="comments.viewAllComments"}{if $postingAllowed} | getPaperId()|to_array:$galleyId}" target="_parent">{translate key="rt.addComment"}{/if}
    +getPaperId()|to_array:$galleyId}" class="action" target="_parent">{translate key="comments.viewAllComments"} +{assign var=needsSeparator value=1} + +{/if}{* $comments *} + +{if $postingAllowed} + {if $needsSeparator} +  |  + {else} +

    + {/if} + getPaperId()|to_array:$galleyId}" target="_parent">{translate key="rt.addComment"} {/if} {if $currentJournal && $currentJournal->getSetting('includeCreativeCommons')} @@ -213,6 +238,5 @@ {/if} - diff -u -r1.19 comments.tpl --- templates/comment/comments.tpl 4 Jan 2008 17:26:44 -0000 1.19 +++ templates/comment/comments.tpl 6 Jun 2008 20:08:08 -0000 @@ -25,7 +25,16 @@ {if $comment} {assign var=user value=$comment->getUser()}

    {$comment->getTitle()|escape|default:" "}

    -

    {if $user}{translate key="comments.authenticated" userName=$comment->getPosterName()|escape}{elseif $comment->getPosterName()}{translate key="comments.anonymousNamed" userName=$comment->getPosterName()|escape}{else}{translate key="comments.anonymous"}{/if} ({$comment->getDatePosted()|date_format:$dateFormatShort})

    +

    + {if $user} + {translate key="comments.authenticated" userName=$comment->getPosterName()|escape} + {elseif $comment->getPosterName()} + {translate key="comments.anonymousNamed" userName=$comment->getPosterName()|escape} + {else} + {translate key="comments.anonymous"} + {/if} + ({$comment->getDatePosted()|date_format:$dateFormatShort}) +

    @@ -73,7 +82,16 @@ {assign var=user value=$child->getUser()} {assign var=childId value=$child->getCommentId()}

    {$child->getTitle()|escape|default:" "}

    -
    {if $user}{translate key="comments.authenticated" userName=$child->getPosterName()|escape}{elseif $child->getPosterName()}{translate key="comments.anonymousNamed" userName=$child->getPosterName()|escape}{else}{translate key="comments.anonymous"}{/if} ({$child->getDatePosted()|date_format:$dateFormatShort})
    +
    + {if $user} + {translate key="comments.authenticated" userName=$child->getPosterName()|escape} + {elseif $child->getPosterName()} + {translate key="comments.anonymousNamed" userName=$child->getPosterName()|escape} + {else} + {translate key="comments.anonymous"} + {/if} + ({$child->getDatePosted()|date_format:$dateFormatShort}) +
    {assign var="hasPriorAction" value=0} @@ -107,7 +125,14 @@
  • getCommentId()}" target="_parent">{$grandChild->getTitle()|escape|default:" "} {if $grandChild->getChildCommentCount()==1}{translate key="comments.oneReply"}{elseif $grandChild->getChildCommentCount()>0}{translate key="comments.nReplies" num=$grandChild->getChildCommentCount()}{/if}
    - {if $user}{translate key="comments.authenticated" userName=$grandChild->getPosterName()|escape}{elseif $grandChild->getPosterName()}{translate key="comments.anonymousNamed" userName=$grandChild->getPosterName()|escape}{else}{translate key="comments.anonymous"}{/if} ({$grandChild->getDatePosted()|date_format:$dateFormatShort}) + {if $user} + {translate key="comments.authenticated" userName=$grandChild->getPosterName()|escape} + {elseif $grandChild->getPosterName()} + {translate key="comments.anonymousNamed" userName=$grandChild->getPosterName()|escape} + {else} + {translate key="comments.anonymous"} + {/if} + ({$grandChild->getDatePosted()|date_format:$dateFormatShort})
  • {/foreach} {if $grandChildren} @@ -125,4 +150,3 @@ {/if} {include file="common/footer.tpl"} -