From cf11ed40adc60f96073e0edb795e362894bdfd22 Mon Sep 17 00:00:00 2001 From: Ibrahim <1525200991@qq.com> Date: Fri, 3 Dec 2021 10:58:07 +0800 Subject: [PATCH] Update 2.5: Replaced some ID names --- Admin.php | 14 ++++++------- Courses.php | 20 +++++++++---------- Header.php | 2 +- index.php | 8 ++++---- signup.php | 12 +++++------ test/SeleniumIbrahim/test_kit/admin.py | 22 ++++++++++----------- test/SeleniumIbrahim/test_kit/instructor.py | 20 +++++++++---------- test/SeleniumIbrahim/test_kit/utility.py | 20 +++++++++---------- 8 files changed, 59 insertions(+), 59 deletions(-) diff --git a/Admin.php b/Admin.php index 9e6865a..5c494d9 100644 --- a/Admin.php +++ b/Admin.php @@ -66,7 +66,7 @@ if ($_SESSION['user_type'] != "Lecturer") {

Create Lecturer/TA Accounts -
+ Full_Name @@ -76,8 +76,8 @@ if ($_SESSION['user_type'] != "Lecturer") { Passport_Number / ID (Used as Intial Password)
User Type : - Lecturer - T/A + Lecturer + T/A
Reset"; if ($row['Status'] == "Active") { $newstatus = "Blocked"; - $btnBlock = ""; + $btnBlock = ""; } else { $newstatus = "Active"; - $btnBlock = ""; + $btnBlock = ""; } echo "" . $row['User_ID'] . "" . $row['Full_Name'] . "" . $row['Email'] . " " . $row['Passport_Number'] . "$btn$btnBlock"; @@ -138,11 +138,11 @@ if ($_SESSION['user_type'] != "Lecturer") {
diff --git a/Courses.php b/Courses.php index 9ba60e7..f4722a2 100644 --- a/Courses.php +++ b/Courses.php @@ -190,7 +190,7 @@ New Date/Time
Post new Lab Assignment -
+ @@ -207,7 +207,7 @@ New Date/Time
Instructions - + Marks Attachment 1 @@ -222,9 +222,9 @@ New Date/Time

- Submission Type Individual + Submission Type Individual - Group + Group





@@ -431,25 +431,25 @@ WHERE Lecturer_User_ID=$lecturer_id and course_students_table.Status='Pending'" Course Name - + Course Code - + URL (Leave blank to use Course Code & Year) Academic Year - + Faculty
- + Verify Joining Students - Yes - No + Yes + No

diff --git a/Header.php b/Header.php index cc5d2d5..a302d24 100644 --- a/Header.php +++ b/Header.php @@ -64,7 +64,7 @@ if (mysqli_connect_errno()) {  Admin "; + echo "     Admin "; } ?> diff --git a/index.php b/index.php index d5fed03..fd8c17a 100644 --- a/index.php +++ b/index.php @@ -33,18 +33,18 @@ if (isset($_SESSION["user_fullname"])) {
Student ID / Instructor Email - +
Password - +
-
+

Reset my password

Don't have an account? - Sign Up + Sign Up
diff --git a/signup.php b/signup.php index b4dcd34..97d78b4 100644 --- a/signup.php +++ b/signup.php @@ -17,24 +17,24 @@ include 'Header.php';
- + Full Name - + Student ID - + Email Password (must include uppercase and lowercase letters, digits and special characters) - + Confirm Password - +
- +