|
93 | 93 | $f_end = $t_period->get_end_formatted();
|
94 | 94 | if ( ($t_body == 1 ) || ($t_body == 3) ) {
|
95 | 95 | if ( $f_show_as_table ) {
|
96 |
| - echo '<br /><iframe src="' . plugin_page( 'bug_graph_bystatus.php' ) . '&width='.$t_width.'&interval=' . $f_interval . |
97 |
| - '&start_date=' . $f_start . '&end_date=' . $f_end . |
98 |
| - '&summary=' . $t_summary . '&show_table=1" width="100%" height="80%" frameborder="0"' . |
99 |
| - ' marginwidth="0" marginheight="0"></iframe>'; |
| 96 | + echo '<br />'; |
| 97 | + include( config_get_global('plugin_path' ). plugin_get_current() . DIRECTORY_SEPARATOR . |
| 98 | + 'pages' . DIRECTORY_SEPARATOR . 'bug_graph_bystatus.php' ); |
100 | 99 | } else {
|
101 |
| - echo '<br /><img src="' . plugin_page( 'bug_graph_bystatus.php' ) . '&width=600&interval=' . $f_interval . |
| 100 | + echo '<br /><img src="' . plugin_page( 'bug_graph_bystatus.php' ) . '&width=600&interval=' . $f_interval . |
102 | 101 | '&start_date=' . $f_start . '&end_date=' . $f_end .
|
103 | 102 | '&summary=' . $t_summary . '&show_table=0" alt="Bug Graph" />';
|
104 | 103 | }
|
105 | 104 | }
|
106 | 105 | if ( ($t_body == 2 ) || ($t_body == 3) ) {
|
107 | 106 | if ( $f_show_as_table ) {
|
108 |
| - echo '<br /><iframe src="' . plugin_page( 'bug_graph_bycategory.php' ) . '&width='.$t_width.'&interval=' . $f_interval . |
109 |
| - '&start_date=' . $f_start . '&end_date=' . $f_end . |
110 |
| - '&summary=' . $t_summary . '&show_table=1" width="100%" height="80%" frameborder="0"' . |
111 |
| - ' marginwidth="0" marginheight="0"></iframe>'; |
| 107 | + echo '<br />'; |
| 108 | + include( config_get_global('plugin_path' ). plugin_get_current() . DIRECTORY_SEPARATOR . |
| 109 | + 'pages' . DIRECTORY_SEPARATOR . 'bug_graph_bycategory.php' ); |
112 | 110 | } else {
|
113 |
| - echo '<br /><img src="' . plugin_page( 'bug_graph_bycategory.php' ) . '&width=600&interval=' . $f_interval . |
| 111 | + echo '<br /><img src="' . plugin_page( 'bug_graph_bycategory.php' ) . '&width=600&interval=' . $f_interval . |
114 | 112 | '&start_date=' . $f_start . '&end_date=' . $f_end .
|
115 | 113 | '&summary=' . $t_summary . '&show_table=0" alt="Bug Graph" />';
|
116 | 114 | }
|
|
0 commit comments