<?php /** * @package CHClient * @copyright Copyright (C) CloudHotelier. All rights reserved. * @license GNU GPLv2 <http://www.gnu.org/licenses/gpl.html> * @author Xavier Pallicer <*****@*****.**> */ defined('_JEXEC') or die; // load assets CHClient::chassets(); // load layout $layout = new JLayoutFile('chclient_search', $basePath = JPATH_ROOT . '/components/com_chclient/layouts'); $data['title'] = $module->title; $data['action'] = JRoute::_('index.php?Itemid=' . $params->get('Itemid')); echo $layout->render($data);