1455d7ec |
1 | <?php |
2 | |
3 | /** |
4 | * errors.php |
5 | * |
6 | * Copyright (c) 2005 The SquirrelMail Project Team |
7 | * Licensed under the GNU GPL. For full terms see the file COPYING. |
8 | * |
9 | * @version $Id$ |
10 | * @package squirrelmail |
11 | */ |
12 | |
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, |
26 | 'message' => _("Thread sorting is not supported by your IMAP server.") . "\n" . |
27 | _("Please contact your system administrator and report this error."), |
28 | 'link' => '', |
29 | 'tip' => _("Run \"configure\", choose option 4 (General options) and set option 10 (Allow server thread sort to false") |
30 | ); |
31 | |
32 | $aErrors['SQM_IMAP_NO_SORT'] = array( |
33 | 'level' => E_USER_ERROR, |
34 | 'category' => SQM_ERROR_IMAP, |
35 | 'message' => _( "Server-side sorting is not supported by your IMAP server.") . "\n" . |
36 | _("Please contact your system administrator and report this error."), |
37 | 'link' => '', |
38 | 'tip' => _("Run \"configure\", choose option 4 (General options) and set option 11 (Allow server-side sorting to false") |
39 | ); |
40 | |
41 | |
42 | //$aError['SQM_FS'] // Filesystem related errors |