Changeset 11299 for extensions


Ignore:
Timestamp:
Jun 10, 2011, 9:21:44 PM (13 years ago)
Author:
mistic100
Message:

change event_handler_priority

Location:
extensions/reply_to
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/reply_to/main.inc.php

    r11252 r11299  
    2727else if (script_basename() == 'comments' AND !isset($_GET['display_mode']))
    2828{
    29   add_event_handler('render_comment_content', 'replyto_parse_picture', 10);
     29  add_event_handler('render_comment_content', 'replyto_parse_picture', 60);
    3030}
    3131// add link and parse on album page (compatibility with Comment on Albums)
     
    3737else if (script_basename() == 'comments' AND $_GET['display_mode'] == 'albums')
    3838{
    39   add_event_handler('render_comment_content', 'replyto_parse_album', 10);
     39  add_event_handler('render_comment_content', 'replyto_parse_album', 60);
    4040}
    4141   
  • extensions/reply_to/reply_to.inc.php

    r11252 r11299  
    2626  if (script_basename() == 'picture')
    2727  {
    28     add_event_handler('render_comment_content', 'replyto_parse_picture', 10);
     28    add_event_handler('render_comment_content', 'replyto_parse_picture', 60);
    2929    if ( !is_a_guest() OR $conf['comments_forall'] )
    3030    {
     
    3939    )
    4040  {
    41     add_event_handler('render_comment_content', 'replyto_parse_album', 10);
     41    add_event_handler('render_comment_content', 'replyto_parse_album', 60);
    4242    if ( !is_a_guest() OR $conf['comments_forall'] )
    4343    {
Note: See TracChangeset for help on using the changeset viewer.