Changeset 15645 for extensions/reply_to/main.inc.php
- Timestamp:
- Jun 11, 2012, 11:49:11 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/reply_to/main.inc.php
r15108 r15645 16 16 define('REPLYTO_PATH' , PHPWG_PLUGINS_PATH . REPLYTO_DIR . '/'); 17 17 18 include_once(REPLYTO_PATH.'reply_to.inc.php'); 19 load_language('plugin.lang', REPLYTO_PATH); 18 add_event_handler('init', 'replyto_init'); 20 19 21 add_event_handler('render_comment_content', 'replyto_parse', 60, 2); 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'); 20 function replyto_init() 21 { 22 include_once(REPLYTO_PATH.'reply_to.inc.php'); 23 load_language('plugin.lang', REPLYTO_PATH); 24 25 add_event_handler('render_comment_content', 'replyto_parse', 60, 2); 26 if (script_basename() == 'comments') add_event_handler('loc_after_page_header', 'replyto_add_link'); 27 else add_event_handler('loc_end_section_init', 'replyto_add_link'); 28 } 24 29 25 30 ?>
Note: See TracChangeset
for help on using the changeset viewer.