diff options
author | mistic100 <mistic@piwigo.org> | 2012-08-03 17:02:24 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2012-08-03 17:02:24 +0000 |
commit | d7bf41b3ef59453e5e84e0d5352e698e9274f660 (patch) | |
tree | 10f65c86201cecb06615f5cc199be219080014a1 /themes/default/template/comment_list.tpl | |
parent | efdb998cee7d3a6cdeda811fd86f04f3092fd467 (diff) |
feature 2380: add URL for user comment
git-svn-id: http://piwigo.org/svn/trunk@17351 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template/comment_list.tpl')
-rw-r--r-- | themes/default/template/comment_list.tpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/themes/default/template/comment_list.tpl b/themes/default/template/comment_list.tpl index b61cd73bb..ec27111ef 100644 --- a/themes/default/template/comment_list.tpl +++ b/themes/default/template/comment_list.tpl @@ -54,7 +54,8 @@ </div> {/if} - <span class="commentAuthor">{$comment.AUTHOR}</span> - <span class="commentDate">{$comment.DATE}</span> + <span class="commentAuthor">{if $comment.WEBSITE_URL}<a href="{$comment.WEBSITE_URL}" class="external" target="_blank">{$comment.AUTHOR}</a>{else}{$comment.AUTHOR}{/if}</span> + - <span class="commentDate">{$comment.DATE}</span> {if isset($comment.IN_EDIT)} <a name="edit_comment"></a> <form method="post" action="{$comment.U_EDIT}" id="editComment"> |