Plugin Directory

Changeset 1886461


Ignore:
Timestamp:
06/03/2018 08:58:13 PM (8 years ago)
Author:
amargolf
Message:

Fehlerbehebung

Location:
bst-dsgvo-cookie
Files:
29 added
7 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • bst-dsgvo-cookie/trunk/bst.php

    r1886293 r1886461  
    44* Plugin URI: https://bst-systemtechnik.de
    55* Description: Einfaches, responsives Cookie Pop-up ohne viel Schnick Schnack. EU-DSGVO konform.
    6 * Version: 1.2.2
    7 * Author: BST Systemtechnik (Autor: Arnold Margolf)
     6* Version: 1.1.1
     7* Author: BST Systemtechnik (Arnold Margolf)
    88* Author URI: https://www.bst-systemtechnik.de
    99* Text Domain: bst-dsgvo-cookie
     
    1111* Copyright 2018  Arnold Margolf  (email : amargolf@bst-systemtechnik.de)
    1212*/
     13
     14
    1315
    1416/*******************************
     
    2527register_activation_hook(__FILE__, 'bst_plugin_install');
    2628
     29
     30
    2731function bst_load_plugin_textdomain() {
    2832  load_plugin_textdomain( 'bst-dsgvo-cookie', false, basename( dirname( __FILE__ ) ) . '/languages/' );
    2933}
    3034add_action( 'plugins_loaded', 'bst_load_plugin_textdomain' );
     35
     36
    3137
    3238/*******************************
     
    5460        'button-bg' => '#067cd1',
    5561        'button-textcolor' => '#FFFFFF',
    56         'button-hovercolor' => '#CCCCCC',
    5762        'button-color' => '#FFFFFF',
    58         'link-color' => '#CCCCCC',
     63        'link-color' => '#cccccc',
    5964        'button_typ' => 1,
    60         'show-info' => '1',
    61         'target' => '_self',
    62         'policy-site' => '',
    6365       
    6466    );
     
    7880        'width' => 90,
    7981        'max-width' => 1280,
    80         'padding' => 5,
     82        'padding' => 10,
    8183        'background' => '#333333',
    8284        'border' => '#555555',
     
    8587        'button-bg' => '#067cd1',
    8688        'button-textcolor' => '#FFFFFF',
    87         'button-hovercolor' => '#CCCCCC',
    88         'link-color' => '#CCCCCC',
     89        'link-color' => '#cccccc',
    8990        'button_typ' => 1,
    90         'show-info' => '1',
    91         'target' => '_self',
    92         'policy-site' => '',
    9391   
    9492    );
     
    9694}
    9795
    98 /*******************************
    99 * The cookie banner markup
     96
     97
     98/*******************************
     99* The cookie consent markup
    100100*******************************/
    101101
     
    103103   
    104104    $bst_options = get_option('bst_settings');
    105        
     105   
    106106    function bstContent() { ?>
    107107       
    108108        <?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 
    120109        $fixed = "";
    121110        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 
    126111        ?>
    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
    134114        <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   
    137116           
    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>
    168117            <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; ?>
    170118                <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">
    172120                        <?php
    173121                            if (get_bst_value('button_typ') ==1) {
     
    177125                            } else if(get_bst_value('button_typ')==2) {
    178126                        ?>
    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>
    182128                        <?php 
    183129                            } else {
     
    187133                            }
    188134                        ?> 
    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>
    190136                </div>
    191137                <div class="float"></div>
    192138            </div>
    193139        </div>
    194    
     140
     141
     142
     143
     144
     145
     146
     147
     148
     149
     150
     151
     152
     153
     154
     155
     156
     157
     158
     159
     160
     161       
    195162    <?php
    196163    }
    197 
     164   
     165       
    198166    // Enabled
    199167    if ($bst_options['enable']==1) {
     
    223191}
    224192
     193
     194
     195
    225196/*******************************
    226197* Includes
     
    235206}
    236207
     208
     209
    237210/*******************************
    238211* Actions
  • bst-dsgvo-cookie/trunk/includes/admin-seite.php

    r1886254 r1886461  
    1616   
    1717        <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>
    2619        <br/>
    2720       
    2821        <form method="post" action="options.php">
    29 
     22       
     23       
    3024            <?php settings_fields('bst_settings_group'); ?>
    31 
     25           
     26           
    3227            <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           
    3532            <br/>
    3633           
     
    6461                </label>
    6562            </p>
     63                       
     64                       
    6665            <br/>
    67          
     66           
     67                       
    6868            <h3><?php _e('Texte', 'bst-dsgvo-cookie'); ?></h3>
    6969            <hr>
     
    7474                <label class="description" for="bst_settings[message]"><?php _e('', 'bst-dsgvo-cookie'); ?></label>
    7575            </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>
    7879            <p>
    7980                <input id="bst_settings[accept]" name="bst_settings[accept]" type="text" maxlength="50" value="<?php sanitize_text_field(bst_value('accept')); ?>" />
     
    8182            </p><br/>
    8283                       
    83             <h4><?php _e('Text: Link - Weitere Informationen', 'bst-dsgvo-cookie'); ?></h4>
     84            <h4><?php _e('Link - Weitere Informationen', 'bst-dsgvo-cookie'); ?></h4>
    8485            <p>
    8586                <input id="bst_settings[more-info]" name="bst_settings[more-info]" type="text" maxlength="50" value="<?php sanitize_text_field(bst_value('more-info')); ?>" />
     
    8990            <h4><?php _e('Link zur Seite mit Cookie Erklärung', 'bst-dsgvo-cookie'); ?></h4>
    9091            <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
    13196                       
    13297            <br/><br/>
    133                        
     98           
     99           
    134100            <h3><?php _e('Styling', 'bst-dsgvo-cookie'); ?></h3>
    135101            <hr>
     
    138104            <p>
    139105                <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           
    143110            <h4><?php _e('Breite auf mobilen Geräten', 'bst-dsgvo-cookie'); ?></h4>
    144111            <p>
     
    146113                <label class="description" for="bst_settings[width]"><?php _e('%', 'bst-dsgvo-cookie'); ?></label>
    147114            </p><br/>
    148                        
     115           
     116           
    149117            <h4><?php _e('Maximale Breite auf dem Desktop', 'bst-dsgvo-cookie'); ?></h4>
    150118            <p>
     
    153121            </p><br/>
    154122           
     123           
    155124            <h4><?php _e('Pop-up - Padding (Top und Bottom)', 'bst-dsgvo-cookie'); ?></h4>
    156125            <p>
     
    158127                <label class="description" for="bst_settings[padding]"><?php _e('px', 'bst-dsgvo-cookie'); ?></label>
    159128            </p><br/>
    160                        
     129           
     130           
    161131            <h4><?php _e('Pop-up - Hintergrundfarbe', 'bst-dsgvo-cookie'); ?></h4>
    162132            <p>
     
    166136                </div>
    167137            </p><br/>
    168                        
     138           
     139           
    169140            <h4><?php _e('Pop-up - Rahmenfarbe [Bottom]', 'bst-dsgvo-cookie'); ?></h4>
    170141            <p>
     
    174145                </div>
    175146            </p><br/>
    176                        
     147           
     148           
    177149            <h4><?php _e('Pop-up - Rahmengröße [Bottom]', 'bst-dsgvo-cookie'); ?></h4>
    178150            <p>
     
    180152                <label class="description" for="bst_settings[border-size]"><?php _e('px', 'bst-dsgvo-cookie'); ?></label>
    181153            </p><br/>           
    182                        
     154           
     155           
    183156            <h4><?php _e('Pop-up - Textfarbe', 'bst-dsgvo-cookie'); ?></h4>
    184157            <p>
     
    200173            <hr>
    201174
     175
     176
    202177            <h4><?php _e('Button Typ', 'bst-dsgvo-cookie'); ?></h4>
    203             <p>
     178           <p>
    204179             
    205180               <?php $button_typ = (isset($bst_options['button_typ'])) ? $bst_options['button_typ'] : 0;
     
    224199                            <option value="2" <?php echo $Individueller_Button_selected ?>>Individueller Button</option>
    225200                    </select>
    226                 </label>
     201
     202
     203               
     204               </label>
    227205
    228206           </p><br/>
     
    244222                </div>
    245223            </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/>
    254224           
    255225            </div>
    256226
     227
    257228            <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'); ?>" />
    259230            </p>
    260231
     
    262233       
    263234    </div>
    264  
     235
    265236    <script>
    266237
  • bst-dsgvo-cookie/trunk/includes/css/style.css

    r1886293 r1886461  
    11/* BST DSGVO Cookie
    22======================================== */
    3 
    4 
    5 
    63.group::after {
    74    width:100%;
     
    3532}
    3633
     34
     35
    3736.bst-wrapper {
    3837  margin:0 auto;   
    3938    width:90%;
     39   
    4040    margin:0 auto; 
    41     padding-top:10px;
    42     padding-bottom:5px;
     41    padding:10px 0;
    4342
    4443}
    4544.bst-panel {
    4645    float:left;
     46   
    4747    color:#FFFFFF;
    4848    line-height:20px;
    4949    font-size:14px;
     50
    5051    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
    7453}
    7554
    7655.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;
     56position:relative;
     57text-align:center;
     58
     59padding-top:5px;
     60float:left;
     61width:65% ;
     62
     63display: table-cell;
     64vertical-align: middle;
     65
    8466}
    8567
    8668.bst-links {
    87   position:relative;
     69position:relative;
    8870  margin:0 auto;   
    8971  width:35% ;
    9072  float:left;
    9173  display: table-cell;
    92   vertical-align: middle;
    93 }
    94 
     74vertical-align: middle;
     75 
     76   
     77}
    9578.float {
    9679  clear:both;
    97   float:none;
    98 }
     80    float:none;
     81    }
    9982   
    10083.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;
    11699}
    117100
     
    120103.bst-accept-btn {
    121104  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;
    128110}
    129111
    130112.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;
     113text-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;
    140125}
    141126 
    142127.btn:focus, .btn:active:focus, .btn.active:focus {
    143   outline: 0 none;
     128    outline: 0 none;
    144129}
    145130 
    146131.btn-primary {
    147   background: #005BCC;
    148   color: #ffffff;
    149 }
     132    background: #005BCC;
     133    color: #ffffff;
     134}
     135
    150136
    151137.bst-links .btn-primary  a:link {
    152   color:#ffffff !important;
     138color:#ffffff !important;
    153139}
    154140
    155141
    156142a.bst-info-btn:link {
    157  color:#cccccc;
     143color:#cccccc !important;
    158144}
    159145
    160146a.bst-info-btn:visited {
    161   color:#cccccc !important;
     147color:#cccccc !important;
    162148}
    163149
    164150a.bst-info-btn:hover {
    165   color:#ffffff !important;
     151color:#ffffff !important;
    166152}
    167153
    168154
    169155.btn-primary a:visited {
    170   color: #ffffff !important;
    171 }
    172 
     156color: #ffffff !important;
     157}
     158
     159
     160 
     161 
    173162.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary {
    174   background: #005BCC;
     163    background: #005BCC;
    175164}
    176165 
    177166.btn-primary:active, .btn-primary.active {
    178   background: #005BCC;
    179   box-shadow: none;
     167    background: #005BCC;
     168    box-shadow: none;
    180169}
    181170
    182171
    183172.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    }
    194184     
     185
    195186.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) { 
    239203
    240204.bst-msg {
    241     width:50%;
     205    width:60%;
    242206    padding:10px;
    243     margin:0 auto; 
    244     margin-left:60px;
     207     margin:0 auto;
    245208  }
    246209
     
    248211    position:relative;
    249212    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;
    252227    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  }
    275229 
    276230.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  
    2424     wp_enqueue_style('bst-styles', plugin_dir_url(__FILE__) . 'css/style.css');
    2525     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 
    3026     
    3127}
  • bst-dsgvo-cookie/trunk/includes/js/scripts.js

    r1886254 r1886461  
    33   
    44    "use strict";
    5 
     5   
    66    jQuery('.bst-panel').hide();
    77
    8     if ( document.cookie.indexOf("bst_dsgvo_cookie") === -1 ) {
     8    if ( document.cookie.indexOf("bst_accepted") === -1 ) {
    99       
    1010        jQuery(".bst-panel").prependTo('body').delay(600).slideDown(500);
     
    1414           
    1515            //event.preventDefault();
    16             jQuery(".bst-panel").slideUp(500);
     16           
     17            jQuery(".bst-panel").slideUp(500);
     18           
    1719            var d = new Date();
    1820            d.setTime(d.getTime()+(365*24*60*60*1000));
    1921            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=/;";
    2123                   
    2224        });
     
    2729           
    2830            //event.preventDefault();
     31           
    2932            jQuery(".bst-panel").slideUp(500);
    3033           
     
    3235            d.setTime(d.getTime()+(365*24*60*60*1000));
    3336            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=/;";
    3538                   
    3639        });
  • bst-dsgvo-cookie/trunk/readme.txt

    r1886293 r1886461  
    44Tags: 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
    55Requires at least: 4.5
    6 Tested up to: 4.9.6
     6Tested up to: 4.9.5
    77Requires PHP: 5.6
    8 Stable tag: 1.2.2
     8Stable tag: 1.2.3
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1717Ein Cookie Hinweis mit in dem Du das Einverst&auml;ndnis des Besuchers zum Einsatz von Cookies einholst ist notwendig, um die EU-Cookie-Richtlinie zu erf&uuml;llen.
    1818
    19 Webseitenbetreiber m&uuml;ssen, um Ihre Webseiten DSGVO konform zu publizieren, ihre Besucher auf die Verwendung von Cookies hinweisen und dar&uuml;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 
    2319<h2>Simpel und einfach</h2>
    2420<ul>
    25 <li>Responsiv - pass sich allen Displays perfekt an</li>
     21<li>Responsiv</li>
    2622<li>Einfach zu konfigurieren</li>
    2723<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 &uuml;eber pot angepasst werden</li>
    3126</ul> 
    3227
     
    3833<ol>
    3934<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>
    4136<li>Passe die Einstellungen in [Einstellungen] > [BST DSGVO Cookie] an</li>
    4237<li>Oder nutze die automatische Installation im Backend</li>
     
    4742
    4843* German: Deutsch - immer dabei!
    49 * English: All frontend settings can be displayed in english!
     44* English: is comming soon
    5045
     46*Notiz am Rande:* Aktuell in deutsch - Englische &Uuml;bersetzung folgt.
    5147
    5248== Frequently Asked Questions ==
     
    6258== Changelog ==
    6359
    64 = 1.2.2 =
    65 * Datenschutzerkl&auml;rung kann wahlweise im gleichen oder neuem Tab ge&ouml;ffnet werden
    66 * Individueller Button erh&auml;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 =
    7261* Diverse Rechtschreibkorrekturen
    7362
    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 =
    7576* Intial Release
    7677
Note: See TracChangeset for help on using the changeset viewer.