Go to the source code of this file.
Functions | |
| exit_error ($title, $text=0) | |
| exit_permission_denied () | |
| exit_not_logged_in () | |
| exit_no_group () | |
| exit_missing_param () | |
| exit_test_usesmail ($group_id) | |
|
||||||||||||
|
Definition at line 30 of file exit.php. References $content, $feedback, $HTML, $title, exit, and html_feedback_top(). Referenced by check_file(), exit_permission_denied(), exit_test_usesmail(), post_message(), register_valid(), site_project_header(), trackers_data_handle_update(), and utils_check_path(). 00031 { 00032 00033 global $HTML; 00034 global $feedback; 00035 00036 $content = $title; 00037 if ($text) 00038 { $content .= _(':').' '.$text; } 00039 00040 fb($content, 1); 00041 00042 $HTML->header(array('title'=>sprintf(_("Exiting with Error: %s"), $title))); 00043 html_feedback_top(); 00044 00045 $HTML->footer(array()); 00046 exit; 00047 }
|
|
|
Definition at line 74 of file exit.php. Referenced by trackers_data_handle_update(). 00075 { 00076 exit_error(_("Missing Parameters"),''); 00077 }
|
|
|
Definition at line 69 of file exit.php. Referenced by trackers_data_get_notification_settings(). 00070 { 00071 exit_error(_("No group chosen"),'nogroup'); 00072 }
|
|
|
Definition at line 54 of file exit.php. References header(). 00055 { 00056 #instead of a simple error page, take user to the login page 00057 global $REQUEST_URI; 00058 00059 if ($GLOBALS['sys_https_host']) 00060 { 00061 header('Location: https://'.$GLOBALS['sys_https_host'].$GLOBALS['sys_home'].'account/login.php?return_to='.urlencode($REQUEST_URI)); 00062 } 00063 else 00064 { 00065 header ("Location: http://".$GLOBALS['sys_default_domain'].$GLOBALS['sys_home']."account/login.php?return_to=".urlencode($REQUEST_URI)); 00066 } 00067 }
|
|
|
Definition at line 49 of file exit.php. References exit_error(). Referenced by trackers_data_handle_update(). 00050 { 00051 exit_error(_("Permission Denied")); 00052 }
|
|
|
Definition at line 81 of file exit.php. References exit_error(). 00082 { 00083 $project=project_get_object($group_id); 00084 if (!$project->usesMail()) { 00085 exit_error(_("Error"),_("This Project Has Turned Off Mailing Lists")); 00086 } 00087 }
|
1.4.4