Changeset 1563222
- Timestamp:
- 12/28/2016 09:30:26 AM (9 years ago)
- Location:
- cookie-monster/trunk
- Files:
-
- 5 edited
-
README.txt (modified) (2 diffs)
-
admin/class-cookie-monster-admin.php (modified) (3 diffs)
-
cookie-monster.php (modified) (3 diffs)
-
includes/class-cookie-monster.php (modified) (2 diffs)
-
public/js/cookie-monster-public.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cookie-monster/trunk/README.txt
r1047938 r1563222 6 6 License URI: http://www.gnu.org/licenses/gpl.html 7 7 Requires at least: 3.0.1 8 Tested up to: 4.1 9 Stable tag: 1.2.0 10 8 Tested up to: 4.7 9 Stable tag: 1.2.2 11 10 12 11 Este plugin permite mostrar el aviso de Cookies para que el visitante pueda sea consciente y acepte el uso de Cookies. … … 41 40 == Changelog == 42 41 42 = 1.2.2 = 43 * Se oculta el mensaje al aceptar y no al recibir el feedback de la operación. 44 43 45 = 1.2.1 = 44 46 * Compatible con Wordpress 4.1 -
cookie-monster/trunk/admin/class-cookie-monster-admin.php
r1047938 r1563222 1 1 <?php 2 3 2 /** 4 3 * The dashboard-specific functionality of the plugin. … … 10 9 * @subpackage Cookie_Monster/admin 11 10 */ 12 13 11 /** 14 12 * The dashboard-specific functionality of the plugin. … … 90 88 91 89 wp_enqueue_style( 'wp-color-picker' ); 92 93 90 94 91 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 1 1 <?php 2 3 2 /** 4 3 * The plugin bootstrap file … … 10 9 * 11 10 * @link http://example.com 12 * @since 1.2. 011 * @since 1.2.2 13 12 * @package Cookie Monster 14 13 * … … 17 16 * Plugin URI: http://www.ohayoweb.com/ 18 17 * Description: This is a short description of what the plugin does. It's displayed in the WordPress dashboard. 19 * Version: 1.2. 118 * Version: 1.2.2 20 19 * Author: Ohayo 21 20 * Author URI: http://www.ohayoweb.com/ -
cookie-monster/trunk/includes/class-cookie-monster.php
r1016506 r1563222 57 57 */ 58 58 protected $version; 59 60 61 59 protected $config; 62 63 60 protected $cookie_name; 64 61 … … 74 71 public function __construct() { 75 72 76 $this->plugin_name = ' cookie-monster';73 $this->plugin_name = 'Cookie Monster'; 77 74 $this->version = '1.2.0'; 78 75 79 //$this->cookie_name = 'cookie-monster-'.sanitize_title(get_bloginfo('name'));80 76 $this->cookie_name = 'cookie-monster'; 81 77 -
cookie-monster/trunk/public/js/cookie-monster-public.js
r1016506 r1563222 29 29 * be doing this, we should try to minimize doing that in our own work. 30 30 */ 31 32 })( jQuery );33 34 jQuery(document).ready(function($) {35 31 $( ".close-cookie-monster" ).click(function() { 36 32 var accept = 1; … … 39 35 accept: accept 40 36 }; 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) { 46 39 // $("#maps-list").fadeIn('slow'); 47 40 // execute something 48 41 $('#cookie-monster-debug').html(response); 49 50 42 }); 51 52 43 }); 53 });54 $( ".hide-cookie-monster" ).click(function() {55 $("#cookie-monster").fadeOut('slow', function (){56 // ocultado57 44 }); 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.