Changeset 1044933
- Timestamp:
- 12/15/2014 01:26:07 PM (11 years ago)
- Location:
- wp-category-tag-could
- Files:
-
- 1 added
- 4 edited
- 15 copied
-
tags/1.2 (added)
-
tags/1.2/bootstrap.php (copied) (copied from wp-category-tag-could/trunk/bootstrap.php) (1 diff)
-
tags/1.2/classes (copied) (copied from wp-category-tag-could/trunk/classes)
-
tags/1.2/classes/wp-category-tag-cloud.php (copied) (copied from wp-category-tag-could/trunk/classes/wp-category-tag-cloud.php) (1 diff)
-
tags/1.2/classes/wpctc-widget.php (copied) (copied from wp-category-tag-could/trunk/classes/wpctc-widget.php) (4 diffs)
-
tags/1.2/css (copied) (copied from wp-category-tag-could/trunk/css)
-
tags/1.2/javascript (copied) (copied from wp-category-tag-could/trunk/javascript)
-
tags/1.2/javascript/wpctc.tagcanvas.js (copied) (copied from wp-category-tag-could/trunk/javascript/wpctc.tagcanvas.js)
-
tags/1.2/javascript/wpctc.tagcanvas.min.js (copied) (copied from wp-category-tag-could/trunk/javascript/wpctc.tagcanvas.min.js)
-
tags/1.2/readme.txt (copied) (copied from wp-category-tag-could/trunk/readme.txt) (2 diffs)
-
tags/1.2/screenshot-1.png (copied) (copied from wp-category-tag-could/trunk/screenshot-1.png)
-
tags/1.2/screenshot-2.gif (copied) (copied from wp-category-tag-could/trunk/screenshot-2.gif)
-
tags/1.2/screenshot-3.png (copied) (copied from wp-category-tag-could/trunk/screenshot-3.png)
-
tags/1.2/screenshot-4.png (copied) (copied from wp-category-tag-could/trunk/screenshot-4.png)
-
tags/1.2/screenshot-5.png (copied) (copied from wp-category-tag-could/trunk/screenshot-5.png)
-
tags/1.2/views (copied) (copied from wp-category-tag-could/trunk/views)
-
trunk/bootstrap.php (modified) (1 diff)
-
trunk/classes/wp-category-tag-cloud.php (modified) (1 diff)
-
trunk/classes/wpctc-widget.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-category-tag-could/tags/1.2/bootstrap.php
r1044824 r1044933 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. 16 Version: 1.2 7 7 Author: Henri Benoit 8 8 Author URI: http://benohead.com -
wp-category-tag-could/tags/1.2/classes/wp-category-tag-cloud.php
r1044824 r1044933 12 12 protected $modified_types = array(); 13 13 14 const VERSION = '1. 1';14 const VERSION = '1.2'; 15 15 const PREFIX = 'wpctc_'; 16 16 const DEBUG_MODE = false; -
wp-category-tag-could/tags/1.2/classes/wpctc-widget.php
r1044824 r1044933 177 177 data-tagcloud-color="<?php echo $instance['color']; ?>" 178 178 data-cloud-font=<?php echo !empty($instance['font']) ? '"'.$instance['font'].'"' : "null"; ?> 179 data-cloud-zoom=<?php echo $instance['zoom']; ?>> 179 data-cloud-zoom=<?php echo $instance['zoom']; ?> 180 <?php echo isset($instance['width']) && is_numeric($instance['width']) && intval($instance['width']) != 0 ? " width='".$instance['width']."'" : ''; ?> 181 <?php echo isset($instance['height']) && is_numeric($instance['height']) && intval($instance['height']) != 0 ? " height='".$instance['height']."'" : ''; ?> 182 > 180 183 </canvas> 181 184 </div> … … 308 311 $number = isset($instance['number']) && (is_int($instance['number']) || ctype_digit($instance['number'])) ? $instance['number'] : 0; 309 312 $taxonomy = isset($instance['taxonomy']) && strlen($instance['taxonomy']) > 0 ? $instance['taxonomy'] : 'post_tag'; 313 $width = isset($instance['width']) && is_numeric($instance['width']) ? $instance['width'] : 0; 314 $height = isset($instance['height']) && is_numeric($instance['height']) ? $instance['height'] : 0; 310 315 $zoom = isset($instance['zoom']) && is_numeric($instance['zoom']) ? $instance['zoom'] : 1; 311 316 $timeout = isset($instance['timeout']) && is_numeric($instance['timeout']) ? $instance['timeout'] : 60; … … 529 534 <p class="canvas-config"> 530 535 <label 536 for="<?php echo $this->get_field_id('width'); ?>"><?php _e('Width:'); ?></label> 537 <input class="widefat" id="<?php echo $this->get_field_id('width'); ?>" 538 name="<?php echo $this->get_field_name('width'); ?>" type="text" 539 value="<?php echo esc_attr($width); ?>"/> 540 </p> 541 <p class="canvas-config"> 542 <label 543 for="<?php echo $this->get_field_id('height'); ?>"><?php _e('Height:'); ?></label> 544 <input class="widefat" id="<?php echo $this->get_field_id('height'); ?>" 545 name="<?php echo $this->get_field_name('height'); ?>" type="text" 546 value="<?php echo esc_attr($height); ?>"/> 547 </p> 548 <p class="canvas-config"> 549 <label 531 550 for="<?php echo $this->get_field_id('zoom'); ?>"><?php _e('Initial zoom factor:'); ?></label> 532 551 <input class="widefat" id="<?php echo $this->get_field_id('zoom'); ?>" … … 670 689 $instance['number'] = isset($new_instance['number']) && (is_int($new_instance['number']) || ctype_digit($new_instance['number'])) ? $new_instance['number'] : 0; 671 690 $instance['taxonomy'] = isset($new_instance['taxonomy']) && strlen($new_instance['taxonomy']) > 0 ? $new_instance['taxonomy'] : 'post_tag'; 691 $instance['width'] = isset($new_instance['width']) && is_numeric($new_instance['width']) ? $new_instance['width'] : 0; 692 $instance['height'] = isset($new_instance['height']) && is_numeric($new_instance['height']) ? $new_instance['height'] : 0; 672 693 $instance['zoom'] = isset($new_instance['zoom']) && is_numeric($new_instance['zoom']) ? $new_instance['zoom'] : 1; 673 694 $instance['timeout'] = isset($new_instance['timeout']) && is_numeric($new_instance['timeout']) ? $new_instance['timeout'] : 60; -
wp-category-tag-could/tags/1.2/readme.txt
r1044824 r1044933 5 5 Requires at least: 3.0.1 6 6 Tested up to: 4.0.1 7 Stable tag: 1. 17 Stable tag: 1.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 153 153 == Changelog == 154 154 155 = 1.2 = 156 157 * Width and height can be defined for the 3D cloud to prevent pixelization of the generated images 158 155 159 = 1.1 = 156 160 -
wp-category-tag-could/trunk/bootstrap.php
r1044824 r1044933 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. 16 Version: 1.2 7 7 Author: Henri Benoit 8 8 Author URI: http://benohead.com -
wp-category-tag-could/trunk/classes/wp-category-tag-cloud.php
r1044824 r1044933 12 12 protected $modified_types = array(); 13 13 14 const VERSION = '1. 1';14 const VERSION = '1.2'; 15 15 const PREFIX = 'wpctc_'; 16 16 const DEBUG_MODE = false; -
wp-category-tag-could/trunk/classes/wpctc-widget.php
r1044824 r1044933 177 177 data-tagcloud-color="<?php echo $instance['color']; ?>" 178 178 data-cloud-font=<?php echo !empty($instance['font']) ? '"'.$instance['font'].'"' : "null"; ?> 179 data-cloud-zoom=<?php echo $instance['zoom']; ?>> 179 data-cloud-zoom=<?php echo $instance['zoom']; ?> 180 <?php echo isset($instance['width']) && is_numeric($instance['width']) && intval($instance['width']) != 0 ? " width='".$instance['width']."'" : ''; ?> 181 <?php echo isset($instance['height']) && is_numeric($instance['height']) && intval($instance['height']) != 0 ? " height='".$instance['height']."'" : ''; ?> 182 > 180 183 </canvas> 181 184 </div> … … 308 311 $number = isset($instance['number']) && (is_int($instance['number']) || ctype_digit($instance['number'])) ? $instance['number'] : 0; 309 312 $taxonomy = isset($instance['taxonomy']) && strlen($instance['taxonomy']) > 0 ? $instance['taxonomy'] : 'post_tag'; 313 $width = isset($instance['width']) && is_numeric($instance['width']) ? $instance['width'] : 0; 314 $height = isset($instance['height']) && is_numeric($instance['height']) ? $instance['height'] : 0; 310 315 $zoom = isset($instance['zoom']) && is_numeric($instance['zoom']) ? $instance['zoom'] : 1; 311 316 $timeout = isset($instance['timeout']) && is_numeric($instance['timeout']) ? $instance['timeout'] : 60; … … 529 534 <p class="canvas-config"> 530 535 <label 536 for="<?php echo $this->get_field_id('width'); ?>"><?php _e('Width:'); ?></label> 537 <input class="widefat" id="<?php echo $this->get_field_id('width'); ?>" 538 name="<?php echo $this->get_field_name('width'); ?>" type="text" 539 value="<?php echo esc_attr($width); ?>"/> 540 </p> 541 <p class="canvas-config"> 542 <label 543 for="<?php echo $this->get_field_id('height'); ?>"><?php _e('Height:'); ?></label> 544 <input class="widefat" id="<?php echo $this->get_field_id('height'); ?>" 545 name="<?php echo $this->get_field_name('height'); ?>" type="text" 546 value="<?php echo esc_attr($height); ?>"/> 547 </p> 548 <p class="canvas-config"> 549 <label 531 550 for="<?php echo $this->get_field_id('zoom'); ?>"><?php _e('Initial zoom factor:'); ?></label> 532 551 <input class="widefat" id="<?php echo $this->get_field_id('zoom'); ?>" … … 670 689 $instance['number'] = isset($new_instance['number']) && (is_int($new_instance['number']) || ctype_digit($new_instance['number'])) ? $new_instance['number'] : 0; 671 690 $instance['taxonomy'] = isset($new_instance['taxonomy']) && strlen($new_instance['taxonomy']) > 0 ? $new_instance['taxonomy'] : 'post_tag'; 691 $instance['width'] = isset($new_instance['width']) && is_numeric($new_instance['width']) ? $new_instance['width'] : 0; 692 $instance['height'] = isset($new_instance['height']) && is_numeric($new_instance['height']) ? $new_instance['height'] : 0; 672 693 $instance['zoom'] = isset($new_instance['zoom']) && is_numeric($new_instance['zoom']) ? $new_instance['zoom'] : 1; 673 694 $instance['timeout'] = isset($new_instance['timeout']) && is_numeric($new_instance['timeout']) ? $new_instance['timeout'] : 60; -
wp-category-tag-could/trunk/readme.txt
r1044824 r1044933 5 5 Requires at least: 3.0.1 6 6 Tested up to: 4.0.1 7 Stable tag: 1. 17 Stable tag: 1.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 153 153 == Changelog == 154 154 155 = 1.2 = 156 157 * Width and height can be defined for the 3D cloud to prevent pixelization of the generated images 158 155 159 = 1.1 = 156 160
Note: See TracChangeset
for help on using the changeset viewer.