diff --git a/modules/qlohotelreview/views/templates/hook/_partials/review-list.tpl b/modules/qlohotelreview/views/templates/hook/_partials/review-list.tpl index 62452447d..4e2b42c2c 100644 --- a/modules/qlohotelreview/views/templates/hook/_partials/review-list.tpl +++ b/modules/qlohotelreview/views/templates/hook/_partials/review-list.tpl @@ -19,7 +19,9 @@
{foreach $reviews as $review} - {include file='./review.tpl' review=$review} + {block name='review'} + {include file='./review.tpl' review=$review} + {/block} {/foreach}
diff --git a/modules/qlohotelreview/views/templates/hook/product-tab-content.tpl b/modules/qlohotelreview/views/templates/hook/product-tab-content.tpl index 2c764c291..c6ca39de5 100644 --- a/modules/qlohotelreview/views/templates/hook/product-tab-content.tpl +++ b/modules/qlohotelreview/views/templates/hook/product-tab-content.tpl @@ -20,10 +20,18 @@ {block name='hotel_reviews'}
{if is_array($reviews) && count($reviews)} - {include file='./_partials/review-summary.tpl'} - {include file='./_partials/media-list.tpl'} - {include file='./_partials/list-actions.tpl'} - {include file='./_partials/review-list.tpl'} + {block name='review_summary'} + {include file='./_partials/review-summary.tpl'} + {/block} + {block name='media_list'} + {include file='./_partials/media-list.tpl'} + {/block} + {block name='list_actions'} + {include file='./_partials/list-actions.tpl'} + {/block} + {block name='review_list'} + {include file='./_partials/review-list.tpl'} + {/block} {else} {l s='No reviews.' mod='qlohotelreview'} {/if} diff --git a/modules/wkroomsearchblock/views/templates/hook/categoryPageSearch.tpl b/modules/wkroomsearchblock/views/templates/hook/categoryPageSearch.tpl index a46f54eb5..dca7a8082 100644 --- a/modules/wkroomsearchblock/views/templates/hook/categoryPageSearch.tpl +++ b/modules/wkroomsearchblock/views/templates/hook/categoryPageSearch.tpl @@ -24,7 +24,9 @@

{l s='Search Rooms' mod='wkroomsearchblock'}


- {include file="./searchForm.tpl"} + {block name='search_form'} + {include file="./searchForm.tpl"} + {/block} {/if} {/block} diff --git a/modules/wkroomsearchblock/views/templates/hook/landingPageSearch.tpl b/modules/wkroomsearchblock/views/templates/hook/landingPageSearch.tpl index 4b0570280..0849db558 100644 --- a/modules/wkroomsearchblock/views/templates/hook/landingPageSearch.tpl +++ b/modules/wkroomsearchblock/views/templates/hook/landingPageSearch.tpl @@ -29,7 +29,9 @@
+ {block name='search_form'} {include file="./searchForm.tpl"} + {/block}
diff --git a/modules/wkroomsearchblock/views/templates/hook/roomTypePageSearch.tpl b/modules/wkroomsearchblock/views/templates/hook/roomTypePageSearch.tpl index f03d500ed..993330afe 100644 --- a/modules/wkroomsearchblock/views/templates/hook/roomTypePageSearch.tpl +++ b/modules/wkroomsearchblock/views/templates/hook/roomTypePageSearch.tpl @@ -56,7 +56,9 @@

{l s='Searched results for' mod='wkroomsearchblock'}

{* search form *} - {include file="./searchForm.tpl"} + {block name='search_form'} + {include file="./searchForm.tpl"} + {/block} diff --git a/modules/wkroomsearchblock/views/templates/hook/searchForm.tpl b/modules/wkroomsearchblock/views/templates/hook/searchForm.tpl index 75edfaf85..5551ae430 100644 --- a/modules/wkroomsearchblock/views/templates/hook/searchForm.tpl +++ b/modules/wkroomsearchblock/views/templates/hook/searchForm.tpl @@ -17,168 +17,95 @@ * @license https://store.webkul.com/license.html *} -{block name='search_form'} -
- {block name='search_form_location'} - {if isset($location_enabled) && $location_enabled} -
- - - + + {block name='search_form_location'} + {if isset($location_enabled) && $location_enabled} +
+ + + - {/if} - {/block} - {block name='search_form_hotel'} - {if count($hotels_info) <= 1 && !$show_hotel_name} - - - - - - {else} -
- - - - +
+ {/if} + {/block} + {block name='search_form_hotel'} + {if count($hotels_info) <= 1 && !$show_hotel_name} + + + + + + {else} +
+ + + + -
- -
+
+
- {/if} - {/block} +
+ {/if} + {/block} - {block name='search_form_dates'} - {if isset($multiple_dates_input) && $multiple_dates_input} -
-
- -
{l s='Check-in' mod='wkroomsearchblock'}
-
-
- -
{l s='Check-out' mod='wkroomsearchblock'}
-
-
- {else} -
+ {block name='search_form_dates'} + {if isset($multiple_dates_input) && $multiple_dates_input} +
+
- -
{l s='Check-in' mod='wkroomsearchblock'}    {l s='Check-out' mod='wkroomsearchblock'}
+
{l s='Check-in' mod='wkroomsearchblock'}
- {/if} - {/block} +
+ +
{l s='Check-out' mod='wkroomsearchblock'}
+
+
+ {else} +
+ + +
{l s='Check-in' mod='wkroomsearchblock'}    {l s='Check-out' mod='wkroomsearchblock'}
+
+ {/if} + {/block} - {block name='search_form_occupancy'} - {if isset($is_occupancy_wise_search) && $is_occupancy_wise_search} -
-