Changeset 26110 for extensions
- Timestamp:
- Dec 23, 2013, 11:37:13 AM (11 years ago)
- Location:
- extensions/Comments_on_Albums/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Comments_on_Albums/trunk/include/coa_albums.php
r26089 r26110 156 156 157 157 // allow plugins to notify what's going on 158 trigger_action( 'user_comment_insertion', 159 array_merge($comm, array('action'=>$comment_action) ) 158 trigger_notify('user_comment_insertion', 159 array_merge($comm, array('action'=>$comment_action) ), 160 'album' 160 161 ); 161 162 … … 282 283 $tpl_comment = array( 283 284 'ID' => $row['id'], 284 'AUTHOR' => trigger_ event('render_comment_author', $row['author']),285 'AUTHOR' => trigger_change('render_comment_author', $row['author']), 285 286 'DATE' => format_date($row['date'], true), 286 'CONTENT' => trigger_ event('render_comment_content', $row['content'], 'album'),287 'CONTENT' => trigger_change('render_comment_content', $row['content'], 'album'), 287 288 'WEBSITE_URL' => $row['website_url'], 288 289 ); -
extensions/Comments_on_Albums/trunk/include/coa_comments_page.php
r26090 r26110 295 295 'U_PICTURE' => $comment['cat_url'], 296 296 'src_image' => $comment['src_image'], 297 'ALT' => trigger_ event('render_category_name', $categories[$comment['comment_id']]['name']),298 'AUTHOR' => trigger_ event('render_comment_author', $comment['author']),297 'ALT' => trigger_change('render_category_name', $categories[$comment['comment_id']]['name']), 298 'AUTHOR' => trigger_change('render_comment_author', $comment['author']), 299 299 'WEBSITE_URL' => $comment['website_url'], 300 300 'DATE' => format_date($comment['date'], true), 301 'CONTENT' => trigger_ event('render_comment_content', $comment['content'], 'album'),301 'CONTENT' => trigger_change('render_comment_content', $comment['content'], 'album'), 302 302 ); 303 303 -
extensions/Comments_on_Albums/trunk/include/functions_comment.inc.php
r26089 r26110 149 149 150 150 // perform more spam check 151 $comment_action = trigger_ event('user_comment_check',152 $comment_action, $comm 151 $comment_action = trigger_change('user_comment_check', 152 $comment_action, $comm, 'album' 153 153 ); 154 154 … … 242 242 'comment_id' => $comment_id 243 243 )); 244 trigger_ action('user_comment_deletion', $comment_id, 'category');244 trigger_notify('user_comment_deletion', $comment_id, 'album'); 245 245 246 246 return true; … … 280 280 // perform more spam check 281 281 $comment_action = 282 trigger_ event('user_comment_check',282 trigger_change('user_comment_check', 283 283 $comment_action, 284 284 array_merge($comment, 285 285 array('author' => $GLOBALS['user']['username']) 286 ) 286 ), 287 'album' 287 288 ); 288 289 … … 410 411 pwg_query($query); 411 412 412 trigger_ action('user_comment_validation', $comment_id, 'category');413 trigger_notify('user_comment_validation', $comment_id, 'album'); 413 414 } -
extensions/Comments_on_Albums/trunk/stuffs_module/main.inc.php
r21347 r26110 209 209 'U_PICTURE' => $comment['cat_url'], 210 210 'src_image' => $src_image, 211 'ALT' => trigger_ event('render_category_name', $categories[$comment['comment_id']]['name']),212 'AUTHOR' => trigger_ event('render_comment_author', $comment['author']),213 'DATE'=> format_date($comment['date'], true),214 'CONTENT'=> trigger_event('render_comment_content',$comment['content']),211 'ALT' => trigger_change('render_category_name', $categories[$comment['comment_id']]['name']), 212 'AUTHOR' => trigger_change('render_comment_author', $comment['author']), 213 'DATE'=> format_date($comment['date'], true), 214 'CONTENT'=> trigger_change('render_comment_content',$comment['content'], 'album'), 215 215 'WIDTH' => $datas[3], 216 216 'HEIGHT' => $datas[4],
Note: See TracChangeset
for help on using the changeset viewer.