Changeset 2071375
- Timestamp:
- 04/19/2019 02:26:21 PM (7 years ago)
- Location:
- netreviews/trunk
- Files:
-
- 6 edited
-
changelog.txt (modified) (1 diff)
-
functions.php (modified) (3 diffs)
-
includes/av_product_tab.php (modified) (2 diffs)
-
includes/js/av_product_tab.js (modified) (3 diffs)
-
netreviews.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
netreviews/trunk/changelog.txt
r2069172 r2071375 1 Version: 2.0.1 / 18/04/2019 2 - Bug Correction in Front-end 3 1 4 Version: 2.0.0 / 15/04/2019 2 5 - Fix Back-office and template -
netreviews/trunk/functions.php
r2069172 r2071375 5 5 function ntav_update_version_plugin() 6 6 { 7 ntav_updateValue('MODVERSION', '2.0. 0');7 ntav_updateValue('MODVERSION', '2.0.1'); 8 8 } 9 9 … … 143 143 $i = 0; 144 144 global $wpdb; 145 $results = $wpdb->get_results("SELECT flag FROM " . $wpdb->prefix . "icl_languages, " . $wpdb->prefix . "icl_flags WHERE " . $wpdb->prefix . "icl_languages.active=1 AND wp_icl_languages.code = " . $wpdb->prefix . "icl_flags.lang_code");145 $results = $wpdb->get_results("SELECT flag FROM " . $wpdb->prefix . "icl_languages, " . $wpdb->prefix . "icl_flags WHERE " . $wpdb->prefix . "icl_languages.active=1 AND " . $wpdb->prefix . "icl_languages.code = " . $wpdb->prefix . "icl_flags.lang_code"); 146 146 foreach ($results as $result) { 147 147 $list_flags[$i] = $result->flag; … … 351 351 return null; 352 352 } 353 354 353 355 354 356 // Tri de l'affichage des avis du plus ancien au plus récent -
netreviews/trunk/includes/av_product_tab.php
r2069172 r2071375 230 230 <?php _e('Sort the reviews display', 'av') ?> : 231 231 <select onchange="refreshReviewsWithFilter('')" id="netreviews_reviews_filter"> 232 232 233 <option value="new"><?php _e('Newest', 'av') ?></option> 233 234 <option value="old"><?php _e('Oldest', 'av') ?></option> 234 235 <option value ='worst'><?php _e('Lowest rating','av') ?></option> 235 236 <option value ='helpful'><?php _e('The most helpful','av') ?></option> 236 <option value="best"><?php _e('Highest rating', 'av') ?></option><div id="avisVerifiesAjaxImage" style="display:none;"></div> 237 <option value="best"><?php _e('Highest rating', 'av') ?></option> 238 239 <option style="display:none;" value="rate"></option> 240 237 241 238 242 </select> 243 <div id="avisVerifiesAjaxImage" style="display:none;"></div> 244 </div> 239 245 <div id="ajax_comment_content"> 240 246 … … 266 272 </script> 267 273 268 </div>269 274 </div> <!-- end netreviews tab --> 270 275 -
netreviews/trunk/includes/js/av_product_tab.js
r2051358 r2071375 111 111 function paginationReviews(event) { 112 112 113 114 113 115 var $avjq = window.avisVerifies.jQuery; 114 116 … … 123 125 var rate = ''; 124 126 var wpmlLang = $avjq("#wpml_Lang").val(); 127 128 125 129 // Si on filtre actuellement par note 126 130 if (tri_avis == 'rate') { 127 rate = $avjq('#rateSelected').val();131 rate = $avjq('#rateSelected').val(); 128 132 } 129 133 … … 204 208 success: function(html){ 205 209 /* On masque le loader et on affiche les avis */ 210 206 211 $content.html(html); 212 207 213 $avjq("#avisVerifiesAjaxImage").hide(); 208 214 /* On recharge les votes avis utiles */ -
netreviews/trunk/netreviews.php
r2069172 r2071375 9 9 * Description: We provide you with a solution that enables you to collect customer reviews about your website and products which will show on your 10 10 * website and on a attestation which will increase the credibility of published reviews. 11 * Version: 2.0. 011 * Version: 2.0.1 12 12 * Author: NetReviews SAS <contact@avis-verifies.com> 13 13 * Author URI: www.avis-verifies.com … … 156 156 $tri_avis = $_GET['tri_avis']; 157 157 $lang = $_GET['lang']; 158 159 160 158 if (empty($id_page)) { 161 159 $id_page = 1; … … 195 193 196 194 if (isset($reviews) && !empty($reviews)) { 195 197 196 // Pour chaque avis à afficher 198 197 foreach ($reviews as $k_review => $review) { -
netreviews/trunk/readme.txt
r2069172 r2071375 58 58 == Changelog == 59 59 60 Version: 2.0. 0/ 15/04/201960 Version: 2.0.1 / 15/04/2019 61 61 - Fix Back-office and template 62 62 - Additional Rich Snippets code (Review)
Note: See TracChangeset
for help on using the changeset viewer.