Ignore:
Timestamp:
Apr 16, 2011, 3:53:31 PM (13 years ago)
Author:
cljosse
Message:

[extensions] mail_supervisor fix bug in design

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Mail_supervisor/include/constants.php

    r9702 r10419  
    55if (!defined('MAIL_BLACK_LISTE_TABLE')) define('MAIL_BLACK_LISTE_TABLE', $prefixeTable.'mail_black_list');
    66if (!defined('Sv_MAIL_TABLE')) define('Sv_MAIL_TABLE', $prefixeTable.'Sv_mail');
    7 global  $superv_champs , $superv_type ,$superv_bl_champs , $superv_bl_type ;
     7global  $superv_champs , $superv_type ,$superv_bl_champs , $superv_bl_type ;
    88$superv_champs = array(
    99  "id",
    1010  "nb_mails",
    1111  "date_mail",
    12   "nb_mails_maxi",             
    13   "nb_mails_periode",   
     12  "nb_mails_maxi",
     13  "nb_mails_periode",
    1414  "nb_spams",
    15   "date_spam", 
    16   "nb_spams_maxi",     
    17   "nb_spams_periode",   
     15  "date_spam",
     16  "nb_spams_maxi",
     17  "nb_spams_periode",
    1818  "quarantaine",
    1919  "date_quarantaine",
    20   "quarantaine_periode",       
    21   "message", 
    22   "message_test", 
    23   "header_text",                               
    24                 );     
    25                                                                        
    26         $superv_type = array(
    27                         " SMALLINT( 5 ) NOT NULL DEFAULT '0'"      ,
    28                                         "INT NOT NULL DEFAULT '0'"  ,
    29                                         "INT NOT NULL DEFAULT '0'"  ,
    30                                         "INT NOT NULL DEFAULT '2000'",         
    31                                         "TEXT"  ,       
    32                                         "INT NOT NULL DEFAULT '0'",
    33                                         "INT NOT NULL DEFAULT '0'",     
    34                                         "INT NOT NULL DEFAULT '10'",   
    35                                         "TEXT"  ,       
    36                                         "TEXT" ,
    37                                         "INT NOT NULL DEFAULT '0'",
    38                                         "TEXT"  ,       
    39                                         "TEXT"  ,
    40                                         "TEXT"  ,
    41                                         "TEXT"  ,
    42                                        
    43                                         );             
    44                                        
    45  
    46           $superv_bl_champs = array(
    47                                         "id",
    48                                         "ip",
    49                                         "pays",
    50                                         "region",               
    51                                         "ville",       
    52                                         "adresse",
    53                                         "fai", 
    54                                         "nb"
    55                                         );
    56                                        
    57         $superv_bl_type = array(
    58                         " smallint(5) UNSIGNED NOT NULL auto_increment ",
    59                                         "TEXT"  ,
    60                                         "TEXT"  ,
    61                                         "TEXT"  ,
    62                                         "TEXT"  ,
    63                                         "TEXT"  ,
    64                                         "TEXT"  ,
    65                                         " smallint(5) UNSIGNED "
    66                                         );                                                                                                                                     
     20  "quarantaine_periode",
     21  "message",
     22  "message_test",
     23  "header_text",
     24        );
     25
     26    $superv_type = array(
     27                    " SMALLINT( 5 ) NOT NULL DEFAULT '0'"      ,
     28                    "INT NOT NULL DEFAULT '0'"  ,
     29                    "INT NOT NULL DEFAULT '0'"  ,
     30                    "INT NOT NULL DEFAULT '2000'",
     31                    "TEXT"  ,
     32                    "INT NOT NULL DEFAULT '0'",
     33                    "INT NOT NULL DEFAULT '0'",
     34                    "INT NOT NULL DEFAULT '10'",
     35                    "TEXT"  ,
     36                    "TEXT" ,
     37                    "INT NOT NULL DEFAULT '0'",
     38                    "TEXT"  ,
     39                    "TEXT"  ,
     40                    "TEXT"  ,
     41                    "TEXT"  ,
     42
     43                    );
     44
     45
     46      $superv_bl_champs = array(
     47                    "id",
     48                    "ip",
     49                    "pays",
     50                    "region",
     51                    "ville",
     52                    "adresse",
     53                    "fai",
     54                    "nb"
     55                    );
     56
     57    $superv_bl_type = array(
     58                    " smallint(5) UNSIGNED NOT NULL auto_increment ",
     59                    "TEXT"  ,
     60                    "TEXT"  ,
     61                    "TEXT"  ,
     62                    "TEXT"  ,
     63                    "TEXT"  ,
     64                    "TEXT"  ,
     65                    " smallint(5) UNSIGNED "
     66                    );
    6767
    6868?>
Note: See TracChangeset for help on using the changeset viewer.