Skip to content

Commit

Permalink
transmit comment ID to template on comments and picture_comment
Browse files Browse the repository at this point in the history
git-svn-id: http://piwigo.org/svn/trunk@11236 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
mistic100 committed Jun 4, 2011
1 parent 3d3721b commit 7982355
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions comments.php
Expand Up @@ -462,6 +462,7 @@
);

$tpl_comment = array(
'ID' => $comment_id,
'U_PICTURE' => $url,
'TN_SRC' => $thumbnail_src,
'ALT' => $name,
Expand Down
5 changes: 2 additions & 3 deletions include/picture_comment.inc.php
Expand Up @@ -167,10 +167,9 @@

$tpl_comment =
array(
'ID' => $row['id'],
'AUTHOR' => trigger_event('render_comment_author', $author),

'DATE' => format_date( $row['date'], true),

'DATE' => format_date($row['date'], true),
'CONTENT' => trigger_event('render_comment_content',$row['content']),
);

Expand Down

0 comments on commit 7982355

Please sign in to comment.