Files
redline.com.pl/modules/inpostship/views/templates/admin/module.tpl
2024-11-11 18:46:54 +01:00

169 lines
8.4 KiB
Smarty

{**
* NOTICE OF LICENSE
*
* This file is licenced under the Software License Agreement.
* With the purchase or the installation of the software in your application
* you accept the licence agreement.
*
* You must not modify, adapt or create derivative works of this source code
*
* @author PrestaHelp.com
* @copyright 2019 PrestaHelp
* @license LICENSE.txt
*}
{*<div class="view">
<div class="box-auto">
<div class="container-auto">
<div class="container-row">
<div class="branding">
<img src="{$moduleImg}Branding.png" alt="Prestahelp Branding">
</div>
<div class="inclusion">
<span class="inclusion-paczkomaty">{$moduleDisplayName}</span>
<span class="inclusion-inpost">({$moduleName}, v {$moduleVersion})</span>
</div>
<div class="buttons">
<div class="btn-prestahelp green--bg">
<img src="{$moduleImg}arrow_down.png" alt="Prestahelp Arrow">
Twój moduł jest aktualny.
<a href="https://www.prestahelp.com/pl/ulatwiajace-wysylke/151-paczkomaty-24-7.html" target="_blank">zostaw opinię <img src="{$moduleImg}arrow_right.png" alt="Prestahelp Arrow"></a>
</div>
<div class="btn-prestahelp red--bg">
<img src="{$moduleImg}close.png" alt="Prestahelp Close">Twój moduł jest nieaktualny. (aktualna
wersja {$moduleVersion})<a href="">Aktualizuj moduł <img src="{$moduleImg}arrow_right-red.png" alt="Prestahelp Arrow"></a>
</div>
</div>
<div class="description">
<span>Aktualizacje modułu ważne do: 19.05.2019</span>
<span>Support ważny do: 19.05.2019</span>
</div>
</div>
<div class="container-row middle">
<div class="buttons">
<a class="support-btn" href="http://helpdesk.prestahelp.com/client.php" target="_blank">
<div class="support-row img-row"><img src="{$moduleImg}help.png" alt="Prestahelp Help"></div>
<div class="support-row">
<span>Masz problem <grey-color>z modułem?</grey-color></span>
<span class="light">Zgłoś go nam na <pom-color>HELP</pom-color>
<grey-color>DESK</grey-color>!
</span>
<p>Wszystkie problemy prosimy zgłaszać tylko i wyłącznie przez system HelpDesk, nie rozwiązujemy problemów telefonicznie.</p>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
*}
<form method="post">
<div class="panel">
<div class="panel-heading"><i class="icon-cog"></i> {l s='Install settings' mod='inpostship'}</div>
<div class="form-horizontal">
<div class="rows">
<p class="alert alert-warning">UWAGA! Jeśli wybierzesz TAK to zostaną dodani nowi przewoźnicy.</p>
<div class="form-group">
<label class="control-label col-lg-3 text-right">{l s='Dodaj nowych przewoźników' mod='inpostship'}:</label>
<div class="col-lg-5">
<span class="switch prestashop-switch fixedd-width-lg">
<input id="ac1_on" onClick="toggleDraftWarning(false);showRedirectProductOptions(false);" name="INPOSTSHIP_INSTALL_CARRIERS" value="1" type="radio" checked="checked" />
<label class="radioCheck" for="ac1_on">{l s='TAK' mod='inpostship'}</label>
<input id="ac1_off" onClick="toggleDraftWarning(true);showRedirectProductOptions(true);" name="INPOSTSHIP_INSTALL_CARRIERS" value="0" type="radio" />
<label class="radioCheck" for="ac1_off">{l s='NIE' mod='inpostship'}</label>
<a class="slide-button btn"></a>
</span>
</div>
</div>
<hr />
<p class="alert alert-info">Włącz następujących przewoźników.</p>
<div class="form-group">
<label class="control-label col-lg-3 text-right">{l s='Inpost Paczkomaty 24' mod='inpostship'}:</label>
<div class="col-lg-5">
<span class="switch prestashop-switch fixedd-width-lg">
<input id="ic1_on" onClick="toggleDraftWarning(false);showRedirectProductOptions(false);" name="INPOSTSHIP_INSTALL_CARRIER_1" value="1" type="radio" {if $isic1 == 1}checked="checked"{/if} />
<label class="radioCheck" for="ic1_on">{l s='TAK' mod='inpostship'}</label>
<input id="ic1_off" onClick="toggleDraftWarning(true);showRedirectProductOptions(true);" name="INPOSTSHIP_INSTALL_CARRIER_1" value="0" type="radio" {if $isic1 == 0}checked="checked"{/if} />
<label class="radioCheck" for="ic1_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='Inpost Paczkomaty 24- pobranie' mod='inpostship'}:</label>
<div class="col-lg-5">
<span class="switch prestashop-switch fixedd-width-lg">
<input id="ic2_on" onClick="toggleDraftWarning(false);showRedirectProductOptions(false);" name="INPOSTSHIP_INSTALL_CARRIER_2" value="1" type="radio" {if $isic2 == 1}checked="checked"{/if} />
<label class="radioCheck" for="ic2_on">{l s='TAK' mod='inpostship'}</label>
<input id="ic2_off" onClick="toggleDraftWarning(true);showRedirectProductOptions(true);" name="INPOSTSHIP_INSTALL_CARRIER_2" value="0" type="radio" {if $isic2 == 0}checked="checked"{/if} />
<label class="radioCheck" for="ic2_off">{l s='NIE' mod='inpostship'}</label>
<a class="slide-button btn"></a>
</span>
</div>
</div>
<div class="form-group disabled">
<label class="control-label col-lg-3 text-right">{l s='Kurier Inpost' mod='inpostship'}:</label>
<div class="col-lg-5">
<span class="switch prestashop-switch fixedd-width-lg">
<input id="ic3_on" onClick="toggleDraftWarning(false);showRedirectProductOptions(false);" name="INPOSTSHIP_INSTALL_CARRIER_3" value="1" type="radio" {if $isic3 == 1}checked="checked"{/if} />
<label class="radioCheck" for="ic3_on">{l s='TAK' mod='inpostship'}</label>
<input id="ic3_off" onClick="toggleDraftWarning(true);showRedirectProductOptions(true);" name="INPOSTSHIP_INSTALL_CARRIER_3" value="0" type="radio" {if $isic3 == 0}checked="checked"{/if} />
<label class="radioCheck" for="ic3_off">{l s='NIE' mod='inpostship'}</label>
<a class="slide-button btn"></a>
</span>
</div>
</div>
<div class="form-group disabled">
<label class="control-label col-lg-3 text-right">{l s='Kurier Inpost - pobranie' mod='inpostship'}:</label>
<div class="col-lg-5">
<span class="switch prestashop-switch fixedd-width-lg">
<input id="ic4_on" onClick="toggleDraftWarning(false);showRedirectProductOptions(false);" name="INPOSTSHIP_INSTALL_CARRIER_4" value="1" type="radio" {if $isic4 == 1}checked="checked"{/if} />
<label class="radioCheck" for="ic4_on">{l s='TAK' mod='inpostship'}</label>
<input id="ic4_off" onClick="toggleDraftWarning(true);showRedirectProductOptions(true);" name="INPOSTSHIP_INSTALL_CARRIER_4" value="0" type="radio" {if $isic4 == 0}checked="checked"{/if} />
<label class="radioCheck" for="ic4_off">{l s='NIE' mod='inpostship'}</label>
<a class="slide-button btn"></a>
</span>
</div>
</div>
</div>
</div>
<div class="panel-footer">
<button id="configuration_form_submit_btn" class="btn btn-default pull-right" type="submit" value="1" name="submitSaveSettings"><i class="process-icon-save"></i> {l s='Save' mod='inpostship'}</button>
</div>
</div>
</form>
<div class="alert alert-info">
<p>
Po wprowadzeniu ustawień dotyczących przewoźników należy przejść do ustawień modułu INPOST -> Ustawienia (w menu bocznym lub górnym).
</p>
</div>
{if isset($modConf) && $modConf == 1}
<form method="post">
<div class="panel">
<div class="panel-heading"><i class="icon-cog"></i> {l s='Wprowadź kod licencji' mod='inpostship'}</div>
<div class="form-horizontal">
<div class="rows">
<div class="form-group disabled">
<label class="control-label col-lg-3 text-right">{l s='Kod licencji' mod='inpostship'}:</label>
<div class="col-lg-5">
<input type="text" name="INPOSTSHIP_LICENCE" value="{$licenceCode}" />
</div>
</div>
<p>
{$licenceCode}<br />
{$licenceCodeGen}
</p>
</div>
</div>
<div class="panel-footer">
<button id="configuration_form_submit_btn" class="btn btn-default pull-right" type="submit" value="1" name="submitSaveLicenceCode"><i class="process-icon-save"></i> {l s='Save' mod='inpostship'}</button>
</div>
</div>
</form>
{/if}