5 * SourceForge: Breaking Down the Barriers to Open Source Development
6 * Copyright 1999-2001 (c) VA Linux Systems
7 * http://sourceforge.net
12 * exit_error() - Exit with error
14 * @param string Error title
15 * @param string Error text
17 function exit_error($title,$text) {
18 print 'ERROR - '.$text;
23 * exit_permission_denied() - Return a 'Permission Denied' error
25 function exit_permission_denied() {
26 exit_error('','PERMISSION DENIED');
30 * exit_not_logged_in() - Return a 'Not Logged in' error
32 function exit_not_logged_in() {
33 exit_error('','NOT LOGGED IN');
37 * exit_no_group() - Return a 'Choose A Project/Group' error
39 function exit_no_group() {
40 exit_error('','CHOOSE A PROJECT/GROUP');
44 * exit_missing_param() - Return a 'Missing Required Parameters' error
46 function exit_missing_param() {
47 exit_error('','MISSING REQUIRED PARAMETERS');
51 * exit_disabled() - Return a 'Disabled Feature' error
53 function exit_disabled() {
54 exit_error('','DISABLED FEATURE');