r28: Added links to bug report after performing an action.
authorRobert Sesek <rsesek@bluestatic.org>
Sat, 25 Dec 2004 06:16:38 +0000 (06:16 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Sat, 25 Dec 2004 06:16:38 +0000 (06:16 +0000)
editcomment.php
editreport.php
newreport.php

index 5596c73e3148835558daa329ee8e96b597f19499..4e9239c1213932da7ba6bfbbd3e4664d1acff3a1 100644 (file)
@@ -84,7 +84,7 @@ if ($_POST['do'] == 'update')
                WHERE commentid = $vars[commentid]"
        );
        
-       echo 'comment saved';
+       echo "<a href=\"showreport.php?bugid=$bug[bugid]\">comment saved</a>";
 }
 
 // ###################################################################
index b4536b1154431cb6172ab68e82c8cb280d70665c..077bb52d765f252e6f3c33e73cafc6a6aeba4ef1 100644 (file)
@@ -78,12 +78,14 @@ if ($_POST['do'] == 'update')
                WHERE bugid = $bug[bugid]"
        );
        
-       echo 'done with update bug';
-       
        if ($vars['changeproduct'])
        {
                $_REQUEST['do'] = 'editproduct';
        }
+       else
+       {
+               echo "<a href=\"showreport.php?bugid=$bug[bugid]\">done with update bug</a>";
+       }
 }
 
 // ###################################################################
@@ -189,7 +191,7 @@ if ($_POST['do'] == 'updateproduct')
        // good-to-go
        $DB_sql->query("UPDATE " . TABLE_PREFIX . "bug SET productid = $vars[product], componentid = $vars[component], versionid = $vars[version] WHERE bugid = $bug[bugid]");
        
-       echo 'changed product info';
+       echo "<a href=\"showreport.php?bugid=$bug[bugid]\">changed product info</a>";
 }
 
 // ###################################################################
index 4f30d546c77f0d309e1b6dd03f91a57375815344..2935b00675a3b5872cbd5af7ca4d224bb4367255 100755 (executable)
@@ -171,7 +171,7 @@ if ($_POST['do'] == 'insert')
        
        $DB_sql->query("UPDATE " . TABLE_PREFIX . "bug SET dateline = $time, initialreport = $initialreport, lastposttime = $time, lastpostby = " . $bugsys->userinfo['userid'] . " WHERE bugid = $bugid");
        
-       echo 'bug is done!';
+       echo "<a href=\"showreport.php?bugid=$bugid\">bug is done!</a>";
 }
 
 // ###################################################################