Skip to content

Commit

Permalink
print report feature
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@499 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Kenzaburo Ito committed Nov 1, 2001
1 parent f36064a commit 8681831
Show file tree
Hide file tree
Showing 4 changed files with 440 additions and 14 deletions.
8 changes: 7 additions & 1 deletion ChangeLog
@@ -1,6 +1,12 @@
Mantis

10.xx.2001 - 0.15.11
11.xx.2001 - 0.15.12

* Added Swedish localization
* Added print bugs feature
* FIxed error where MD5 wasn't actually being used.

10.28.2001 - 0.15.11

* Modified advanced report's "assign to" drop down to sort alphabetically
* Modified bug_update script to send emails and behave better
Expand Down
24 changes: 14 additions & 10 deletions core_html_API.php
Expand Up @@ -350,23 +350,27 @@ function print_manage_doc_menu( $p_page="" ) {
function print_summary_menu( $p_page="" ) {
global $g_summary_page, $s_summary_link,
$g_use_jpgraph, $s_summary_jpgraph_link,
$g_print_all_bug_page, $s_print_all_bug_page_link,
$g_summary_jpgraph_page;

if ( $g_use_jpgraph==0 ) {
return;
}
# @@@ LOCALIZE
$s_print_all_bug_page_link = "Print Reports";

$t_summary_page = $g_summary_page;
$t_summary_jpgraph_page = $g_summary_jpgraph_page;
PRINT "<p><div align=\"center\">";
print_bracket_link( $g_print_all_bug_page, $s_print_all_bug_page_link );

switch ( $p_page ) {
case $t_summary_page : $t_summary_page = ""; break;
case $t_summary_jpgraph_page: $t_summary_jpgraph_page = ""; break;
}
if ( $g_use_jpgraph != 0 ) {
$t_summary_page = $g_summary_page;
$t_summary_jpgraph_page = $g_summary_jpgraph_page;

switch ( $p_page ) {
case $t_summary_page : $t_summary_page = ""; break;
case $t_summary_jpgraph_page: $t_summary_jpgraph_page = ""; break;
}

PRINT "<p><div align=\"center\">";
print_bracket_link( $t_summary_page, $s_summary_link );
print_bracket_link( $t_summary_jpgraph_page, $s_summary_jpgraph_link );
}
PRINT "</div>";
}
### --------------------
Expand Down

0 comments on commit 8681831

Please sign in to comment.