. #------------------------------ # $Revision: 2643 $ # $Author: al $ # $Date: 2009-06-18 19:06:27 -0400 (Thu, 18 Jun 2009) $ #------------------------------ require_once( 'core.php' ); $t_core_path = config_get( 'core_path' ); require_once( $t_core_path.'ajax_api.php' ); require_once( $t_core_path.'bug_api.php' ); require_once( $t_core_path.'custom_field_api.php' ); require_once( $t_core_path.'date_api.php' ); require_once( $t_core_path.'last_visited_api.php' ); $f_bug_id = gpc_get_int( 'bug_id' ); $t_bug = bug_prepare_edit( 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; $t_changed_project = true; } else { $t_changed_project = false; } if ( ADVANCED_ONLY == config_get( 'show_update' ) ) { print_header_redirect ( 'bug_update_advanced_page.php?bug_id=' . $f_bug_id ); } if ( bug_is_readonly( $f_bug_id ) ) { error_parameters( $f_bug_id ); trigger_error( ERROR_BUG_READ_ONLY_ACTION_DENIED, ERROR ); } access_ensure_bug_level( config_get( 'update_bug_threshold' ), $f_bug_id ); $t_bug = bug_prepare_edit( bug_get( $f_bug_id, true ) ); html_page_top1( bug_format_summary( $f_bug_id, SUMMARY_CAPTION ) ); html_page_top2(); ?>
> > > > > ', lang_get( 'duplicate_id' ), ' '; echo ''; } else { # spacer echo ''; } ?> project_id ) ) > 0 ) ); if ( $t_show_version ) { ?> > */ ?> > > > project_id ); foreach( $t_related_custom_field_ids as $t_id ) { $t_def = custom_field_get_definition( $t_id ); if( ( ( $t_def['display_update'] && !$t_def['advanced'] ) || $t_def['require_update']) && custom_field_has_write_access( $t_id, $f_bug_id ) ) { $t_custom_fields_found = true; ?> > > > >
project_id, 'name' ) . "] "; } ?> date_submitted ) ?> last_updated ) ?>
reporter_id ); echo ajax_click_to_edit( $t_username, 'reporter_id', 'entrypoint=issue_reporter_combobox&issue_id=' . $f_bug_id ); } else { echo ''; } ?> view_state ); } ?>  
handler_id ); } ?>
 
status, ( $t_bug->reporter_id == auth_get_current_user_id() && ( ON == config_get( 'allow_reporter_close' ) ) ), $t_bug->project_id ) ?> '; echo ' '; echo ' 
type="text" name="summary" size="80" maxlength="128" value="summary ?>" />
 
*
type="submit" class="button" value="" />