Introduced forms, controller, and model for license management in v1 API, enabling users to interact with license-related resources. Updated ACL to include permissions for licenses and global configuration for IPs and site settings. Added a fixed banner for the privacy and cookie policy to improve compliance with user consent requirements.
61 lines
1.9 KiB
PHTML
61 lines
1.9 KiB
PHTML
<style>
|
|
/** PRIVACY POLICY **/
|
|
|
|
.privacy_pol {
|
|
background-color: #F4C058;
|
|
color: #FFFFFF;
|
|
bottom: 0;
|
|
height: auto;
|
|
padding: 8px 25px;
|
|
position: fixed;
|
|
width: 100%;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.privacy_pol a {
|
|
color: #FFFFFF;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.privacy_pol a#accept_cookie_policy {
|
|
max-width: 250px;
|
|
margin-left: 10px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.privacy_pol a.btn {
|
|
border: 1px solid #FFF;
|
|
border-radius: 0;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.privacy_pol a.btn:hover {
|
|
background-color: #FFF;
|
|
color: #F4C058;
|
|
text-decoration: none;
|
|
}
|
|
</style>
|
|
|
|
<div class="privacy_pol">
|
|
<div class="row">
|
|
<div class="col-xs-12 col-md-12 text-center">
|
|
Questo sito o gli strumenti terzi da questo utilizzati si avvalgono di cookie necessari al funzionamento
|
|
ed utili alle finalità illustrate nella <a href="<?= $this->url(array('action'=>'privacy'),'it',true); ?>"
|
|
target="_blank">privacy policy</a> e <a href="<?= $this->url(array('action'=>'cookiepolicy'),'it',true); ?>"
|
|
target="_blank">cookie policy</a>
|
|
<a id="accept_cookie_policy" class="btn btn-sm"><i class="fa fa-check fa-fw"></i> Ok,acconsento</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
$('#accept_cookie_policy').click(function (link) {
|
|
link.preventDefault();
|
|
var d = new Date();
|
|
d.setTime(d.getTime() + (5 * 24 * 60 * 60 * 1000));
|
|
var expires = "expires=" + d.toUTCString();
|
|
document.cookie = "displayCookiePolicy=false; " + expires + "; path=/";
|
|
$('.privacy_pol').slideUp();
|
|
});
|
|
</script>
|