COMBRIX Testseite
Startseite Artikel Forum FAQ 03. May 2024 11:58
Navigation
Shoutbox
You must login to post a message.

bullet bahnfrank65 offline
02.07.2018 - 10:02
hier mal ein Test
Testpanel
Testseite
Login off
Discussionboard
COMBRIX Testseite - Discussionboard
Username
Password

RegisterForum Search
View Thread
COMBRIX Testseite > Combrix
->> kleine Mods in Combrix
Next Thread

 
Author Cookiehinweis gemäß DSGVO   1  # 1  top
bahnfrank65
Site Admin


User Avatar



Posts: 5

Location: Zuhause
Joined: 17.06.18
Status: Offline
Posted on 12.01.2019 19:10
Nach EU-DSGV 2018 ist es unter Anderem erforderlich einen Cookiehinweis welchen der Benutzer bestätigen muß auf der Webseite zu haben.

Dazu habe ich in themes/THEME/layout.html.php folgendes eingefügt:
nach:
Code
if (file_exists(THEME."templates/".LANGUAGE.".php")) { include THEME."templates/".LANGUAGE.".php"; } else { include THEME."templates/German.php"; }

dieses:
Code
include LOCALE.LANGUAGE."/dataprivacy.php";

vor:
Code
</body>

dieses:
Code

<!-- cookiedingsbums -->
<script>
$(document).ready(function() {
if (Cookies.get('hidecookiedingsbums') > 0) {
$('#cookiedingsbums').hide();
} else {
$("#cookiedingsbumsCloser").click(function() {
Cookies.set('hidecookiedingsbums', '1');
$("#cookiedingsbums").slideUp("slow");
});
}
});
</script>

<div id="cookiedingsbums">
<div id="cookiedingsbumsHead"><img src="../<?php echo BASEDIR; ?>kekse.png" alt="cookies" /> &nbsp; Cookie-Control :</div>
<div id="cookiedingsbumsHint"><?php echo $locale['dp0002']; ?> &nbsp; &nbsp; &nbsp; <a href="<?php echo BASEDIR; ?>viewpage.php?page_id=2" class="footer2">&raquo; <?php echo $locale['dp0003']; ?> &laquo;</a></div>
<span id="cookiedingsbumsCloser"><?php echo $locale['dp0005']; ?></span>
</div>

in themes/THEME/styles.css eingefügt:
Code
/* for cookiedingsbums */
a.footer2 {color:#222; font-size:11px; text-decoration:none;cursor:pointer;}
a.footer2:hover {color:#cc0000; font-size:11px; text-decoration:underline;}

#cookiedingsbums {
position:fixed;
bottom:0px; left:20px;
z-index:10000;
width:96%;
/* outline:1px solid #7b92a9; */
color:#505050; font-size:11px; line-height:16px;
/* border-top:1px solid #fff; */
border:1px solid #555;
border-radius:5px 5px 0px 0px;
padding:4px;
background:#d6e0eb;
background:-moz-linear-gradient(top, #d6e0eb 0%, #f2f6f9 100%);
background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#d6e0eb), color-stop(100%,#f2f6f9));
background:-webkit-linear-gradient(top, #d6e0eb 0%,#f2f6f9 100%);
background:-o-linear-gradient(top, #d6e0eb 0%,#f2f6f9 100%);
background:-ms-linear-gradient(top, #d6e0eb 0%,#f2f6f9 100%);
background:linear-gradient(to bottom, #d6e0eb 0%,#f2f6f9 100%);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#d6e0eb', endColorstr='#f2f6f9',GradientType=0 );
}

#cookiedingsbumsHead {padding:5px; width:150px; float:left; font-weight:bold;}
#cookiedingsbumsHint {padding-right:170px; text-align:left; float:left;}

#cookiedingsbumsCloser {
position:absolute;
top:5px; right:5px;
color:#222; font-weight:bold; text-decoration:none; text-shadow:0 1px 0 #fff;
cursor:pointer;
border-top:1px solid white; border-left:1px solid white; border-bottom:1px solid #7b92a9; border-right:1px solid #7b92a9;
border-radius:5px;
padding:4px;
background:#ced6df; /* Old browsers */
background:-moz-linear-gradient(top, #ced6df0%, #f2f6f9 100%);
background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#ced6df), color-stop(100%,#f2f6f9));
background:-webkit-linear-gradient(top, #ced6df0%,#f2f6f9 100%);
background:-o-linear-gradient(top, #ced6df0%,#f2f6f9 100%);
background:-ms-linear-gradient(top, #ced6df0%,#f2f6f9 100%);
background:linear-gradient(to bottom, #ced6df0%,#f2f6f9 100%);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ced6df', endColorstr='#f2f6f9',GradientType=0);
}
#cookiedingsbumsCloser:hover {color:#cc0000; border-bottom:1px solid white; border-right:1px solid white; border-top:1px solid #7b92a9; border-left:1px solid #7b92a9;}

Anbei noch die locale-Dateien (für deren Richtigkeit und Vollständigkeit wird keine Haftung übernommen. Die Texte haben Beispielcharakter),
sowie die nötigen JavaScript-Dateien welche auf Aktualität geprüft werden sollten.
 Attachments 
locale.7z  (Size: 4.74 KB, 11 Hits)
scripts.7z  (Size: 30.29 KB, 21 Hits)

Edited by bahnfrank65 on 12.01.2019 21:09
 
Jump to Forum:
Share Thread
URL:
BB-Code:
HTML:
Es gibt nichts Gutes, ausser man tut Es.

© COMBRIX CMS Software v1.01.5 based on PHP-Fusion v6. Thanks to the founder Nick Jones | Theme Echelon
render time: 0.176 sec.
cookies   Cookie-Control :
      » «