1455d7ec |
1 | <?php |
2 | |
3 | /** |
57311df7 |
4 | * errors.php |
5 | * |
4b4abf93 |
6 | * @copyright © 2005 The SquirrelMail Project Team |
7 | * @license http://opensource.org/licenses/gpl-license.php GNU Public License |
57311df7 |
8 | * @version $Id$ |
9 | * @package squirrelmail |
10 | */ |
1455d7ec |
11 | |
57311df7 |
12 | /** init error array */ |
1455d7ec |
13 | $aError = array(); |
14 | |
15 | define('SQM_ERROR_IMAP',1); |
16 | define('SQM_ERROR_FS',2); |
17 | define('SQM_ERROR_SMTP',4); |
18 | define('SQM_ERROR_LDAP',8); |
19 | define('SQM_ERROR_DB',16); |
20 | define('SQM_ERROR_PLUGIN',32); |
21 | // define('SQM_ERROR_X',64); future error category |
22 | |
23 | $aErrors['SQM_IMAP_NO_THREAD'] = array( |
24 | 'level' => E_USER_ERROR, |
25 | 'category' => SQM_ERROR_IMAP, |
47fa73ef |
26 | 'message' => _("Thread sorting is not supported by your IMAP server.") . "\n" . |
27 | _("Please contact your system administrator and report this error."), |
1455d7ec |
28 | 'link' => '', |
47fa73ef |
29 | 'tip' => _("Run \"configure\", choose option 4 (General options) and set option 10 (Allow server thread sort to false).") |
1455d7ec |
30 | ); |
31 | |
32 | $aErrors['SQM_IMAP_NO_SORT'] = array( |
33 | 'level' => E_USER_ERROR, |
34 | 'category' => SQM_ERROR_IMAP, |
47fa73ef |
35 | 'message' => _( "Server-side sorting is not supported by your IMAP server.") . "\n" . |
36 | _("Please contact your system administrator and report this error."), |
1455d7ec |
37 | 'link' => '', |
47fa73ef |
38 | 'tip' => _("Run \"configure\", choose option 4 (General options) and set option 11 (Allow server-side sorting to false).") |
1455d7ec |
39 | ); |
40 | |
1455d7ec |
41 | //$aError['SQM_FS'] // Filesystem related errors |
47fa73ef |
42 | |
43 | ?> |