Zaktualizowano rozmiary plików w konfiguracji oraz dodano nową klasę Combination z odpowiednimi polami i metodami.
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
{**
|
||||
* ISC License
|
||||
*
|
||||
* Copyright (c) 2024 idnovate.com
|
||||
* idnovate is a Registered Trademark & Property of idnovate.com, innovación y desarrollo SCP
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
* AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* @author idnovate
|
||||
* @copyright 2024 idnovate
|
||||
* @license https://www.isc.org/licenses/ https://opensource.org/licenses/ISC ISC License
|
||||
*}
|
||||
<script>
|
||||
var C_P_DATE = '{$C_P_DATE|escape:'htmlall':'UTF-8'}';
|
||||
var C_P_REFRESH = {$C_P_REFRESH|intval};
|
||||
var C_P_EXPIRY = {$C_P_EXPIRY|intval};
|
||||
var C_P_COOKIE_VALUE = JSON.parse('{$C_P_COOKIE_VALUE_JSON nofilter}'); {* JSON object *}
|
||||
var C_P_OVERLAY = '{$C_P_OVERLAY|escape:'htmlall':'UTF-8'}';
|
||||
var C_P_OVERLAY_OPACITY = '{$C_P_OVERLAY_OPACITY|escape:'htmlall':'UTF-8'}';
|
||||
var C_P_NOT_AVAILABLE_OUTSIDE_EU = {$C_P_NOT_AVAILABLE_OUTSIDE_EU|intval};
|
||||
var C_P_FINALITIES_COUNT = {$C_P_FINALITIES_COUNT|intval};
|
||||
/*<!--*/
|
||||
var C_P_SCRIPT = JSON.parse("{$C_P_SCRIPT nofilter}");
|
||||
var C_P_SCRIPT_NOT = JSON.parse("{$C_P_SCRIPT_NOT nofilter}");
|
||||
var C_P_COOKIES = JSON.parse("{$C_P_COOKIES nofilter}");
|
||||
var C_P_GTM = JSON.parse("{$C_P_GTM nofilter}");
|
||||
var C_P_FB = JSON.parse("{$C_P_FB nofilter}");
|
||||
/*-->*/
|
||||
</script>
|
||||
344
modules/cookiesplus/views/templates/hook/cookies-notice.tpl
Normal file
344
modules/cookiesplus/views/templates/hook/cookies-notice.tpl
Normal file
@@ -0,0 +1,344 @@
|
||||
{**
|
||||
* ISC License
|
||||
*
|
||||
* Copyright (c) 2024 idnovate.com
|
||||
* idnovate is a Registered Trademark & Property of idnovate.com, innovación y desarrollo SCP
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
* AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* @author idnovate
|
||||
* @copyright 2024 idnovate
|
||||
* @license https://www.isc.org/licenses/ https://opensource.org/licenses/ISC ISC License
|
||||
*}
|
||||
<div id="cookiesplus-overlay" class="cookiesplus-move"></div>
|
||||
|
||||
<div class="container cookiesplus-move" id="cookiesplus-modal-container">
|
||||
<div class="row">
|
||||
<div id="cookiesplus-modal" style="display: none;"
|
||||
class="cookiesplus-{$C_P_POSITION|escape:'htmlall':'UTF-8'} {$C_P_CLASS|escape:'htmlall':'UTF-8'}">
|
||||
<button type="button" class="cookiesplus-close-and-save" onclick="return cookieGdpr.save();">×</button>
|
||||
<button type="button" class="cookiesplus-close" onclick="return cookieGdpr.close();">×</button>
|
||||
|
||||
<div id="cookiesplus-content">
|
||||
<div class="row">
|
||||
<form id="cookiesplus-form" method="POST" action="{$link->getModuleLink('cookiesplus', 'front')|escape:'htmlall':'UTF-8'}">
|
||||
{if isset($C_P_TEXT_BASIC) && $C_P_TEXT_BASIC}
|
||||
<div class="cookiesplus-info {if $C_P_BUTTON_POSITION == '2'}{if $C_P_WIDTH == '25'}col-8 col-xs-8 col-md-6{else}col-8 col-xs-8{/if}{else}col-12 col-xs-12{/if}">
|
||||
<div>{$C_P_TEXT_BASIC nofilter}</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="cookiesplus-finalities {if $C_P_BUTTON_POSITION == '2'}{if $C_P_WIDTH == '25'}col-8 col-xs-8 col-md-6{else}col-8 col-xs-8{/if}{else}col-12 col-xs-12{/if}">
|
||||
<div id="cookiesplus-finalities-container">
|
||||
{foreach from=$C_P_FINALITIES item=finality}
|
||||
<div class="cookieplus-finality-container">
|
||||
<div class="col-12 col-xs-12">
|
||||
<div class="cookiesplus-finality-header">
|
||||
<div class="cookiesplus-finality-title"
|
||||
onclick="$(this).parent().siblings('.cookiesplus-finality-content').slideToggle(); $(this).find('.cookiesplus-finality-chevron').toggleClass('bottom up');">
|
||||
<span class="cookiesplus-finality-chevron bottom"></span>
|
||||
<strong><span>{$finality['name'] nofilter}</span></strong></div>
|
||||
<div class="cookiesplus-finality-switch-container">
|
||||
{if $finality['technical']}
|
||||
<label class="technical">{l s='Always enabled' mod='cookiesplus'}</label>
|
||||
{else}
|
||||
<input class="cookiesplus-finality-checkbox not_uniform comparator"
|
||||
id="cookiesplus-finality-{$finality['id_cookiesplus_finality']|intval}-off"
|
||||
value="off"
|
||||
name="cookiesplus-finality-{$finality['id_cookiesplus_finality']|intval}"
|
||||
type="radio"
|
||||
data-no-uniform="true"
|
||||
data-finality-id="{$finality['id_cookiesplus_finality']|intval}"
|
||||
{if (!isset($C_P_COOKIE_VALUE["cookiesplus-finality-{$finality['id_cookiesplus_finality']|intval}"]) && $C_P_DEFAULT_CONSENT)
|
||||
|| (isset($C_P_COOKIE_VALUE["cookiesplus-finality-{$finality['id_cookiesplus_finality']|intval}"]) && $C_P_COOKIE_VALUE["cookiesplus-finality-{$finality['id_cookiesplus_finality']|intval}"] == 'off')}
|
||||
checked="checked"
|
||||
{/if}
|
||||
/>
|
||||
<input class="cookiesplus-finality-checkbox not_uniform comparator"
|
||||
id="cookiesplus-finality-{$finality['id_cookiesplus_finality']|intval}-on"
|
||||
value="on"
|
||||
name="cookiesplus-finality-{$finality['id_cookiesplus_finality']|intval}"
|
||||
type="radio"
|
||||
data-no-uniform="true"
|
||||
data-finality-id="{$finality['id_cookiesplus_finality']|intval}"
|
||||
{if (!isset($C_P_COOKIE_VALUE["cookiesplus-finality-{$finality['id_cookiesplus_finality']|intval}"]) && !$C_P_DEFAULT_CONSENT) || (isset($C_P_COOKIE_VALUE["cookiesplus-finality-{$finality['id_cookiesplus_finality']|intval}"]))
|
||||
&& $C_P_COOKIE_VALUE["cookiesplus-finality-{$finality['id_cookiesplus_finality']|intval}"] == 'on'}
|
||||
checked="checked"
|
||||
{/if}
|
||||
/>
|
||||
<label for="cookiesplus-finality-{$finality['id_cookiesplus_finality']|intval}-off">{l s='No' mod='cookiesplus'}</label>
|
||||
<span
|
||||
onclick="$('input[name=cookiesplus-finality-{$finality['id_cookiesplus_finality']|intval}]:checked').val() === 'on' ? $('label[for=cookiesplus-finality-{$finality['id_cookiesplus_finality']|intval}-off]').click() : $('label[for=cookiesplus-finality-{$finality['id_cookiesplus_finality']|intval}-on]').click(); return false;"
|
||||
class="cookiesplus-finality-switch"
|
||||
id="cookiesplus-finality-switch-{$finality['id_cookiesplus_finality']|intval}"></span>
|
||||
<label for="cookiesplus-finality-{$finality['id_cookiesplus_finality']|intval}-on">{l s='Yes' mod='cookiesplus'}</label>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
<div class="cookiesplus-finality-content">
|
||||
<div class="cookiesplus-finality-body">
|
||||
{$finality['description'] nofilter}
|
||||
{if $finality['cookies']|count > 0}
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{l s='Cookie name' mod='cookiesplus'}</th>
|
||||
<th>{l s='Provider' mod='cookiesplus'}</th>
|
||||
<th>{l s='Purpose' mod='cookiesplus'}</th>
|
||||
<th>{l s='Expiry' mod='cookiesplus'}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$finality['cookies'] item=finalityCookie}
|
||||
<tr>
|
||||
<td label="{l s='Cookie name' mod='cookiesplus'}">
|
||||
<span>{$finalityCookie['name']|escape:'htmlall':'UTF-8'}</span>
|
||||
</td>
|
||||
<td label="{l s='Provider' mod='cookiesplus'}">
|
||||
<span>{if $finalityCookie['provider_url']}<a
|
||||
target="_blank"
|
||||
rel="nofollow noopener noreferrer"
|
||||
href="{$finalityCookie['provider_url']|escape:'htmlall':'UTF-8'}">{/if}{$finalityCookie['provider']|escape:'htmlall':'UTF-8'}{if $finalityCookie['provider_url']}</a>{/if}</span>
|
||||
</td>
|
||||
<td label="{l s='Purpose' mod='cookiesplus'}">
|
||||
<span>{$finalityCookie['purpose']|escape:'htmlall':'UTF-8'}</span>
|
||||
</td>
|
||||
<td label="{l s='Expiry' mod='cookiesplus'}">
|
||||
<span>{$finalityCookie['expiry']|escape:'htmlall':'UTF-8'}</span>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if $C_P_FINALITIES_COUNT > 1}
|
||||
<div class="cookiesplus-actions {if $C_P_BUTTON_POSITION == '2'}{if $C_P_WIDTH == '25'}col-4 col-xs-4 col-md-6{else}col-4 col-xs-4{/if}{else}col-12 col-xs-12{/if}">
|
||||
|
||||
<div class="first-layer">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 {if !$C_P_REJECT_DISPLAY}col-md-6{else}col-md-4{/if} float-xs-right">
|
||||
<button type="submit"
|
||||
name="saveCookiesPlusPreferences"
|
||||
onclick="return cookieGdpr.acceptAllCookies();"
|
||||
class="cookiesplus-btn cookiesplus-accept">
|
||||
{if $C_P_ICONS}
|
||||
{if $C_P_MATERIAL_ICONS_LIBRARY == '1'}
|
||||
<i class="material-icons">done_all</i>
|
||||
{elseif $C_P_MATERIAL_ICONS_LIBRARY == '2'}
|
||||
<i class="fto-ok-1 fs_xl"></i>
|
||||
{else}
|
||||
<i class="fa fa-check fa-fw" aria-hidden="true"></i>
|
||||
{/if}
|
||||
{/if}
|
||||
<span class="cookiesplus-accept-label">{l s='Accept' mod='cookiesplus'}</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-md-4 float-xs-right">
|
||||
<button type="submit"
|
||||
name="saveCookiesPlusPreferences"
|
||||
onclick="return cookieGdpr.rejectAllCookies();"
|
||||
class="cookiesplus-btn cookiesplus-reject"
|
||||
style="{if !$C_P_REJECT_DISPLAY}display:none;{/if}">
|
||||
{if $C_P_ICONS}
|
||||
{if $C_P_MATERIAL_ICONS_LIBRARY == '1'}
|
||||
<i class="material-icons">clear</i>
|
||||
{elseif $C_P_MATERIAL_ICONS_LIBRARY == '2'}
|
||||
<i class="fto-cancel fs_xl"></i>
|
||||
{else}
|
||||
<i class="fa fa-times fa-fw" aria-hidden="true"></i>
|
||||
{/if}
|
||||
{/if}
|
||||
<span class="cookiesplus-reject-label">Odrzuć</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 {if !$C_P_REJECT_DISPLAY}col-md-6{else}col-md-4{/if} float-xs-right">
|
||||
<button onclick="cookieGdpr.displayModalAdvanced(true); return false;"
|
||||
class="cookiesplus-btn cookiesplus-more-information">
|
||||
{if $C_P_ICONS}
|
||||
{if $C_P_MATERIAL_ICONS_LIBRARY == '1'}
|
||||
<i class="material-icons">tune</i>
|
||||
{elseif $C_P_MATERIAL_ICONS_LIBRARY == '2'}
|
||||
<i class="fto-cog fs_xl"></i>
|
||||
{else}
|
||||
<i class="fa fa-cogs fa-fw" aria-hidden="true"></i>
|
||||
{/if}
|
||||
{/if}
|
||||
{l s='Configure' mod='cookiesplus'}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cookiesplus-footer-actions col-xs-12">
|
||||
{if isset($C_P_CMS_PAGE) && $C_P_CMS_PAGE}
|
||||
<div class="float-xs-right">
|
||||
<a href="{$link->getCMSLink($C_P_CMS_PAGE)|escape:'htmlall':'UTF-8'}"
|
||||
class="float-xs-right cookiesplus-policy"
|
||||
target="_blank"
|
||||
rel="nofollow noopener noreferrer">{l s='Privacy & Cookie Policy' mod='cookiesplus'}
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="second-layer">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 {if !$C_P_REJECT_DISPLAY}{/if} col-md-4 float-xs-right">
|
||||
<button type="submit"
|
||||
name="saveCookiesPlusPreferences"
|
||||
onclick="return cookieGdpr.acceptAllCookies();"
|
||||
class="cookiesplus-btn cookiesplus-accept">
|
||||
{if $C_P_ICONS}
|
||||
{if $C_P_MATERIAL_ICONS_LIBRARY == '1'}
|
||||
<i class="material-icons">done_all</i>
|
||||
{elseif $C_P_MATERIAL_ICONS_LIBRARY == '2'}
|
||||
<i class="fto-ok-1 fs_xl"></i>
|
||||
{else}
|
||||
<i class="fa fa-check fa-fw" aria-hidden="true"></i>
|
||||
{/if}
|
||||
{/if}
|
||||
<span class="cookiesplus-accept-all-label">{l s='Accept all cookies' mod='cookiesplus'}</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-md-4 float-xs-right">
|
||||
<button type="submit"
|
||||
name="saveCookiesPlusPreferences"
|
||||
onclick="return cookieGdpr.rejectAllCookies();"
|
||||
class="cookiesplus-btn cookiesplus-reject">
|
||||
{if $C_P_ICONS}
|
||||
{if $C_P_MATERIAL_ICONS_LIBRARY == '1'}
|
||||
<i class="material-icons">clear</i>
|
||||
{elseif $C_P_MATERIAL_ICONS_LIBRARY == '2'}
|
||||
<i class="fto-cancel fs_xl"></i>
|
||||
{else}
|
||||
<i class="fa fa-times fa-fw" aria-hidden="true"></i>
|
||||
{/if}
|
||||
{/if}
|
||||
<span class="cookiesplus-reject-all-label">{l s='Accept only essential cookies' mod='cookiesplus'}</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-md-4 float-xs-right">
|
||||
<button type="submit"
|
||||
{*disabled="disabled"*}
|
||||
name="saveCookiesPlusPreferences"
|
||||
onclick="return cookieGdpr.save();"
|
||||
class="cookiesplus-btn cookiesplus-save cookiesplus-accept-selected">
|
||||
{if $C_P_ICONS}
|
||||
{if $C_P_MATERIAL_ICONS_LIBRARY == '1'}
|
||||
<i class="material-icons">playlist_add_check</i>
|
||||
{elseif $C_P_MATERIAL_ICONS_LIBRARY == '2'}
|
||||
<i class="fto-ok-1 fs_xl"></i>
|
||||
{else}
|
||||
<i class="fa fa-check fa-fw" aria-hidden="true"></i>
|
||||
{/if}
|
||||
{/if}
|
||||
{l s='Accept only selected cookies' mod='cookiesplus'}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cookiesplus-footer-actions col-xs-12">
|
||||
<div class="float-xs-left">
|
||||
<span id="cookiesplus-back" onclick="cookieGdpr.displayModal(); return false;">{l s='← Back' mod='cookiesplus'}</span>
|
||||
</div>
|
||||
|
||||
{if isset($C_P_CMS_PAGE) && $C_P_CMS_PAGE}
|
||||
<div class="float-xs-right">
|
||||
<a href="{$link->getCMSLink($C_P_CMS_PAGE)|escape:'htmlall':'UTF-8'}"
|
||||
class="float-xs-right cookiesplus-policy"
|
||||
target="_blank"
|
||||
rel="nofollow noopener noreferrer">{l s='Privacy & Cookie Policy' mod='cookiesplus'}
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $C_P_REVOKE_CONSENT && $C_P_DISPLAY_DATE}
|
||||
<div class="cookiesplus-revoke text-small col-xs-12 text-xs-right">
|
||||
<span><strong>{l s='Cookie declaration last updated on:' mod='cookiesplus'}</strong> {$C_P_REVOKE_CONSENT|escape:'htmlall':'UTF-8'}</span>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $C_P_SAVE_CONSENT}
|
||||
<div class="cookiesplus-consent-hash text-small col-xs-12 text-xs-right"
|
||||
{if !$C_P_CONSENT_HASH}style="display:none;"{/if}>
|
||||
<span>
|
||||
<strong>{l s='Consent ID:' mod='cookiesplus'}</strong>
|
||||
<a {if $download_link}href="{$download_link|escape:'htmlall':'UTF-8'}"{/if} target="_blank"
|
||||
rel="nofollow noopener noreferrer"
|
||||
title="{l s='Download consent' mod='cookiesplus'}">{$C_P_CONSENT_HASH|escape:'htmlall':'UTF-8'}
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
{/if}
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="cookiesplus-modal-not-available" style="display: none;" class="cookiesplus-center">
|
||||
<button type="button" class="cookiesplus-close" onclick="return cookieGdpr.close();">×</button>
|
||||
{l s='Content not available' mod='cookiesplus'}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if isset($C_P_TAB_ENABLED) && $C_P_TAB_ENABLED}
|
||||
<div id="cookiesplus-tab" class="cookiesplus-move">
|
||||
<span onclick="cookieGdpr.displayModalAdvanced();">
|
||||
{if $C_P_ICONS}
|
||||
{if $C_P_MATERIAL_ICONS_LIBRARY == '1'}
|
||||
<i class="material-icons">group_work</i>
|
||||
{elseif $C_P_MATERIAL_ICONS_LIBRARY == '2'}
|
||||
<i class="fto-cog fs_xl"></i>
|
||||
{else}
|
||||
<i class="fa fa-star fa-cookie fa-fw" aria-hidden="true"></i>
|
||||
{/if}
|
||||
{/if}
|
||||
{l s='Cookie consent' mod='cookiesplus'}
|
||||
</span>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<script>
|
||||
// Avoid form resubmission when page is refreshed
|
||||
if (window.history.replaceState) {
|
||||
window.history.replaceState(null, null, window.location.href);
|
||||
}
|
||||
|
||||
{if isset($C_P_JS) && $C_P_JS}
|
||||
{$C_P_JS nofilter}
|
||||
{/if}
|
||||
</script>
|
||||
208
modules/cookiesplus/views/templates/hook/cookies-style.tpl
Normal file
208
modules/cookiesplus/views/templates/hook/cookies-style.tpl
Normal file
@@ -0,0 +1,208 @@
|
||||
{**
|
||||
* ISC License
|
||||
*
|
||||
* Copyright (c) 2024 idnovate.com
|
||||
* idnovate is a Registered Trademark & Property of idnovate.com, innovación y desarrollo SCP
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
* AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* @author idnovate
|
||||
* @copyright 2024 idnovate
|
||||
* @license https://www.isc.org/licenses/ https://opensource.org/licenses/ISC ISC License
|
||||
*}
|
||||
<style>
|
||||
{if $C_P_BACKGROUND_COLOR}
|
||||
div#cookiesplus-modal,
|
||||
#cookiesplus-modal > div,
|
||||
#cookiesplus-modal p {
|
||||
background-color: {$C_P_BACKGROUND_COLOR|escape:'htmlall':'UTF-8'} !important;
|
||||
font-size: 13px;
|
||||
}
|
||||
{/if}
|
||||
|
||||
{if $C_P_FONT_COLOR}
|
||||
#cookiesplus-modal > div,
|
||||
#cookiesplus-modal p {
|
||||
color: {$C_P_FONT_COLOR|escape:'htmlall':'UTF-8'} !important;
|
||||
}
|
||||
{/if}
|
||||
|
||||
{if $C_P_ACCEPT_BACKGROUND_COLOR}
|
||||
#cookiesplus-modal .cookiesplus-accept {
|
||||
background-color: {$C_P_ACCEPT_BACKGROUND_COLOR|escape:'htmlall':'UTF-8'} !important;
|
||||
}
|
||||
{/if}
|
||||
|
||||
{if $C_P_ACCEPT_BORDER_COLOR}
|
||||
#cookiesplus-modal .cookiesplus-accept {
|
||||
border: 1px solid {$C_P_ACCEPT_BORDER_COLOR|escape:'htmlall':'UTF-8'} !important;
|
||||
}
|
||||
{/if}
|
||||
|
||||
|
||||
{if $C_P_ACCEPT_FONT_COLOR}
|
||||
#cookiesplus-modal .cookiesplus-accept {
|
||||
color: {$C_P_ACCEPT_FONT_COLOR|escape:'htmlall':'UTF-8'} !important;
|
||||
}
|
||||
{/if}
|
||||
|
||||
{if $C_P_ACCEPT_FONT_SIZE}
|
||||
#cookiesplus-modal .cookiesplus-accept {
|
||||
font-size: {$C_P_ACCEPT_FONT_SIZE|escape:'htmlall':'UTF-8'} !important;
|
||||
}
|
||||
{/if}
|
||||
|
||||
{if $C_P_ACCEPT_PADDING}
|
||||
#cookiesplus-modal .cookiesplus-accept {
|
||||
padding: {$C_P_ACCEPT_FONT_COLOR|escape:'htmlall':'UTF-8'} !important;
|
||||
}
|
||||
{/if}
|
||||
|
||||
{if $C_P_MORE_INFO_BACKGROUND_COLOR}
|
||||
#cookiesplus-modal .cookiesplus-more-information {
|
||||
background-color: {$C_P_MORE_INFO_BACKGROUND_COLOR|escape:'htmlall':'UTF-8'} !important;
|
||||
}
|
||||
{/if}
|
||||
|
||||
{if $C_P_MORE_INFO_BORDER_COLOR}
|
||||
#cookiesplus-modal .cookiesplus-more-information {
|
||||
border: 1px solid {$C_P_MORE_INFO_BORDER_COLOR|escape:'htmlall':'UTF-8'} !important;
|
||||
}
|
||||
{/if}
|
||||
|
||||
{if $C_P_MORE_INFO_FONT_COLOR}
|
||||
#cookiesplus-modal .cookiesplus-more-information {
|
||||
color: {$C_P_MORE_INFO_FONT_COLOR|escape:'htmlall':'UTF-8'} !important;
|
||||
}
|
||||
{/if}
|
||||
|
||||
{if $C_P_MORE_INFO_FONT_SIZE}
|
||||
#cookiesplus-modal .cookiesplus-more-information {
|
||||
font-size: {$C_P_MORE_INFO_FONT_SIZE|escape:'htmlall':'UTF-8'} !important;
|
||||
}
|
||||
{/if}
|
||||
|
||||
{if $C_P_MORE_INFO_PADDING}
|
||||
#cookiesplus-modal .cookiesplus-more-information {
|
||||
padding: {$C_P_MORE_INFO_PADDING|escape:'htmlall':'UTF-8'} !important;
|
||||
}
|
||||
{/if}
|
||||
|
||||
{if $C_P_REJECT_BACKGROUND_COLOR}
|
||||
#cookiesplus-modal .cookiesplus-reject {
|
||||
background-color: {$C_P_REJECT_BACKGROUND_COLOR|escape:'htmlall':'UTF-8'} !important;
|
||||
}
|
||||
{/if}
|
||||
|
||||
{if $C_P_REJECT_BORDER_COLOR}
|
||||
#cookiesplus-modal .cookiesplus-reject {
|
||||
border: 1px solid {$C_P_REJECT_BORDER_COLOR|escape:'htmlall':'UTF-8'} !important;
|
||||
}
|
||||
{/if}
|
||||
|
||||
{if $C_P_REJECT_FONT_COLOR}
|
||||
#cookiesplus-modal .cookiesplus-reject {
|
||||
color: {$C_P_REJECT_FONT_COLOR|escape:'htmlall':'UTF-8'} !important;
|
||||
}
|
||||
{/if}
|
||||
|
||||
{if $C_P_REJECT_FONT_SIZE}
|
||||
#cookiesplus-modal .cookiesplus-reject {
|
||||
font-size: {$C_P_REJECT_FONT_SIZE|escape:'htmlall':'UTF-8'} !important;
|
||||
}
|
||||
{/if}
|
||||
|
||||
{if $C_P_REJECT_PADDING}
|
||||
#cookiesplus-modal .cookiesplus-reject {
|
||||
padding: {$C_P_REJECT_PADDING|escape:'htmlall':'UTF-8'} !important;
|
||||
}
|
||||
{/if}
|
||||
|
||||
{if $C_P_SAVE_BACKGROUND_COLOR}
|
||||
#cookiesplus-modal .cookiesplus-save:not([disabled]) {
|
||||
background-color: {$C_P_SAVE_BACKGROUND_COLOR|escape:'htmlall':'UTF-8'} !important;
|
||||
}
|
||||
{/if}
|
||||
|
||||
{if $C_P_SAVE_BORDER_COLOR}
|
||||
#cookiesplus-modal .cookiesplus-save:not([disabled]) {
|
||||
border: 1px solid {$C_P_SAVE_BORDER_COLOR|escape:'htmlall':'UTF-8'} !important;
|
||||
}
|
||||
{/if}
|
||||
|
||||
{if $C_P_SAVE_FONT_COLOR}
|
||||
#cookiesplus-modal .cookiesplus-save:not([disabled]) {
|
||||
color: {$C_P_SAVE_FONT_COLOR|escape:'htmlall':'UTF-8'} !important;
|
||||
}
|
||||
{/if}
|
||||
|
||||
{if $C_P_SAVE_FONT_SIZE}
|
||||
#cookiesplus-modal .cookiesplus-save {
|
||||
font-size: {$C_P_SAVE_FONT_SIZE|escape:'htmlall':'UTF-8'} !important;
|
||||
}
|
||||
{/if}
|
||||
|
||||
{if $C_P_SAVE_PADDING}
|
||||
#cookiesplus-modal .cookiesplus-reject {
|
||||
padding: {$C_P_SAVE_PADDING|escape:'htmlall':'UTF-8'} !important;
|
||||
}
|
||||
{/if}
|
||||
|
||||
{if isset($C_P_CSS) && $C_P_CSS}
|
||||
{$C_P_CSS nofilter}
|
||||
{/if}
|
||||
|
||||
#cookiesplus-tab {
|
||||
{if isset($C_P_TAB_POSITION)}
|
||||
{if $C_P_TAB_POSITION == 'center-left'}
|
||||
bottom: 55%;
|
||||
left: 0;
|
||||
-webkit-transform: rotate(-90deg) translateX(-100%);
|
||||
-moz-transform: rotate(-90deg) translateX(-100%);
|
||||
-ms-transform: rotate(-90deg) translateX(-100%);
|
||||
-o-transform: rotate(-90deg) translateX(-100%);
|
||||
transform: rotate(-90deg) translateX(-100%);
|
||||
transform-origin: 0 0;
|
||||
{elseif $C_P_TAB_POSITION == 'center-right'}
|
||||
bottom: 55%;
|
||||
right: 0;
|
||||
-webkit-transform: rotate(-90deg);
|
||||
-moz-transform: rotate(-90deg) translateX(-100%);
|
||||
-ms-transform: rotate(-90deg) translateX(-100%);
|
||||
-o-transform: rotate(-90deg) translateX(-100%);
|
||||
transform: rotate(-90deg);
|
||||
transform-origin: 100% 100%;
|
||||
{elseif $C_P_TAB_POSITION == 'bottom-left'}
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
{elseif $C_P_TAB_POSITION == 'bottom-right'}
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
{else}
|
||||
bottom: 0;
|
||||
left: 75px !important;
|
||||
{/if}
|
||||
{else}
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
{/if}
|
||||
|
||||
{if $C_P_TAB_BACKGROUND_COLOR}
|
||||
background-color: {$C_P_TAB_BACKGROUND_COLOR|escape:'htmlall':'UTF-8'} !important;
|
||||
{/if}
|
||||
|
||||
{if $C_P_TAB_FONT_COLOR}
|
||||
color: {$C_P_TAB_FONT_COLOR|escape:'htmlall':'UTF-8'} !important;
|
||||
{/if}
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,30 @@
|
||||
{**
|
||||
* ISC License
|
||||
*
|
||||
* Copyright (c) 2024 idnovate.com
|
||||
* idnovate is a Registered Trademark & Property of idnovate.com, innovación y desarrollo SCP
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
* AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* @author idnovate
|
||||
* @copyright 2024 idnovate
|
||||
* @license https://www.isc.org/licenses/ https://opensource.org/licenses/ISC ISC License
|
||||
*}
|
||||
<li>
|
||||
<a onclick="cookieGdpr.displayModalAdvanced(false); return false;" style="cursor:pointer"
|
||||
title="{l s='Your cookie settings' mod='cookiesplus'}">
|
||||
<img src="{$module_dir|escape:'htmlall':'UTF-8'}/views/img/userinfo.gif"
|
||||
alt="{l s='Your cookie settings' mod='cookiesplus'}" class="icon"/>
|
||||
{l s='Your cookie settings' mod='cookiesplus'}
|
||||
</a>
|
||||
</li>
|
||||
@@ -0,0 +1,28 @@
|
||||
{**
|
||||
* ISC License
|
||||
*
|
||||
* Copyright (c) 2024 idnovate.com
|
||||
* idnovate is a Registered Trademark & Property of idnovate.com, innovación y desarrollo SCP
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
* AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* @author idnovate
|
||||
* @copyright 2024 idnovate
|
||||
* @license https://www.isc.org/licenses/ https://opensource.org/licenses/ISC ISC License
|
||||
*}
|
||||
<li>
|
||||
<a onclick="cookieGdpr.displayModalAdvanced(false); return false;" style="cursor:pointer"
|
||||
title="{l s='Your cookie settings' mod='cookiesplus'}">
|
||||
<i class="icon-certificate"></i><span>{l s='Your cookie settings' mod='cookiesplus'}</span>
|
||||
</a>
|
||||
</li>
|
||||
@@ -0,0 +1,42 @@
|
||||
{**
|
||||
* ISC License
|
||||
*
|
||||
* Copyright (c) 2024 idnovate.com
|
||||
* idnovate is a Registered Trademark & Property of idnovate.com, innovación y desarrollo SCP
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
* AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* @author idnovate
|
||||
* @copyright 2024 idnovate
|
||||
* @license https://www.isc.org/licenses/ https://opensource.org/licenses/ISC ISC License
|
||||
*}
|
||||
{if $C_P_MATERIAL_ICONS_LIBRARY == '1'}
|
||||
<a href="" class="col-lg-4 col-md-6 col-sm-6 col-xs-12" onclick="cookieGdpr.displayModalAdvanced(false); return false;"
|
||||
style="cursor:pointer" title="{l s='Your cookie settings' mod='cookiesplus'}">
|
||||
<span class="link-item">
|
||||
<i class="material-icons">info</i>{l s='Your cookie settings' mod='cookiesplus'}
|
||||
</span>
|
||||
</a>
|
||||
{elseif $C_P_MATERIAL_ICONS_LIBRARY == '2'}
|
||||
<div class="list-group-item">
|
||||
<a href="" onclick="cookieGdpr.displayModalAdvanced(false); return false;" style="cursor:pointer" title="{l s='Your cookie settings' mod='cookiesplus'}">
|
||||
<i class="fto-chart-pie mar_r4 fs_lg"></i></i>{l s='Your cookie settings' mod='cookiesplus'}
|
||||
</a>
|
||||
</div>
|
||||
{else}
|
||||
<a href="" class="col-lg-4 col-md-6 col-sm-6 col-xs-12" onclick="cookieGdpr.displayModalAdvanced(false); return false;" style="cursor:pointer" title="{l s='Your cookie settings' mod='cookiesplus'}">
|
||||
<span class="link-item">
|
||||
<i class="fa fa-star fa-fw" aria-hidden="true"></i>{l s='Your cookie settings' mod='cookiesplus'}
|
||||
</span>
|
||||
</a>
|
||||
{/if}
|
||||
@@ -0,0 +1,29 @@
|
||||
{**
|
||||
* ISC License
|
||||
*
|
||||
* Copyright (c) 2024 idnovate.com
|
||||
* idnovate is a Registered Trademark & Property of idnovate.com, innovación y desarrollo SCP
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
* AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* @author idnovate
|
||||
* @copyright 2024 idnovate
|
||||
* @license https://www.isc.org/licenses/ https://opensource.org/licenses/ISC ISC License
|
||||
*}
|
||||
<a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" onclick="cookieGdpr.displayModalAdvanced(false); return false;"
|
||||
style="cursor:pointer" title="{l s='Your cookie settings' mod='cookiesplus'}">
|
||||
<span class="link-item">
|
||||
<i class="fa fa-star fa-fw" aria-hidden="true"></i>
|
||||
{l s='Your cookie settings' mod='cookiesplus'}
|
||||
</span>
|
||||
</a>
|
||||
130
modules/cookiesplus/views/templates/hook/dashboard_zone.tpl
Normal file
130
modules/cookiesplus/views/templates/hook/dashboard_zone.tpl
Normal file
@@ -0,0 +1,130 @@
|
||||
{**
|
||||
* ISC License
|
||||
*
|
||||
* Copyright (c) 2024 idnovate.com
|
||||
* idnovate is a Registered Trademark & Property of idnovate.com, innovación y desarrollo SCP
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
* AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* @author idnovate
|
||||
* @copyright 2024 idnovate
|
||||
* @license https://www.isc.org/licenses/ https://opensource.org/licenses/ISC ISC License
|
||||
*}
|
||||
<div class="col-lg-12 idnovate-modules-ad">
|
||||
<div class="panel clearfix">
|
||||
<div class="panel-heading">
|
||||
<i class="icon-cogs"></i> {l s='Recommended Modules' mod='cookiesplus'}
|
||||
</div>
|
||||
|
||||
{*foreach from=$modules key=k item=module*}
|
||||
<div class="module-item">
|
||||
<div class="module-item-heading">
|
||||
<div class="module-logo-thumb">
|
||||
<img src="{$this_path|escape:'htmlall':'UTF-8'}views/img/company/{$modules['id']|escape:'htmlall':'UTF-8'}.png" alt="{$modules['name']|escape:'htmlall':'UTF-8'}">
|
||||
</div>
|
||||
<h3 title="{$modules['name']|escape:'htmlall':'UTF-8'}" class="text-ellipsis module-name">
|
||||
<span>{$modules['name']|escape:'htmlall':'UTF-8'}</span>
|
||||
</h3>
|
||||
</div>
|
||||
<div class="module-item-description">
|
||||
{$modules['description']|escape:'htmlall':'UTF-8'}
|
||||
</div>
|
||||
<div class="module-item-badge">
|
||||
<img src="{$this_path|escape:'htmlall':'UTF-8'}views/img/company/round_logo.png">
|
||||
<span>{l s='Developed by idnovate.com' mod='cookiesplus'}</span>
|
||||
</div>
|
||||
<div class="module-item-buton">
|
||||
<a href="https://addons.prestashop.com/en/{$modules['id']|escape:'htmlall':'UTF-8'}-.html" title="{$modules['name']|escape:'htmlall':'UTF-8'}" target="_blank" class="btn btn-primary">
|
||||
<i class="icon-thumbs-o-up"></i>
|
||||
{l s='Learn more' mod='cookiesplus'}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{*/foreach*}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
|
||||
<style type="text/css">
|
||||
.bootstrap .idnovate-modules-ad .module-item-heading {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
}
|
||||
.bootstrap .idnovate-modules-ad .module-logo-thumb {
|
||||
width: 55px;
|
||||
height: 55px;
|
||||
text-align: center;
|
||||
margin: 0 auto;
|
||||
border-radius: 0;
|
||||
}
|
||||
.bootstrap .idnovate-modules-ad .module-logo-thumb img {
|
||||
max-width: 55px;
|
||||
max-height: 55px;
|
||||
}
|
||||
#content.bootstrap .idnovate-modules-ad h3.module-name {
|
||||
border: none;
|
||||
font-size: 1.2em;
|
||||
padding: 0 0 0 5px;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
font-weight: bolder;
|
||||
margin: 1rem 0 .5rem;
|
||||
min-height: 24px;
|
||||
font-family: Open Sans,Helvetica,Arial,sans-serif;
|
||||
line-height: 1.2;
|
||||
color: #363a41;
|
||||
text-transform: none;
|
||||
border-bottom: none;
|
||||
height: inherit;
|
||||
}
|
||||
.bootstrap .idnovate-modules-ad .module-item-description {
|
||||
margin: 15px 0;
|
||||
text-align: center;
|
||||
}
|
||||
.bootstrap .idnovate-modules-ad .module-read-more {
|
||||
display: inline-block;
|
||||
}
|
||||
.bootstrap .idnovate-modules-ad .module-price {
|
||||
right: auto;
|
||||
bottom: auto;
|
||||
position: relative;
|
||||
margin-right: 5px;
|
||||
float: right;
|
||||
font-size: 14px;
|
||||
}
|
||||
.bootstrap .idnovate-modules-ad hr {
|
||||
margin-top: 1.875rem;
|
||||
margin-bottom: 1.875rem;
|
||||
border: 0;
|
||||
border-top: 1px solid #bbcdd2;
|
||||
}
|
||||
.bootstrap .idnovate-modules-ad .module-item-buton {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.bootstrap .idnovate-modules-ad .module-item-badge {
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
margin: 15px 0;
|
||||
}
|
||||
|
||||
.bootstrap .idnovate-modules-ad .btn {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.bootstrap .idnovate-modules-ad .module-item-badge img {
|
||||
display: inline-block;
|
||||
padding-right: 5px;
|
||||
}
|
||||
</style>
|
||||
49
modules/cookiesplus/views/templates/hook/gtm_consentmode.tpl
Normal file
49
modules/cookiesplus/views/templates/hook/gtm_consentmode.tpl
Normal file
@@ -0,0 +1,49 @@
|
||||
{**
|
||||
* ISC License
|
||||
*
|
||||
* Copyright (c) 2024 idnovate.com
|
||||
* idnovate is a Registered Trademark & Property of idnovate.com, innovación y desarrollo SCP
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
* AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* @author idnovate
|
||||
* @copyright 2024 idnovate
|
||||
* @license https://www.isc.org/licenses/ https://opensource.org/licenses/ISC ISC License
|
||||
*}
|
||||
<script data-keepinline='true'>
|
||||
{assign var="consentType" value="default"}
|
||||
|
||||
{foreach $gtm as $key => $value}
|
||||
{if $value}
|
||||
{assign var="consentType" value="update"}
|
||||
{break}
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag() { dataLayer.push(arguments); }
|
||||
|
||||
gtag('consent', '{$consentType}', {
|
||||
'ad_storage' : '{if isset($gtm['ad_storage']) && $gtm['ad_storage']}granted{else}denied{/if}',
|
||||
'ad_user_data' : '{if isset($gtm['ad_user_data']) && $gtm['ad_user_data']}granted{else}denied{/if}',
|
||||
'ad_personalization' : '{if isset($gtm['ad_personalization']) && $gtm['ad_personalization']}granted{else}denied{/if}',
|
||||
'analytics_storage' : '{if isset($gtm['analytics_storage']) && $gtm['analytics_storage']}granted{else}denied{/if}',
|
||||
'functionality_storage' : '{if isset($gtm['functionality_storage']) && $gtm['functionality_storage']}granted{else}denied{/if}',
|
||||
'personalization_storage' : '{if isset($gtm['personalization_storage']) && $gtm['personalization_storage']}granted{else}denied{/if}',
|
||||
'security_storage' : '{if isset($gtm['security_storage']) && $gtm['security_storage']}granted{else}denied{/if}',
|
||||
'wait_for_update' : 1000
|
||||
});
|
||||
|
||||
gtag('set', 'url_passthrough', false);
|
||||
gtag('set', 'ads_data_redaction', true);
|
||||
</script>
|
||||
35
modules/cookiesplus/views/templates/hook/hookmoduledata.tpl
Normal file
35
modules/cookiesplus/views/templates/hook/hookmoduledata.tpl
Normal file
@@ -0,0 +1,35 @@
|
||||
{**
|
||||
* ISC License
|
||||
*
|
||||
* Copyright (c) 2024 idnovate.com
|
||||
* idnovate is a Registered Trademark & Property of idnovate.com, innovación y desarrollo SCP
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
* AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* @author idnovate
|
||||
* @copyright 2024 idnovate
|
||||
* @license https://www.isc.org/licenses/ https://opensource.org/licenses/ISC ISC License
|
||||
*}
|
||||
<script id="{$divName|escape:'htmlall':'UTF-8'}"></script>
|
||||
<script>
|
||||
var hookModuleData = [];
|
||||
hookModuleData['id_module'] = '{$id_module|intval}';
|
||||
hookModuleData['location'] = '#{$divName|escape:'htmlall':'UTF-8'}';
|
||||
hookModuleData['finalities'] = "{$finalities nofilter}";
|
||||
hookModuleData['script'] = {$script nofilter};
|
||||
hookModuleData['js'] = {$js nofilter};
|
||||
hookModuleData['css'] = {$css nofilter};
|
||||
var cookiesPlusBlockedScripts = cookiesPlusBlockedScripts || [];
|
||||
cookiesPlusBlockedScripts.push(hookModuleData);
|
||||
var hookModuleData = [];
|
||||
</script>
|
||||
32
modules/cookiesplus/views/templates/hook/index.php
Normal file
32
modules/cookiesplus/views/templates/hook/index.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* ISC License
|
||||
*
|
||||
* Copyright (c) 2024 idnovate.com
|
||||
* idnovate is a Registered Trademark & Property of idnovate.com, innovación y desarrollo SCP
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
* AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* @author idnovate
|
||||
* @copyright 2024 idnovate
|
||||
* @license https://www.isc.org/licenses/ https://opensource.org/licenses/ISC ISC License
|
||||
*/
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
@@ -0,0 +1,28 @@
|
||||
{**
|
||||
* ISC License
|
||||
*
|
||||
* Copyright (c) 2024 idnovate.com
|
||||
* idnovate is a Registered Trademark & Property of idnovate.com, innovación y desarrollo SCP
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
* AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* @author idnovate
|
||||
* @copyright 2024 idnovate
|
||||
* @license https://www.isc.org/licenses/ https://opensource.org/licenses/ISC ISC License
|
||||
*}
|
||||
<li>
|
||||
<a onclick="cookieGdpr.displayModalAdvanced(false); return false;" style="cursor:pointer"
|
||||
title="{l s='Your cookie settings' mod='cookiesplus'}">
|
||||
<i class="icon-certificate"></i><span>{l s='Your cookie settings' mod='cookiesplus'}</span>
|
||||
</a>
|
||||
</li>
|
||||
@@ -0,0 +1,27 @@
|
||||
{**
|
||||
* ISC License
|
||||
*
|
||||
* Copyright (c) 2024 idnovate.com
|
||||
* idnovate is a Registered Trademark & Property of idnovate.com, innovación y desarrollo SCP
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
* AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* @author idnovate
|
||||
* @copyright 2024 idnovate
|
||||
* @license https://www.isc.org/licenses/ https://opensource.org/licenses/ISC ISC License
|
||||
*}
|
||||
<li>
|
||||
<a href="" onclick="cookieGdpr.displayModalAdvanced(false); return false;" style="cursor:pointer"
|
||||
title="{l s='Your cookie settings' mod='cookiesplus'}"
|
||||
rel="nofollow noopener noreferrer">{l s='Your cookie settings' mod='cookiesplus'}</a>
|
||||
</li>
|
||||
47
modules/cookiesplus/views/templates/hook/nav_16.tpl
Normal file
47
modules/cookiesplus/views/templates/hook/nav_16.tpl
Normal file
@@ -0,0 +1,47 @@
|
||||
{**
|
||||
* ISC License
|
||||
*
|
||||
* Copyright (c) 2024 idnovate.com
|
||||
* idnovate is a Registered Trademark & Property of idnovate.com, innovación y desarrollo SCP
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
* AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* @author idnovate
|
||||
* @copyright 2024 idnovate
|
||||
* @license https://www.isc.org/licenses/ https://opensource.org/licenses/ISC ISC License
|
||||
*}
|
||||
<style>
|
||||
#cookie-link {
|
||||
float: right;
|
||||
border-left: 1px solid #515151;
|
||||
}
|
||||
|
||||
#cookie-link a {
|
||||
display: block;
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
padding: 8px 10px 11px 10px;
|
||||
text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
|
||||
cursor: pointer;
|
||||
line-height: 18px;
|
||||
text-decoration: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div id="cookie-link">
|
||||
<a style="cursor:pointer" onclick="cookieGdpr.displayModalAdvanced(false); return false;"
|
||||
title="{l s='Your cookie settings' mod='cookiesplus'}" rel="nofollow noopener noreferrer"">
|
||||
<i class="icon-certificate"></i>
|
||||
{l s='Your cookie settings' mod='cookiesplus'}
|
||||
</a>
|
||||
</div>
|
||||
37
modules/cookiesplus/views/templates/hook/nav_17.tpl
Normal file
37
modules/cookiesplus/views/templates/hook/nav_17.tpl
Normal file
@@ -0,0 +1,37 @@
|
||||
{**
|
||||
* ISC License
|
||||
*
|
||||
* Copyright (c) 2024 idnovate.com
|
||||
* idnovate is a Registered Trademark & Property of idnovate.com, innovación y desarrollo SCP
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
* AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* @author idnovate
|
||||
* @copyright 2024 idnovate
|
||||
* @license https://www.isc.org/licenses/ https://opensource.org/licenses/ISC ISC License
|
||||
*}
|
||||
<style>
|
||||
#cookie-link {
|
||||
margin: .9375rem 1rem 0;
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div id="cookie-link">
|
||||
<a style="cursor:pointer" onclick="cookieGdpr.displayModalAdvanced(false); return false;"
|
||||
title="{l s='Your cookie settings' mod='cookiesplus'}" rel="nofollow noopener noreferrer">
|
||||
<i class="material-icons new_releases">new_releases</i>
|
||||
<span class="hidden-sm-down">{l s='Your cookie settings' mod='cookiesplus'}</span>
|
||||
</a>
|
||||
</div>
|
||||
Reference in New Issue
Block a user