Changeset 1074036
- Timestamp:
- 01/23/2015 12:37:12 PM (10 years ago)
- Location:
- wp-category-tag-could
- Files:
-
- 1 added
- 14 edited
- 11 copied
Legend:
- Unmodified
- Added
- Removed
-
wp-category-tag-could/tags/1.5/bootstrap.php
r1073986 r1074036 4 4 Plugin URI: https://wordpress.org/plugins/wp-category-tag-could/ 5 5 Description: Display a configurable cloud of tags, categories or any other taxonomy filtered by tags or categories. 6 Version: 1. 46 Version: 1.5 7 7 Author: Henri Benoit 8 8 Author URI: http://benohead.com -
wp-category-tag-could/tags/1.5/classes/wp-category-tag-cloud.php
r1048157 r1074036 12 12 protected $modified_types = array(); 13 13 14 const VERSION = '1. 4';14 const VERSION = '1.5'; 15 15 const PREFIX = 'wpctc_'; 16 16 const DEBUG_MODE = false; -
wp-category-tag-could/tags/1.5/classes/wpctc-widget.php
r1048157 r1074036 234 234 <canvas id="<?php echo $args['widget_id']; ?>_canvas" class="tagcloud-canvas" 235 235 data-tagcloud-color="<?php echo $instance['color']; ?>" 236 data-tagcloud-bordercolor="<?php echo !empty($instance['border']) ? $instance['border'] : "#ffff99"; ?>" 236 237 data-cloud-font=<?php echo !empty($instance['font']) ? '"'.$instance['font'].'"' : "null"; ?> 237 238 data-cloud-radiusx=<?php echo !empty($instance['radiusx']) ? '"'.$instance['radiusx'].'"' : "1"; ?> -
wp-category-tag-could/tags/1.5/javascript/wp-category-tag-cloud-admin.js
r968443 r1074036 22 22 $(this).parent().parent().find('.canvas-config').show(); 23 23 $(this).parent().parent().find('.bars-config').hide(); 24 $(this).parent().parent().find('.bars-config.border-color').show(); 24 25 } 25 26 else if ($(this).val() == 'price') { -
wp-category-tag-could/tags/1.5/javascript/wp-category-tag-cloud-admin.min.js
r968443 r1074036 1 function wpctcAdminWrapper($){var wpctcAdmin={init:function(){$(".wpctc-color-picker").each(function(){wpctcAdmin.farbalize($(this));});$(document).on("widget-updated",wpctcAdmin.on_form_update);$(document).on("widget-added",wpctcAdmin.on_form_update);$(".cloud-type-selector").change(wpctcAdmin.hideshow);$(".cloud-type-selector").each(wpctcAdmin.hideshow);},hideshow:function(){if($(this).val()=="array"){$(this).parent().parent().find(".cloud-non-price").show();$(this).parent().parent().find(".canvas-config").show();$(this).parent().parent().find(".bars-config").hide(); }else{if($(this).val()=="price"){$(this).parent().parent().find(".canvas-config").hide();$(this).parent().parent().find(".cloud-non-price").hide();$(this).parent().parent().find(".bars-config").show();$(this).parent().parent().find(".bars-config.border-color").hide();}else{if($(this).val()=="bars"){$(this).parent().parent().find(".canvas-config").hide();$(this).parent().parent().find(".cloud-non-price").hide();$(this).parent().parent().find(".bars-config").show();}else{if($(this).val()=="rounded"){$(this).parent().parent().find(".canvas-config").hide();$(this).parent().parent().find(".cloud-non-price").show();$(this).parent().parent().find(".bars-config").show();}else{$(this).parent().parent().find(".cloud-non-price").show();$(this).parent().parent().find(".canvas-config").hide();$(this).parent().parent().find(".bars-config").hide();}}}}},farbalize:function(widget_el){var id=widget_el.attr("rel");var farb=widget_el.farbtastic(function(color){var fb=this;$("#"+id).css({backgroundColor:fb.color,color:fb.hsl[2]>0.5?"#000":"#fff"});$("#"+id).each(function(){if(!this.value||this.value!=fb.color){this.value=fb.color;}});});var input=$("#"+id);var f=function(){farb.get(0).farbtastic.setColor(input.get(0).value);};input.unbind("keyup",f);input.bind("keyup",f);if(input.get(0).value){farb.get(0).farbtastic.setColor(input.get(0).value);}},on_form_update:function(e,widget_el){widget_el.find(".farbtastic").remove();widget_el.find(".wpctc-color-picker").each(function(){wpctcAdmin.farbalize($(this));});widget_el.find(".cloud-type-selector").change(wpctcAdmin.hideshow);widget_el.find(".cloud-type-selector").each(wpctcAdmin.hideshow);}};$(document).ready(wpctcAdmin.init);}wpctcAdminWrapper(jQuery);1 function wpctcAdminWrapper($){var wpctcAdmin={init:function(){$(".wpctc-color-picker").each(function(){wpctcAdmin.farbalize($(this));});$(document).on("widget-updated",wpctcAdmin.on_form_update);$(document).on("widget-added",wpctcAdmin.on_form_update);$(".cloud-type-selector").change(wpctcAdmin.hideshow);$(".cloud-type-selector").each(wpctcAdmin.hideshow);},hideshow:function(){if($(this).val()=="array"){$(this).parent().parent().find(".cloud-non-price").show();$(this).parent().parent().find(".canvas-config").show();$(this).parent().parent().find(".bars-config").hide();$(this).parent().parent().find(".bars-config.border-color").show();}else{if($(this).val()=="price"){$(this).parent().parent().find(".canvas-config").hide();$(this).parent().parent().find(".cloud-non-price").hide();$(this).parent().parent().find(".bars-config").show();$(this).parent().parent().find(".bars-config.border-color").hide();}else{if($(this).val()=="bars"){$(this).parent().parent().find(".canvas-config").hide();$(this).parent().parent().find(".cloud-non-price").hide();$(this).parent().parent().find(".bars-config").show();}else{if($(this).val()=="rounded"){$(this).parent().parent().find(".canvas-config").hide();$(this).parent().parent().find(".cloud-non-price").show();$(this).parent().parent().find(".bars-config").show();}else{$(this).parent().parent().find(".cloud-non-price").show();$(this).parent().parent().find(".canvas-config").hide();$(this).parent().parent().find(".bars-config").hide();}}}}},farbalize:function(widget_el){var id=widget_el.attr("rel");var farb=widget_el.farbtastic(function(color){var fb=this;$("#"+id).css({backgroundColor:fb.color,color:fb.hsl[2]>0.5?"#000":"#fff"});$("#"+id).each(function(){if(!this.value||this.value!=fb.color){this.value=fb.color;}});});var input=$("#"+id);var f=function(){farb.get(0).farbtastic.setColor(input.get(0).value);};input.unbind("keyup",f);input.bind("keyup",f);if(input.get(0).value){farb.get(0).farbtastic.setColor(input.get(0).value);}},on_form_update:function(e,widget_el){widget_el.find(".farbtastic").remove();widget_el.find(".wpctc-color-picker").each(function(){wpctcAdmin.farbalize($(this));});widget_el.find(".cloud-type-selector").change(wpctcAdmin.hideshow);widget_el.find(".cloud-type-selector").each(wpctcAdmin.hideshow);}};$(document).ready(wpctcAdmin.init);}wpctcAdminWrapper(jQuery); -
wp-category-tag-could/tags/1.5/javascript/wpctc.tagcanvas.js
r1048157 r1074036 19 19 $('.tagcloud-canvas').each(function () { 20 20 $color = $(this).attr('data-tagcloud-color'); 21 $bordercolor = $(this).attr('data-tagcloud-bordercolor'); 21 22 $font = $(this).attr("data-cloud-font"); 22 23 $radiusx = $(this).attr("data-cloud-radiusx"); … … 26 27 $(this).tagcanvas({ 27 28 outlineThickness: 0, 29 outlineColour: $bordercolor, 28 30 textFont: $font, 29 31 textColour: $color, -
wp-category-tag-could/tags/1.5/javascript/wpctc.tagcanvas.min.js
r1048157 r1074036 1 function wpctcWrapper($){var wpctc={init:function(){wpctc.prefix="wpctc_";wpctc.templateURL=$("#template-url").val();wpctc.ajaxPostURL=$("#ajax-post-url").val();wpctc.registerEventHandlers();$(".tagcloud-canvas").each(function(){$color=$(this).attr("data-tagcloud-color");$ font=$(this).attr("data-cloud-font");$radiusx=$(this).attr("data-cloud-radiusx");$radiusy=$(this).attr("data-cloud-radiusy");$radiusz=$(this).attr("data-cloud-radiusz");if($font=="null"){$font=null;}$(this).tagcanvas({outlineThickness:0,textFont:$font,textColour:$color,radiusx:$radiusx,radiusy:$radiusy,radiusz:$radiusz,maxSpeed:0.06,minBrightness:0.1,depth:0.95,pulsateTo:0.2,pulsateTime:0.75,decel:0.9,reverse:true,fadeIn:800,zoom:parseInt($(this).attr("data-cloud-zoom")),zoomStep:0.05,zoomMax:3,zoomMin:0.3,weight:true},$(this).attr("id")+"_tags");});},registerEventHandlers:function(){}};$(document).ready(wpctc.init);}wpctcWrapper(jQuery);1 function wpctcWrapper($){var wpctc={init:function(){wpctc.prefix="wpctc_";wpctc.templateURL=$("#template-url").val();wpctc.ajaxPostURL=$("#ajax-post-url").val();wpctc.registerEventHandlers();$(".tagcloud-canvas").each(function(){$color=$(this).attr("data-tagcloud-color");$bordercolor=$(this).attr("data-tagcloud-bordercolor");$font=$(this).attr("data-cloud-font");$radiusx=$(this).attr("data-cloud-radiusx");$radiusy=$(this).attr("data-cloud-radiusy");$radiusz=$(this).attr("data-cloud-radiusz");if($font=="null"){$font=null;}$(this).tagcanvas({outlineThickness:0,outlineColour:$bordercolor,textFont:$font,textColour:$color,radiusx:$radiusx,radiusy:$radiusy,radiusz:$radiusz,maxSpeed:0.06,minBrightness:0.1,depth:0.95,pulsateTo:0.2,pulsateTime:0.75,decel:0.9,reverse:true,fadeIn:800,zoom:parseInt($(this).attr("data-cloud-zoom")),zoomStep:0.05,zoomMax:3,zoomMin:0.3,weight:true},$(this).attr("id")+"_tags");});},registerEventHandlers:function(){}};$(document).ready(wpctc.init);}wpctcWrapper(jQuery); -
wp-category-tag-could/tags/1.5/readme.txt
r1073986 r1074036 4 4 Tags: 3d, cat, category, categories, cloud, configurable, cumulus, html5, javascript, sphere, tag, tags, tag-cloud, taxonomy, widget 5 5 Requires at least: 3.0.1 6 Tested up to: 4. 0.17 Stable tag: 1. 46 Tested up to: 4.1 7 Stable tag: 1.5 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 161 161 == Changelog == 162 162 163 = 1.5 = 164 165 * The outline color in the 3D cloud is now configurable using the setting "Border Color". 166 163 167 = 1.4 = 164 168 -
wp-category-tag-could/trunk/bootstrap.php
r1048157 r1074036 4 4 Plugin URI: https://wordpress.org/plugins/wp-category-tag-could/ 5 5 Description: Display a configurable cloud of tags, categories or any other taxonomy filtered by tags or categories. 6 Version: 1. 46 Version: 1.5 7 7 Author: Henri Benoit 8 8 Author URI: http://benohead.com -
wp-category-tag-could/trunk/classes/wp-category-tag-cloud.php
r1048157 r1074036 12 12 protected $modified_types = array(); 13 13 14 const VERSION = '1. 4';14 const VERSION = '1.5'; 15 15 const PREFIX = 'wpctc_'; 16 16 const DEBUG_MODE = false; -
wp-category-tag-could/trunk/classes/wpctc-widget.php
r1048157 r1074036 234 234 <canvas id="<?php echo $args['widget_id']; ?>_canvas" class="tagcloud-canvas" 235 235 data-tagcloud-color="<?php echo $instance['color']; ?>" 236 data-tagcloud-bordercolor="<?php echo !empty($instance['border']) ? $instance['border'] : "#ffff99"; ?>" 236 237 data-cloud-font=<?php echo !empty($instance['font']) ? '"'.$instance['font'].'"' : "null"; ?> 237 238 data-cloud-radiusx=<?php echo !empty($instance['radiusx']) ? '"'.$instance['radiusx'].'"' : "1"; ?> -
wp-category-tag-could/trunk/javascript/wp-category-tag-cloud-admin.js
r968443 r1074036 22 22 $(this).parent().parent().find('.canvas-config').show(); 23 23 $(this).parent().parent().find('.bars-config').hide(); 24 $(this).parent().parent().find('.bars-config.border-color').show(); 24 25 } 25 26 else if ($(this).val() == 'price') { -
wp-category-tag-could/trunk/javascript/wp-category-tag-cloud-admin.min.js
r968443 r1074036 1 function wpctcAdminWrapper($){var wpctcAdmin={init:function(){$(".wpctc-color-picker").each(function(){wpctcAdmin.farbalize($(this));});$(document).on("widget-updated",wpctcAdmin.on_form_update);$(document).on("widget-added",wpctcAdmin.on_form_update);$(".cloud-type-selector").change(wpctcAdmin.hideshow);$(".cloud-type-selector").each(wpctcAdmin.hideshow);},hideshow:function(){if($(this).val()=="array"){$(this).parent().parent().find(".cloud-non-price").show();$(this).parent().parent().find(".canvas-config").show();$(this).parent().parent().find(".bars-config").hide(); }else{if($(this).val()=="price"){$(this).parent().parent().find(".canvas-config").hide();$(this).parent().parent().find(".cloud-non-price").hide();$(this).parent().parent().find(".bars-config").show();$(this).parent().parent().find(".bars-config.border-color").hide();}else{if($(this).val()=="bars"){$(this).parent().parent().find(".canvas-config").hide();$(this).parent().parent().find(".cloud-non-price").hide();$(this).parent().parent().find(".bars-config").show();}else{if($(this).val()=="rounded"){$(this).parent().parent().find(".canvas-config").hide();$(this).parent().parent().find(".cloud-non-price").show();$(this).parent().parent().find(".bars-config").show();}else{$(this).parent().parent().find(".cloud-non-price").show();$(this).parent().parent().find(".canvas-config").hide();$(this).parent().parent().find(".bars-config").hide();}}}}},farbalize:function(widget_el){var id=widget_el.attr("rel");var farb=widget_el.farbtastic(function(color){var fb=this;$("#"+id).css({backgroundColor:fb.color,color:fb.hsl[2]>0.5?"#000":"#fff"});$("#"+id).each(function(){if(!this.value||this.value!=fb.color){this.value=fb.color;}});});var input=$("#"+id);var f=function(){farb.get(0).farbtastic.setColor(input.get(0).value);};input.unbind("keyup",f);input.bind("keyup",f);if(input.get(0).value){farb.get(0).farbtastic.setColor(input.get(0).value);}},on_form_update:function(e,widget_el){widget_el.find(".farbtastic").remove();widget_el.find(".wpctc-color-picker").each(function(){wpctcAdmin.farbalize($(this));});widget_el.find(".cloud-type-selector").change(wpctcAdmin.hideshow);widget_el.find(".cloud-type-selector").each(wpctcAdmin.hideshow);}};$(document).ready(wpctcAdmin.init);}wpctcAdminWrapper(jQuery);1 function wpctcAdminWrapper($){var wpctcAdmin={init:function(){$(".wpctc-color-picker").each(function(){wpctcAdmin.farbalize($(this));});$(document).on("widget-updated",wpctcAdmin.on_form_update);$(document).on("widget-added",wpctcAdmin.on_form_update);$(".cloud-type-selector").change(wpctcAdmin.hideshow);$(".cloud-type-selector").each(wpctcAdmin.hideshow);},hideshow:function(){if($(this).val()=="array"){$(this).parent().parent().find(".cloud-non-price").show();$(this).parent().parent().find(".canvas-config").show();$(this).parent().parent().find(".bars-config").hide();$(this).parent().parent().find(".bars-config.border-color").show();}else{if($(this).val()=="price"){$(this).parent().parent().find(".canvas-config").hide();$(this).parent().parent().find(".cloud-non-price").hide();$(this).parent().parent().find(".bars-config").show();$(this).parent().parent().find(".bars-config.border-color").hide();}else{if($(this).val()=="bars"){$(this).parent().parent().find(".canvas-config").hide();$(this).parent().parent().find(".cloud-non-price").hide();$(this).parent().parent().find(".bars-config").show();}else{if($(this).val()=="rounded"){$(this).parent().parent().find(".canvas-config").hide();$(this).parent().parent().find(".cloud-non-price").show();$(this).parent().parent().find(".bars-config").show();}else{$(this).parent().parent().find(".cloud-non-price").show();$(this).parent().parent().find(".canvas-config").hide();$(this).parent().parent().find(".bars-config").hide();}}}}},farbalize:function(widget_el){var id=widget_el.attr("rel");var farb=widget_el.farbtastic(function(color){var fb=this;$("#"+id).css({backgroundColor:fb.color,color:fb.hsl[2]>0.5?"#000":"#fff"});$("#"+id).each(function(){if(!this.value||this.value!=fb.color){this.value=fb.color;}});});var input=$("#"+id);var f=function(){farb.get(0).farbtastic.setColor(input.get(0).value);};input.unbind("keyup",f);input.bind("keyup",f);if(input.get(0).value){farb.get(0).farbtastic.setColor(input.get(0).value);}},on_form_update:function(e,widget_el){widget_el.find(".farbtastic").remove();widget_el.find(".wpctc-color-picker").each(function(){wpctcAdmin.farbalize($(this));});widget_el.find(".cloud-type-selector").change(wpctcAdmin.hideshow);widget_el.find(".cloud-type-selector").each(wpctcAdmin.hideshow);}};$(document).ready(wpctcAdmin.init);}wpctcAdminWrapper(jQuery); -
wp-category-tag-could/trunk/javascript/wpctc.tagcanvas.js
r1048157 r1074036 19 19 $('.tagcloud-canvas').each(function () { 20 20 $color = $(this).attr('data-tagcloud-color'); 21 $bordercolor = $(this).attr('data-tagcloud-bordercolor'); 21 22 $font = $(this).attr("data-cloud-font"); 22 23 $radiusx = $(this).attr("data-cloud-radiusx"); … … 26 27 $(this).tagcanvas({ 27 28 outlineThickness: 0, 29 outlineColour: $bordercolor, 28 30 textFont: $font, 29 31 textColour: $color, -
wp-category-tag-could/trunk/javascript/wpctc.tagcanvas.min.js
r1048157 r1074036 1 function wpctcWrapper($){var wpctc={init:function(){wpctc.prefix="wpctc_";wpctc.templateURL=$("#template-url").val();wpctc.ajaxPostURL=$("#ajax-post-url").val();wpctc.registerEventHandlers();$(".tagcloud-canvas").each(function(){$color=$(this).attr("data-tagcloud-color");$ font=$(this).attr("data-cloud-font");$radiusx=$(this).attr("data-cloud-radiusx");$radiusy=$(this).attr("data-cloud-radiusy");$radiusz=$(this).attr("data-cloud-radiusz");if($font=="null"){$font=null;}$(this).tagcanvas({outlineThickness:0,textFont:$font,textColour:$color,radiusx:$radiusx,radiusy:$radiusy,radiusz:$radiusz,maxSpeed:0.06,minBrightness:0.1,depth:0.95,pulsateTo:0.2,pulsateTime:0.75,decel:0.9,reverse:true,fadeIn:800,zoom:parseInt($(this).attr("data-cloud-zoom")),zoomStep:0.05,zoomMax:3,zoomMin:0.3,weight:true},$(this).attr("id")+"_tags");});},registerEventHandlers:function(){}};$(document).ready(wpctc.init);}wpctcWrapper(jQuery);1 function wpctcWrapper($){var wpctc={init:function(){wpctc.prefix="wpctc_";wpctc.templateURL=$("#template-url").val();wpctc.ajaxPostURL=$("#ajax-post-url").val();wpctc.registerEventHandlers();$(".tagcloud-canvas").each(function(){$color=$(this).attr("data-tagcloud-color");$bordercolor=$(this).attr("data-tagcloud-bordercolor");$font=$(this).attr("data-cloud-font");$radiusx=$(this).attr("data-cloud-radiusx");$radiusy=$(this).attr("data-cloud-radiusy");$radiusz=$(this).attr("data-cloud-radiusz");if($font=="null"){$font=null;}$(this).tagcanvas({outlineThickness:0,outlineColour:$bordercolor,textFont:$font,textColour:$color,radiusx:$radiusx,radiusy:$radiusy,radiusz:$radiusz,maxSpeed:0.06,minBrightness:0.1,depth:0.95,pulsateTo:0.2,pulsateTime:0.75,decel:0.9,reverse:true,fadeIn:800,zoom:parseInt($(this).attr("data-cloud-zoom")),zoomStep:0.05,zoomMax:3,zoomMin:0.3,weight:true},$(this).attr("id")+"_tags");});},registerEventHandlers:function(){}};$(document).ready(wpctc.init);}wpctcWrapper(jQuery); -
wp-category-tag-could/trunk/readme.txt
r1048157 r1074036 4 4 Tags: 3d, cat, category, categories, cloud, configurable, cumulus, html5, javascript, sphere, tag, tags, tag-cloud, taxonomy, widget 5 5 Requires at least: 3.0.1 6 Tested up to: 4. 0.17 Stable tag: 1. 46 Tested up to: 4.1 7 Stable tag: 1.5 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 161 161 == Changelog == 162 162 163 = 1.5 = 164 165 * The outline color in the 3D cloud is now configurable using the setting "Border Color". 166 163 167 = 1.4 = 164 168
Note: See TracChangeset
for help on using the changeset viewer.