* @version 3.0 FREE * @package Booklibrary - property slideShow * @copyright 2012 OrdaSoft * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * @author 2012 Andrey Kvasnekskiy (akbet@ordasoft.com ) * @description Booklibrary - property slideShow for Booklibrary Component * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL */ // no direct access defined('_JEXEC') or die('Restricted access'); if (defined("DS") != true) { define('DS', DIRECTORY_SEPARATOR); } require_once dirname(__FILE__) . DS . 'helper.php'; // Include the syndicate functions only once $slides = modBOOKSlideShowHelper::getImagesFromBookSlideShow($params); $app = JFactory::getApplication(); if ($slides == null) { $app->enqueueMessage(JText::_('MOD_BOOKSLIDESHOW_NO_CATEGORY_OR_ITEMS'), 'notice'); return; } if (version_compare(JVERSION, '3.0', 'lt')) { JHTML::_('behavior.mootools'); } else { JHtml::_('behavior.framework'); } if ($params->get('link_image', 1) == 2) { JHTML::_('behavior.modal'); JHTML::_('behavior.mootools-uncompressed'); } $document = JFactory::getDocument();