feature 2380: add URL for user comment

git-svn-id: http://piwigo.org/svn/trunk@17351 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
mistic100
2012-08-03 17:02:24 +00:00
parent efdb998cee
commit d7bf41b3ef
8 changed files with 82 additions and 5 deletions
+2
View File
@@ -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']),
);