Changeset 28630


Ignore:
Timestamp:
Jun 4, 2014, 1:22:25 PM (6 years ago)
Author:
mistic100
Message:

use trigger_change

Location:
extensions/GuestBook
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/GuestBook/admin/pending.php

    r26851 r28630  
    8282    array(
    8383      'ID' => $row['id'],
    84       'AUTHOR' => trigger_event('render_comment_author', $author_name),
     84      'AUTHOR' => trigger_change('render_comment_author', $author_name),
    8585      'DATE' => format_date($row['date'], true),
    86       'CONTENT' => trigger_event('render_comment_content', $row['content'], 'guestbook'),
     86      'CONTENT' => trigger_change('render_comment_content', $row['content'], 'guestbook'),
    8787      'EMAIL' => $row['email'],
    8888      'WEBSITE' => $row['website'],
  • extensions/GuestBook/include/functions_comment.inc.php

    r26918 r28630  
    137137 
    138138  // perform more spam check
    139   $comment_action = trigger_event('user_comment_check', $comment_action, $comm, 'guestbook');
     139  $comment_action = trigger_change('user_comment_check', $comment_action, $comm, 'guestbook');
    140140
    141141  if ($comment_action!='reject')
  • extensions/GuestBook/include/guestbook.inc.php

    r26851 r28630  
    219219    $tpl_comment = array(
    220220      'ID' => $row['id'],
    221       'AUTHOR' => trigger_event('render_comment_author', $author),
     221      'AUTHOR' => trigger_change('render_comment_author', $author),
    222222      'DATE' => format_date($row['date'], true),
    223       'CONTENT' => trigger_event('render_comment_content', $row['content'], 'guestbook'),
     223      'CONTENT' => trigger_change('render_comment_content', $row['content'], 'guestbook'),
    224224      'WEBSITE' => $row['website'],
    225225      );
Note: See TracChangeset for help on using the changeset viewer.