phpdoc fix.
[squirrelmail.git] / include / errors.php
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 /** init error array */
14 $aError = array();
15
16 define('SQM_ERROR_IMAP',1);
17 define('SQM_ERROR_FS',2);
18 define('SQM_ERROR_SMTP',4);
19 define('SQM_ERROR_LDAP',8);
20 define('SQM_ERROR_DB',16);
21 define('SQM_ERROR_PLUGIN',32);
22 // define('SQM_ERROR_X',64); future error category
23
24 $aErrors['SQM_IMAP_NO_THREAD'] = array(
25 'level' => E_USER_ERROR,
26 'category' => SQM_ERROR_IMAP,
27 'message' => _("Thread sorting is not supported by your IMAP server.") . "\n" .
28 _("Please contact your system administrator and report this error."),
29 'link' => '',
30 'tip' => _("Run \"configure\", choose option 4 (General options) and set option 10 (Allow server thread sort to false")
31 );
32
33 $aErrors['SQM_IMAP_NO_SORT'] = array(
34 'level' => E_USER_ERROR,
35 'category' => SQM_ERROR_IMAP,
36 'message' => _( "Server-side sorting is not supported by your IMAP server.") . "\n" .
37 _("Please contact your system administrator and report this error."),
38 'link' => '',
39 'tip' => _("Run \"configure\", choose option 4 (General options) and set option 11 (Allow server-side sorting to false")
40 );
41
42
43 //$aError['SQM_FS'] // Filesystem related errors