Add hooks displayAdminAddHotelFormTab and displayAdminAddHotelFormTabContent on Manage Hotel > Edit page at back office
This commit is contained in:
@@ -27,6 +27,11 @@
|
||||
</div>
|
||||
|
||||
<form id="{$table|escape:'htmlall':'UTF-8'}_form" class="defaultForm {$name_controller|escape:'htmlall':'UTF-8'} form-horizontal" action="{$current|escape:'htmlall':'UTF-8'}&{if !empty($submit_action)}{$submit_action|escape:'htmlall':'UTF-8'}{/if}&token={$token|escape:'htmlall':'UTF-8'}" method="post" enctype="multipart/form-data" {if isset($style)}style="{$style|escape:'htmlall':'UTF-8'}"{/if}>
|
||||
{if isset($edit)}
|
||||
{assign var=hook_arg_id_hotel value=$hotel_info.id}
|
||||
{else}
|
||||
{assign var=hook_arg_id_hotel value=null}
|
||||
{/if}
|
||||
{if count($languages) > 1}
|
||||
<div class="col-lg-12">
|
||||
<label class="control-label">{l s='Choose Language' mod='hotelreservationsystem'}</label>
|
||||
@@ -69,6 +74,7 @@
|
||||
{l s='Refund Policies' mod='hotelreservationsystem'}
|
||||
</a>
|
||||
</li>
|
||||
{hook h='displayAdminAddHotelFormTab' id_hotel=$hook_arg_id_hotel}
|
||||
</ul>
|
||||
<div class="tab-content panel collapse in">
|
||||
<div class="tab-pane active" id="hotel-information">
|
||||
@@ -433,6 +439,7 @@
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{hook h='displayAdminAddHotelFormTabContent' id_hotel=$hook_arg_id_hotel}
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
|
||||
Reference in New Issue
Block a user