| [ 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 priorities : bars, 3Dpie and a mix priorities 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 39 print_summary_submenu(); 40 $t_width = plugin_config_get( 'window_width' ); 41 $t_graph_width = (int) ( ( $t_width - 50 ) * 0.6 ); 42 43 # gather the data for the graphs 44 $t_metrics = enum_bug_group( lang_get( 'priority_enum_string' ), 'priority'); 45 $t_token = token_set( TOKEN_GRAPH, serialize( $t_metrics ) ); 46 47 ?> 48 49 <br /> 50 <table class="width100" cellspacing="1"> 51 <tr> 52 <td class="form-title"> 53 <?php echo plugin_lang_get( 'graph_imp_priority_title' ) ?> 54 </td> 55 </tr> 56 <tr> 57 <td class="center"> 58 <img src="<?php echo plugin_page( 'summary_graph_bypriority.php' ) ?>&width=<?php echo $t_graph_width?>" alt="" /> 59 </td> 60 </tr> 61 <tr> 62 <td class="center"> 63 <img src="<?php echo plugin_page( 'summary_graph_bypriority_pct.php' ) ?>&width=<?php echo $t_graph_width?>" alt="" /> 64 </td> 65 </tr> 66 <tr> 67 <td class="center"> 68 <img src="<?php echo plugin_page( 'summary_graph_bypriority_mix.php' ) ?>&width=<?php echo $t_graph_width?>" alt="" /> 69 </td> 70 </tr> 71 </table> 72 73 <?php 74 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 |