62 lines
4.5 KiB
Smarty
62 lines
4.5 KiB
Smarty
<form method="post">
|
|
<div class="panel">
|
|
<div class="panel-heading"><i class="icon-cog"></i> {l s='Dodatkowe opcje ustawień' mod='inpostship'}</div>
|
|
<div class="form-horizontal">
|
|
<div class="form-group">
|
|
<label class="control-label col-lg-3 text-right">{l s='Usuń dane z modułu' mod='inpostship'}:</label>
|
|
<div class="col-lg-9">
|
|
<span class="switch prestashop-switch fixed-width-lg">
|
|
<input id="deletetable_on" onClick="toggleDraftWarning(false);showOptions(true);showRedirectProductOptions(false);" name="INPOSTSHIP_DELETE_DATABASE" value="1" type="radio" {if $deltab == 1}checked="checked"{/if} />
|
|
<label class="radioCheck" for="deletetable_on">{l s='TAK' mod='inpostship'}</label>
|
|
<input id="deletetable_off" onClick="toggleDraftWarning(true);showOptions(false);showRedirectProductOptions(true);" name="INPOSTSHIP_DELETE_DATABASE" value="0" type="radio" {if $deltab == 0}checked="checked"{/if} />
|
|
<label class="radioCheck" for="deletetable_off">{l s='NIE' mod='inpostship'}</label>
|
|
<a class="slide-button btn"></a>
|
|
</span>
|
|
<p class="help-block">{l s='Zanzacz tę opcję jeśli chcesz usunąć wszystkie dane z modułu podczas odinstalowania modułu' mod='inpostship'}</p>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-lg-3 text-right">{l s='Po odinstalowaniu resetuj informacje w module' mod='inpostship'}:</label>
|
|
<div class="col-lg-9">
|
|
<span class="switch prestashop-switch fixed-width-lg">
|
|
<input id="reset_on" onClick="toggleDraftWarning(false);showOptions(true);showRedirectProductOptions(false);" name="INPOSTSHIP_RESET" value="1" type="radio" {if $reset == 1}checked="checked"{/if} />
|
|
<label class="radioCheck" for="reset_on">{l s='TAK' mod='inpostship'}</label>
|
|
<input id="reset_off" onClick="toggleDraftWarning(true);showOptions(false);showRedirectProductOptions(true);" name="INPOSTSHIP_RESET" value="0" type="radio" {if $reset == 0}checked="checked"{/if} />
|
|
<label class="radioCheck" for="reset_off">{l s='NIE' mod='inpostship'}</label>
|
|
<a class="slide-button btn"></a>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-lg-3 text-right">{l s='Tryb debugowania modułu (ShipX)' mod='inpostship'}:</label>
|
|
<div class="col-lg-9">
|
|
<span class="switch prestashop-switch fixed-width-lg">
|
|
<input id="mdebug_on" onClick="toggleDraftWarning(false);showOptions(true);showRedirectProductOptions(false);" name="INPOSTSHIP_DEBUG" value="1" type="radio" {if $mdebug == 1}checked="checked"{/if} />
|
|
<label class="radioCheck" for="mdebug_on">{l s='TAK' mod='inpostship'}</label>
|
|
<input id="mdebug_off" onClick="toggleDraftWarning(true);showOptions(false);showRedirectProductOptions(true);" name="INPOSTSHIP_DEBUG" value="0" type="radio" {if $mdebug == 0}checked="checked"{/if} />
|
|
<label class="radioCheck" for="mdebug_off">{l s='NIE' mod='inpostship'}</label>
|
|
<a class="slide-button btn"></a>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
{if !$shop_debug}
|
|
<div class="form-group">
|
|
<label class="control-label col-lg-3 text-right">{l s='Tryb debugowania (sklep)' mod='inpostship'}:</label>
|
|
<div class="col-lg-9">
|
|
<span class="switch prestashop-switch fixed-width-lg">
|
|
<input id="sdebug_on" onClick="toggleDraftWarning(false);showOptions(true);showRedirectProductOptions(false);" name="INPOSTSHIP_DEBUG_SHOP" value="1" type="radio" {if $sdebug == 1}checked="checked"{/if} />
|
|
<label class="radioCheck" for="sdebug_on">{l s='TAK' mod='inpostship'}</label>
|
|
<input id="sdebug_off" onClick="toggleDraftWarning(true);showOptions(false);showRedirectProductOptions(true);" name="INPOSTSHIP_DEBUG_SHOP" value="0" type="radio" {if $sdebug == 0}checked="checked"{/if} />
|
|
<label class="radioCheck" for="sdebug_off">{l s='NIE' mod='inpostship'}</label>
|
|
<a class="slide-button btn"></a>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
{/if}
|
|
</div>
|
|
<div class="panel-footer">
|
|
<button id="configuration_form_submit_btn10" class="btn btn-default pull-right" type="submit" value="1" name="submitSaveDelete"><i class="process-icon-save"></i> {l s='Save' mod='inpostship'}</button>
|
|
</div>
|
|
</div>
|
|
</form>
|