Ignore:
Timestamp:
Feb 15, 2010, 3:51:00 PM (14 years ago)
Author:
cljosse
Message:

[Mail_supervisor] Fix Bug when the user is not french.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Mail_supervisor/maintain.inc.php

    r4715 r4888  
    2727if (!defined('MAIL_SUPERV_PATH')) define('MAIL_SUPERV_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/');
    2828 include_once (MAIL_SUPERV_PATH.'include/constants.php');
    29 
    30 
    31 global  $superv_champs , $superv_type ,$superv_bl_champs , $superv_bl_type ;
    32           $superv_champs = array(
    33                        "id",
    34                                         "nb_mails",
    35                                         "date_mail",
    36                                         "nb_mails_maxi",               
    37                                         "nb_mails_periode",     
    38                                         "nb_spams",
    39                                         "date_spam",   
    40                                         "nb_spams_maxi",       
    41                                         "nb_spams_periode",     
    42                                         "quarantaine",
    43                                         "date_quarantaine",
    44                                         "quarantaine_periode", 
    45                                         "message",
    46                                         "message_test",
    47                                     "header_text",
    48                                
    49                                         );
    50                                        
    51         $superv_type = array(
    52                         " SMALLINT( 5 ) NOT NULL DEFAULT '0'"      ,
    53                                         "INT NOT NULL DEFAULT '0'"  ,
    54                                         "INT NOT NULL DEFAULT '0'"  ,
    55                                         "INT NOT NULL DEFAULT '2000'",         
    56                                         "TEXT"  ,       
    57                                         "INT NOT NULL DEFAULT '0'",
    58                                         "INT NOT NULL DEFAULT '0'",     
    59                                         "INT NOT NULL DEFAULT '10'",   
    60                                         "TEXT"  ,       
    61                                         "TEXT" ,
    62                                         "INT NOT NULL DEFAULT '0'",
    63                                         "TEXT"  ,       
    64                                         "TEXT"  ,
    65                                         "TEXT"  ,
    66                                         "TEXT"  ,
    67                                        
    68                                         );             
    69                                        
    70  
    71           $superv_bl_champs = array(
    72                                         "id",
    73                                         "ip",
    74                                         "pays",
    75                                         "region",               
    76                                         "ville",       
    77                                         "adresse",
    78                                         "fai", 
    79                                         "nb"
    80                                         );
    81                                        
    82         $superv_bl_type = array(
    83                         " smallint(5) UNSIGNED NOT NULL auto_increment ",
    84                                         "TEXT"  ,
    85                                         "TEXT"  ,
    86                                         "TEXT"  ,
    87                                         "TEXT"  ,
    88                                         "TEXT"  ,
    89                                         "TEXT"  ,
    90                                         " smallint(5) UNSIGNED "
    91                                         );                                                                                                                                     
    9229
    9330
     
    14077}
    14178
    142 
    14379?>
Note: See TracChangeset for help on using the changeset viewer.