From d94421a16023f00f67c658efba4c02c79d974491 Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Thu, 19 Jan 2023 18:30:04 +0800 Subject: [PATCH] Fix typos listed in Bug 519. --- Admin.php | 4 ++-- Courses.php | 14 +++++++------- Script.php | 6 +++--- Student.php | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Admin.php b/Admin.php index 4323877..8280aa5 100644 --- a/Admin.php +++ b/Admin.php @@ -90,12 +90,12 @@ if ($_SESSION['user_type'] != "Lecturer" && $_SESSION['user_type'] != "Admin") { ?>
- Full_Name + Full Name Email - Passport_Number / ID (Used as Intial Password) + Passport Number / ID (Used as Initial Password)
User Type : diff --git a/Courses.php b/Courses.php index ff585be..5bba2fc 100644 --- a/Courses.php +++ b/Courses.php @@ -153,14 +153,14 @@ New Date/Time
- Dealine Date/Time + Deadline Date/Time
">
">
Title - "> + "> Instructions Marks @@ -181,9 +181,9 @@ New Date/Time
Invidual Group"; + echo "Submission Type Individual Group"; } else { - echo "Submission Type Invidual Group"; + echo "Submission Type Individual Group"; } ?> @@ -213,14 +213,14 @@ New Date/Time
- Dealine Date/Time + Deadline Date/Time
Title - + Instructions Marks @@ -238,7 +238,7 @@ New Date/Time

- Submission Type Invidual + Submission Type Individual Group
diff --git a/Script.php b/Script.php index 6e5c365..89b9829 100644 --- a/Script.php +++ b/Script.php @@ -98,7 +98,7 @@ if (!empty($_POST["form_signup"])) { // check for strong password if (!$containsAll) { - $_SESSION['info_signup'] = "Password must have at least characters that include lowercase letters, uppercase letters, numbers and sepcial characters (e.g., !?.,*^)."; + $_SESSION['info_signup'] = "Password must have at least characters that include lowercase letters, uppercase letters, numbers and special characters (e.g., !?.,*^)."; header("Location: signup.php"); return; } @@ -146,7 +146,7 @@ if (!empty($_POST["frm_login"])) { $password = mysqli_real_escape_string($con, $_POST["password"]); $result = mysqli_query($con, "SELECT * FROM users_table WHERE (Student_ID='$user') OR (Email='$user')"); if (mysqli_num_rows($result) == 0) { - $_SESSION["info_login"] = "Inavlid user name information."; + $_SESSION["info_login"] = "Invalid user name information."; echo $_SESSION["info_login"]; header("Location: index.php"); } else { @@ -1093,7 +1093,7 @@ WHERE lab_report_submissions.Lab_Report_ID='$lab'"; } header("Content-type: application/octet-stream"); - header("Content-Disposition: attachment; filename=$lab_name Garde Sheet.xls"); + header("Content-Disposition: attachment; filename=$lab_name Grade Sheet.xls"); header("Pragma: no-cache"); header("Expires: 0"); print "$header\n$data"; diff --git a/Student.php b/Student.php index 907e33d..4541fc5 100644 --- a/Student.php +++ b/Student.php @@ -9,7 +9,7 @@ include 'Header.php';
-

STUEDNT Account Created , Now you can Browse Course Portals

+

Student Account Created. Now you can Browse Course Portals

\ No newline at end of file