From 14286cb927d36dc2043be9c4144bdf79e8ff77bc Mon Sep 17 00:00:00 2001 From: nicrausaz <n.crausaz99@gmail.com> Date: Thu, 5 Jul 2018 11:17:36 +0200 Subject: [PATCH] update readme, close for 2018 --- canapEPFL/README.md | 18 +++++------------- canapEPFL/configs/config.php | 16 +++++++++------- canapEPFL/templates/isPostulationOpen.php | 4 +++- 3 files changed, 17 insertions(+), 21 deletions(-) diff --git a/canapEPFL/README.md b/canapEPFL/README.md index 99a1b73..b9a5421 100644 --- a/canapEPFL/README.md +++ b/canapEPFL/README.md @@ -1,19 +1,11 @@ # Améliorations possibles du formulaire canap.epfl.ch -- [ ] Fusionner les annexes -> Créer un seul PDF pour les annexes ---- - -- [ ] Fichier HTML pour toutes les formations -> Tableau tri HTML pour toutes les formations ---- - -- [ ] Postulation pour les dossiers papiers -> Permet la postulation pour un dossier envoyé par poste (admin sans créer de compte). ---- +- [ ] Fusionner les annexes en une seul PDF +- [ ] Fichier HTML pour toutes les formations, tableau de tri +- [ ] Postulation pour les dossiers papiers pour les dossiers recu par courrier # Infos -> Résultats sur \\scxdata\apprentis$\candidatures -> Fichier de config pour choisir les postulations autorisées: configs/config.php +> Résultats sur \\scxdata\apprentis$\candidatures +> Fichier de config pour choisir les postulations autorisées: configs/config.php > En début de période de postulations, ne pas autoriser les laborantins (qui postulent -> AVML). \ No newline at end of file diff --git a/canapEPFL/configs/config.php b/canapEPFL/configs/config.php index c56b458..86e03f5 100644 --- a/canapEPFL/configs/config.php +++ b/canapEPFL/configs/config.php @@ -9,18 +9,20 @@ // "logisticien" => "Logisticien-ne CFC", // "planificateurElectricien" => "Planificateur-trice éléctricien-ne CFC", // "electronicien" => "Electronicien-ne CFC", + // "polyMecanicien" => "Polymécanicien-ne CFC", + // "informaticien" => "Informaticien-ne CFC", + // "employeCommerce" => "Employé-e de commerce CFC", + // "gardienAnimaux" => "Gardien-ne d'animaux CFC", + // "interactiveMediaDesigner" => "Interactive Media Designer CFC" $LISTJOB = [ "Lausanne" => [ - "laborantinBiologie" => "Laborantin-e CFC; option biologie", - "polyMecanicien" => "Polymécanicien-ne CFC", - "informaticien" => "Informaticien-ne CFC", - "employeCommerce" => "Employé-e de commerce CFC", - "gardienAnimaux" => "Gardien-ne d'animaux CFC", - "interactiveMediaDesigner" => "Interactive Media Designer CFC" + "laborantinChimie" => "Laborantin-e CFC; option chimie", + "planificateurElectricien" => "Planificateur-trice éléctricien-ne CFC", + "polyMecanicien" => "Polymécanicien-ne CFC" ], "Sion" => [ - "logisticien" => "Logisticien-ne CFC" + // "logisticien" => "Logisticien-ne CFC" ] ]; ?> \ No newline at end of file diff --git a/canapEPFL/templates/isPostulationOpen.php b/canapEPFL/templates/isPostulationOpen.php index fd09600..e22a9a4 100644 --- a/canapEPFL/templates/isPostulationOpen.php +++ b/canapEPFL/templates/isPostulationOpen.php @@ -1,5 +1,7 @@ <?php -$isOpen = true; +// change this to open/close postulation +$isOpen = false; + if(!$isOpen){ header("Location: ./denied.php"); } -- GitLab