Script.php: improve notification message.
							parent
							
								
									117cc0431c
								
							
						
					
					
						commit
						965d78c0c6
					
				|  | @ -903,7 +903,7 @@ if (!empty($_GET["ignoreremarking"])) { | |||
| 
 | ||||
|     if ($con->query($sql) === TRUE) { | ||||
| 
 | ||||
|         $_SESSION["info_Marking"] = "Remarking Request Ignored , Submission Updated to 'Marked' status"; | ||||
|         $_SESSION["info_Marking"] = "Remarking request ignored."; | ||||
|         header("Location: Submissions.php?id=" . $id . "&header=" . $header . "&total=" . $total); | ||||
|     } else { | ||||
|         echo "Error: " . $sql . "<br>" . $con->error; | ||||
|  |  | |||
|  | @ -56,7 +56,7 @@ echo "<div><a href='Courses.php?course=$url'> $header </a></div>"; | |||
|             error_reporting(0); | ||||
| 
 | ||||
|             if (isset($_SESSION['info_Marking'])) { | ||||
|                 echo  '<hr><div class="alert alert-info" role="alert">' . $_SESSION['info_Marking'] . '</div>'; | ||||
|                 echo  '<div class="alert alert-warning">' . $_SESSION['info_Marking'] . '</div>'; | ||||
|                 $_SESSION['info_Marking'] = null; | ||||
|             } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue