Changeset 28629
- Timestamp:
- Jun 4, 2014, 1:20:32 PM (10 years ago)
- Location:
- extensions/Comments_on_Albums/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Comments_on_Albums/trunk/admin.php
r26848 r28629 182 182 'ID' => $row['id'], 183 183 'U_PICTURE' => get_root_url().'admin.php?page=album-'.$row['category_id'], 184 'CATEGORY_NAME' => trigger_ event('render_category_name', $row['name']),184 'CATEGORY_NAME' => trigger_change('render_category_name', $row['name']), 185 185 'TN_SRC' => $thumb, 186 'AUTHOR' => trigger_ event('render_comment_author', $author_name),186 'AUTHOR' => trigger_change('render_comment_author', $author_name), 187 187 'DATE' => format_date($row['date'], true), 188 'CONTENT' => trigger_ event('render_comment_content', $row['content'], 'album'),188 'CONTENT' => trigger_change('render_comment_content', $row['content'], 'album'), 189 189 'IS_PENDING' => ('false' == $row['validated']), 190 190 ) -
extensions/Comments_on_Albums/trunk/include/coa_albums.php
r26848 r28629 156 156 157 157 // allow plugins to notify what's going on 158 trigger_ action('user_comment_insertion',158 trigger_notify('user_comment_insertion', 159 159 array_merge($comm, array('action'=>$comment_action) ), 160 160 'album' … … 284 284 'ID' => $row['id'], 285 285 'AUTHOR' => trigger_change('render_comment_author', $row['author']), 286 'DATE' => trigger_ event($row['date'], true),287 'CONTENT' => trigger_ event('render_comment_content', $row['content'], 'album'),286 'DATE' => trigger_change($row['date'], true), 287 'CONTENT' => trigger_change('render_comment_content', $row['content'], 'album'), 288 288 'WEBSITE_URL' => $row['website_url'], 289 289 ); … … 387 387 $template->set_filename('comments_on_albums', realpath(COA_PATH . 'template/albums.tpl')); 388 388 389 trigger_ action('loc_end_coa');389 trigger_notify('loc_end_coa'); 390 390 391 391 if (isset($pwg_loaded_plugins['rv_tscroller']) and count($page['navigation_bar']) != 0) -
extensions/Comments_on_Albums/trunk/include/coa_comments_page.php
r26848 r28629 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/events.inc.php
r26848 r28629 10 10 ) 11 11 { 12 trigger_ action('loc_begin_coa');12 trigger_notify('loc_begin_coa'); 13 13 include(COA_PATH . 'include/coa_albums.php'); 14 14 } -
extensions/Comments_on_Albums/trunk/include/functions_comment.inc.php
r26917 r28629 150 150 151 151 // perform more spam check 152 $comment_action = trigger_ event('user_comment_check',152 $comment_action = trigger_change('user_comment_check', 153 153 $comment_action, $comm, 'album' 154 154 ); … … 243 243 'comment_id' => $comment_id 244 244 )); 245 trigger_ action('user_comment_deletion', $comment_id, 'album');245 trigger_notify('user_comment_deletion', $comment_id, 'album'); 246 246 247 247 return true; … … 281 281 // perform more spam check 282 282 $comment_action = 283 trigger_ event('user_comment_check',283 trigger_change('user_comment_check', 284 284 $comment_action, 285 285 array_merge($comment, … … 413 413 pwg_query($query); 414 414 415 trigger_ action('user_comment_validation', $comment_id, 'album');415 trigger_notify('user_comment_validation', $comment_id, 'album'); 416 416 } -
extensions/Comments_on_Albums/trunk/stuffs_module/main.inc.php
r26848 r28629 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']),211 'ALT' => trigger_change('render_category_name', $categories[$comment['comment_id']]['name']), 212 'AUTHOR' => trigger_change('render_comment_author', $comment['author']), 213 213 'DATE'=> format_date($comment['date'], true), 214 'CONTENT'=> trigger_ event('render_comment_content',$comment['content'], 'album'),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.