Fixed: review changes
This commit is contained in:
@@ -89,8 +89,8 @@ $(document).ready(function() {
|
||||
nav: true,
|
||||
navText: ['<i class="icon-angle-left"></i>', '<i class="icon-angle-right"></i>'],
|
||||
dots: false,
|
||||
//autoplay: true,
|
||||
// autoplaySpeed: 1000,
|
||||
autoplay: true,
|
||||
autoplaySpeed: 1000,
|
||||
margin: 24,
|
||||
items: 1,
|
||||
rtl: typeof language_is_rtl != 'undefined' && language_is_rtl,
|
||||
|
||||
@@ -55,8 +55,8 @@
|
||||
{block name='hotel_room_block_room_type_description'}
|
||||
<p class="htlRoomTypeNameText">{$roomDisplay.name|escape:'htmlall':'UTF-8'}</p>
|
||||
{if isset($roomDisplay.property_name) && $roomDisplay.property_name}
|
||||
<p class="htlRoomCardProperty" title="{$roomDisplay.property_name|escape:'htmlall':'UTF-8'}{if isset($roomDisplay.property_city) && $roomDisplay.property_city}, {$roomDisplay.property_city|escape:'htmlall':'UTF-8'}{/if}">
|
||||
<span><i class="icon-map-marker"></i> {$roomDisplay.property_name|escape:'htmlall':'UTF-8'}{if isset($roomDisplay.property_city) && $roomDisplay.property_city}, {$roomDisplay.property_city|escape:'htmlall':'UTF-8'}</span>{/if}
|
||||
<p class="htlRoomCardProperty" title="{$roomDisplay.property_name|escape:'htmlall':'UTF-8'}{if isset($roomDisplay.property_location) && $roomDisplay.property_location}, {$roomDisplay.property_location|escape:'htmlall':'UTF-8'}{/if}">
|
||||
<span><i class="icon-map-marker"></i> {$roomDisplay.property_name|escape:'htmlall':'UTF-8'}{if isset($roomDisplay.property_location) && $roomDisplay.property_location}, {$roomDisplay.property_location|escape:'htmlall':'UTF-8'}</span>{/if}
|
||||
</p>
|
||||
{/if}
|
||||
{if $roomDisplay.feature}
|
||||
|
||||
@@ -117,10 +117,9 @@ class WkHotelRoom extends Module
|
||||
if ($displayProperty && $roomTypeInfo) {
|
||||
$objHotelBranch = new HotelBranchInformation((int) $roomTypeInfo['id_hotel'], $idLang);
|
||||
$htlRoom['property_name'] = $objHotelBranch->hotel_name;
|
||||
// same format as the property location of the room type page
|
||||
$addressInfo = HotelBranchInformation::getAddress((int) $roomTypeInfo['id_hotel'], $idLang);
|
||||
$htlRoom['property_city'] = $addressInfo['city'].
|
||||
($addressInfo['id_state'] ? ', '.$addressInfo['state'] : '').', '.$addressInfo['country'];
|
||||
$htlRoom['property_location'] = $addressInfo['city'].
|
||||
($addressInfo['state'] ? ', '.$addressInfo['state'] : '').', '.$addressInfo['country'];
|
||||
}
|
||||
$htlRoom['max_adults'] = $roomTypeInfo ? (int) $roomTypeInfo['max_adults'] : 0;
|
||||
$htlRoom['max_children'] = $roomTypeInfo ? (int) $roomTypeInfo['max_children'] : 0;
|
||||
|
||||
Reference in New Issue
Block a user