feature 3010 : replace trigger_action/event by trigger_notify/change

git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
mistic100
2014-06-02 07:55:46 +00:00
parent f98edc7a2e
commit 4bd32005b5
62 changed files with 322 additions and 344 deletions
+3 -3
View File
@@ -73,7 +73,7 @@ if ( $page['show_comments'] and isset( $_POST['content'] ) )
}
// allow plugins to notify what's going on
trigger_action( 'user_comment_insertion',
trigger_notify( 'user_comment_insertion',
array_merge($comm, array('action'=>$comment_action) )
);
}
@@ -181,9 +181,9 @@ SELECT
$tpl_comment =
array(
'ID' => $row['id'],
'AUTHOR' => trigger_event('render_comment_author', $row['author']),
'AUTHOR' => trigger_change('render_comment_author', $row['author']),
'DATE' => format_date($row['date'], true),
'CONTENT' => trigger_event('render_comment_content',$row['content']),
'CONTENT' => trigger_change('render_comment_content',$row['content']),
'WEBSITE_URL' => $row['website_url'],
);