Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
JeromeDevome
committed
Nov 20, 2018
1 parent
c6b2dae
commit c5f4533
Showing
18 changed files
with
484 additions
and
309 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<?php | ||
/** | ||
* admin_config_calend1.php | ||
* Interface permettant à l'administrateur la configuration des paramètres pour le module Jours Cycles | ||
* Ce script fait partie de l'application GRR | ||
* Dernière modification : $Date: 2017-12-16 14:00$ | ||
* @author Laurent Delineau & JeromeB | ||
* @copyright Copyright 2003-2018 Team DEVOME - JeromeB | ||
* @link http://www.gnu.org/licenses/licenses.html | ||
* | ||
* This file is part of GRR. | ||
* | ||
* GRR is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
*/ | ||
|
||
|
||
// Affichage du tableau de choix des sous-configuration | ||
$grr_script_name = "admin_calend_jour_cycle1.php"; | ||
|
||
// Met à jour dans la BD le nombre de jours par cycle | ||
if (isset($_GET['nombreJours'])) | ||
{ | ||
if (!Settings::set("nombre_jours_Jours_Cycles", $_GET['nombreJours'])) | ||
echo "Erreur lors de l'enregistrement de nombre_jours_Jours_Cycles ! <br />"; | ||
} | ||
// Met à jour dans la BD le premier jour du premier cycle | ||
if (isset($_GET['jourDebut'])) | ||
{ | ||
if (!Settings::set("jour_debut_Jours_Cycles", $_GET['jourDebut'])) | ||
echo "Erreur lors de l'enregistrement de jour_debut_Jours_Cycles ! <br />"; | ||
} | ||
|
||
$AllSettings = Settings::getAll(); | ||
// | ||
// Configurations du nombre de jours par Jours/Cycles et du premier jour du premier Jours/Cycles | ||
//****************************** | ||
// | ||
get_vocab_admin("titre_config_Jours_Cycles"); | ||
|
||
get_vocab_admin("admin_config_calend1"); | ||
get_vocab_admin("admin_config_calend2"); | ||
get_vocab_admin("admin_config_calend3"); | ||
|
||
get_vocab_admin("explication_Jours_Cycles1"); | ||
get_vocab_admin("explication_Jours_Cycles2"); | ||
|
||
get_vocab_admin("nombre_jours_Jours_Cycles"); | ||
get_vocab_admin("debut_Jours_Cycles"); | ||
|
||
get_vocab_admin("save"); | ||
|
||
|
||
echo $twig->render('admin_calend_jour_cycle1.twig', array('liensMenu' => $menuAdminT, 'liensMenuN2' => $menuAdminTN2, 'trad' => $trad, 'settings' => $AllSettings)); | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.