| [ Index ] |
PHP Cross Reference of MantisBT |
[Summary view] [Print] [Text view]
1 <?php 2 # MantisBT - A PHP based bugtracking system 3 4 # MantisBT is free software: you can redistribute it and/or modify 5 # it under the terms of the GNU General Public License as published by 6 # the Free Software Foundation, either version 2 of the License, or 7 # (at your option) any later version. 8 # 9 # MantisBT is distributed in the hope that it will be useful, 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 # GNU General Public License for more details. 13 # 14 # You should have received a copy of the GNU General Public License 15 # along with MantisBT. If not, see <http://www.gnu.org/licenses/>. 16 17 /** 18 * This page displays "improved" charts on resolutions : bars, 3Dpie and a mix resolutions per status 19 * 20 * @package MantisBT 21 * @copyright Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org 22 * @copyright Copyright (C) 2002 - 2011 MantisBT Team - mantisbt-dev@lists.sourceforge.net 23 * @link http://www.mantisbt.org 24 */ 25 /** 26 * MantisBT Core API's 27 */ 28 require_once ( 'core.php' ); 29 30 require_once( 'graph_api.php' ); 31 32 access_ensure_project_level( config_get( 'view_summary_threshold' ) ); 33 34 html_page_top(); 35 36 print_summary_menu( 'summary_page.php' ); 37 echo '<br />'; 38 print_summary_submenu(); 39 $t_width = plugin_config_get( 'window_width' ); 40 $t_graph_width = (int) ( ( $t_width - 50 ) * 0.6 ); 41 42 # gather the data for the graphs 43 $t_metrics = enum_bug_group( lang_get( 'resolution_enum_string' ), 'resolution'); 44 $t_token = token_set( TOKEN_GRAPH, serialize( $t_metrics ) ); 45 46 ?> 47 48 <br /> 49 <table class="width100" cellspacing="1"> 50 <tr> 51 <td class="form-title"> 52 <?php echo plugin_lang_get( 'graph_imp_resolution_title' ) ?> 53 </td> 54 </tr> 55 <tr> 56 <td class="center"> 57 <img src="<?php echo plugin_page( 'summary_graph_byresolution.php')?>&width=<?php echo $t_graph_width?>" alt="" /> 58 </td> 59 </tr> 60 <tr> 61 <td class="center"> 62 <img src="<?php echo plugin_page( 'summary_graph_byresolution_pct.php')?>&width=<?php echo $t_graph_width?>" alt="" /> 63 </td> 64 </tr> 65 <tr> 66 <td class="center"> 67 <img src="<?php echo plugin_page( 'summary_graph_byresolution_mix.php')?>&width=<?php echo $t_graph_width?>" alt="" /> 68 </td> 69 </tr> 70 </table> 71 72 <?php 73 html_page_bottom();
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu Jul 28 15:48:31 2011 | Cross-referenced by PHPXref 0.7 |