Ignore:
Timestamp:
May 18, 2012, 11:54:46 PM (12 years ago)
Author:
mistic100
Message:

update for Piwigo 2.4
fix a bug in links refresh on comments.php

File:
1 edited

Legend:

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

    r12389 r15108  
    2020
    2121add_event_handler('render_comment_content', 'replyto_parse', 60, 2);
    22 if (script_basename() == 'comments') add_event_handler('init', 'replyto_add_link'); // for comments page (section_init.inc is not called on this page)
    23 else add_event_handler('loc_end_section_init', 'replyto_add_link'); // for all other pages (we need section infos)
     22if (script_basename() == 'comments') add_event_handler('loc_after_page_header', 'replyto_add_link');
     23else add_event_handler('loc_end_section_init', 'replyto_add_link');
    2424   
    2525?>
Note: See TracChangeset for help on using the changeset viewer.