Example #1
0
 /**
  * Tests the calendar method.
  *
  * @return  void
  *
  * @since   3.1
  */
 public function testCalendar()
 {
     JHtmlBehavior::calendar();
     $this->assertEquals(array('JHtmlBehavior::calendar' => true), JHtmlBehaviorInspector::getLoaded(), 'The calendar behavior is not loaded with all dependencies');
 }
Example #2
0
<?php

/**
 * @package 	Bookpro
 * @author 		Ngo Van Quan
 * @link 		http://joombooking.com
 * @copyright 	Copyright (C) 2011 - 2012 Ngo Van Quan
 * @license 	GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 * @version 	$Id: default.php 84 2012-08-17 07:16:08Z quannv $
 **/
defined('_JEXEC') or die('Restricted access');
JHtmlBehavior::calendar();
JToolBarHelper::save();
JToolBarHelper::apply();
JToolBarHelper::cancel();
JToolBarHelper::title(JText::_('COM_BOOKPRO_COUPON_EDIT'), 'user.png');
?>
     

<form action="index.php" method="post" name="adminForm" id="adminForm">
			 <div class="form-horizontal">     
			 	<div class="control-group">
					<label class="control-label" for="pickup"> <?php 
echo JText::_('COM_BOOKPRO_TOUR_HOTEL');
?>
					</label>
					<div class="controls">
						<?php 
echo $this->hotels;
?>
					</div>