. /** * This page allows an authorized user to send a reminder by email to another user * * @package MantisBT * @copyright Copyright 2000 - 2002 Kenzaburo Ito - kenito@300baud.org * @copyright Copyright 2002 MantisBT Team - mantisbt-dev@lists.sourceforge.net * @link http://www.mantisbt.org * * @uses core.php * @uses access_api.php * @uses bug_api.php * @uses config_api.php * @uses constant_inc.php * @uses error_api.php * @uses form_api.php * @uses gpc_api.php * @uses helper_api.php * @uses html_api.php * @uses lang_api.php * @uses print_api.php * * Unhandled exceptions will be caught by the default error handler * @noinspection PhpUnhandledExceptionInspection */ use Mantis\Exceptions\ClientException; require_once( 'core.php' ); require_api( 'access_api.php' ); require_api( 'bug_api.php' ); require_api( 'config_api.php' ); require_api( 'constant_inc.php' ); require_api( 'error_api.php' ); require_api( 'form_api.php' ); require_api( 'gpc_api.php' ); require_api( 'helper_api.php' ); require_api( 'html_api.php' ); require_api( 'lang_api.php' ); require_api( 'print_api.php' ); require_css( 'status_config.php' ); $f_bug_id = gpc_get_int( 'bug_id' ); $t_bug = bug_get( $f_bug_id, true ); if( $t_bug->project_id != helper_get_current_project() ) { # in case the current project is not the same project of the bug we are viewing... # ... override the current project. This to avoid problems with categories and handlers lists etc. $g_project_override = $t_bug->project_id; } if( bug_is_readonly( $f_bug_id ) ) { error_parameters( $f_bug_id ); throw new ClientException( "Bug is read-only", ERROR_BUG_READ_ONLY_ACTION_DENIED ); } access_ensure_bug_level( config_get( 'bug_reminder_threshold' ), $f_bug_id ); layout_page_header( bug_format_summary( $f_bug_id, SUMMARY_CAPTION ) ); layout_page_begin(); ?>
', sprintf( lang_get( 'reminder_mentions' ), '' . mentions_tag() . user_get_username( auth_get_current_user_id() ) . '' );
}
?>