$kunena_app->enqueueMessage($kn_version_warning, 'notice'); } if (!$kn_version->checkVersion()) { $kunena_app->enqueueMessage(sprintf(JText::_('COM_KUNENA_ERROR_UPGRADE'), Kunena::version()), 'notice'); $kunena_app->enqueueMessage(JText::_('COM_KUNENA_ERROR_UPGRADE_WARN')); $kunena_app->enqueueMessage(sprintf(JText::_('COM_KUNENA_ERROR_UPGRADE_AGAIN'), Kunena::version())); $kunena_app->enqueueMessage(JText::_('COM_KUNENA_ERROR_INCOMPLETE_SUPPORT') . ' <a href="http://www.kunena.org">www.kunena.org</a>'); } // Detect errors in CB integration // TODO: do we need to enable this? /* if (is_object ( $kunenaProfile )) { $kunenaProfile->enqueueErrors (); } */ html_Kunena::showFbFooter(); //########################################### // START TEMPLATE MANAGER //########################################### function addKTemplate() { html_Kunena::installKTemplate(); } function extractKTemplate() { $app = JFactory::getApplication(); $kunena_app =& JFactory::getApplication(); $option = JRequest::getVar('option', '', '', 'cmd'); jimport('joomla.filesystem.folder'); jimport('joomla.filesystem.file'); jimport('joomla.filesystem.archive');