Menu

[r13]: / mantis / constant_inc.php  Maximize  Restore  History

Download this file

125 lines (106 with data), 3.4 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<?php
#Application name: PhpCollab
#Status page: 0
# Mantis - a php based bugtracking system
# Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
# This program is distributed under the terms and conditions of the GPL
# See the files README and LICENSE for details
###########################################################################
# CONFIGURATION VARIABLES
###########################################################################
########################
# Mantis Constants
########################
# --- constants -------------------
# magic numbers
define( "ON", 1 );
define( "OFF", 0 );
#define( "SUCCESS", 1 );
#define( "NOERROR", 1 );
#define( "ERROR", 0 );
# access levels
define( "VIEWER", 10 );
define( "REPORTER", 25 );
define( "UPDATER", 40 );
define( "DEVELOPER", 55 );
define( "MANAGER", 70 );
define( "ADMINISTRATOR", 90 );
# status
define( "NEW_", 10 ); # NEW seems to be a reserved keyword
define( "FEEDBACK", 20 );
define( "ACKNOWLEDGED", 30 );
define( "CONFIRMED", 40 );
define( "ASSIGNED", 50 );
define( "RESOLVED", 80 );
define( "CLOSED", 90 );
# resolution
define( "OPEN", 10 );
define( "FIXED", 20 );
define( "REOPENED", 30 );
define( "UNABLE_TO_DUPLICATE", 40 );
define( "NOT_FIXABLE", 50 );
define( "DUPLICATE", 60 );
define( "NOT_A_BUG", 70 );
define( "SUSPENDED", 80 );
define( "WONT_FIX", 90 );
# priority
define( "NONE", 10 );
define( "LOW", 20 );
define( "NORMAL", 30 );
define( "HIGH", 40 );
define( "URGENT", 50 );
define( "IMMEDIATE", 60 );
# severity
define( "FEATURE", 10 );
define( "TRIVIAL", 20 );
define( "TEXT", 30 );
define( "TWEAK", 40 );
define( "MINOR", 50 );
define( "MAJOR", 60 );
define( "CRASH", 70 );
define( "BLOCK", 80 );
# project view_state
define( "PUBLICPROJ", 10 );
define( "PRIVATEPROJ", 50 );
# direction
define( "ASC", 101 );
define( "DESC", 102 );
# unread status
define( "READ", 201 );
define( "UNREAD", 202 );
# login methods
define( "PLAIN", 0 );
define( "CRYPT", 1 );
define( "CRYPT_FULL_SALT", 2 );
define( "MD5", 3 );
define( "LDAP", 4 );
define( "BASIC_AUTH", 5 );
# file upload methods
define( "DISK", 1 );
define( "DATABASE", 2 );
# show variable values
define( "BOTH", 0 );
define( "SIMPLE_ONLY", 1 );
define( "ADVANCED_ONLY", 2 );
# news values
define( "BY_LIMIT", 0 );
define( "BY_DATE", 1 );
# show email limits
#define( "NONE", 0 );
define( "ALL", 1 );
define( "NO_ANONYMOUS", 2 );
define( "ADMIN_ONLY", 3 );
# error messages
define( "ERROR_GENERIC", 0 );
define( "ERROR_SQL", 1 );
define( "ERROR_LOGIN", 2 );
define( "ERROR_REPORT", 3 );
define( "ERROR_NO_FILE_SPECIFIED", 4 );
define( "ERROR_FILE_DISALLOWED", 5 );
define( "ERROR_NO_DIRECTORY", 6 );
define( "ERROR_DUPLICATE_CATEGORY", 7 );
define( "ERROR_DUPLICATE_VERSION", 8 );
define( "ERROR_DUPLICATE_FILE", 9 );
define( "ERROR_EMPTY_FIELD", 10 );
define( "ERROR_PROTECTED_ACCOUNT", 11 );
?>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.