Course.php: change warning message color to yellow.

Bug430-Eden2
Lan Hui 2023-08-29 19:53:16 +08:00
parent de56d4bd6f
commit 84083981de
1 changed files with 3 additions and 3 deletions

View File

@ -249,15 +249,15 @@ include 'Header.php';
error_reporting(0); error_reporting(0);
if(isset($_SESSION["info_Updated"])){ if(isset($_SESSION["info_Updated"])){
echo '<hr><div class="alert alert-info" role="alert">' . $_SESSION['info_Updated'] . '</div>'; echo '<hr><div class="alert alert-warning" role="alert">' . $_SESSION['info_Updated'] . '</div>';
$_SESSION['info_Updated'] = null; $_SESSION['info_Updated'] = null;
} }
if (isset($_SESSION['info_courses'])) { if (isset($_SESSION['info_courses'])) {
echo '<hr><div class="alert alert-info" role="alert">' . $_SESSION['info_courses'] . '</div>'; echo '<hr><div class="alert alert-warning" role="alert">' . $_SESSION['info_courses'] . '</div>';
$_SESSION['info_courses'] = null; $_SESSION['info_courses'] = null;
} }
if (isset($_SESSION['info_courses'])) { if (isset($_SESSION['info_courses'])) {
echo '<hr><div class="alert alert-info" role="alert">' . $_SESSION['info_courses'] . '</div>'; echo '<hr><div class="alert alert-warning" role="alert">' . $_SESSION['info_courses'] . '</div>';
$_SESSION['info_courses']=null; $_SESSION['info_courses']=null;
} }