Plugin Directory

Changeset 2071375


Ignore:
Timestamp:
04/19/2019 02:26:21 PM (7 years ago)
Author:
avisverifies
Message:

Version: 2.0.1 / 18/04/2019

  • Bug Correction in Front-end
Location:
netreviews/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • netreviews/trunk/changelog.txt

    r2069172 r2071375  
     1Version: 2.0.1 / 18/04/2019
     2- Bug Correction in Front-end
     3
    14Version: 2.0.0 / 15/04/2019
    25- Fix Back-office and template
  • netreviews/trunk/functions.php

    r2069172 r2071375  
    55function ntav_update_version_plugin()
    66{
    7     ntav_updateValue('MODVERSION', '2.0.0');
     7    ntav_updateValue('MODVERSION', '2.0.1');
    88}
    99
     
    143143    $i = 0;
    144144    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");
    146146      foreach ($results as $result) {
    147147            $list_flags[$i] = $result->flag;
     
    351351    return null;
    352352}
     353
     354
    353355
    354356// Tri de l'affichage des avis du plus ancien au plus récent
  • netreviews/trunk/includes/av_product_tab.php

    r2069172 r2071375  
    230230                <?php _e('Sort the reviews display', 'av') ?> :
    231231                <select onchange="refreshReviewsWithFilter('')" id="netreviews_reviews_filter">
     232                   
    232233                    <option value="new"><?php _e('Newest', 'av') ?></option>
    233234                    <option value="old"><?php _e('Oldest', 'av') ?></option>
    234235                    <option value ='worst'><?php _e('Lowest rating','av') ?></option>
    235236                    <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                 
    237241
    238242                </select>
     243  <div id="avisVerifiesAjaxImage" style="display:none;"></div>
     244            </div>
    239245            <div id="ajax_comment_content">
    240246
     
    266272        </script>
    267273
    268     </div>
    269274</div> <!-- end netreviews tab -->
    270275
  • netreviews/trunk/includes/js/av_product_tab.js

    r2051358 r2071375  
    111111function paginationReviews(event) {
    112112
     113
     114
    113115    var $avjq = window.avisVerifies.jQuery;
    114116
     
    123125    var rate        = '';
    124126    var wpmlLang = $avjq("#wpml_Lang").val();
     127
     128
    125129    // Si on filtre actuellement par note
    126130    if (tri_avis == 'rate') {
    127       rate = $avjq('#rateSelected').val();
     131        rate = $avjq('#rateSelected').val();
    128132    }
    129133
     
    204208       success: function(html){
    205209          /* On masque le loader et on affiche les avis */
     210
    206211          $content.html(html);
     212
    207213          $avjq("#avisVerifiesAjaxImage").hide();
    208214          /* On recharge les votes avis utiles */
  • netreviews/trunk/netreviews.php

    r2069172 r2071375  
    99 * Description: We provide you with a solution that enables you to collect customer reviews about your website and products which will show on your
    1010 * website and on a attestation which will increase the credibility of published reviews.
    11  * Version: 2.0.0
     11 * Version: 2.0.1
    1212 * Author: NetReviews SAS <contact@avis-verifies.com>
    1313 * Author URI: www.avis-verifies.com
     
    156156        $tri_avis = $_GET['tri_avis'];
    157157        $lang = $_GET['lang'];
    158 
    159 
    160158        if (empty($id_page)) {
    161159            $id_page = 1;
     
    195193
    196194    if (isset($reviews) && !empty($reviews)) {
     195
    197196        // Pour chaque avis à afficher
    198197        foreach ($reviews as $k_review => $review) {
  • netreviews/trunk/readme.txt

    r2069172 r2071375  
    5858== Changelog ==
    5959
    60 Version: 2.0.0 / 15/04/2019
     60Version: 2.0.1 / 15/04/2019
    6161- Fix Back-office and template
    6262- Additional Rich Snippets code (Review)
Note: See TracChangeset for help on using the changeset viewer.