Changeset 1886461
- Timestamp:
- 06/03/2018 08:58:13 PM (8 years ago)
- Location:
- bst-dsgvo-cookie
- Files:
-
- 29 added
- 7 deleted
- 6 edited
-
tags/1.2.3 (added)
-
tags/1.2.3/bst.php (added)
-
tags/1.2.3/includes (added)
-
tags/1.2.3/includes/admin-menu.php (added)
-
tags/1.2.3/includes/admin-seite.php (added)
-
tags/1.2.3/includes/css (added)
-
tags/1.2.3/includes/css/options-page.css (added)
-
tags/1.2.3/includes/css/style.css (added)
-
tags/1.2.3/includes/enqueue.php (added)
-
tags/1.2.3/includes/img (added)
-
tags/1.2.3/includes/img/banner-772x250.jpg (added)
-
tags/1.2.3/includes/img/icon-128x128.jpg (added)
-
tags/1.2.3/includes/img/icon-256x256.jpg (added)
-
tags/1.2.3/includes/img/screenshot-1.jpg (added)
-
tags/1.2.3/includes/img/screenshot-2.jpg (added)
-
tags/1.2.3/includes/js (added)
-
tags/1.2.3/includes/js/options-page.js (added)
-
tags/1.2.3/includes/js/scripts.js (added)
-
tags/1.2.3/includes/register-settings.php (added)
-
tags/1.2.3/languages (added)
-
tags/1.2.3/languages/de_DE.mo (added)
-
tags/1.2.3/languages/de_DE.po (added)
-
tags/1.2.3/readme.txt (added)
-
tags/1.2.3/uninstall.php (added)
-
trunk/bst.php (modified) (12 diffs)
-
trunk/includes/admin-seite.php (modified) (16 diffs)
-
trunk/includes/css/bst-mesage-flat-theme.css (deleted)
-
trunk/includes/css/bst-mesage.css (deleted)
-
trunk/includes/css/style.css (modified) (4 diffs)
-
trunk/includes/css/vex-theme-flat-attack.css (deleted)
-
trunk/includes/css/vex.css (deleted)
-
trunk/includes/enqueue.php (modified) (1 diff)
-
trunk/includes/img/banner-772x250.jpg (added)
-
trunk/includes/img/eu-info.png (deleted)
-
trunk/includes/img/icon-128x128.jpg (added)
-
trunk/includes/img/icon-256x256.jpg (added)
-
trunk/includes/img/screenshot-1.jpg (added)
-
trunk/includes/img/screenshot-2.jpg (added)
-
trunk/includes/js/bst-message.js (deleted)
-
trunk/includes/js/scripts.js (modified) (4 diffs)
-
trunk/includes/js/vex.combined.js (deleted)
-
trunk/readme.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bst-dsgvo-cookie/trunk/bst.php
r1886293 r1886461 4 4 * Plugin URI: https://bst-systemtechnik.de 5 5 * Description: Einfaches, responsives Cookie Pop-up ohne viel Schnick Schnack. EU-DSGVO konform. 6 * Version: 1. 2.27 * Author: BST Systemtechnik (A utor: Arnold Margolf)6 * Version: 1.1.1 7 * Author: BST Systemtechnik (Arnold Margolf) 8 8 * Author URI: https://www.bst-systemtechnik.de 9 9 * Text Domain: bst-dsgvo-cookie … … 11 11 * Copyright 2018 Arnold Margolf (email : amargolf@bst-systemtechnik.de) 12 12 */ 13 14 13 15 14 16 /******************************* … … 25 27 register_activation_hook(__FILE__, 'bst_plugin_install'); 26 28 29 30 27 31 function bst_load_plugin_textdomain() { 28 32 load_plugin_textdomain( 'bst-dsgvo-cookie', false, basename( dirname( __FILE__ ) ) . '/languages/' ); 29 33 } 30 34 add_action( 'plugins_loaded', 'bst_load_plugin_textdomain' ); 35 36 31 37 32 38 /******************************* … … 54 60 'button-bg' => '#067cd1', 55 61 'button-textcolor' => '#FFFFFF', 56 'button-hovercolor' => '#CCCCCC',57 62 'button-color' => '#FFFFFF', 58 'link-color' => '# CCCCCC',63 'link-color' => '#cccccc', 59 64 'button_typ' => 1, 60 'show-info' => '1',61 'target' => '_self',62 'policy-site' => '',63 65 64 66 ); … … 78 80 'width' => 90, 79 81 'max-width' => 1280, 80 'padding' => 5,82 'padding' => 10, 81 83 'background' => '#333333', 82 84 'border' => '#555555', … … 85 87 'button-bg' => '#067cd1', 86 88 'button-textcolor' => '#FFFFFF', 87 'button-hovercolor' => '#CCCCCC', 88 'link-color' => '#CCCCCC', 89 'link-color' => '#cccccc', 89 90 'button_typ' => 1, 90 'show-info' => '1',91 'target' => '_self',92 'policy-site' => '',93 91 94 92 ); … … 96 94 } 97 95 98 /******************************* 99 * The cookie banner markup 96 97 98 /******************************* 99 * The cookie consent markup 100 100 *******************************/ 101 101 … … 103 103 104 104 $bst_options = get_option('bst_settings'); 105 105 106 106 function bstContent() { ?> 107 107 108 108 <?php 109 110 $bst_btn_bg1 = get_bst_value('button-bg');111 $bst_btn_bg2 = get_bst_value('button-hovercolor');112 $bst_show_info = 1;113 114 echo $bst_btn_bg1;115 echo $bst_btn_bg2;116 echo $bst_show_info;117 118 $bst_iimage = get_option( 'siteurl' ) . '/wp-content/plugins/bst-dsgvo-cookie/includes/img/eu-info.png';119 120 109 $fixed = ""; 121 110 if ( get_bst_value('fixed-to-bottom') == 1) { $fixed = " bst-panel-fixed"; } else {$fixed = " bst-panel-fixed-top"; } 122 123 $target = "_self";124 if ( get_bst_value('target') == 1) { $target = "_blank"; } else {$target = "_self"; }125 126 111 ?> 127 <div id="BSTDSGVOCookiInfo" style="display:none"> 128 <h1>Hinweispflicht zu Cookies</h1> 129 <p style="font-size:14px;line-height:18px;margin-bottom:5px">Webseitenbetreiber müssen, um Ihre Webseiten DSGVO konform zu publizieren, ihre Besucher auf die Verwendung von Cookies hinweisen und darüber informieren, dass bei weiterem Besuch der Webseite von der Einwilligung des Nutzers 130 in die Verwendung von Cookies ausgegangen wird.</p> 131 <P style="font-size:14px;font-weight:bold;line-height:18px;margin-bottom:5px">Der eingeblendete Hinweis Banner dient dieser Informationspflicht.</p> 132 <P style="font-size:12px;line-height:14px;color:#999999;margin-top:70px;margin-bottom:5px">Ein WordPress Plugin von <a title="Offizielle Pluginseite besuchen" href="https://www.bst-systemtechnik.de/dsgvo-cookie-hinweis-bst-dsgvo-cookie-wordpress-plugin/" target="_blank" rel="nofollow">BST Systemtechnik</a> </p> 133 </div> 112 113 134 114 <div class="bst-panel group<?php echo $fixed; ?>" style="background:<?php bst_value('background'); ?>; border-bottom:<?php bst_value('border-size'); ?>px solid <?php bst_value('border'); ?>; font-family:'<?php bst_value('font'); ?>';"> 135 <span class="bst-info" title="Erfahren Sie mehr zu diesem Cookie Hinweis [BST DSGVO Cookie]"></span> 136 <script type="text/javascript"> 115 137 116 138 var bst_btn_bg1 = <?php echo json_encode($bst_btn_bg1) ?>;139 var bst_btn_bg2 = <?php echo json_encode($bst_btn_bg2) ?>;140 var bst_show_info = <?php echo json_encode($bst_show_info) ?>;141 142 jQuery( document ).ready(function() {143 jQuery('.bst-accept-btn').hover(144 function(){145 jQuery(this).css('background-color', '');146 jQuery(this).css('background-color', bst_btn_bg2);147 },148 function(){149 jQuery(this).css('background-color', '');150 jQuery(this).css('background-color', bst_btn_bg1);151 });152 });153 154 if (bst_show_info==1) {155 bsti = document.querySelector('.bst-info');156 bsti.addEventListener('click', function (e) {157 vex.dialog.alert({158 unsafeMessage: jQuery('#BSTDSGVOCookiInfo').html(),159 showCloseButton: false,160 escapeButtonCloses: true,161 overlayClosesOnClick: true,162 className: 'vex-theme-flat-attack'163 })164 });165 }166 167 </script>168 117 <div class="bst-wrapper group" style="width:<?php bst_value('width'); ?>%; max-width:<?php bst_value('max-width'); ?>px; padding:<?php bst_value('padding'); ?>px 0;"> 169 <?php //echo $bst_show_info; ?>170 118 <div class="bst-msg" style="font-family:<?php bst_value('font'); ?>; color:<?php bst_value('text-color'); ?>;"><?php bst_value('message'); ?></div> 171 <div class="bst-links"> 119 <div class="bst-links"> 172 120 <?php 173 121 if (get_bst_value('button_typ') ==1) { … … 177 125 } else if(get_bst_value('button_typ')==2) { 178 126 ?> 179 <a style="background:<?php bst_value('button-bg'); ?>; 180 color:<?php bst_value('button-textcolor'); ?>; 181 font-family:'<?php bst_value('font'); ?>';" class="bst-accept-btn" href="#"><?php bst_value('accept'); ?></a> 127 <a style="background:<?php bst_value('button-bg'); ?>; color:<?php bst_value('button-textcolor'); ?>; font-family:'<?php bst_value('font'); ?>';" class="bst-accept-btn" href="#"><?php bst_value('accept'); ?></a> 182 128 <?php 183 129 } else { … … 187 133 } 188 134 ?> 189 <a style="font-family:'<?php bst_value('font'); ?>'; color:<?php bst_value('link-color'); ?>;" href="<?php bst_value('policy-url'); ?>" class="bst-info-btn" target="<?php bst_value('more-info'); ?>"><?php bst_value('more-info'); ?></a>135 <a style="font-family:'<?php bst_value('font'); ?>'; color:<?php bst_value('link-color'); ?>;" href="<?php bst_value('policy-url'); ?>" class="bst-info-btn" ><?php bst_value('more-info'); ?></a> 190 136 </div> 191 137 <div class="float"></div> 192 138 </div> 193 139 </div> 194 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 195 162 <?php 196 163 } 197 164 165 198 166 // Enabled 199 167 if ($bst_options['enable']==1) { … … 223 191 } 224 192 193 194 195 225 196 /******************************* 226 197 * Includes … … 235 206 } 236 207 208 209 237 210 /******************************* 238 211 * Actions -
bst-dsgvo-cookie/trunk/includes/admin-seite.php
r1886254 r1886461 16 16 17 17 <h2><?php _e($bst_plugin_name . ' - Einstellungen', 'bst-dsgvo-cookie'); ?></h2> 18 <p><?php _e('Ein Plugin von ', 'bst-dsgvo-cookie'); ?><a href="https://www.bst-systemtechnik.de" target="_blank" title="BST Systemtechnik - Webdesign aus Gießen">BST Systemtechnik</a> - Ihr Partner für individuelle Web- und Softwareentwicklung.</p> 19 <p style="max-width:600px"> 20 BST DSGVO Cookie ist ein Plugin um Webseitenbesucher über den Einsatz von Cookies zu informieren. 21 Webseitenbetreiber müssen, um Ihre Webseiten DSGVO konform zu publizieren ihre Besucher auf die Verwendung von Cookies hinweisen und darüber informieren, 22 dass bei weiterem Besuch der Webseite von der Einwilligung des Nutzers in die Verwendung von Cookies ausgegangen wird. 23 24 </p> 25 <p style="font-size:12px;line-height:14px;margin-bottom:5px;color:#808080"><a style="color:#808080" title="Erklärung zum Haftungssauschluss" href="https://www.bst-systemtechnik.de/dsgvo-cookie-hinweis-bst-dsgvo-cookie-wordpress-plugin/#Haftungsausschluss" target="_blank" rel="nofollow">Haftungsauschluss für den Einsatz von BST DSGVO Cookie</a></p> 18 <p><?php _e('Ein Plugin von ', 'bst-dsgvo-cookie'); ?><a href="https://www.bst-systemtechnik.de" target="_blank" title="BST Systemtechnik - Webdesign aus Gießen">BST Systemtechnik</a></p> 26 19 <br/> 27 20 28 21 <form method="post" action="options.php"> 29 22 23 30 24 <?php settings_fields('bst_settings_group'); ?> 31 25 26 32 27 <p class="submit"> 33 <input type="submit" class="button-primary" value="<?php _e('Einstellungen speichern', 'bst-dsgvo-cookie'); ?>" /> 34 </p> 28 <input type="submit" class="button-primary" value="<?php _e('Speichern', 'bst-dsgvo-cookie'); ?>" /> 29 </p> 30 31 35 32 <br/> 36 33 … … 64 61 </label> 65 62 </p> 63 64 66 65 <br/> 67 66 67 68 68 <h3><?php _e('Texte', 'bst-dsgvo-cookie'); ?></h3> 69 69 <hr> … … 74 74 <label class="description" for="bst_settings[message]"><?php _e('', 'bst-dsgvo-cookie'); ?></label> 75 75 </p><br/> 76 77 <h4><?php _e('Text: Button - Akzeptieren', 'bst-dsgvo-cookie'); ?></h4> 76 77 78 <h4><?php _e('Button - Akzeptieren', 'bst-dsgvo-cookie'); ?></h4> 78 79 <p> 79 80 <input id="bst_settings[accept]" name="bst_settings[accept]" type="text" maxlength="50" value="<?php sanitize_text_field(bst_value('accept')); ?>" /> … … 81 82 </p><br/> 82 83 83 <h4><?php _e(' Text:Link - Weitere Informationen', 'bst-dsgvo-cookie'); ?></h4>84 <h4><?php _e('Link - Weitere Informationen', 'bst-dsgvo-cookie'); ?></h4> 84 85 <p> 85 86 <input id="bst_settings[more-info]" name="bst_settings[more-info]" type="text" maxlength="50" value="<?php sanitize_text_field(bst_value('more-info')); ?>" /> … … 89 90 <h4><?php _e('Link zur Seite mit Cookie Erklärung', 'bst-dsgvo-cookie'); ?></h4> 90 91 <p> 91 <input style="width:350px;" id="bst_settings[policy-url]" name="bst_settings[policy-url]" type="text" maxlength="400" value="<?php sanitize_text_field(bst_value('policy-url')); ?>" /> 92 <label class="description" for="bst_settings[policy-url]"><?php _e('Typischerweise die Seite Datenschutzerklärung. (Den führenden Slash bitte nicht vergessen!)', 'bst-dsgvo-cookie'); ?></label> 93 </p> 94 95 <p> 96 <?php if(isset($bst_options['target'])) { 97 98 99 if ($bst_options['target']=="_blank") { 100 101 $self_selected=""; 102 $blank_selected="selected"; 103 104 } else { 105 106 $self_selected="selected"; 107 $blank_selected=""; 108 109 } 110 111 112 } else { 113 114 $bst_options['target']="_self"; 115 $self_selected="selected"; 116 $blank_selected=""; 117 } 118 119 120 ?> 121 122 <label class="description"> 123 124 <select id="bst_settings[target]" name="bst_settings[target]" style="width:350px;"> 125 <option value="_self" <?php echo $self_selected ?>>Cookie Erklärung im selben Tab / Fenster öffnen</option> 126 <option value="_blank" <?php echo $blank_selected ?>>Cookie Erklärung im neuen Tab / Fenster öffnen</option> 127 </select> 128 </label> 129 130 </p> 92 <input id="bst_settings[policy-url]" name="bst_settings[policy-url]" type="text" maxlength="400" value="<?php sanitize_text_field(bst_value('policy-url')); ?>" /> 93 <label class="description" for="bst_settings[policy-url]"><?php _e('Typischerweise die Seite Datenschutzerklärung', 'bst-dsgvo-cookie'); ?></label> 94 </p> 95 131 96 132 97 <br/><br/> 133 98 99 134 100 <h3><?php _e('Styling', 'bst-dsgvo-cookie'); ?></h3> 135 101 <hr> … … 138 104 <p> 139 105 <input id="bst_settings[font]" name="bst_settings[font]" type="text" maxlength="100" value="<?php sanitize_text_field(bst_value('font')); ?>" /> 140 <label class="description" for="bst_settings[font]"><?php _e('Zum Bsp. Century Gothic', 'bst-dsgvo-cookie'); ?></label> 141 </p><br/> 142 106 <label class="description" for="bst_settings[font]"><?php _e('E.g. Century Gothic', 'bst-dsgvo-cookie'); ?></label> 107 </p><br/> 108 109 143 110 <h4><?php _e('Breite auf mobilen Geräten', 'bst-dsgvo-cookie'); ?></h4> 144 111 <p> … … 146 113 <label class="description" for="bst_settings[width]"><?php _e('%', 'bst-dsgvo-cookie'); ?></label> 147 114 </p><br/> 148 115 116 149 117 <h4><?php _e('Maximale Breite auf dem Desktop', 'bst-dsgvo-cookie'); ?></h4> 150 118 <p> … … 153 121 </p><br/> 154 122 123 155 124 <h4><?php _e('Pop-up - Padding (Top und Bottom)', 'bst-dsgvo-cookie'); ?></h4> 156 125 <p> … … 158 127 <label class="description" for="bst_settings[padding]"><?php _e('px', 'bst-dsgvo-cookie'); ?></label> 159 128 </p><br/> 160 129 130 161 131 <h4><?php _e('Pop-up - Hintergrundfarbe', 'bst-dsgvo-cookie'); ?></h4> 162 132 <p> … … 166 136 </div> 167 137 </p><br/> 168 138 139 169 140 <h4><?php _e('Pop-up - Rahmenfarbe [Bottom]', 'bst-dsgvo-cookie'); ?></h4> 170 141 <p> … … 174 145 </div> 175 146 </p><br/> 176 147 148 177 149 <h4><?php _e('Pop-up - Rahmengröße [Bottom]', 'bst-dsgvo-cookie'); ?></h4> 178 150 <p> … … 180 152 <label class="description" for="bst_settings[border-size]"><?php _e('px', 'bst-dsgvo-cookie'); ?></label> 181 153 </p><br/> 182 154 155 183 156 <h4><?php _e('Pop-up - Textfarbe', 'bst-dsgvo-cookie'); ?></h4> 184 157 <p> … … 200 173 <hr> 201 174 175 176 202 177 <h4><?php _e('Button Typ', 'bst-dsgvo-cookie'); ?></h4> 203 <p>178 <p> 204 179 205 180 <?php $button_typ = (isset($bst_options['button_typ'])) ? $bst_options['button_typ'] : 0; … … 224 199 <option value="2" <?php echo $Individueller_Button_selected ?>>Individueller Button</option> 225 200 </select> 226 </label> 201 202 203 204 </label> 227 205 228 206 </p><br/> … … 244 222 </div> 245 223 </p><br/> 246 247 <h4><?php _e('Akzeptieren Button - Farbe Hover Effekt', 'bst-dsgvo-cookie'); ?></h4>248 <p>249 <div class="color-picker" style="position:relative;">250 <input data-id="4" class="color" name="bst_settings[button-hovercolor]" type="text" maxlength="7" value="<?php sanitize_text_field(bst_value('button-hovercolor')); ?>" />251 <div class="colorpicker" style="z-index:100; position:absolute; display:none;"></div>252 </div>253 </p><br/>254 224 255 225 </div> 256 226 227 257 228 <p class="submit"> 258 <input type="submit" class="button-primary" value="<?php _e(' Einstellungen speichern', 'bst-dsgvo-cookie'); ?>" />229 <input type="submit" class="button-primary" value="<?php _e('Speichern', 'bst-dsgvo-cookie'); ?>" /> 259 230 </p> 260 231 … … 262 233 263 234 </div> 264 235 265 236 <script> 266 237 -
bst-dsgvo-cookie/trunk/includes/css/style.css
r1886293 r1886461 1 1 /* BST DSGVO Cookie 2 2 ======================================== */ 3 4 5 6 3 .group::after { 7 4 width:100%; … … 35 32 } 36 33 34 35 37 36 .bst-wrapper { 38 37 margin:0 auto; 39 38 width:90%; 39 40 40 margin:0 auto; 41 padding-top:10px; 42 padding-bottom:5px; 41 padding:10px 0; 43 42 44 43 } 45 44 .bst-panel { 46 45 float:left; 46 47 47 color:#FFFFFF; 48 48 line-height:20px; 49 49 font-size:14px; 50 50 51 font-family:Helvetica, Arial, sans-serif; 51 } 52 53 .bst-info::before { 54 position: absolute; 55 content: " "; 56 left:10px; 57 top:10px; 58 height:32px; 59 width:32px; 60 background: url( '../img/eu-info.png') no-repeat; 61 background-size: 32px 32px; 62 cursor: pointer; 63 } 64 65 66 .bst-info { 67 position:relative; 68 text-align:center; 69 padding-top:5px; 70 float:left; 71 width:28px ; 72 display: table-cell; 73 vertical-align: middle; 52 74 53 } 75 54 76 55 .bst-msg { 77 position:relative; 78 text-align:center; 79 padding-top:5px; 80 float:left; 81 width:65% ; 82 display: table-cell; 83 vertical-align: middle; 56 position:relative; 57 text-align:center; 58 59 padding-top:5px; 60 float:left; 61 width:65% ; 62 63 display: table-cell; 64 vertical-align: middle; 65 84 66 } 85 67 86 68 .bst-links { 87 position:relative;69 position:relative; 88 70 margin:0 auto; 89 71 width:35% ; 90 72 float:left; 91 73 display: table-cell; 92 vertical-align: middle; 93 } 94 74 vertical-align: middle; 75 76 77 } 95 78 .float { 96 79 clear:both; 97 float:none;98 }80 float:none; 81 } 99 82 100 83 .bst-panel a { 101 color:#FFFFFF;102 display:inline-block;103 font-size:13px;104 line-height:13px;105 text-decoration:none;106 letter-spacing:1px;107 padding:5px 10px;108 -webkit-border-radius:2px;109 -moz-border-radius:2px;110 border-radius:2px;111 -webkit-transition:all 0.2s;112 -moz-transition:all 0.2s;113 -o-transition:all 0.2s;114 transition:all 0.2s;115 font-family:Helvetica, Arial, sans-serif;84 color:#FFFFFF; 85 display:inline-block; 86 font-size:13px; 87 line-height:13px; 88 text-decoration:none; 89 letter-spacing:1px; 90 padding:5px 10px; 91 -webkit-border-radius:2px; 92 -moz-border-radius:2px; 93 border-radius:2px; 94 -webkit-transition:all 0.2s; 95 -moz-transition:all 0.2s; 96 -o-transition:all 0.2s; 97 transition:all 0.2s; 98 font-family:Helvetica, Arial, sans-serif; 116 99 } 117 100 … … 120 103 .bst-accept-btn { 121 104 border-radius:3px; 122 background:#067cd1; 123 padding:10px; 124 } 125 126 .bst-accept-btn a:hover { 127 background:#CCCCCC; 105 background:#067cd1; 106 padding:10px; 107 } 108 .bst-accept-btn:hover { 109 background:rgba(255,255,255,0.5) !important; 128 110 } 129 111 130 112 .bst-info-btn a:link { 131 text-decoration:none; 132 } 133 134 .btn { 135 padding: 3px 10px; 136 border: 0 none; 137 font-weight: normal; 138 font-size:14px; 139 letter-spacing: 1px; 113 text-decoration:none; 114 } 115 116 117 118 .btn { 119 padding: 3px 10px; 120 border: 0 none; 121 font-weight: normal; 122 font-size:14px; 123 letter-spacing: 1px; 124 *text-transform: uppercase; 140 125 } 141 126 142 127 .btn:focus, .btn:active:focus, .btn.active:focus { 143 outline: 0 none;128 outline: 0 none; 144 129 } 145 130 146 131 .btn-primary { 147 background: #005BCC; 148 color: #ffffff; 149 } 132 background: #005BCC; 133 color: #ffffff; 134 } 135 150 136 151 137 .bst-links .btn-primary a:link { 152 color:#ffffff !important;138 color:#ffffff !important; 153 139 } 154 140 155 141 156 142 a.bst-info-btn:link { 157 color:#cccccc;143 color:#cccccc !important; 158 144 } 159 145 160 146 a.bst-info-btn:visited { 161 color:#cccccc !important;147 color:#cccccc !important; 162 148 } 163 149 164 150 a.bst-info-btn:hover { 165 color:#ffffff !important;151 color:#ffffff !important; 166 152 } 167 153 168 154 169 155 .btn-primary a:visited { 170 color: #ffffff !important; 171 } 172 156 color: #ffffff !important; 157 } 158 159 160 161 173 162 .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary { 174 background: #005BCC;163 background: #005BCC; 175 164 } 176 165 177 166 .btn-primary:active, .btn-primary.active { 178 background: #005BCC;179 box-shadow: none;167 background: #005BCC; 168 box-shadow: none; 180 169 } 181 170 182 171 183 172 .btn-primary.gradient { 184 background-color: #006dcc; 185 background-image: -moz-linear-gradient(top, #0088cc, #0044cc); 186 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc)); 187 background-image: -webkit-linear-gradient(top, #0088cc, #0044cc); 188 background-image: -o-linear-gradient(top, #0088cc, #0044cc); 189 background-image: linear-gradient(to bottom, #0088cc, #0044cc); 190 background-repeat: repeat-x; 191 border-color: #0044cc #0044cc #002a80; 192 cursor: pointer; 193 } 173 174 background-color: #006dcc; 175 background-image: -moz-linear-gradient(top, #0088cc, #0044cc); 176 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc)); 177 background-image: -webkit-linear-gradient(top, #0088cc, #0044cc); 178 background-image: -o-linear-gradient(top, #0088cc, #0044cc); 179 background-image: linear-gradient(to bottom, #0088cc, #0044cc); 180 background-repeat: repeat-x; 181 border-color: #0044cc #0044cc #002a80; 182 cursor: pointer; 183 } 194 184 185 195 186 .btn-primary.gradient:hover, .btn-primary.gradient:focus, .btn-primary.gradient:active, .btn-primary.gradient.active, .open > .dropdown-toggle.btn-primary { 196 background-color: #006dcc; 197 background-image: -moz-linear-gradient(top, #0067C2, #013A6B); 198 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0067C2), to(#013A6B)); 199 background-image: -webkit-linear-gradient(top, #0067C2, #013A6B); 200 background-image: -o-linear-gradient(top, #0067C2, #013A6B); 201 background-image: linear-gradient(to bottom, #0067C2,#013A6B); 202 background-repeat: repeat-x; 203 border-color: #0044cc #0044cc #002a80; 204 cursor: pointer; 205 } 206 207 .vex { 208 z-index:100000 !important; 209 } 210 211 .vex-content { 212 padding-top:25px !important; 213 } 214 215 .vex-dialog-buttons { 216 padding-top: 0px !important; 217 background-color:#eee; 218 margin-top:-58px; 219 } 220 221 .vex-dialog-message h1 { 222 margin-bottom:5px; 223 } 224 225 .vex a:link { 226 color:#666 !important; 227 } 228 229 .vex a:visited { 230 color:#666 !important; 231 } 232 233 .vex a:hover { 234 color:#333 !important; 235 } 236 237 238 @media screen and (min-width: 801px) and (max-width: 1023px) { 187 background-color: #006dcc; 188 background-image: -moz-linear-gradient(top, #0067C2, #013A6B); 189 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0067C2), to(#013A6B)); 190 background-image: -webkit-linear-gradient(top, #0067C2, #013A6B); 191 background-image: -o-linear-gradient(top, #0067C2, #013A6B); 192 background-image: linear-gradient(to bottom, #0067C2,#013A6B); 193 background-repeat: repeat-x; 194 border-color: #0044cc #0044cc #002a80; 195 cursor: pointer; 196 } 197 198 } 199 200 201 202 @media screen and (min-width: 801px) { 239 203 240 204 .bst-msg { 241 width: 50%;205 width:60%; 242 206 padding:10px; 243 margin:0 auto; 244 margin-left:60px; 207 margin:0 auto; 245 208 } 246 209 … … 248 211 position:relative; 249 212 padding-top:10px; 250 width:50%; 251 float:none; 213 width:35%; 214 float:none; 215 216 margin:0 auto; 217 } 218 219 } 220 221 222 @media screen and (max-width: 800px) { 223 224 .bst-msg { 225 width:100%; 226 padding:0px; 252 227 margin:0 auto; 253 } 254 255 256 .bst-info::before { 257 position: absolute; 258 content: ". "; 259 left:0px; 260 width:32px; 261 height:32px; 262 } 263 264 265 } 266 267 268 @media screen and (max-width: 800px) { 269 270 .bst-msg { 271 width:80%; 272 padding-bottom:10px; 273 margin-left:60px; 274 } 228 } 275 229 276 230 .bst-links { 277 position:relative; 278 padding-top:10px; 279 float:none; 280 width:100%; 281 margin:0 auto; 282 display: block; 283 vertical-align: middle; 284 } 285 286 .bst-bst-info::before { 287 position: absolute; 288 content: ". "; 289 left:0px; 290 width:10px; 291 height:10px; 292 } 293 294 } 295 296 231 position:relative; 232 padding-top:10px; 233 float:none; 234 235 236 margin:0 auto; +6 237 238 display: block; 239 vertical-align: middle; 240 } 241 } 242 243 -
bst-dsgvo-cookie/trunk/includes/enqueue.php
r1886293 r1886461 24 24 wp_enqueue_style('bst-styles', plugin_dir_url(__FILE__) . 'css/style.css'); 25 25 wp_enqueue_script('bst-scripts', plugin_dir_url(__FILE__) . 'js/scripts.js', array( 'jquery' ), '1.0', true ); 26 wp_enqueue_style('bst-alert1-css', plugin_dir_url(__FILE__) . 'css/bst-mesage.css');27 wp_enqueue_style('bst-alert2-css', plugin_dir_url(__FILE__) . 'css/bst-mesage-flat-theme.css');28 wp_enqueue_script('bst-alert-script', plugin_dir_url(__FILE__) . 'js/bst-message.js', array(), '1.0', true );29 30 26 31 27 } -
bst-dsgvo-cookie/trunk/includes/js/scripts.js
r1886254 r1886461 3 3 4 4 "use strict"; 5 5 6 6 jQuery('.bst-panel').hide(); 7 7 8 if ( document.cookie.indexOf("bst_ dsgvo_cookie") === -1 ) {8 if ( document.cookie.indexOf("bst_accepted") === -1 ) { 9 9 10 10 jQuery(".bst-panel").prependTo('body').delay(600).slideDown(500); … … 14 14 15 15 //event.preventDefault(); 16 jQuery(".bst-panel").slideUp(500); 16 17 jQuery(".bst-panel").slideUp(500); 18 17 19 var d = new Date(); 18 20 d.setTime(d.getTime()+(365*24*60*60*1000)); 19 21 var expires = d.toGMTString(); 20 document.cookie = 'bst_ dsgvo_cookie= 1; expires=' + expires + ';' + "domain=." + document.domain + "; path=/;";22 document.cookie = 'bst_accepted = 1; expires=' + expires + ';' + "domain=." + document.domain + "; path=/;"; 21 23 22 24 }); … … 27 29 28 30 //event.preventDefault(); 31 29 32 jQuery(".bst-panel").slideUp(500); 30 33 … … 32 35 d.setTime(d.getTime()+(365*24*60*60*1000)); 33 36 var expires = d.toGMTString(); 34 document.cookie = 'bst_ dsgvo_cookie= 1; expires=' + expires + ';' + "domain=." + document.domain + "; path=/;";37 document.cookie = 'bst_accepted = 1; expires=' + expires + ';' + "domain=." + document.domain + "; path=/;"; 35 38 36 39 }); -
bst-dsgvo-cookie/trunk/readme.txt
r1886293 r1886461 4 4 Tags: cookie, cookie notice, dsgvo, cookie pop up, cookie banner, cookie law, eu cookie law, dsgvo cookie law, cookie hinweis, dsgvo cookie hinweis, dsgvo cookie banner, cookie hint, GDPR cookie, cookie info 5 5 Requires at least: 4.5 6 Tested up to: 4.9. 66 Tested up to: 4.9.5 7 7 Requires PHP: 5.6 8 Stable tag: 1.2. 28 Stable tag: 1.2.3 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 17 17 Ein Cookie Hinweis mit in dem Du das Einverständnis des Besuchers zum Einsatz von Cookies einholst ist notwendig, um die EU-Cookie-Richtlinie zu erfüllen. 18 18 19 Webseitenbetreiber müssen, um Ihre Webseiten DSGVO konform zu publizieren, ihre Besucher auf die Verwendung von Cookies hinweisen und darüber informieren, dass bei weiterem Besuch der Webseite von der Einwilligung des Nutzers in die Verwendung von Cookies ausgegangen wird.20 21 Das Wordpress Plugin BST DSGVO Cookie dient dieser Informationspflicht.22 23 19 <h2>Simpel und einfach</h2> 24 20 <ul> 25 <li>Responsiv - pass sich allen Displays perfekt an</li>21 <li>Responsiv</li> 26 22 <li>Einfach zu konfigurieren</li> 27 23 <li>Ein Leichtgewicht</li> 28 <li>Modern und detailliert anpassbar</li> 29 <li>Standard Sprache deutsch</li> 30 <li>All frontend settings can be displayed in english!</li> 24 <li>Modern und anpassbar</li> 25 <li>Sprache kann üeber pot angepasst werden</li> 31 26 </ul> 32 27 … … 38 33 <ol> 39 34 <li>Lade das bst-dsgvo-cookie verzechnis in `/wp-content/plugins/` mit deinem FTP Programm auf den Webserver</li> 40 <li>Aktiviere das Pugin in den Plugin Einstellungen [Einstellungen] > [BST DSGVO Cookie]</li>35 <li>Aktiviere das Pugin</li> 41 36 <li>Passe die Einstellungen in [Einstellungen] > [BST DSGVO Cookie] an</li> 42 37 <li>Oder nutze die automatische Installation im Backend</li> … … 47 42 48 43 * German: Deutsch - immer dabei! 49 * English: All frontend settings can be displayed in english!44 * English: is comming soon 50 45 46 *Notiz am Rande:* Aktuell in deutsch - Englische Übersetzung folgt. 51 47 52 48 == Frequently Asked Questions == … … 62 58 == Changelog == 63 59 64 = 1.2.2 = 65 * Datenschutzerklärung kann wahlweise im gleichen oder neuem Tab geöffnet werden 66 * Individueller Button erhält neuen Hovereffekt 67 * Korektur der Farbeinstellung des Weiterlesen Link 68 * Neues Informationspopup zur Erklärung der Notwendigkeit des Cookie Info Banners 69 * Neuer Link zum Haftungssausschluss 70 71 = 1.1.0 = 60 = 1.0.9 = 72 61 * Diverse Rechtschreibkorrekturen 73 62 74 = 1.0.0 = 63 = 1.0.4 = 64 * Versionsupdadate 65 66 = 1.0.3 = 67 * kleine Rechtschreibkorrektur 68 69 = 1.0.2 = 70 * kleine Korrektur der readme 71 72 = 1.0.1 = 73 * kleine Korrektur eines Umlautes 74 75 = 1.0 = 75 76 * Intial Release 76 77
Note: See TracChangeset
for help on using the changeset viewer.