function display($tpl = null) { $this->appSettings = JUtil::getInstance()->getApplicationSettings(); parent::display($tpl); }
* it under the terms of the GNU General Public License as published by * the Free Software Foundation * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU General Public License for more details. * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ defined('_JEXEC') or die('Restricted access'); jimport('joomla.session.session'); //JHTML::_('stylesheet', 'modules/mod_jhotelreservation/assets/luxury.css'); JHTML::_('script', 'administrator/components/com_jhotelreservation/assets/utils.js'); JHTML::_('script', 'components/com_jhotelreservation/assets/js/search.js'); JHTML::_('script', 'components/com_jhotelreservation/assets/jhotelreservationcalendar.js'); $appSetings = JUtil::getInstance()->getApplicationSettings(); //dump($userData->roomGuests); ?> <script> var dateFormat = "<?php echo $appSetings->dateFormat; ?> "; var message = "<?php echo JText::_('LNG_ERROR_PERIOD', true); ?> "; var defaultEndDate = "<?php echo $params->get('end-date'); ?> ";