Plugin Directory

Changeset 1563222


Ignore:
Timestamp:
12/28/2016 09:30:26 AM (9 years ago)
Author:
ohayo-web
Message:

Cookie Monster 1.2.2

Location:
cookie-monster/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • cookie-monster/trunk/README.txt

    r1047938 r1563222  
    66License URI: http://www.gnu.org/licenses/gpl.html
    77Requires at least: 3.0.1
    8 Tested up to: 4.1
    9 Stable tag: 1.2.0
    10 
     8Tested up to: 4.7
     9Stable tag: 1.2.2
    1110
    1211Este plugin permite mostrar el aviso de Cookies para que el visitante pueda sea consciente y acepte el uso de Cookies.
     
    4140== Changelog ==
    4241
     42= 1.2.2 =
     43* Se oculta el mensaje al aceptar y no al recibir el feedback de la operación.
     44
    4345= 1.2.1 =
    4446* Compatible con Wordpress 4.1
  • cookie-monster/trunk/admin/class-cookie-monster-admin.php

    r1047938 r1563222  
    11<?php
    2 
    32/**
    43 * The dashboard-specific functionality of the plugin.
     
    109 * @subpackage Cookie_Monster/admin
    1110 */
    12 
    1311/**
    1412 * The dashboard-specific functionality of the plugin.
     
    9088
    9189        wp_enqueue_style( 'wp-color-picker' );
    92        
    9390       
    9491        wp_enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'css/cookie-monster-admin.css', array( 'wp-color-picker'), $this->version, 'all' );
  • cookie-monster/trunk/cookie-monster.php

    r1047938 r1563222  
    11<?php
    2 
    32/**
    43 * The plugin bootstrap file
     
    109 *
    1110 * @link              http://example.com
    12  * @since             1.2.0
     11 * @since             1.2.2
    1312 * @package           Cookie Monster
    1413 *
     
    1716 * Plugin URI:        http://www.ohayoweb.com/
    1817 * Description:       This is a short description of what the plugin does. It's displayed in the WordPress dashboard.
    19  * Version:           1.2.1
     18 * Version:           1.2.2
    2019 * Author:            Ohayo
    2120 * Author URI:        http://www.ohayoweb.com/
  • cookie-monster/trunk/includes/class-cookie-monster.php

    r1016506 r1563222  
    5757     */
    5858    protected $version;
    59 
    60    
    6159    protected $config;
    62    
    6360    protected $cookie_name;
    6461   
     
    7471    public function __construct() {
    7572
    76         $this->plugin_name = 'cookie-monster';
     73        $this->plugin_name = 'Cookie Monster';
    7774        $this->version = '1.2.0';
    7875       
    79         //$this->cookie_name = 'cookie-monster-'.sanitize_title(get_bloginfo('name'));
    8076        $this->cookie_name = 'cookie-monster';
    8177       
  • cookie-monster/trunk/public/js/cookie-monster-public.js

    r1016506 r1563222  
    2929     * be doing this, we should try to minimize doing that in our own work.
    3030     */
    31    
    32 })( jQuery );
    33 
    34 jQuery(document).ready(function($) {
    3531    $( ".close-cookie-monster" ).click(function() {
    3632        var accept = 1;
     
    3935            accept: accept
    4036        };
    41         // We can also pass the url value separately from ajaxurl for front end AJAX implementations
    42         jQuery.post(cookie_monster.ajax_url, data, function(response) {
    43             //$('#content').html(response);
    44            
    45             $("#cookie-monster").fadeOut('slow', function (){
     37        $("#cookie-monster").fadeOut('slow', function (){
     38            $.post(cookie_monster.ajax_url, data, function(response) {
    4639                // $("#maps-list").fadeIn('slow');
    4740                // execute something
    4841                $('#cookie-monster-debug').html(response);
    49                
    5042            });
    51            
    5243        });
    53 });
    54 $( ".hide-cookie-monster" ).click(function() {
    55     $("#cookie-monster").fadeOut('slow', function (){
    56         // ocultado
    5744    });
    58 });
    59 
    60 });
     45    $( ".hide-cookie-monster" ).click(function() {
     46        $("#cookie-monster").fadeOut('slow', function (){
     47            // ocultado
     48        });
     49    });
     50   
     51   
     52})( jQuery );
Note: See TracChangeset for help on using the changeset viewer.