Ignore:
Timestamp:
Jun 22, 2012, 4:10:24 PM (12 years ago)
Author:
mistic100
Message:

-add option to remove rating
-improve message header

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GuestBook/template/comment_list.tpl

    r15940 r15948  
    2727                </div>
    2828                {/if}
     29   
     30    {if $comment.WEBSITE}
     31      {assign var="author" value='<span class="commentAuthor"><a href="'|@cat:$comment.WEBSITE|@cat:'">'|@cat:$comment.AUTHOR|@cat:'</a></span>'}
     32    {else}
     33      {assign var="author" value='<span class="commentAuthor">'|@cat:$comment.AUTHOR|@cat:'</span>'}
     34    {/if}
     35    {assign var="date" value='<span class="commentDate">'|@cat:$comment.DATE|@cat:'</span>'}
     36   
    2937
    3038    <div class="commentHeader">
    31       <span class="commentAuthor">{$comment.AUTHOR}</span>
    32       {if $comment.WEBSITE} - <a href="{$comment.WEBSITE}">{$comment.WEBSITE_NAME}</a>{/if}
    33       {if $comment.EMAIL} - <a href="mailto:{$comment.EMAIL}">{$comment.EMAIL}</a>{/if}<br>
    34       <span class="commentDate">{$comment.DATE}</span>
    35       {if $comment.RATE}{$comment.STARS}{/if}
     39      {'%s says on %s :'|@translate|@sprintf:$author:$date}<br>
     40      {if $comment.STARS}{$comment.STARS}{/if}
     41      {if $comment.EMAIL} <a href="mailto:{$comment.EMAIL}">{$comment.EMAIL}</a>{/if}
    3642    </div>
    3743                {if isset($comment.IN_EDIT)}
Note: See TracChangeset for help on using the changeset viewer.