copyright update
[squirrelmail.git] / include / errors.php
... / ...
CommitLineData
1<?php
2
3/**
4 * errors.php
5 *
6 * @copyright &copy; 2005-2006 The SquirrelMail Project Team
7 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
8 * @version $Id$
9 * @package squirrelmail
10 */
11
12/** init error array */
13$aError = array();
14
15define('SQM_ERROR_IMAP',1);
16define('SQM_ERROR_FS',2);
17define('SQM_ERROR_SMTP',4);
18define('SQM_ERROR_LDAP',8);
19define('SQM_ERROR_DB',16);
20define('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//$aError['SQM_FS'] // Filesystem related errors
42
43?>