Fixed:duplicate block name and optmized the some blocks

This commit is contained in:
vishalsingh.qlo325
2024-09-13 13:32:16 +05:30
parent 8840aeaf73
commit f2142fb983
28 changed files with 38 additions and 39 deletions

View File

@@ -344,7 +344,7 @@
</h2>
{/block}
{block name='blockcart_layer_cart_total_price'}
{block name='blockcart_layer_cart_total_room_price'}
<div class="layer_cart_row">
<strong class="dark">
{l s='Total Rooms Cost in cart' mod='blockcart'}
@@ -501,4 +501,4 @@
{* ###################################################################
End
################################################################### *}
{/block}
{/block}

View File

@@ -83,4 +83,4 @@
{addJsDefL name=bookNowTxt}{l s='Book Now' js=1 mod='wkhotelfilterblock'}{/addJsDefL}
{/strip}
{/block}
{/block}
{/block}

View File

@@ -27,4 +27,4 @@
{include file="./searchForm.tpl"}
</div>
{/if}
{/block}
{/block}

View File

@@ -19,7 +19,7 @@
{block name='search_form'}
<form method="POST" id="search_hotel_block_form" class="grid">
{block name='search_form_location_search_field'}
{block name='search_form_location'}
{if isset($location_enabled) && $location_enabled}
<div class="form-group area-{$column_widths['location']}">
<input type="text" class="form-control header-rmsearch-input input-location" id="hotel_location" name="hotel_location" autocomplete="off" placeholder="{l s='Hotel Location' mod='wkroomsearchblock'}" {if isset($search_data)}value="{$search_data['location']|escape:'htmlall':'UTF-8'}"{/if}>
@@ -30,7 +30,7 @@
</div>
{/if}
{/block}
{block name='search_form_hotel_search_field'}
{block name='search_form_hotel'}
{if count($hotels_info) <= 1 && !$show_hotel_name}
<input type="hidden" id="max_order_date" name="max_order_date" value="{if isset($hotels_info[0]['max_order_date'])}{$hotels_info[0]['max_order_date']|escape:'htmlall':'UTF-8'}{/if}">
<input type="hidden" id="preparation_time" name="preparation_time" value="{if isset($hotels_info[0]['preparation_time'])}{$hotels_info[0]['preparation_time']|escape:'htmlall':'UTF-8'}{/if}">
@@ -56,7 +56,7 @@
{/if}
{/block}
{block name='search_form_dates_search_field'}
{block name='search_form_dates'}
{if isset($multiple_dates_input) && $multiple_dates_input}
<div class="grid area-{$column_widths['date']}" id="daterange_value">
<div class="form-group">
@@ -77,7 +77,7 @@
{/if}
{/block}
{block name='search_form_occupancy_search_field'}
{block name='search_form_occupancy'}
{if isset($is_occupancy_wise_search) && $is_occupancy_wise_search}
<div class="form-group area-{$column_widths['occupancy']}">
<div class="dropdown">

View File

@@ -250,4 +250,4 @@
{/block}
</div>
</div>
{/block}
{/block}

View File

@@ -114,4 +114,4 @@
{/if}
</div>
</div>
{/block}
{/block}

View File

@@ -92,4 +92,4 @@
</div>
</li>
{/if}
{/block}
{/block}

View File

@@ -62,4 +62,4 @@
</div>
{/block}
{/if}
{/block}
{/block}

View File

@@ -258,4 +258,4 @@
{/if}
{/strip}
{/block}
{/block}
{/block}

View File

@@ -73,7 +73,7 @@
<label for="email_create" class="">{l s='Email address'}</label>
<input type="email" class="is_required validate account_input form-control" data-validate="isEmail" id="email_create" name="email_create" value="{if isset($smarty.post.email_create)}{$smarty.post.email_create|stripslashes}{/if}" />
</div>
{block name='authentication_submit_create_account'}
{block name='authentication_create_account_submit'}
<div class="submit">
{if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'html':'UTF-8'}" />{/if}
<button class="btn button button-medium" type="submit" id="SubmitCreate" name="SubmitCreate">
@@ -105,7 +105,7 @@
{hook h='displayLoginFormFieldsAfter'}
{/block}
<p class="lost_password form-group"><a href="{$link->getPageLink('password')|escape:'html':'UTF-8'}" title="{l s='Recover your forgotten password'}" rel="nofollow">{l s='Forgot your password?'}</a></p>
{block name='authentication_submit_login_account'}
{block name='authentication_login_submit'}
<p class="submit">
{if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'html':'UTF-8'}" />{/if}
<button type="submit" id="SubmitLogin" name="SubmitLogin" class="btn button button-medium">
@@ -428,7 +428,7 @@
<p class="cart_navigation required submit clearfix">
<span><sup>*</sup>{l s='Required field'}</span>
<input type="hidden" name="display_guest_checkout" value="1" />
{block name='authentication_submit_guest_account'}
{block name='authentication_guest_submit'}
<button type="submit" class="button btn btn-default button-medium" name="submitGuestAccount" id="submitGuestAccount">
<span>
{l s='Proceed to checkout'}
@@ -702,7 +702,7 @@
<input type="hidden" name="email_create" value="1" />
<input type="hidden" name="is_new_customer" value="1" />
{if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'html':'UTF-8'}" />{/if}
{block name='authentication_submit_account'}
{block name='authentication_account_submit'}
<button type="submit" name="submitAccount" id="submitAccount" class="btn button button-medium">
<span>{l s='Register'}&nbsp;<i class="icon-chevron-right right"></i></span>
</button>

View File

@@ -65,4 +65,4 @@
{/if}
{/strip}
{/block}
{/block}
{/block}

View File

@@ -225,4 +225,4 @@
{/strip}
{/if}
{/block}
{/block}
{/block}

View File

@@ -172,4 +172,4 @@
</ul>
{/block}
{/block}
{/block}

View File

@@ -235,4 +235,4 @@
</li>
</ul>
{/block}
{/block}
{/block}

View File

@@ -39,4 +39,4 @@
{if isset($HOOK_HOME) && $HOOK_HOME|trim}
<div class="clearfix">{$HOOK_HOME}</div>
{/if}
{/block}
{/block}

View File

@@ -501,4 +501,4 @@
{* ###################################################################
End
################################################################### *}
{/block}
{/block}

View File

@@ -73,4 +73,4 @@
</ul>
{/block}
{/block}
{/block}

View File

@@ -148,7 +148,7 @@
</p>
</td>
{/block}
{block name='order_confirmation_order_room_total'}
{block name='order_confirmation_cart_total'}
<td class="cart_total text-left">
<p class="text-left">
{if $group_use_tax}

View File

@@ -1019,4 +1019,4 @@
{/strip}
{/block}
{/block}
{/block}

View File

@@ -87,4 +87,4 @@
<li><a class="btn btn-default button button-small" href="{if isset($force_ssl) && $force_ssl}{$base_dir_ssl}{else}{$base_dir}{/if}"><span><i class="icon-chevron-left"></i> {l s='Home'}</span></a></li>
</ul>
{/block}
{/block}
{/block}

View File

@@ -294,7 +294,7 @@
{block name='displayCustomerAccountForm'}
{$HOOK_CREATE_ACCOUNT_FORM}
{/block}
{block name='order_opc_edit_guest_info_submit_account'}
{block name='order_opc_edit_guest_info_account_submit'}
<div class="submit opc-add-save clearfix">
<button type="submit" name="submitAccount" id="submitAccount" class="btn btn-default button button-medium pull-right"><span>{l s='Save'}<i class="icon-chevron-right right"></i></span></button>
</div>
@@ -330,4 +330,4 @@
{/strip}
{/block}
{/block}
{/block}

View File

@@ -376,13 +376,12 @@
{block name='displayCustomerAccountForm'}
{$HOOK_CREATE_ACCOUNT_FORM}
{/block}
{block name='order_opc_new_account_advanced_submit_account'}
{block name='order_opc_new_account_advanced_account_submit'}
<div class="submit opc-add-save clearfix">
<p class="required opc-required pull-right">
<sup>*</sup>{l s='Required field'}
</p>
<button type="submit" name="submitAccount" id="submitAccount" data-adv-api="1" class="btn btn-default button button-medium"><span>{l s='Save'}<i class="icon-chevron-right right"></i></span></button>
</div>
{/block}
<div style="display: none;" id="opc_account_saved" class="alert alert-success">
@@ -422,4 +421,4 @@
{/if}
{/strip}
{/block}
{/block}
{/block}

View File

@@ -403,7 +403,7 @@
{block name='displayCustomerAccountForm'}
{$HOOK_CREATE_ACCOUNT_FORM}
{/block}
{block name='order_opc_new_account_new_account_submit'}
{block name='order_opc_new_account_submit'}
<div class="submit opc-add-save clearfix">
<button type="submit" name="submitAccount" id="submitAccount" class="btn btn-default button button-medium pull-right"><span>{l s='Save'}<i class="icon-chevron-right right"></i></span></button>
</div>
@@ -418,4 +418,4 @@
{addJsDef countries=$countries}
{/if}
{/strip}
{/block}
{/block}

View File

@@ -147,4 +147,4 @@
{include file="$tpl_dir./shopping-cart-advanced.tpl"}
{/if}
{/block}
{/block}

View File

@@ -190,4 +190,4 @@
<li><a class="btn btn-default button button-small" href="{if isset($force_ssl) && $force_ssl}{$base_dir_ssl}{else}{$base_dir}{/if}"><span><i class="icon-chevron-left"></i> {l s='Home'}</span></a></li>
</ul>
{/block}
{/block}
{/block}

View File

@@ -865,4 +865,4 @@
{/strip}
{/block}
{/if}
{/block}
{/block}

View File

@@ -385,4 +385,4 @@
{addJsDef deliveryAddress=$cart->id_address_delivery|intval}
{/strip}
{/block}
{/block}

View File

@@ -484,4 +484,4 @@
{* </div> *}
</div>
{/block}
{/block}
{/block}