Changeset 1243575
- Timestamp:
- 09/11/2015 06:14:53 PM (11 years ago)
- Location:
- easy-review-builder-for-wordpress/trunk
- Files:
-
- 2 edited
-
easy-review-builder.php (modified) (5 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
easy-review-builder-for-wordpress/trunk/easy-review-builder.php
r788429 r1243575 2 2 /* 3 3 Plugin Name: Easy Review Builder 4 Version: 0. 84 Version: 0.9 5 5 Plugin URI: http://www.dyerware.com/main/products/easy-review-builder 6 6 Description: Creates a customizable star-based review summary table from a shortcode … … 8 8 Author URI: http://www.dyerware.com 9 9 */ 10 /* Copyright © 2009, 2010, 2011, 2012, 2013 dyerware10 /* Copyright © 2009, 2010, 2011, 2012, 2013, 2014, 2015 dyerware 11 11 Support: support@dyerware.com 12 12 … … 232 232 'icon' => $this->DEF_ICON, 233 233 'summary' => $this->DEF_SUMMARY, 234 'score' => -1, 234 235 'cat1title' => NULL, 235 236 'cat2title' => NULL, … … 261 262 // Translate strings to numerics 262 263 array_walk($chartConfig, array($this, 'translate_numerics')); 263 264 264 265 $this->reviewNum++; 265 $reviewDiv = 'easyReviewDiv' . $this->reviewNum;266 $reviewDiv = 'easyReviewDiv' . $this->reviewNum; 266 267 267 268 $ratingMax = (int)$chartConfig["ratingmax"]; 269 $ratingScore= (int)$chartConfig["score"]; 270 268 271 if ($ratingMax > 15) 269 272 $ratingMax = 15; … … 390 393 $average = 0; 391 394 } 392 395 396 // Does user wish to override the average? 397 if ($ratingScore >= 0 && $ratingScore <= $ratingMax) 398 { 399 $average = $ratingScore; 400 } 401 393 402 if ($average < round($average)) 394 403 $halfStar = TRUE; -
easy-review-builder-for-wordpress/trunk/readme.txt
r788429 r1243575 5 5 Tags: star,stars,review,reviews,rating,ratings,mobile,shortcode,dyerware 6 6 Requires at least: 2.8 7 Tested up to: 3.58 Stable tag: 0. 87 Tested up to: 4.3 8 Stable tag: 0.9 9 9 10 10 Create attractive star ratings for reviews. Supports multiple rating categories and an optional auto-calculated summary. … … 61 61 == Upgrade Notice == 62 62 63 = 0.9 = 64 * New optional argument to override the automatic average with your own. If you do not want the computed average in your review conclusion, simply specify your own with the shortcode argument: score 65 63 66 = 0.8 = 64 67 * Small adjustment to HTML for table layout issues experienced with Chrome 65 68 66 69 = 0.7 = 67 * New trans arency admin option for reviews with custom background colors. Set the transparency from 0 to 1 where 0 = completely transparent and 1 (the default) completely opaque.70 * New transparency admin option for reviews with custom background colors. Set the transparency from 0 to 1 where 0 = completely transparent and 1 (the default) completely opaque. 68 71 * CSS defense against some more aggressive themes 69 72
Note: See TracChangeset
for help on using the changeset viewer.