source: extensions/Mail_supervisor/include/constants.php @ 6874

Last change on this file since 6874 was 4888, checked in by cljosse, 14 years ago

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

File size: 1.7 KB
Line 
1<?php
2global $prefixeTable;
3
4if (!defined('MAIL_SUPERV_TABLE')) define('MAIL_SUPERV_TABLE', $prefixeTable.'mail_superv');
5if (!defined('MAIL_BLACK_LISTE_TABLE')) define('MAIL_BLACK_LISTE_TABLE', $prefixeTable.'mail_black_list');
6if (!defined('Sv_MAIL_TABLE')) define('Sv_MAIL_TABLE', $prefixeTable.'Sv_mail');
7
8
9
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
74?>
Note: See TracBrowser for help on using the repository browser.