Changeset 15108 for extensions/reply_to/main.inc.php
- Timestamp:
- May 18, 2012, 11:54:46 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/reply_to/main.inc.php
r12389 r15108 20 20 21 21 add_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)22 if (script_basename() == 'comments') add_event_handler('loc_after_page_header', 'replyto_add_link'); 23 else add_event_handler('loc_end_section_init', 'replyto_add_link'); 24 24 25 25 ?>
Note: See TracChangeset
for help on using the changeset viewer.