Plugin Directory

Changeset 812049


Ignore:
Timestamp:
11/28/2013 08:22:06 PM (12 years ago)
Author:
Catapult
Message:

Tagging 1.7

Location:
uk-cookie-consent/tags/1.7
Files:
5 copied

Legend:

Unmodified
Added
Removed
  • uk-cookie-consent/tags/1.7/readme.txt

    r803042 r812049  
    55Requires at least: 3.5.0
    66Tested up to: 3.7.1
    7 Stable tag: 1.6
     7Stable tag: 1.7
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4949== Changelog ==
    5050
     51= 1.7 =
     52* Updates to settings page
     53
    5154= 1.6 =
    52 Moved JS to footer (thanks to Andreas Larsen for the suggestion)
     55* Moved JS to footer (thanks to Andreas Larsen for the suggestion)
    5356
    5457= 1.5 =
    55 Switched the logic so that the bar is initially hidden on the page and only displays if user has not previously dismissed it.
    56 Gives a slightly better performance.
    57 Thanks to chrisHe for the suggestion.
     58* Switched the logic so that the bar is initially hidden on the page and only displays if user has not previously dismissed it.
     59* Gives a slightly better performance.
     60* Thanks to chrisHe for the suggestion.
    5861
    5962= 1.4.2. =
    60 Policy page created on register_activation_hook now
     63* Policy page created on register_activation_hook now
    6164
    6265= 1.4.1 =
    63 Tweak to ensure jQuery is a dependency
     66* Tweak to ensure jQuery is a dependency
    6467
    6568= 1.4 =
    66 This plug-in now uses JavaScript to test whether the user has dismissed the front-end notification in order to solve issues with caching plug-ins.
    67 Added configuration options for colour and position of bar.
    68 Set notification button and link to first element in tab list.
    69 Thanks to husobj for contributions and suggestions including localisation and enqueueing scripts and stylesheets
     69* This plug-in now uses JavaScript to test whether the user has dismissed the front-end notification in order to solve issues with caching plug-ins.
     70* Added configuration options for colour and position of bar.
     71* Set notification button and link to first element in tab list.
     72* Thanks to husobj for contributions and suggestions including localisation and enqueueing scripts and stylesheets
    7073
    7174= 1.3 =
    72 Reinstated user-defined permalink field
     75* Reinstated user-defined permalink field
    7376
    7477= 1.25 =
    75 Minor admin update
     78* Minor admin update
    7679
    7780= 1.24 =
    78 Fixed text alignment issue with Thesis framework (thanks to cavnit for pointing this one out)
     81* Fixed text alignment issue with Thesis framework (thanks to cavnit for pointing this one out)
    7982
    8083= 1.23 =
    81 Minor admin update
     84* Minor admin update
    8285
    8386= 1.22 =
    84 Minor admin update
     87* Minor admin update
    8588
    8689= 1.21 =
    87 Added resources to Settings page
     90* Added resources to Settings page
    8891
    8992= 1.2 =
    90 Change title of Cookies page to Cookie Policy and removed option to change title
    91 Added trailing slash to Cookie Policy url (thanks to mikeotgaar for spotting this)
     93* Change title of Cookies page to Cookie Policy and removed option to change title
     94* Added trailing slash to Cookie Policy url (thanks to mikeotgaar for spotting this)
    9295
    9396= 1.1 =
    94 Added default text to messages
     97* Added default text to messages
    9598
    9699== Upgrade Notice ==
  • uk-cookie-consent/tags/1.7/uk-cookie-consent.php

    r803042 r812049  
    55Description: Simple plug-in to help compliance with the UK interpretation of the EU regulations regarding usage of website cookies. A user to your site is presented with a clear yet unobtrusive notification that the site is using cookies and may then acknowledge and dismiss the notification or click to find out more. The plug-in does not disable cookies on your site or prevent the user from continuing to browse the site - it comes with standard wording on what cookies are and advice on how to disable them in the browser. The plug-in follows the notion of "implied consent" as described by the UK's Information Commissioner and makes the assumption that most users who choose not to accept cookies will do so for all websites.
    66Author: Catapult
    7 Version: 1.6
     7Version: 1.7
    88Author URI: http://catapultdesign.co.uk/
    99*/
     
    2020function catapult_cookie_options_page() { ?>
    2121    <div class="wrap">
     22        <?php screen_icon(); ?>
    2223        <h2><?php _e( 'UK Cookie Consent', 'uk-cookie-consent' ); ?></h2>
    2324        <div id="poststuff" class="metabox-holder has-right-sidebar">
    24             <div class="meta-box-sortabless">
    25                 <div class="postbox">
    26                     <h3 class="hndle"><?php _e( 'Your settings', 'uk-cookie-consent' ); ?></h3>
    27                     <div class="inside">
    28                         <form action="options.php" method="post">               
    29                             <?php settings_fields('catapult_cookie_options'); ?>
    30                             <?php do_settings_sections('catapult_cookie'); ?>
    31                             <input name="cat_submit" type="submit" id="submit" class="button-primary" style="margin-top:30px;" value="<?php esc_attr_e( __( 'Save Changes', 'uk-cookie-consent' ) ); ?>" />
    32                             <?php $options = get_option('catapult_cookie_options');
    33                             $value = htmlentities ( $options['catapult_cookie_link_settings'], ENT_QUOTES );
    34                             if ( !$value ) {
    35                                 $value = 'cookie-policy';
    36                             } ?>
    37                             <p><?php echo sprintf( __( 'Your Cookies Policy page is <a href="%s">here</a>. You may wish to create a menu item or other link on your site to this page.', 'uk-cookie-consent' ), home_url( $value ) ); ?></p>
    38                         </form>
    39                     </div>
    40                 </div>
    41             </div>
    42             <div class="meta-box-sortabless ui-sortable" style="position:relative;">
    43                     <div class="postbox">
    44                         <h3 class="hndle"><?php _e( 'Resources', 'uk-cookie-consent' ); ?></h3>
     25            <div id="side-info-column" class="inner-sidebar">
     26                <div id="side-sortables" class="meta-box-sortables ui-sortable">
     27                    <div class="postbox like-postbox">
     28                        <div class="handlediv" title="Click to toggle"><br></div>
     29                        <h3 class="hndle"><span>Did this plugin help you?</span></h3>
     30                        <div class="inside">
     31                            <div class="like-widget">
     32                            <p>If this plugin helped you out in your project, please show your support:</p>
     33                            <ul>
     34                                <li><a target="_blank" href="http://wordpress.org/plugins/uk-cookie-consent/">Rate it</a></li>
     35                                <li><a target="_blank" href="http://twitter.com/share?url=&amp;text=Check out the UK Cookie Consent plugin for WordPress from @_catapult_ - it's sweet: http://bit.ly/190GGXN">Tweet it</a></li>
     36                            </ul>
     37                            </div>
     38                        </div>
     39                    </div><!-- .postbox -->
     40
     41                    <div class="postbox like-postbox">
     42                        <div class="handlediv" title="Click to toggle"><br></div>
     43                        <h3 class="hndle"><span>Other plugins you might like</span></h3>
     44                        <div class="inside">
     45                            <div class="like-widget">
     46                            <p>If you liked this plugin, you may care to try the following:</p>
     47                            <ul>
     48                                <li><a target="_blank" href="http://wordpress.org/plugins/wp-slide-out-tab/">Slide out tab</a>
     49                                <p>Display a sliding tab for marketing, promotional or other content.</p>                           
     50                                </li>
     51                            </ul>
     52                            </div>
     53                        </div>
     54                    </div><!-- .postbox -->
     55                   
     56                    <div class="postbox rss-postbox">
     57                        <div class="handlediv" title="Click to toggle"><br></div>
     58                        <h3 class="hndle"><span>Cookie resources</span></h3>
    4559                        <div class="inside">
    4660                            <p><a href="http://www.ico.gov.uk/for_organisations/privacy_and_electronic_communications/the_guide/cookies.aspx"><?php _e( 'Information Commissioner\'s Office Guidance on Cookies', 'uk-cookie-consent' ); ?></a></p>
     
    4963                        </div>
    5064                    </div>
     65                   
     66                    <div class="postbox rss-postbox">
     67                        <div class="handlediv" title="Click to toggle"><br></div>
     68                        <h3 class="hndle"><span>Support</span></h3>
     69                        <div class="inside">
     70                            <div class="rss-widget">
     71                                <?php
     72                                    wp_widget_rss_output(array(
     73                                        'url' => 'http://wordpress.org/support/rss/plugin/uk-cookie-consent',
     74                                        'title' => 'Latest from the support forum',
     75                                        'items' => 3,
     76                                        'show_summary' => 1,
     77                                        'show_author' => 0,
     78                                    'show_date' => 1,
     79                                    ));
     80                                ?>
     81                                <ul>
     82                                </ul>
     83                            </div>
     84                            <p><a href="http://wordpress.org/support/plugin/wp-slide-out-tab" title="Forum">Check out the forum</a></p>
     85                        </div>
     86                    </div><!-- .postbox -->
     87                                                   
    5188                </div>
     89            </div><!-- #side-info-column -->
     90           
     91            <div id="post-body">
     92                <div id="post-body-content">
     93                        <div class="meta-box-sortables">
     94                        <div class="postbox">
     95                            <h3 class="hndle"><?php _e( 'Your settings', 'uk-cookie-consent' ); ?></h3>
     96                            <div class="inside">
     97                                <form action="options.php" method="post">               
     98                                    <?php settings_fields('catapult_cookie_options'); ?>
     99                                    <?php do_settings_sections('catapult_cookie'); ?>
     100                                    <input name="cat_submit" type="submit" id="submit" class="button-primary" style="margin-top:30px;" value="<?php esc_attr_e( __( 'Save Changes', 'uk-cookie-consent' ) ); ?>" />
     101                                    <?php $options = get_option('catapult_cookie_options');
     102                                    $value = htmlentities ( $options['catapult_cookie_link_settings'], ENT_QUOTES );
     103                                    if ( !$value ) {
     104                                        $value = 'cookie-policy';
     105                                    } ?>
     106                                    <p><?php echo sprintf( __( 'Your Cookies Policy page is <a href="%s">here</a>. You may wish to create a menu item or other link on your site to this page.', 'uk-cookie-consent' ), home_url( $value ) ); ?></p>
     107                                </form>
     108                            </div>
     109                        </div>
     110                    </div>
     111                   
     112                   
     113                </div>
     114            </div>
    52115        </div><!-- poststuff -->
    53116    </div>
     
    190253    wp_enqueue_style( 'wp-color-picker' );
    191254    wp_enqueue_script( 'uk-cookie-consent-colour-picker', plugins_url ( 'js/colour-picker.js', __FILE__ ), array( 'wp-color-picker' ), false, true );
     255//  wp_enqueue_script( 'dashboard' );
    192256}
    193257add_action( 'admin_enqueue_scripts', 'catapult_color_picker' );
Note: See TracChangeset for help on using the changeset viewer.