Ignore:
Timestamp:
Dec 15, 2010, 12:49:07 PM (13 years ago)
Author:
Whiler
Message:

More Refactoring/Cleaning
Columns for User & Comparison
Columns headers, no user issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/LCAS/trunk/include/functions.inc.php

    r8143 r8147  
    723723// Testing if FCK Editor is used. Then decoding htmlchars to avoid problems with pwg_mail()
    724724/*$areas = array();
    725 array_push( $areas,'LCAS_MailInfo_Text','LCAS_ConfirmMail_Text');
     725array_push( $areas,'LCAS_MailInfo_Text','LCAS_accentSensitive_Text');
    726726
    727727if (function_exists('set_fckeditor_instance'))
     
    735735    }
    736736   
    737     if (isset($fcke_config['LCAS_ConfirmMail_Text']) and $fcke_config['LCAS_ConfirmMail_Text'] = true)
     737    if (isset($fcke_config['LCAS_accentSensitive_Text']) and $fcke_config['LCAS_accentSensitive_Text'] = true)
    738738    {
    739739      $infos2_perso = html_entity_decode($infos2_perso,ENT_QUOTES,UTF-8);
     
    805805
    806806  return $plugin ;
     807}
     808
     809// Tri les doublons
     810function CompareTransformedUser($a, $b)
     811{
     812        return strcmp($a['transformed'], $b['transformed']);
    807813}
    808814
     
    829835        }
    830836       
     837        // Trier le tableau
     838        usort($duplicates, 'CompareTransformedUser');
     839       
    831840        return $duplicates;
    832841}
    833842
    834 /* Function called from UserAdvManager.php - Get all users to display the number of days since their last visit */
     843/* Get all users to display the number of days since their last visit */
    835844function LCAS_get_user_list($rule)
    836845{
Note: See TracChangeset for help on using the changeset viewer.