diff options
| author | Debulois <quentin@debulois.fr> | 2022-03-31 14:56:45 +0200 |
|---|---|---|
| committer | Debulois <quentin@debulois.fr> | 2022-03-31 14:56:45 +0200 |
| commit | b637d625216e50602d0bde8a544c281ca00af5fa (patch) | |
| tree | 5e44ad1048f8a3583cc854fe3bc21086ede4d88a /Views/Includes/en | |
| parent | c9d4c87b21f1050a780f5296961d24bd17c9cdc8 (diff) | |
Grosse maj encore avec ajout de fonctionnalités dans l'admin principalement et grosse remise en page / rennomage et preparation pour retravailler le CSS
Diffstat (limited to 'Views/Includes/en')
| -rw-r--r-- | Views/Includes/en/message.php | 200 | ||||
| -rw-r--r-- | Views/Includes/en/table.php | 67 | ||||
| -rw-r--r-- | Views/Includes/en/text.php | 93 | ||||
| -rw-r--r-- | Views/Includes/en/title.php | 15 |
4 files changed, 0 insertions, 375 deletions
diff --git a/Views/Includes/en/message.php b/Views/Includes/en/message.php deleted file mode 100644 index 344b0b8..0000000 --- a/Views/Includes/en/message.php +++ /dev/null @@ -1,200 +0,0 @@ -<?php -// **************************************************************************** -// Description: Texte des messages. -// **************************************************************************** -$success = "Success"; -$error = "Error"; -$redirect = "Redirecting in "; -$messageText = [ - // Informations de l'utilisateur - "infosUpdate" => [ - "success" => [ - "success" => true, - "title" => "Update user information.", - "info" => "User informations updated !", - "timer" => true, - "toSrc" => true - ] - ], - // Login sans cookie - "login" => [ - "success" => [ - "success" => true, - "title" => "Login.", - "info" => "Successfully logged in!", - "timer" => true, - "toSrc" => false - ], - "fail" => [ - "success" => false, - "title" => "Login.", - "info" => "Error bad credentials.", - "timer" => true, - "toSrc" => true - ] - ], - // Login avec cookie - "loginCookie" => [ - "success" => [ - "success" => true, - "title" => "", - "info" => "", - "timer" => false, - "toSrc" => false - ], - "fail" => [ - "success" => false, - "title" => "Login cookie.", - "info" => "Error with the cookie auto-login.", - "timer" => true, - "toSrc" => false - ] - ], - // Log out - "logout" => [ - "success" => [ - "success" => true, - "title" => "Log out.", - "info" => "Successefuly logged out!", - "timer" => true, - "toSrc" => false - ] - ], - // Ajout mission - "missionRegister" => [ - "success" => [ - "success" => true, - "title" => "Register a mission.", - "info" => "Mission registered !", - "timer" => true, - "toSrc" => true - ], - "fail" => [ - "success" => false, - "title" => "Mandate a mission.", - "info" => "Error, please sign-in before.", - "timer" => true, - "toSrc" => true - ] - ], - // Acceptation d'une mission - "missionAccepted" => [ - "success" => [ - "success" => true, - "title" => "Mission info.", - "info" => "Mission accepted !", - "timer" => true, - "toSrc" => true - ], - "fail" => [ - "success" => false, - "title" => "Mandate infos.", - "info" => "Error, mission not accepted.", - "timer" => true, - "toSrc" => true - ] - ], - // Validation d'une mission - "missionValidated" => [ - "success" => [ - "success" => true, - "title" => "Mission info.", - "info" => "Mission completed!", - "timer" => true, - "toSrc" => true - ], - "fail" => [ - "success" => false, - "title" => "Mandate info.", - "info" => "Error, mission not marked as completed.", - "timer" => true, - "toSrc" => true - ] - ], - // Ajout d'un commentaire & note - "missionReview" => [ - "success" => [ - "success" => true, - "title" => "Mission review.", - "info" => "Your review has been registered!", - "timer" => true, - "toSrc" => true - ], - "fail" => [ - "success" => false, - "title" => "Mission review.", - "info" => "Error, your review has not been resgistered.", - "timer" => true, - "toSrc" => true - ] - ], - // Ajout utilisateur - "userAdd" => [ - "success" => [ - "success" => true, - "title" => "Register an user.", - "info" => "User successfully registered !", - "timer" => true, - "toSrc" => true - ], - "fail" => [ - "success" => false, - "title" => "Register an user.", - "info" => "Error, user not registered.", - "timer" => true, - "toSrc" => true - ] - ], - // Delete utilisateur - "adminDelUser" => [ - "success" => [ - "success" => true, - "title" => "Delete an user.", - "info" => "User deleted !", - "timer" => true, - "toSrc" => true - ], - "fail" => [ - "success" => false, - "title" => "Delete an user.", - "info" => "No user was deleted.", - "timer" => true, - "toSrc" => true - ] - ], - // Ajout categorie - "adminAddJob" => [ - "success" => [ - "success" => true, - "title" => "Add a job category.", - "info" => "Category added !", - "timer" => true, - "toSrc" => true - ], - "fail" => [ - "success" => false, - "title" => "Add a job category.", - "info" => "Category not added.", - "timer" => true, - "toSrc" => true - ] - ], - // Suppression categorie - "adminDelJob" => [ - "success" => [ - "success" => true, - "title" => "Deletion of a job category.", - "info" => "Category deleted !", - "timer" => true, - "toSrc" => true - ], - "delete" => [ - "success" => false, - "title" => "Deletion of a job category.", - "info" => "Category not deleted !", - "timer" => true, - "toSrc" => true - ] - ], -]; -?>
\ No newline at end of file diff --git a/Views/Includes/en/table.php b/Views/Includes/en/table.php deleted file mode 100644 index 93a0e86..0000000 --- a/Views/Includes/en/table.php +++ /dev/null @@ -1,67 +0,0 @@ -<?php -// **************************************************************************** -// Description: En-tête des tableaux -// **************************************************************************** -$header = [ - // En-tête des colonnes du tableau Delete de l'admin. - "adminDel" => [ - "ID Number", - "Email", - "Crypted Password", - "Token for auto-login", - "Inscription date", - "User status" - ], - // En-tête des colonnes du tableau Search de l'index. - "search" => [ - "Last name", - "First name", - "Job", - "Capabilities", - "Number of missions", - "Note", - "Stars" - ], - // En-tête des colonnes du tableau More infos de l'index. - "moreInfos" => [ - "Last name", - "First name", - "Job", - "Degree", - "Capabilities", - "Description", - "Phone number", - "Adress", - "Zip code", - "City" - ], - // En-tête des colonnes du tableau mes missions. - "pendingMissions" => [ - "Request date", - "Pro name", - "Job", - "Subject" - ], - // En-tête des colonnes du tableau mes missions. - "ongoingMissions" => [ - "Accpeted by pro date", - "Pro name", - "Job", - "Subject", - "Validated by client date", - "Validated by pro date" - ], - // En-tête des colonnes du tableau mes missions. - "completedMissions" => [ - "Request date", - "Started date", - "Validation by client date", - "Validation by pro date", - "Pro name", - "job", - "Subject", - "Review", - "Note" - ] -]; -?>
\ No newline at end of file diff --git a/Views/Includes/en/text.php b/Views/Includes/en/text.php deleted file mode 100644 index 21e273b..0000000 --- a/Views/Includes/en/text.php +++ /dev/null @@ -1,93 +0,0 @@ -<?php -// **************************************************************************** -// Description: Texte du site -// **************************************************************************** -$text = [ - "incl_form_admin" => [ - "h2Job" => "Manage job category", - "formJobAddEn" => "Name of the category in English", - "formJobAddFr" => "Name of the category in French", - "submitJobAdd" => "Add", - "selJobDel" => "Choose a job to delete", - "submitJobDel" => "Delete", - "h2Del" => "Delete an user", - "formDel" => "ID to delete", - "submitDel" => "Delete", - ], - "incl_global_footer" => [ - "main" => "Made by Debulois Quentin for my professional folder.<br>December 2021, all rights reserved.", - ], - "incl_form_userInfo" => [ - "h2" => "Informations about the user.", - "lastname" => "Last name", - "firstname" => "First name", - "phoneNumber" => "Phone number", - "adress" => "Adress", - "zipCode" => "Zip code", - "city" => "City", - "jobsSel" => "Jobs", - "jobsAdd" => "Add", - "degree" => "Degree", - "capability" => "Capacities", - "description" => "Descriptions", - "submit" => "Modify" - ], - "incl_form_login" => [ - "h2" => "Login", - "email" => "Email", - "password" => "Password", - "rememberMe" => "Remember me", - "submit" => "Sign-in" - ], - "incl_form_mission" => [ - "h2" => "Form to register a mission", - "subject" => "Subject", - "review" => "Review", - "proId" => "Pro ID", - "submit" => "Register", - "jobsSel" => "Jobs" - ], - "incl_table_myMission" => [ - "pendingMission" => "Pending missions", - "ongoingMission" => "Ongoing missions", - "completedMission" => "Completed missions", - "accept" => "Accept", - "validate" => "Validate" - ], - "incl_global_navbar" => [ - "h2" => "AlphaJob", - "btnSearch" => "Search", - "btnInfos" => "Modif. infos", - "btnMission" => "Register mission", - "btnMyMission" => "My missions", - "btnAdmin" => "Administration", - "btnLogin" => "Sign-in", - "btnLogout" => "Loggout", - "btnRegister" => "Sign-up", - "lang" => "Language", - "btnLang" => "Select" - ], - "incl_form_register" => [ - "h2" => "Form to sign-in", - "email" => "Email", - "password" => "Password", - "notice" => "Admin is here for the purpose of the exam only:", - "isAdmin" => "Is admin?", - "isPro" => "Is pro?", - "isClient" => "Is client?", - "submit" => "Sign-up" - ], - "incl_index_search" => [ - "h2" => "Search by lastname", - "searchBar" => "Lastname", - "submit" => "Search", - "moreInfo" => "More info", - "mandate" => "Mandate" - ], - "incl_index_slideshow" => [ - "slide1" => "Find the right proffessional for you.<br><br>For all your needs.<br><br><span>AlphaJob</span>", - "slide2" => "Only the bests proffessionals can register!<br><br>Quality of work guarantee!<br><br><span>AlphaJob</span>", - "slide3" => "Find the bests offers for your website today.<br><br>Discover our ready to use solutions.<br><br><span>AlphaJob</span>" - ] -]; -?>
\ No newline at end of file diff --git a/Views/Includes/en/title.php b/Views/Includes/en/title.php deleted file mode 100644 index d08f444..0000000 --- a/Views/Includes/en/title.php +++ /dev/null @@ -1,15 +0,0 @@ -<?php -// **************************************************************************** -// Description: Titre des pages -// **************************************************************************** -$title = [ - "index" => "AlphaJob - Index", - "login" => "AlphaJob - Login Page", - "message" => "AlphaJob - Message", - "mission" => "AlphaJob - Register a mission", - "myMission" => "AlphaJob - My missions", - "register" => "AlphaJob - Register an user", - "userInfo" => "AlphaJob - My user information", - "admin" => "AlphaJob - Administration of alphajob" -]; -?>
\ No newline at end of file |
