From d7bf41b3ef59453e5e84e0d5352e698e9274f660 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Fri, 3 Aug 2012 17:02:24 +0000 Subject: feature 2380: add URL for user comment git-svn-id: http://piwigo.org/svn/trunk@17351 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/template/comment_list.tpl | 3 ++- themes/default/template/picture.tpl | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'themes/default/template') 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 @@ {/if} - {$comment.AUTHOR} - {$comment.DATE} + {if $comment.WEBSITE_URL}{$comment.AUTHOR}{else}{$comment.AUTHOR}{/if} + - {$comment.DATE} {if isset($comment.IN_EDIT)}
diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl index a46ed4e64..4d316c004 100644 --- a/themes/default/template/picture.tpl +++ b/themes/default/template/picture.tpl @@ -349,8 +349,10 @@ function togglePrivacyLevelBox() {if $comment_add.SHOW_AUTHOR}

-

{/if} +

+

+

-- cgit v1.2.3