Permalink
Browse files

Possibilité d'imprimer les bulletins en tant que CPE.

  • Loading branch information...
1 parent eb7d43c commit c31903601256b7f475652c3183cc93a37719b304 @crob27 crob27 committed Apr 24, 2012
@@ -166,7 +166,8 @@
echo "<p class='bold'><a href='../accueil.php'><img src='../images/icons/back.png' alt='Retour' class='back_link'/> Retour</a>";
if((($_SESSION['statut']=='scolarite')&&(getSettingValue('GepiScolImprBulSettings')=='yes'))||
(($_SESSION['statut']=='professeur')&&(getSettingValue('GepiProfImprBulSettings')=='yes'))||
- (($_SESSION['statut']=='administrateur')&&(getSettingValue('GepiAdminImprBulSettings')=='yes'))) {
+ (($_SESSION['statut']=='administrateur')&&(getSettingValue('GepiAdminImprBulSettings')=='yes'))||
+ (($_SESSION['statut']=='cpe')&&(getSettingValue('GepiCpeImprBulSettings')=='yes'))) {
if($type_bulletin_par_defaut=='pdf') {
echo " | <a id='lien_param_bull' href='param_bull_pdf.php' target='_blank'>Paramètres d'impression des bulletins PDF</a>";
}
@@ -189,6 +190,12 @@
die();
}
+ if (($_SESSION['statut'] == 'cpe') and getSettingValue("GepiCpeImprBul")!='yes') {
+ echo "<p>Droits insuffisants pour effectuer cette opération</p>\n";
+ require("../lib/footer.inc.php");
+ die();
+ }
+
// Liste des classes avec élève:
//$sql="SELECT DISTINCT c.* FROM j_eleves_classes jec, classes c WHERE c.id=jec.id_classe ORDER BY c.classe;";
if ($_SESSION["statut"] == "scolarite") {
@@ -204,7 +211,12 @@
$message_0="Aucune classe avec élève n'a été trouvée.";
}
elseif ($_SESSION["statut"] == "professeur") {
- $sql="SELECT DISTINCT c.* FROM classes c, j_eleves_professeurs jep, j_eleves_classes jec WHERE (jep.professeur='".$_SESSION['login']."' AND jep.login = jec.login AND jec.id_classe = c.id);";
+ $sql="SELECT DISTINCT c.* FROM classes c, j_eleves_professeurs jep, j_eleves_classes jec WHERE (jep.professeur='".$_SESSION['login']."' AND jep.login = jec.login AND jec.id_classe = c.id) ORDER BY c.classe;";
+
+ $message_0="Aucune classe (<i>avec élève</i>) ne vous est affectée pour l'édition des bulletins.";
+ }
+ elseif ($_SESSION["statut"] == "cpe") {
+ $sql="SELECT DISTINCT c.* FROM classes c, j_eleves_cpe jecpe, j_eleves_classes jec WHERE (jecpe.cpe_login='".$_SESSION['login']."' AND jecpe.e_login = jec.login AND jec.id_classe = c.id) ORDER BY c.classe;";
$message_0="Aucune classe (<i>avec élève</i>) ne vous est affectée pour l'édition des bulletins.";
}
@@ -297,7 +309,8 @@ function change_style_classe(num) {
echo "<a href='bull_index.php'>Choisir d'autres classes</a>\n";
if((($_SESSION['statut']=='scolarite')&&(getSettingValue('GepiScolImprBulSettings')=='yes'))||
(($_SESSION['statut']=='professeur')&&(getSettingValue('GepiProfImprBulSettings')=='yes'))||
- (($_SESSION['statut']=='administrateur')&&(getSettingValue('GepiAdminImprBulSettings')=='yes'))) {
+ (($_SESSION['statut']=='administrateur')&&(getSettingValue('GepiAdminImprBulSettings')=='yes'))||
+ (($_SESSION['statut']=='cpe')&&(getSettingValue('GepiCpeImprBulSettings')=='yes'))) {
if($type_bulletin_par_defaut=='pdf') {
echo " | <a id='lien_param_bull' href='param_bull_pdf.php' target='_blank'>Paramètres d'impression des bulletins PDF</a>";
}
@@ -416,7 +429,8 @@ function change_style_classe(num) {
echo " | <a href='".$_SERVER['PHP_SELF']."' onClick=\"document.forms['form_retour'].submit();return false;\">Choisir d'autres périodes</a>\n";
if((($_SESSION['statut']=='scolarite')&&(getSettingValue('GepiScolImprBulSettings')=='yes'))||
(($_SESSION['statut']=='professeur')&&(getSettingValue('GepiProfImprBulSettings')=='yes'))||
- (($_SESSION['statut']=='administrateur')&&(getSettingValue('GepiAdminImprBulSettings')=='yes'))) {
+ (($_SESSION['statut']=='administrateur')&&(getSettingValue('GepiAdminImprBulSettings')=='yes'))||
+ (($_SESSION['statut']=='cpe')&&(getSettingValue('GepiCpeImprBulSettings')=='yes'))) {
if($type_bulletin_par_defaut=='pdf') {
echo " | <a id='lien_param_bull' href='param_bull_pdf.php' target='_blank'>Paramètres d'impression des bulletins PDF</a>";
}
@@ -709,7 +723,6 @@ function change_lien_param_bull(type) {
echo "</div>\n";
//===========================================
-
// L'admin peut avoir accès aux bulletins, mais il n'a de toute façon pas accès au relevés de notes.
$sql="SELECT 1=1 FROM droits WHERE id='/cahier_notes/visu_releve_notes_bis.php' AND ".$_SESSION['statut']."='V';";
$res_verif_droit=mysql_query($sql);
@@ -1468,6 +1481,9 @@ function display_param_b_adr_pg() {
elseif ($_SESSION["statut"] == "professeur") {
$sql="SELECT DISTINCT c.* FROM classes c, j_eleves_professeurs jep, j_eleves_classes jec WHERE (jep.professeur='".$_SESSION['login']."' AND jep.login = jec.login AND jec.id_classe = c.id AND c.id='$id_classe');";
}
+ elseif ($_SESSION["statut"] == "cpe") {
+ $sql="SELECT DISTINCT c.* FROM classes c, j_eleves_cpe jecpe, j_eleves_classes jec WHERE (jecpe.cpe_login='".$_SESSION['login']."' AND jecpe.e_login = jec.login AND jec.id_classe = c.id AND c.id='$id_classe');";
+ }
else {
// On ne devrait pas arriver jusque-là...
echo "<p>Droits insuffisants pour effectuer cette opération</p>\n";
@@ -1,4 +1,3 @@
-
<?php
/*
* $Id$
@@ -1079,7 +1078,10 @@ protected function bulletins(){
OR (($this->statutUtilisateur=='scolarite')
AND (getSettingValue("GepiScolImprBulSettings")=='yes'))
OR (($this->statutUtilisateur=='administrateur')
- AND (getSettingValue("GepiAdminImprBulSettings")=='yes'))){
+ AND (getSettingValue("GepiAdminImprBulSettings")=='yes'))
+ OR (($this->statutUtilisateur=='cpe')
+ AND (getSettingValue("GepiCpeImprBulSettings")=='yes'))
+ ) {
if(getSettingValue('type_bulletin_par_defaut')=='pdf') {
$this->creeNouveauItem("/bulletin/param_bull_pdf.php",
@@ -1107,8 +1109,10 @@ protected function bulletins(){
if ((($this->test_prof_suivi != "0")
AND (getSettingValue("GepiProfImprBul")=='yes'))
- OR ($this->statutUtilisateur!='professeur')){
- $this->creeNouveauItem("/bulletin/bull_index.php",
+ OR (($this->statutUtilisateur=='cpe')
+ AND (getSettingValue("GepiCpeImprBul")=='yes'))
+ OR (($this->statutUtilisateur!='professeur')AND($this->statutUtilisateur!='cpe'))) {
+ $this->creeNouveauItem("/bulletin/bull_index.php",
"Visualisation et impression des bulletins",
"Cet outil vous permet de visualiser à l'écran et d'imprimer les bulletins, classe par classe.");
}
@@ -1554,6 +1554,17 @@
if (!$droitAffiche->set_entree($statutItem, $titreItem, $texteItem))
$tbs_message = 'Erreur lors du chargement de '.$titreItem;
+// Bulletins
+$titreItem='GepiCpeImprBul';
+$texteItem="édite/imprime les bulletins périodiques des classes dont il a la charge.<br />
+ (<em>Par défaut, seul un utilisateur ayant le statut scolarité peut éditer les bulletins</em>)";
+if (!$droitAffiche->set_entree($statutItem, $titreItem, $texteItem))
+ $tbs_message = 'Erreur lors du chargement de '.$titreItem;
+
+$titreItem='GepiCpeImprBulSettings';
+$texteItem="a accès au paramétrage de l'impression des bulletins (<em>lorsqu'il est autorisé à éditer/imprimer les bulletins</em>)";
+if (!$droitAffiche->set_entree($statutItem, $titreItem, $texteItem))
+ $tbs_message = 'Erreur lors du chargement de '.$titreItem;
// CDT
$titreItem='GepiAccesCdtCpe';
View
@@ -100,7 +100,7 @@ INSERT INTO droits VALUES ('/aid/index2.php', 'V', 'F', 'F', 'F', 'F', 'F', 'F',
INSERT INTO droits VALUES ('/aid/modify_aid.php', 'V', 'F', 'F', 'F', 'F', 'F', 'F', 'F', 'Configuration des AID', '');
INSERT INTO droits VALUES ('/aid/modify_aid_new.php', 'V', 'F', 'F', 'F', 'F', 'F', 'F', 'F', 'Configuration des AID', '');
INSERT INTO droits VALUES ('/bulletin/edit.php', 'V', 'V', 'F', 'V', 'F', 'F', 'F', 'F', 'Edition des bulletins', '1');
-INSERT INTO droits VALUES ('/bulletin/param_bull.php', 'V', 'V', 'F', 'V', 'F', 'F', 'F', 'F', 'Edition des bulletins', '1');
+INSERT INTO droits VALUES ('/bulletin/param_bull.php', 'V', 'V', 'V', 'V', 'F', 'F', 'F', 'F', 'Edition des bulletins', '1');
INSERT INTO droits VALUES ('/bulletin/verif_bulletins.php', 'F', 'V', 'F', 'V', 'F', 'F', 'F', 'F', 'Vérification du remplissage des bulletins', '');
INSERT INTO droits VALUES ('/bulletin/verrouillage.php', 'F', 'F', 'F', 'V', 'F', 'F', 'F', 'F', '(de)Verrouillage des périodes', '');
INSERT INTO droits VALUES ('/cahier_notes_admin/index.php', 'V', 'F', 'F', 'F', 'F', 'F', 'F', 'F', 'Gestion des carnets de notes', '');
@@ -448,7 +448,7 @@ INSERT INTO `droits` VALUES ('/mod_absences/lib/graph_double_ligne.php', 'V', 'V
INSERT INTO `lettres_tcs` VALUES (1, 3, 0, 0, 0, 0, 0, 0), (2, 3, 0, 0, 0, 0, 0, 0), (3, 3, 0, 0, 0, 0, 0, 0), (4, 3, 0, 0, 0, 0, 0, 0), (5, 3, 0, 0, 0, 0, 0, 0), (6, 3, 0, 0, 0, 0, 0, 0), (7, 3, 0, 0, 0, 0, 0, 0), (8, 3, 0, 0, 0, 0, 0, 0), (9, 3, 0, 0, 0, 0, 0, 0), (10, 3, 0, 0, 0, 0, 0, 0), (11, 3, 0, 0, 0, 0, 0, 0), (12, 3, 0, 0, 0, 0, 0, 0), (13, 3, 0, 0, 0, 0, 0, 0), (14, 3, 0, 0, 0, 0, 0, 0), (15, 3, 0, 0, 0, 0, 0, 0), (16, 3, 0, 0, 0, 0, 0, 0),(17, 3, 0, 0, 0, 0, 0, 0),(18, 3, 0, 0, 0, 0, 0, 0),(19, 3, 0, 0, 0, 0, 0, 0),(20, 3, 0, 0, 0, 0, 0, 0),(21, 3, 0, 0, 0, 0, 0, 0),(22, 3, 0, 0, 0, 0, 0, 0),(23, 3, 0, 0, 0, 0, 0, 0),(24, 3, 0, 0, 0, 0, 0, 0),(25, 3, 0, 0, 0, 0, 0, 0),(26, 3, 0, 0, 0, 0, 0, 0),(27, 3, 0, 0, 0, 0, 0, 0),(28, 3, 0, 0, 0, 0, 0, 0),(29, 3, 0, 0, 0, 0, 0, 0),(30, 3, 0, 0, 0, 0, 0, 0),(31, 3, 0, 0, 0, 0, 0, 0),(32, 3, 0, 0, 0, 0, 0, 0),(33, 3, 0, 0, 0, 0, 0, 0),(34, 3, 0, 0, 0, 0, 0, 0),(35, 3, 0, 0, 0, 0, 0, 0),(36, 3, 0, 0, 0, 0, 0, 0),(37, 3, 0, 0, 0, 0, 0, 0),(38, 3, 0, 0, 0, 0, 0, 0),(39, 3, 0, 0, 0, 0, 0, 0),(40, 3, 0, 0, 0, 0, 0, 0),(41, 3, 0, 0, 0, 0, 0, 0),(42, 3, 0, 0, 0, 0, 0, 0),(43, 3, 0, 0, 0, 0, 0, 0),(44, 3, 0, 0, 0, 0, 0, 0),(45, 3, 0, 0, 0, 0, 0, 0),(46, 3, 0, 0, 0, 0, 0, 0),(47, 3, 0, 0, 0, 0, 0, 0),(48, 3, 0, 0, 0, 0, 0, 0),(49, 3, 0, 0, 0, 0, 0, 0),(50, 3, 0, 0, 0, 0, 0, 0),(51, 3, 0, 0, 0, 0, 0, 0),(52, 3, 0, 0, 0, 0, 0, 0),(53, 3, 0, 0, 0, 0, 0, 0),(56, 3, 1, 100, 40, 100, 5, 0),(57, 3, 4, 10, 70, 0, 5, 0),(58, 1, 0, 0, 0, 0, 0, 0),(59, 1, 0, 0, 0, 0, 0, 0),(60, 1, 0, 0, 0, 0, 0, 0),(61, 1, 0, 0, 0, 0, 0, 0),(62, 1, 0, 0, 0, 0, 0, 0),(63, 1, 0, 0, 0, 0, 0, 0),(64, 1, 0, 0, 0, 0, 0, 0),(65, 1, 1, 100, 40, 100, 5, 0),(66, 1, 5, 10, 70, 0, 5, 0),(68, 2, 1, 100, 40, 100, 5, 0),(69, 2, 6, 10, 70, 0, 5, 0),(70, 4, 1, 100, 40, 100, 5, 0),(71, 4, 7, 10, 70, 0, 5, 0),(72, 6, 0, 0, 0, 0, 0, 0),(73, 6, 0, 0, 0, 0, 0, 0),(74, 6, 0, 0, 0, 0, 0, 0),(75, 6, 0, 0, 0, 0, 0, 0),(76, 6, 0, 0, 0, 0, 0, 0),(77, 6, 0, 0, 0, 0, 0, 0),(78, 6, 0, 0, 0, 0, 0, 0),(79, 6, 0, 0, 0, 0, 0, 0),(80, 6, 0, 0, 0, 0, 0, 0),(81, 6, 0, 0, 0, 0, 0, 0),(82, 6, 0, 0, 0, 0, 0, 0),(83, 6, 0, 0, 0, 0, 0, 0),(84, 6, 0, 0, 0, 0, 0, 0),(85, 6, 0, 0, 0, 0, 0, 0),(86, 6, 0, 0, 0, 0, 0, 0),(87, 6, 0, 0, 0, 0, 0, 0),(88, 6, 0, 0, 0, 0, 0, 0),(89, 6, 1, 100, 40, 100, 5, 0),(90, 6, 8, 10, 70, 0, 5, 0),(91, 7, 0, 0, 0, 0, 0, 0),(92, 7, 0, 0, 0, 0, 0, 0),(93, 7, 0, 0, 0, 0, 0, 0),(94, 7, 0, 0, 0, 0, 0, 0),(95, 7, 0, 0, 0, 0, 0, 0),(96, 7, 0, 0, 0, 0, 0, 0),(97, 7, 0, 0, 0, 0, 0, 0),(98, 7, 0, 0, 0, 0, 0, 0),(99, 7, 0, 0, 0, 0, 0, 0);
INSERT INTO `lettres_tcs` VALUES (100, 7, 0, 0, 0, 0, 0, 0),(101, 7, 0, 0, 0, 0, 0, 0),(102, 7, 0, 0, 0, 0, 0, 0),(103, 7, 0, 0, 0, 0, 0, 0),(104, 7, 0, 0, 0, 0, 0, 0),(105, 7, 0, 0, 0, 0, 0, 0),(106, 7, 0, 0, 0, 0, 0, 0),(107, 7, 0, 0, 0, 0, 0, 0),(108, 7, 0, 0, 0, 0, 0, 0),(109, 7, 0, 0, 0, 0, 0, 0),(110, 7, 0, 0, 0, 0, 0, 0),(111, 1, 0, 0, 0, 0, 0, 0),(112, 1, 0, 0, 0, 0, 0, 0),(113, 1, 0, 0, 0, 0, 0, 0),(114, 1, 0, 0, 0, 0, 0, 0),(115, 1, 0, 0, 0, 0, 0, 0),(116, 1, 0, 0, 0, 0, 0, 0),(117, 1, 0, 0, 0, 0, 0, 0),(118, 1, 0, 0, 0, 0, 0, 0),(119, 1, 0, 0, 0, 0, 0, 0),(120, 1, 0, 0, 0, 0, 0, 0),(121, 1, 0, 0, 0, 0, 0, 0),(122, 1, 0, 0, 0, 0, 0, 0),(123, 1, 0, 0, 0, 0, 0, 0),(124, 1, 0, 0, 0, 0, 0, 0),(125, 1, 0, 0, 0, 0, 0, 0),(126, 1, 0, 0, 0, 0, 0, 0),(127, 1, 0, 0, 0, 0, 0, 0),(128, 1, 0, 0, 0, 0, 0, 0),(129, 1, 0, 0, 0, 0, 0, 0),(130, 1, 0, 0, 0, 0, 0, 0),(131, 2, 10, 100, 180, 0, 5, 0),(132, 6, 0, 0, 0, 0, 0, 0),(133, 6, 0, 0, 0, 0, 0, 0),(134, 6, 0, 0, 0, 0, 0, 0),(135, 6, 0, 0, 0, 0, 0, 0),(136, 6, 0, 0, 0, 0, 0, 0),(137, 6, 0, 0, 0, 0, 0, 0),(138, 6, 0, 0, 0, 0, 0, 0),(139, 6, 0, 0, 0, 0, 0, 0),(140, 6, 0, 0, 0, 0, 0, 0),(141, 6, 0, 0, 0, 0, 0, 0),(142, 6, 0, 0, 0, 0, 0, 0),(143, 6, 0, 0, 0, 0, 0, 0),(144, 6, 0, 0, 0, 0, 0, 0),(145, 6, 0, 0, 0, 0, 0, 0),(146, 6, 0, 0, 0, 0, 0, 0),(147, 6, 0, 0, 0, 0, 0, 0),(148, 6, 0, 0, 0, 0, 0, 0),(149, 6, 0, 0, 0, 0, 0, 0),(150, 6, 0, 0, 0, 0, 0, 0),(151, 6, 0, 0, 0, 0, 0, 0),(152, 6, 0, 0, 0, 0, 0, 0),(153, 6, 0, 0, 0, 0, 0, 0),(154, 6, 0, 0, 0, 0, 0, 0),(155, 6, 0, 0, 0, 0, 0, 0),(156, 6, 0, 0, 0, 0, 0, 0),(157, 6, 0, 0, 0, 0, 0, 0),(158, 6, 0, 0, 0, 0, 0, 0),(159, 6, 0, 0, 0, 0, 0, 0),(160, 6, 0, 0, 0, 0, 0, 0),(161, 6, 0, 0, 0, 0, 0, 0),(162, 6, 0, 0, 0, 0, 0, 0),(163, 6, 0, 0, 0, 0, 0, 0),(164, 6, 0, 0, 0, 0, 0, 0),(165, 6, 0, 0, 0, 0, 0, 0),(166, 6, 0, 0, 0, 0, 0, 0),(167, 6, 0, 0, 0, 0, 0, 0),(168, 6, 0, 0, 0, 0, 0, 0),(169, 6, 0, 0, 0, 0, 0, 0),(170, 6, 0, 0, 0, 0, 0, 0),(171, 6, 0, 0, 0, 0, 0, 0),(172, 6, 0, 0, 0, 0, 0, 0),(173, 6, 0, 0, 0, 0, 0, 0),(174, 6, 0, 0, 0, 0, 0, 0),(175, 6, 0, 0, 0, 0, 0, 0),(176, 6, 0, 0, 0, 0, 0, 0),(177, 6, 0, 0, 0, 0, 0, 0),(178, 6, 0, 0, 0, 0, 0, 0),(179, 6, 0, 0, 0, 0, 0, 0),(180, 6, 0, 0, 0, 0, 0, 0),(181, 6, 0, 0, 0, 0, 0, 0),(182, 6, 0, 0, 0, 0, 0, 0),(183, 6, 0, 0, 0, 0, 0, 0),(184, 6, 0, 0, 0, 0, 0, 0),(185, 6, 0, 0, 0, 0, 0, 0),(186, 6, 0, 0, 0, 0, 0, 0),(187, 6, 0, 0, 0, 0, 0, 0),(188, 6, 0, 0, 0, 0, 0, 0),(189, 6, 0, 0, 0, 0, 0, 0),(190, 6, 0, 0, 0, 0, 0, 0),(191, 6, 0, 0, 0, 0, 0, 0),(192, 6, 0, 0, 0, 0, 0, 0),(193, 6, 0, 0, 0, 0, 0, 0),(194, 6, 0, 0, 0, 0, 0, 0),(195, 6, 0, 0, 0, 0, 0, 0),(196, 6, 0, 0, 0, 0, 0, 0),(197, 6, 0, 0, 0, 0, 0, 0),(198, 6, 0, 0, 0, 0, 0, 0),(199, 6, 0, 0, 0, 0, 0, 0),(200, 6, 0, 0, 0, 0, 0, 0);
INSERT INTO `edt_semaines` VALUES (1, 1, 'A', '0'),(2, 2, 'A', '0'),(3, 3, 'A', '0'),(4, 4, 'A', '0'),(5, 5, 'A', '0'),(6, 6, 'A', '0'),(7, 7, 'A', '0'),(8, 8, 'A', '0'),(9, 9, 'A', '0'),(10, 10, 'A', '0'),(11, 11, 'A', '0'),(12, 12, 'A', '0'),(13, 13, 'A', '0'),(14, 14, 'A', '0'),(15, 15, 'A', '0'),(16, 16, 'A', '0'),(17, 17, 'A', '0'),(18, 18, 'A', '0'),(19, 19, 'A', '0'),(20, 20, 'A', '0'),(21, 21, 'A', '0'),(22, 22, 'A', '0'),(23, 23, 'A', '0'),(24, 24, 'A', '0'),(25, 25, 'A', '0'),(26, 26, 'A', '0'),(27, 27, 'A', '0'),(28, 28, 'A', '0'),(29, 29, 'A', '0'),(30, 30, 'A', '0'),(31, 31, 'A', '0'),(32, 32, 'A', '0'),(33, 33, 'A', '0'),(34, 34, 'A', '0'),(35, 35, 'A', '0'),(36, 36, 'A', '0'),(37, 37, 'A', '0'),(38, 38, 'A', '0'),(39, 39, 'A', '0'),(40, 40, 'A', '0'),(41, 41, 'A', '0'),(42, 42, 'A', '0'),(43, 43, 'A', '0'),(44, 44, 'A', '0'),(45, 45, 'A', '0'),(46, 46, 'A', '0'),(47, 47, 'A', '0'),(48, 48, 'A', '0'),(49, 49, 'A', '0'),(50, 50, 'A', '0'),(51, 51, 'A', '0'),(52, 52, 'A', '0'),(53, 53, 'A', '0');
-INSERT INTO `droits` VALUES ('/bulletin/param_bull_pdf.php', 'V', 'V', 'F', 'V', 'F', 'F', 'F', 'F', 'page de gestion des parametres du bulletin pdf', '');
+INSERT INTO `droits` VALUES ('/bulletin/param_bull_pdf.php', 'V', 'V', 'V', 'V', 'F', 'F', 'F', 'F', 'page de gestion des parametres du bulletin pdf', '');
INSERT INTO `droits` VALUES ('/bulletin/bulletin_pdf_avec_modele_classe.php', 'V', 'V', 'V', 'V', 'F', 'F', 'F', 'F', 'page generant le bulletin pdf en fonction du modele affecte a la classe ', '');
INSERT INTO `setting` VALUES ('option_modele_bulletin', '2');
INSERT INTO `droits` VALUES ('/gestion/security_panel.php', 'V', 'F', 'F', 'F', 'F', 'F', 'F', 'F', 'Panneau de controle des atteintes a la securite', '');
@@ -664,7 +664,7 @@ INSERT INTO droits VALUES('/mod_notanet/saisie_app.php','F','V','F','F','F','F',
INSERT INTO droits VALUES('/mod_notanet/generer_csv.php','V','F','F','F','F','F','F','F', 'Notanet: Génération de CSV','');
INSERT INTO droits VALUES('/mod_notanet/choix_generation_csv.php','V','F','F','F','F','F','F','F', 'Notanet: Génération de CSV','');
INSERT INTO droits VALUES('/mod_notanet/verrouillage_saisie_app.php','V','F','F','F','F','F','F','F', 'Notanet: (Dé)Verrouillage des saisies','');
-INSERT INTO droits VALUES ('/bulletin/bull_index.php', 'V', 'V', 'F', 'V', 'F', 'F', 'F', 'F', 'Edition des bulletins', '1');
+INSERT INTO droits VALUES ('/bulletin/bull_index.php', 'V', 'V', 'V', 'V', 'F', 'F', 'F', 'F', 'Edition des bulletins', '1');
INSERT INTO droits VALUES ('/cahier_notes/visu_releve_notes_bis.php', 'F', 'V', 'V', 'V', 'V', 'V', 'V','F', 'Relevé de notes', '1');
INSERT INTO droits VALUES ('/cahier_notes/param_releve_html.php', 'V', 'V', 'F', 'V', 'F', 'F', 'F','F', 'Paramètres du relevé de notes', '1');
INSERT INTO droits VALUES ('/utilisateurs/creer_statut.php', 'V', 'F', 'F', 'F', 'F', 'F', 'F','F', 'Créer des statuts personnalisés', '');
@@ -123,7 +123,7 @@ function traite_requete($requete = "") {
$tab_req[] = "INSERT INTO droits VALUES ('/aid/modify_aid_new.php', 'V', 'V', 'V', 'V', 'F', 'F', 'F', 'F', 'Gestion des AID (profs, élèves)', '');";
$tab_req[] = "INSERT INTO droits VALUES ('/lib/confirm_query.php', 'V', 'V', 'V', 'V', 'F', 'F', 'F', 'F', '', '');";
$tab_req[] = "INSERT INTO droits VALUES ('/bulletin/edit.php', 'V', 'V', 'F', 'V', 'F', 'F', 'F', 'F', 'Edition des bulletins', '1');";
-$tab_req[] = "INSERT INTO droits VALUES ('/bulletin/param_bull.php', 'V', 'V', 'F', 'V', 'F', 'F', 'F', 'F', 'Edition des bulletins', '1');";
+$tab_req[] = "INSERT INTO droits VALUES ('/bulletin/param_bull.php', 'V', 'V', 'V', 'V', 'F', 'F', 'F', 'F', 'Edition des bulletins', '1');";
$tab_req[] = "INSERT INTO droits VALUES ('/bulletin/verif_bulletins.php', 'F', 'V', 'F', 'V', 'F', 'F', 'F', 'F', 'Vérification du remplissage des bulletins', '');";
$tab_req[] = "INSERT INTO droits VALUES ('/bulletin/verrouillage.php', 'F', 'F', 'F', 'V', 'F', 'F', 'F', 'F', '(de)Verrouillage des périodes', '');";
$tab_req[] = "INSERT INTO droits VALUES ('/cahier_notes_admin/index.php', 'V', 'F', 'F', 'F', 'F', 'F', 'F', 'F', 'Gestion des carnets de notes', '');";
@@ -382,7 +382,7 @@ function traite_requete($requete = "") {
$tab_req[] = "INSERT INTO `droits` VALUES ('/edt_organisation/admin_config_semaines.php', 'V', 'F', 'F', 'F', 'F', 'F', 'F', 'F', 'Configuration des types de semaines', '');";
$tab_req[] = "INSERT INTO `droits` VALUES ('/mod_absences/gestion/fiche_pdf.php', 'V', 'V', 'V', 'V', 'F', 'F', 'F', 'F', 'Fiche récapitulatif des absences', '');";
$tab_req[] = "INSERT INTO `droits` VALUES ('/mod_absences/lib/graph_double_ligne.php', 'V', 'V', 'V', 'V', 'F', 'F', 'F', 'F', 'graphique absence et retard sur le même graphique', '');";
-$tab_req[] = "INSERT INTO `droits` VALUES ('/bulletin/param_bull_pdf.php', 'V', 'V', 'F', 'V', 'F', 'F', 'F', 'F', 'page de gestion des parametres du bulletin pdf', '');";
+$tab_req[] = "INSERT INTO `droits` VALUES ('/bulletin/param_bull_pdf.php', 'V', 'V', 'V', 'V', 'F', 'F', 'F', 'F', 'page de gestion des parametres du bulletin pdf', '');";
$tab_req[] = "INSERT INTO `droits` VALUES ('/bulletin/bulletin_pdf_avec_modele_classe.php', 'V', 'V', 'V', 'V', 'F', 'F', 'F', 'F', 'page generant le bulletin pdf en fonction du modele affecte a la classe ', '');";
$tab_req[] = "INSERT INTO `droits` VALUES ('/gestion/security_panel.php', 'V', 'F', 'F', 'F', 'F', 'F', 'F', 'F', 'panneau de controle des atteintes a la securite', '');";
$tab_req[] = "INSERT INTO `droits` VALUES ('/gestion/security_policy.php', 'V', 'F', 'F', 'F', 'F', 'F', 'F', 'F', 'definition des politiques de securite', '');";
@@ -525,7 +525,7 @@ function traite_requete($requete = "") {
$tab_req[] = "INSERT INTO droits VALUES('/mod_notanet/choix_generation_csv.php','V','F','F','F','F','F','F','F', 'Notanet: Génération de CSV','');";
$tab_req[] = "INSERT INTO droits VALUES('/mod_notanet/verrouillage_saisie_app.php','V','F','F','F','F','F','F','F', 'Notanet: (Dé)Verrouillage des saisies','');";
-$tab_req[] = "INSERT INTO droits VALUES ('/bulletin/bull_index.php', 'V', 'V', 'F', 'V', 'F', 'F', 'V', 'F', 'Edition des bulletins', '1');";
+$tab_req[] = "INSERT INTO droits VALUES ('/bulletin/bull_index.php', 'V', 'V', 'V', 'V', 'F', 'F', 'V', 'F', 'Edition des bulletins', '1');";
$tab_req[] = "INSERT INTO droits VALUES ('/cahier_notes/visu_releve_notes_bis.php', 'F', 'V', 'V', 'V', 'V', 'V', 'V','F', 'Relevé de notes', '1');";
$tab_req[] = "INSERT INTO droits VALUES ('/cahier_notes/param_releve_html.php', 'V', 'V', 'F', 'V', 'F', 'F', 'F','F', 'Paramètres du relevé de notes', '1');";

0 comments on commit c319036

Please sign in to comment.