Changeset 12389 for extensions/reply_to/main.inc.php
- Timestamp:
- Oct 8, 2011, 8:30:16 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/reply_to/main.inc.php
r11416 r12389 20 20 21 21 add_event_handler('render_comment_content', 'replyto_parse', 60, 2); 22 // add_event_handler('init', 'replyto_add_link');// for comments page (section_init.inc is not called on this page)23 add_event_handler('loc_end_section_init', 'replyto_add_link'); // for all the rest 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) 24 24 25 25 ?>
Note: See TracChangeset
for help on using the changeset viewer.