path = dirname(__FILE__).'/'; } function get_popup_help_content($popup_help_content, $page) { $help_content = @file_get_contents(get_language_filepath('help/'.$page.'.html', $this->path)); if ($help_content == false) { return $popup_help_content; } else { return $popup_help_content.$help_content; } } } if (defined('IN_ADMIN') and IN_ADMIN) { include_once(dirname(__FILE__).'/'.'main.admin.inc.php'); } else { $add_index = new AddIndex(); add_event_handler('get_popup_help_content', array(&$add_index, 'get_popup_help_content'), EVENT_HANDLER_PRIORITY_NEUTRAL, 2); } ?>