コード例 #1
0
	<label class="control-label" for="customerLastname"><?php 
echo JTEXT::_('COM_BOOKINGFORCONNECTOR_ORDERS_VIEW_LASTNAME');
?>
</label>
	<div class="controls">
		<input id="customerLastname" name="customerLastname" type="text" />
	</div>
</div>
<div class="control-group">
	<label class="control-label" for="checkIn"><?php 
echo JTEXT::_('COM_BOOKINGFORCONNECTOR_ORDERS_VIEW_CHECKIN');
?>
</label>
	<div class="controls">
			<?php 
echo htmlHelper::calendar($date->format('m/d/Y'), 'checkIn', 'checkIn', 'm/d/Y', 'd/m/Y', 'dd/mm/yy', array('class' => 'calendar'), true, array('minDate' => '\'+0d\'', 'onSelect' => 'function(dateStr) { $("#formCheckMode").validate().element(this); }'));
?>
	</div>
</div>
<script type="text/javascript">
jQuery(function($)
		{
		    $("#formCheckMode").validate(
		    {
		        rules:
		        {
		        	externalOrderId: "required",
		        	checkIn: {
			        		required: true,
			        		dateITA: true
			        	},
コード例 #2
0
            </div><!--/span-->
          </div><!--/row-->
          <div class="<?php 
echo COM_BOOKINGFORCONNECTOR_BOOTSTRAP_ROW;
?>
">
            <div class="<?php 
echo COM_BOOKINGFORCONNECTOR_BOOTSTRAP_COL;
?>
4">
              <label><?php 
echo JTEXT::_('COM_BOOKINGFORCONNECTOR_CREW_VIEW_BIRTHDATE');
?>
</label>
				<?php 
echo htmlHelper::calendar($birthDate->format('m/d/Y'), 'birthDate' . $currentCrew, 'birthDate' . $currentCrew, 'm/d/Y', 'd/m/Y', 'dd/mm/yy', array('class' => '<?php echo COM_BOOKINGFORCONNECTOR_BOOTSTRAP_COL ?>12'), true, array());
?>
                 
            </div><!--/span-->
            <div class="<?php 
echo COM_BOOKINGFORCONNECTOR_BOOTSTRAP_COL;
?>
4">
              <label><?php 
echo JTEXT::_('COM_BOOKINGFORCONNECTOR_CREW_VIEW_BIRTHLOCATION');
?>
</label>
              <input name="birthLocation<?php 
echo $currentCrew;
?>
" type="text" class="<?php 
コード例 #3
0
?>
 </label>
			<?php 
echo htmlHelper::calendar($checkin->format('m/d/Y'), 'form[CheckIn]', $checkinId, 'm/d/Y', 'd/m/Y', 'dd/mm/yy', array('class' => ''), true, array('minDate' => '\'+0d\'', 'onClose' => 'function(dateText, inst) { jQuery(this).attr("disabled", false); }', 'beforeShow' => 'function(dateText, inst) { jQuery(this).attr("disabled", true); }', 'onSelect' => 'function(date) { checkDate' . $checkinId . '(jQuery, jQuery(this), date); }'));
?>
			</div><!--/span-->
			<div class="<?php 
echo COM_BOOKINGFORCONNECTOR_BOOTSTRAP_COL;
?>
4">
				<label><?php 
echo JTEXT::_('COM_BOOKINGFORCONNECTOR_DEFAULT_FORM_CHECKOUT');
?>
 </label>
					<?php 
echo htmlHelper::calendar($checkout->format('m/d/Y'), 'form[CheckOut]', $checkoutId, 'm/d/Y', 'd/m/Y', 'dd/mm/yy', array('class' => ''), true, array('onClose' => 'function(dateText, inst) { jQuery(this).attr("disabled", false); }', 'beforeShow' => 'function(dateText, inst) { jQuery(this).attr("disabled", true); }', 'minDate' => '\'+1d\''));
?>
			</div><!--/span-->
			<div class="<?php 
echo COM_BOOKINGFORCONNECTOR_BOOTSTRAP_COL;
?>
4">
				<label><?php 
echo JTEXT::_('COM_BOOKINGFORCONNECTOR_DEFAULT_FORM_TOTPERSONS');
?>
 </label>
					<?php 
echo JHTML::_('select.integerlist', 0, 10, 1, 'form[Totpersons]', null, 2);
?>
			</div><!--/span-->
		</div>
コード例 #4
0
?>
:</span>
						<?php 
echo htmlHelper::calendar($checkin->format('m/d/Y'), 'checkin', $checkinId, 'm/d/Y', 'd/m/Y', 'dd/mm/yy', array('class' => 'calendar'), true, array('beforeShowDay' => 'function (date) { return enableSpecificDates(date, 1, daysToEnable); }', 'minDate' => '\'' . $startDate->format('d/m/Y') . '\'', 'maxDate' => '\'' . $endDate->format('d/m/Y') . '\'', 'onSelect' => 'function(date) { checkDate' . $checkinId . '(jQuery, jQuery(this), date); quoteCalculatorChanged(); }'));
?>
					</div>
					<div class="<?php 
echo COM_BOOKINGFORCONNECTOR_BOOTSTRAP_COL;
?>
6" id="calcheckout">
						<span class="com_bookingforconnector_resource-calculatorForm-fieldLabel"><?php 
echo JText::_('COM_BOOKINGFORCONNECTOR_RESOURCE_VIEW_CALCULATOR_CHECKOUT');
?>
:</span>
						<?php 
echo htmlHelper::calendar($checkout->format('m/d/Y'), 'checkout', $checkoutId, 'm/d/Y', 'd/m/Y', 'dd/mm/yy', array('class' => 'calendar'), true, array('beforeShowDay' => 'function (date) { return enableSpecificDates(date, 0, checkOutDaysToEnable); }', 'minDate' => '\'' . $startDate2->format('d/m/Y') . '\'', 'maxDate' => '\'' . $endDate->format('d/m/Y') . '\'', 'onSelect' => 'function(date) { quoteCalculatorChanged(); }'));
?>
					</div>
					<div class="clear"></div>
				</div>
				<br />
				<div class="<?php 
echo COM_BOOKINGFORCONNECTOR_BOOTSTRAP_ROW;
?>
">
					<div class="<?php 
echo COM_BOOKINGFORCONNECTOR_BOOTSTRAP_COL;
?>
4">
						<span class="com_bookingforconnector_resource-calculatorForm-fieldLabel"><?php 
echo JText::_('COM_BOOKINGFORCONNECTOR_RESOURCE_VIEW_CALCULATOR_ADULTS');
コード例 #5
0
				<div class="mod_bookingforsearch-param mod_bookingforsearch-calendar mod_bookingforsearch-checkin">
					<div class="labelforcalendar"><?php 
echo JTEXT::_('MOD_BOOKINGFORSEARCH_FROM');
?>
:</div>
					<?php 
echo htmlHelper::calendar($checkin->format('m/d/Y'), 'checkin', $checkinId, 'm/d/Y', 'd/m/Y', 'dd/mm/yy', array('class' => 'calendar'), true, array('minDate' => '\'' . $startDate->format('d/m/Y') . '\'', 'maxDate' => '\'' . $endDate->format('d/m/Y') . '\'', 'onSelect' => 'function(date) { checkDate' . $checkinId . '(jQuery, jQuery(this), date); }'));
?>
				</div>
				<div class="mod_bookingforsearch-param mod_bookingforsearch-calendar mod_bookingforsearch-checkout">
					<div class="labelforcalendar"><?php 
echo JTEXT::_('MOD_BOOKINGFORSEARCH_TO');
?>
:</div>
					<?php 
echo htmlHelper::calendar($checkout->format('m/d/Y'), 'checkout', $checkoutId, 'm/d/Y', 'd/m/Y', 'dd/mm/yy', array('class' => 'calendar'), true, array('minDate' => '\'' . $startDate2->format('d/m/Y') . '\'', 'maxDate' => '\'' . $endDate->format('d/m/Y') . '\''));
?>
				</div>
				<div class="clearfix clearboth"></div>
				<div class="mod_bookingforsearch-param mod_bookingforsearch-accomodation">
					<div class="labelforaccomodation"><?php 
echo JTEXT::_('MOD_BOOKINGFORSEARCH_ACCOMODATION');
?>
:</div>
					<div class="selectforaccomodation"><?php 
echo JHTML::_('select.genericlist', $types, 'masterTypeId', array('class' => 'inputtotal'), 'value', 'text', $masterTypeId, 'masterTypeId' . $currModID);
?>
</div>
				</div>
				<div class="clearfix clearboth"></div>
				<div class="mod_bookingforsearch-param mod_bookingforsearch-zones">
コード例 #6
0
		</div>
	</div>
	<div class="<?php 
echo COM_BOOKINGFORCONNECTOR_BOOTSTRAP_ROW;
?>
">
		<div class="<?php 
echo COM_BOOKINGFORCONNECTOR_BOOTSTRAP_COL;
?>
4">
			<label><?php 
echo JTEXT::_('COM_BOOKINGFORCONNECTOR_CREW_VIEW_BIRTHDATE');
?>
</label>
			<?php 
echo htmlHelper::calendar($birthDate->format('m/d/Y'), 'birthDate' . $currentCrew, 'birthDate' . $currentCrew, 'm/d/Y', 'd/m/Y', 'dd/mm/yy', array('class' => 'full-width'), true, array('numberOfMonths' => '2'));
?>
                 

		</div>
		<div class="<?php 
echo COM_BOOKINGFORCONNECTOR_BOOTSTRAP_COL;
?>
4">
			<label><?php 
echo JTEXT::_('COM_BOOKINGFORCONNECTOR_CREW_VIEW_BIRTHLOCATION');
?>
</label>
			<input name="birthLocation<?php 
echo $currentCrew;
?>
コード例 #7
0
            </div><!--/span-->
          </div><!--/row-->           
           <div class="<?php 
echo COM_BOOKINGFORCONNECTOR_BOOTSTRAP_ROW;
?>
">
            <div class="<?php 
echo COM_BOOKINGFORCONNECTOR_BOOTSTRAP_COL;
?>
6">
               <label><?php 
echo JTEXT::_('COM_BOOKINGFORCONNECTOR_CREW_VIEW_DOCUMENTDATE');
?>
</label>
				<?php 
echo htmlHelper::calendar($documentDate->format('m/d/Y'), 'documentDate', 'documentDate', 'm/d/Y', 'd/m/Y', 'dd/mm/yy', array('class' => '<?php echo COM_BOOKINGFORCONNECTOR_BOOTSTRAP_COL ?>12'), true, array('onSelect' => 'function(dateStr) { $("#formCheckMode").validate().element(this); }'));
?>
                
            </div><!--/span-->
            <div class="<?php 
echo COM_BOOKINGFORCONNECTOR_BOOTSTRAP_COL;
?>
6">
               <label><?php 
echo JTEXT::_('COM_BOOKINGFORCONNECTOR_CREW_VIEW_DOCUMENTRELEASE');
?>
</label>
               <input name="documentRelease" type="text" class="<?php 
echo COM_BOOKINGFORCONNECTOR_BOOTSTRAP_COL;
?>
12" placeholder="State" value="<?php 
コード例 #8
0
		</div>
	</div>
	<div class="<?php 
    echo COM_BOOKINGFORCONNECTOR_BOOTSTRAP_ROW;
    ?>
">
		<div class="<?php 
    echo COM_BOOKINGFORCONNECTOR_BOOTSTRAP_COL;
    ?>
6">
			<label><?php 
    echo JTEXT::_('COM_BOOKINGFORCONNECTOR_CREW_VIEW_DOCUMENTDATE');
    ?>
</label>
			<?php 
    echo htmlHelper::calendar($documentDate->format('m/d/Y'), 'documentDate', 'documentDate', 'm/d/Y', 'd/m/Y', 'dd/mm/yy', array('class' => 'full-width'), true, array('numberOfMonths' => '2'));
    ?>
					  
		</div>
		<div class="<?php 
    echo COM_BOOKINGFORCONNECTOR_BOOTSTRAP_COL;
    ?>
6">
			<label><?php 
    echo JTEXT::_('COM_BOOKINGFORCONNECTOR_CREW_VIEW_DOCUMENTRELEASE');
    ?>
</label>
			<input name="documentRelease" type="text" placeholder="" value="<?php 
    echo $documentRelease;
    ?>
" maxlength="255" class="full-width">