. /** * This include file prints out the bug bugnote_stats * $f_bug_id must already be defined * * @package MantisBT * @copyright Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org * @copyright Copyright (C) 2002 - 2014 MantisBT Team - mantisbt-dev@lists.sourceforge.net * @link http://www.mantisbt.org */ /** * MantisBT BugNote API */ require_once( 'bugnote_api.php' ); if ( ON != config_get('time_tracking_enabled') ) { return; } ?>
date_submitted ); $t_bugnote_stats_from_def_ar = explode ( ":", $t_bugnote_stats_from_def ); $t_bugnote_stats_from_def_d = $t_bugnote_stats_from_def_ar[0]; $t_bugnote_stats_from_def_m = $t_bugnote_stats_from_def_ar[1]; $t_bugnote_stats_from_def_y = $t_bugnote_stats_from_def_ar[2]; $t_bugnote_stats_from_d = gpc_get_string( 'start_day', $t_bugnote_stats_from_def_d ); $t_bugnote_stats_from_m = gpc_get_string( 'start_month', $t_bugnote_stats_from_def_m ); $t_bugnote_stats_from_y = gpc_get_string( 'start_year', $t_bugnote_stats_from_def_y ); $t_bugnote_stats_to_def = date( "d:m:Y" ); $t_bugnote_stats_to_def_ar = explode ( ":", $t_bugnote_stats_to_def ); $t_bugnote_stats_to_def_d = $t_bugnote_stats_to_def_ar[0]; $t_bugnote_stats_to_def_m = $t_bugnote_stats_to_def_ar[1]; $t_bugnote_stats_to_def_y = $t_bugnote_stats_to_def_ar[2]; $t_bugnote_stats_to_d = gpc_get_string( 'end_day', $t_bugnote_stats_to_def_d ); $t_bugnote_stats_to_m = gpc_get_string( 'end_month', $t_bugnote_stats_to_def_m ); $t_bugnote_stats_to_y = gpc_get_string( 'end_year', $t_bugnote_stats_to_def_y ); $f_get_bugnote_stats_button = gpc_get_string( 'get_bugnote_stats_button', '' ); # Time tracking date range input form # CSRF protection not required here - form does not result in modifications ?>
$t_item ) { $t_sort_name[$t_key] = $t_item[$t_name_field]; } array_multisort( $t_sort_name, $t_bugnote_stats ); unset( $t_sort_name ); ?>
>