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/include/constants.php

    r4879 r4888  
    88
    99
     10global  $superv_champs , $superv_type ,$superv_bl_champs , $superv_bl_type ;
     11
     12
     13          $superv_champs = array(
     14                       "id",
     15                                        "nb_mails",
     16                                        "date_mail",
     17                                        "nb_mails_maxi",               
     18                                        "nb_mails_periode",     
     19                                        "nb_spams",
     20                                        "date_spam",   
     21                                        "nb_spams_maxi",       
     22                                        "nb_spams_periode",     
     23                                        "quarantaine",
     24                                        "date_quarantaine",
     25                                        "quarantaine_periode", 
     26                                        "message",
     27                                        "message_test",
     28                                    "header_text",
     29                               
     30                                        );     
     31                                                                       
     32        $superv_type = array(
     33                        " SMALLINT( 5 ) NOT NULL DEFAULT '0'"      ,
     34                                        "INT NOT NULL DEFAULT '0'"  ,
     35                                        "INT NOT NULL DEFAULT '0'"  ,
     36                                        "INT NOT NULL DEFAULT '2000'",         
     37                                        "TEXT"  ,       
     38                                        "INT NOT NULL DEFAULT '0'",
     39                                        "INT NOT NULL DEFAULT '0'",     
     40                                        "INT NOT NULL DEFAULT '10'",   
     41                                        "TEXT"  ,       
     42                                        "TEXT" ,
     43                                        "INT NOT NULL DEFAULT '0'",
     44                                        "TEXT"  ,       
     45                                        "TEXT"  ,
     46                                        "TEXT"  ,
     47                                        "TEXT"  ,
     48                                       
     49                                        );             
     50                                       
     51 
     52          $superv_bl_champs = array(
     53                                        "id",
     54                                        "ip",
     55                                        "pays",
     56                                        "region",               
     57                                        "ville",       
     58                                        "adresse",
     59                                        "fai", 
     60                                        "nb"
     61                                        );
     62                                       
     63        $superv_bl_type = array(
     64                        " smallint(5) UNSIGNED NOT NULL auto_increment ",
     65                                        "TEXT"  ,
     66                                        "TEXT"  ,
     67                                        "TEXT"  ,
     68                                        "TEXT"  ,
     69                                        "TEXT"  ,
     70                                        "TEXT"  ,
     71                                        " smallint(5) UNSIGNED "
     72                                        );                                                                                                                                     
     73
    1074?>
Note: See TracChangeset for help on using the changeset viewer.