loadLanguage(); } /** * This method handles the supported comment systems * * @access public * * @param int $event_id Integer Event identifier * @param int $event_title String Event title * * @return boolean * */ public function onEventEnd($event_id, $event_title = '') { //simple, skip if processing not needed if (!$this->params->get('commentsystem', '0')) { return ''; } $res = ''; //jcomments integration if ($this->params->get('commentsystem') == 2) { if (file_exists(JPATH_SITE . '/components/com_jcomments/jcomments.php')) { require_once(JPATH_SITE . '/components/com_jcomments/jcomments.php'); $res .= '