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 /comments.php | |
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 'comments.php')
-rw-r--r-- | comments.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/comments.php b/comments.php index 570e88997..15891e2d5 100644 --- a/comments.php +++ b/comments.php @@ -382,6 +382,7 @@ SELECT com.id AS comment_id, com.author, com.author_id, com.date, + com.website_url, com.content, com.validated FROM '.IMAGE_CATEGORY_TABLE.' AS ic @@ -477,6 +478,7 @@ SELECT c.id, name, permalink, uppercats, com.id as comment_id 'src_image' => $src_image, 'ALT' => $name, 'AUTHOR' => trigger_event('render_comment_author', $comment['author']), + 'WEBSITE_URL' => $comment['website_url'], 'DATE'=>format_date($comment['date'], true), 'CONTENT'=>trigger_event('render_comment_content',$comment['content']), ); |