mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 01:03:31 +02:00
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:
@@ -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']),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user