Index: bug_report.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/bug_report.php,v
retrieving revision 1.34
diff -u -r1.34 bug_report.php
--- bug_report.php	4 Aug 2004 15:02:22 -0000	1.34
+++ bug_report.php	16 Aug 2004 19:07:35 -0000
@@ -140,6 +140,9 @@
 	echo lang_get( 'operation_successful' ) . '<br />';
 
 	if ( $f_report_stay ) {
+		echo '<p>';
+		print_bracket_link( string_get_bug_view_url( $t_bug_id ), lang_get( 'view_submitted_bug_link' ) . " $t_bug_id", true );
+		echo '</p>';
 ?>
 	<form method="post" action="<?php echo string_get_bug_report_url() ?>">
 		<input type="hidden" name="category" 		value="<?php echo $f_category ?>" />



Index: print_api.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/core/print_api.php,v
retrieving revision 1.97
diff -u -r1.97 print_api.php
--- print_api.php	14 Aug 2004 15:26:21 -0000	1.97
+++ print_api.php	16 Aug 2004 19:09:40 -0000
@@ -954,9 +954,11 @@
 	# --------------------
 	# print the bracketed links used near the top
 	# if the $p_link is blank then the text is printed but no link is created
-	function print_bracket_link( $p_link, $p_url_text ) {
+	function print_bracket_link( $p_link, $p_url_text, $p_new_window = false ) {
 		if (is_blank( $p_link )) {
 			PRINT "[&nbsp;$p_url_text&nbsp;]";
+		} else if( true == $p_new_window ) {
+			PRINT "[&nbsp;<a href=\"$p_link\" target=\"_blank\">$p_url_text</a>&nbsp;]";
 		} else {
 			PRINT "[&nbsp;<a href=\"$p_link\">$p_url_text</a>&nbsp;]";
 		}
