Adding more index.php files
[squirrelmail.git] / include / errors.php
CommitLineData
1455d7ec 1<?php
2
3/**
57311df7 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 */
1455d7ec 12
57311df7 13/** init error array */
1455d7ec 14$aError = array();
15
16define('SQM_ERROR_IMAP',1);
17define('SQM_ERROR_FS',2);
18define('SQM_ERROR_SMTP',4);
19define('SQM_ERROR_LDAP',8);
20define('SQM_ERROR_DB',16);
21define('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,
47fa73ef 27 'message' => _("Thread sorting is not supported by your IMAP server.") . "\n" .
28 _("Please contact your system administrator and report this error."),
1455d7ec 29 'link' => '',
47fa73ef 30 'tip' => _("Run \"configure\", choose option 4 (General options) and set option 10 (Allow server thread sort to false).")
1455d7ec 31);
32
33$aErrors['SQM_IMAP_NO_SORT'] = array(
34 'level' => E_USER_ERROR,
35 'category' => SQM_ERROR_IMAP,
47fa73ef 36 'message' => _( "Server-side sorting is not supported by your IMAP server.") . "\n" .
37 _("Please contact your system administrator and report this error."),
1455d7ec 38 'link' => '',
47fa73ef 39 'tip' => _("Run \"configure\", choose option 4 (General options) and set option 11 (Allow server-side sorting to false).")
1455d7ec 40);
41
1455d7ec 42//$aError['SQM_FS'] // Filesystem related errors
47fa73ef 43
44?>