equal
deleted
inserted
replaced
1 <? |
1 <? |
2 |
|
3 // +--------------------------------------------------------------------+ |
|
4 // | PowerAdmin | |
|
5 // +--------------------------------------------------------------------+ |
|
6 // | Copyright (c) 1997-2002 The PowerAdmin Team | |
|
7 // +--------------------------------------------------------------------+ |
|
8 // | This source file is subject to the license carried by the overal | |
|
9 // | program PowerAdmin as found on http://poweradmin.sf.net | |
|
10 // | The PowerAdmin program falls under the QPL License: | |
|
11 // | http://www.trolltech.com/developer/licensing/qpl.html | |
|
12 // +--------------------------------------------------------------------+ |
|
13 // | Authors: Roeland Nieuwenhuis <trancer <AT> trancer <DOT> nl> | |
|
14 // | Sjeemz <sjeemz <AT> sjeemz <DOT> nl> | |
|
15 // +--------------------------------------------------------------------+ |
|
16 |
|
17 // Filename: error.inc.php |
|
18 // Startdate: 25-11-2002 |
|
19 // Description: all error defines should be put in here. |
|
20 // All errors have to use an ERR_ prefix to distinguish them from other constants. |
|
21 // All errors should be placed in the appropriate group. |
|
22 // |
|
23 // $Id: error.inc.php,v 1.6 2003/05/04 21:38:37 azurazu Exp $ |
|
24 // |
|
25 |
2 |
26 // Added next line to enable i18n on following definitions. Not sure |
3 // Added next line to enable i18n on following definitions. Not sure |
27 // if this is the best (or at least a proper) location for this. /RZ. |
4 // if this is the best (or at least a proper) location for this. /RZ. |
28 require_once("inc/i18n.inc.php"); |
5 require_once("inc/i18n.inc.php"); |
29 |
6 |
35 define("ERR_RECORD_EMPTY_CONTENT", _('Your content field is empty')); |
12 define("ERR_RECORD_EMPTY_CONTENT", _('Your content field is empty')); |
36 define("ERR_RECORD_ACCESS_DENIED", _('Access denied, you do not have access to that record')); |
13 define("ERR_RECORD_ACCESS_DENIED", _('Access denied, you do not have access to that record')); |
37 define("ERR_RECORD_DELETE_TYPE_DENIED", _('You are not allowed to delete %s records')); |
14 define("ERR_RECORD_DELETE_TYPE_DENIED", _('You are not allowed to delete %s records')); |
38 |
15 |
39 /* DOMAIN STUFF */ |
16 /* DOMAIN STUFF */ |
40 define("ERR_DOMAIN_INVALID", _('This is an invalid domain name')); |
17 define("ERR_DOMAIN_INVALID", _('This is an invalid zone name')); |
41 |
18 |
42 /* USER STUFF */ |
19 /* USER STUFF */ |
43 define("ERR_USER_EXIST", _('Username exist already, please choose another one')); |
20 define("ERR_USER_EXIST", _('Username exist already, please choose another one')); |
44 define("ERR_USER_NOT_EXIST", _('User doesnt exist')); |
21 define("ERR_USER_NOT_EXIST", _('User doesnt exist')); |
45 define("ERR_USER_WRONG_CURRENT_PASS", _('You didnt enter the correct current password')); |
22 define("ERR_USER_WRONG_CURRENT_PASS", _('You didnt enter the correct current password')); |