* SACoche est distribué dans l’espoir qu’il vous sera utile, mais SANS AUCUNE GARANTIE : * sans même la garantie implicite de COMMERCIALISABILITÉ ni d’ADÉQUATION À UN OBJECTIF PARTICULIER. * Consultez la Licence Générale Publique GNU pour plus de détails. * * Vous devriez avoir reçu une copie de la Licence Générale Publique GNU avec SACoche ; * si ce n’est pas le cas, consultez : <http://www.gnu.org/licenses/>. * */ if(!defined('SACoche')) {exit('Ce fichier ne peut être appelé directement !');} ?> <?php // Pas de passage par la page ajax.php, mais pas besoin ici de protection contre attaques type CSRF $selection = (isset($_POST['listing_ids'])) ? explode(',',$_POST['listing_ids']) : FALSE ; // demande d'exports depuis structure_multi.php $select_structure = Form::afficher_select(DB_WEBMESTRE_SELECT::DB_OPT_structures_sacoche() , $select_nom=FALSE , $option_first='non' , $selection , $optgroup='oui') ; ?> <p><span class="manuel"><a class="pop_up" href="<?php echo SERVEUR_DOCUMENTAIRE ?>?fichier=support_webmestre__structure_transfert">DOC : Transfert d'établissements (multi-structures)</a></span></p> <hr /> <h2>Exporter des établissements (données & bases)</h2> <form action="#" method="post" id="form_exporter"><fieldset> <label class="tab" for="f_basic">Structure(s) <img alt="" src="./_img/bulle_aide.png" title="Utiliser la touche « Shift » pour une sélection multiple contiguë.<br />Utiliser la touche « Ctrl » pour une sélection multiple non contiguë." /> :</label><select id="f_base" name="f_base" multiple size="10"><?php echo $select_structure ?></select><br /> <span class="tab"></span><button id="bouton_exporter" type="button" class="dump_export">Créer les fichiers d'export.</button><label id="ajax_msg_export"> </label> <div id="div_info_export" class="hide"> <ul id="puce_info_export" class="puce"><li></li></ul> <span id="ajax_export_num" class="hide"></span> <span id="ajax_export_max" class="hide"></span>
* sans même la garantie implicite de COMMERCIALISABILITÉ ni d’ADÉQUATION À UN OBJECTIF PARTICULIER. * Consultez la Licence Générale Publique GNU pour plus de détails. * * Vous devriez avoir reçu une copie de la Licence Générale Publique GNU avec SACoche ; * si ce n’est pas le cas, consultez : <http://www.gnu.org/licenses/>. * */ if(!defined('SACoche')) {exit('Ce fichier ne peut être appelé directement !');} if(empty($page_maitre)) {exit('Ce fichier ne peut être appelé directement !');} // Formulaire de choix d'une période (utilisé deux fois) // Formulaire des classes $tab_groupes = DB_STRUCTURE_COMMUN::DB_OPT_classes_etabl(FALSE /*with_ref*/); $select_periode = Form::afficher_select(DB_STRUCTURE_COMMUN::DB_OPT_periodes_etabl() , $select_nom=FALSE , $option_first='oui' , $selection=FALSE , $optgroup='non'); $select_groupe = Form::afficher_select($tab_groupes , $select_nom='f_groupe' , $option_first='oui' , $selection=FALSE , $optgroup='non'); // Fabrication du tableau javascript "tab_groupe_periode" pour les jointures groupes/périodes list( $tab_groupe_periode_js ) = Form::fabriquer_tab_js_jointure_groupe( $tab_groupes , TRUE /*return_jointure_periode*/ , FALSE /*return_jointure_niveau*/ ); ?> <script type="text/javascript"> var profil = "<?php echo $_SESSION['USER_PROFIL'] ?>"; var date_mysql="<?php echo TODAY_MYSQL ?>"; <?php echo $tab_groupe_periode_js ?> </script> <!-- <div><span class="manuel"><a class="pop_up" href="<?php echo SERVEUR_DOCUMENTAIRE ?>?fichier=releves_bilans__reglages_syntheses_bilans#toggle_officiel_mise_en_page">DOC : Réglages synthèses & bilans → Mise en page des bilans officiels</a></span></div> --> <div class="travaux">Page en construction ; documentation et finalisation à venir prochainement !</div> <hr />
$tab_periodes = DB_STRUCTURE_COMMUN::DB_OPT_periodes_etabl(); $select_tri_objet = Form::afficher_select(Form::$tab_select_tri_objet , $select_nom='f_tri_objet' , $option_first='non' , $selection=Form::$tab_choix['tableau_tri_objet'] , $optgroup='non'); $select_tri_mode = Form::afficher_select(Form::$tab_select_tri_mode , $select_nom='f_tri_mode' , $option_first='non' , $selection=Form::$tab_choix['tableau_tri_mode'] , $optgroup='non'); $select_remplissage = Form::afficher_select(Form::$tab_select_remplissage , $select_nom='f_remplissage' , $option_first='non' , $selection=Form::$tab_choix['remplissage'] , $optgroup='non'); $select_colonne_bilan = Form::afficher_select(Form::$tab_select_colonne_bilan , $select_nom='f_colonne_bilan' , $option_first='non' , $selection=Form::$tab_choix['colonne_bilan'] , $optgroup='non'); $select_colonne_vide = Form::afficher_select(Form::$tab_select_colonne_vide , $select_nom='f_colonne_vide' , $option_first='non' , $selection=Form::$tab_choix['colonne_vide'] , $optgroup='non'); $select_matiere = Form::afficher_select($tab_matieres , $select_nom='f_matiere' , $option_first='oui' , $selection=Form::$tab_choix['matiere_id'] , $optgroup='non'); $select_groupe = Form::afficher_select($tab_groupes , $select_nom='f_groupe' , $option_first=$of_g , $selection=$sel_g , $optgroup=$og_g); $select_periode = Form::afficher_select($tab_periodes , $select_nom='f_periode' , $option_first='val' , $selection=FALSE , $optgroup='non'); $select_orientation = Form::afficher_select(Form::$tab_select_orientation , $select_nom='f_orientation' , $option_first='non' , $selection=Form::$tab_choix['orientation'] , $optgroup='non'); $select_marge_min = Form::afficher_select(Form::$tab_select_marge_min , $select_nom='f_marge_min' , $option_first='non' , $selection=Form::$tab_choix['marge_min'] , $optgroup='non'); $select_couleur = Form::afficher_select(Form::$tab_select_couleur , $select_nom='f_couleur' , $option_first='non' , $selection=Form::$tab_choix['couleur'] , $optgroup='non'); $select_legende = Form::afficher_select(Form::$tab_select_legende , $select_nom='f_legende' , $option_first='non' , $selection=Form::$tab_choix['legende'] , $optgroup='non'); $select_cases_nb = Form::afficher_select(Form::$tab_select_cases_nb , $select_nom='f_cases_nb' , $option_first='non' , $selection=Form::$tab_choix['cases_nb'] , $optgroup='non'); $select_cases_larg = Form::afficher_select(Form::$tab_select_cases_size , $select_nom='f_cases_larg' , $option_first='non' , $selection=Form::$tab_choix['cases_largeur'] , $optgroup='non'); // Affichage ou non du formulaire de période if($of_g == 'oui') { $class_form_periode='hide'; } elseif(Form::$tab_choix['type_generique']) { $class_form_periode='hide'; } elseif(Form::$tab_choix['type_synthese']) { $class_form_periode='show'; } elseif(Form::$tab_choix['type_individuel'])
* * SACoche est distribué dans l’espoir qu’il vous sera utile, mais SANS AUCUNE GARANTIE : * sans même la garantie implicite de COMMERCIALISABILITÉ ni d’ADÉQUATION À UN OBJECTIF PARTICULIER. * Consultez la Licence Générale Publique GNU pour plus de détails. * * Vous devriez avoir reçu une copie de la Licence Générale Publique GNU avec SACoche ; * si ce n’est pas le cas, consultez : <http://www.gnu.org/licenses/>. * */ if(!defined('SACoche')) {exit('Ce fichier ne peut être appelé directement !');} if(empty($page_maitre)) {exit('Ce fichier ne peut être appelé directement !');} // Fabrication des éléments select du formulaire, pour pouvoir prendre un référentiel d'une autre matière ou d'un autre niveau (demandé...). $select_famille_matiere = Form::afficher_select(DB_STRUCTURE_COMMUN::DB_OPT_familles_matieres() , $select_nom='f_famille_matiere' , $option_first='oui' , $selection=FALSE , $optgroup='oui'); $select_famille_niveau = Form::afficher_select(DB_STRUCTURE_COMMUN::DB_OPT_familles_niveaux() , $select_nom='f_famille_niveau' , $option_first='oui' , $selection=FALSE , $optgroup='oui'); ?> <form action="#" method="post"> <p> <label class="tab" for="f_famille_matiere">Famille de matières :</label><?php echo $select_famille_matiere ?><label id="ajax_maj_matiere""> </label><br /> <label class="tab" for="f_matiere">Matières :</label><select id="f_matiere" name="f_matiere"><option value="0">Toutes les matières</option></select> </p> <p> <label class="tab" for="f_famille_niveau">Famille de niveaux :</label><?php echo $select_famille_niveau ?><label id="ajax_maj_niveau"> </label><br /> <label class="tab" for="f_niveau">Niveau :</label><select id="f_niveau" name="f_niveau"><option value="0">Tous les niveaux</option></select> </p> <fieldset> <label class="tab" for="f_structure"><img alt="" src="./_img/bulle_aide.png" title="Seules les structures partageant au moins un référentiel apparaissent." /> Structure :</label><select id="f_structure" name="f_structure"><option></option></select><br /> <span class="tab"></span><button id="rechercher" type="button" class="rechercher" disabled>Lancer / Actualiser la recherche.</button><label id="ajax_msg"> </label> </fieldset>
* sans même la garantie implicite de COMMERCIALISABILITÉ ni d’ADÉQUATION À UN OBJECTIF PARTICULIER. * Consultez la Licence Générale Publique GNU pour plus de détails. * * Vous devriez avoir reçu une copie de la Licence Générale Publique GNU avec SACoche ; * si ce n’est pas le cas, consultez : <http://www.gnu.org/licenses/>. * */ if(!defined('SACoche')) {exit('Ce fichier ne peut être appelé directement !');} $TITRE = "Personnels de direction"; // Récupérer d'éventuels paramètres pour restreindre l'affichage // Pas de passage par la page ajax.php, mais pas besoin ici de protection contre attaques type CSRF $statut = (isset($_POST['f_statut'])) ? Clean::entier($_POST['f_statut']) : 1 ; // Construire et personnaliser le formulaire pour restreindre l'affichage $select_f_statuts = Form::afficher_select(Form::$tab_select_statut , $select_nom='f_statut' , $option_first='non' , $selection=$statut , $optgroup='non'); ?> <p><span class="manuel"><a class="pop_up" href="<?php echo SERVEUR_DOCUMENTAIRE ?>?fichier=support_administrateur__gestion_directeurs">DOC : Gestion des directeurs</a></span></p> <form action="./index.php?page=administrateur_directeur&section=gestion" method="post" id="form0"> <div><label class="tab" for="f_statut">Statut :</label><?php echo $select_f_statuts ?></div> </form> <form action="#" method="post" id="form1"> <hr /> <table class="form t9 hsort"> <thead> <tr> <th class="nu"><input name="leurre" type="image" alt="leurre" src="./_img/auto.gif" /><input id="all_check" type="image" alt="Tout cocher." src="./_img/all_check.gif" title="Tout cocher." /><br /><input id="all_uncheck" type="image" alt="Tout décocher." src="./_img/all_uncheck.gif" title="Tout décocher." /></th> <th>Id. ENT</th>
$multiple_eleve = ''; $select_eleves = '<option value="'.$_SESSION['USER_ID'].'" selected>'.html($_SESSION['USER_NOM'].' '.$_SESSION['USER_PRENOM']).'</option>'; $of_g = 'non'; $sel_g = TRUE; $og_g = 'non'; $class_form_eleve = 'hide'; $class_option_groupe = 'show'; $class_option_mode = 'hide'; $socle_PA = (mb_substr_count($_SESSION['DROIT_SOCLE_POURCENTAGE_ACQUIS'],$_SESSION['USER_PROFIL'])) ? $socle_PA : '<del>Pourcentage d\'items acquis</del>' ; $socle_EV = (mb_substr_count($_SESSION['DROIT_SOCLE_ETAT_VALIDATION'],$_SESSION['USER_PROFIL'])) ? $socle_EV : '<del>État de validation</del>' ; } $tab_paliers = DB_STRUCTURE_COMMUN::DB_OPT_paliers_etabl(); $tab_matieres = DB_STRUCTURE_COMMUN::DB_OPT_matieres_etabl(); $of_p = (count($tab_paliers)<2) ? 'non' : 'oui' ; $select_palier = Form::afficher_select($tab_paliers , $select_nom='f_palier' , $option_first=$of_p , $selection=Form::$tab_choix['palier_id'] , $optgroup='non'); $select_groupe = Form::afficher_select($tab_groupes , $select_nom='f_groupe' , $option_first=$of_g , $selection=$sel_g , $optgroup=$og_g); $select_matiere = Form::afficher_select($tab_matieres , $select_nom=FALSE , $option_first='non' , $selection=TRUE , $optgroup='non'); $select_marge_min = Form::afficher_select(Form::$tab_select_marge_min , $select_nom='f_marge_min' , $option_first='non' , $selection=Form::$tab_choix['marge_min'] , $optgroup='non'); $select_couleur = Form::afficher_select(Form::$tab_select_couleur , $select_nom='f_couleur' , $option_first='non' , $selection=Form::$tab_choix['couleur'] , $optgroup='non'); $select_legende = Form::afficher_select(Form::$tab_select_legende , $select_nom='f_legende' , $option_first='non' , $selection=Form::$tab_choix['legende'] , $optgroup='non'); ?> <p><span class="manuel"><a class="pop_up" href="<?php echo SERVEUR_DOCUMENTAIRE ?>?fichier=releves_bilans__releve_socle">DOC : Relevé de maîtrise du socle.</a></span></p> <form action="#" method="post" id="form_select"><fieldset> <label class="tab" for="f_palier">Palier :</label><?php echo $select_palier ?><input type="hidden" id="f_palier_nom" name="f_palier_nom" value="" /><label id="ajax_maj_pilier"> </label><br /> <label class="tab" for="f_pilier"><img alt="" src="./_img/bulle_aide.png" title="Utiliser la touche « Shift » pour une sélection multiple contiguë.<br />Utiliser la touche « Ctrl » pour une sélection multiple non contiguë." /> Compétence(s) :</label><select id="f_pilier" name="f_pilier[]" multiple size="7" class="hide"><option></option></select> <p class="<?php echo $class_form_eleve ?>"> <label class="tab" for="f_groupe">Classe / groupe :</label><?php echo $select_groupe ?><input type="hidden" id="f_groupe_nom" name="f_groupe_nom" value="" /><label id="ajax_maj"> </label><br /> <label class="tab" for="f_eleve"><img alt="" src="./_img/bulle_aide.png" title="Utiliser la touche « Shift » pour une sélection multiple contiguë.<br />Utiliser la touche « Ctrl » pour une sélection multiple non contiguë." /> Élève(s) :</label><select id="f_eleve" name="f_eleve[]"<?php echo $multiple_eleve ?>><?php echo $select_eleves ?></select> </p> <div id="option_groupe" class="<?php echo $class_option_groupe ?>"> <label class="tab">Restriction :</label><label for="f_only_presence"><input type="checkbox" id="f_only_presence" name="f_only_presence" value="1"<?php echo $check_only_presence ?> /> Uniquement les éléments ayant fait l'objet d'une évaluation ou d'une validation</label><br /> <label class="tab"><img alt="" src="./_img/bulle_aide.png" title="Pour le format html, le détail des items peut être affiché." /> Infos items :</label><label for="f_coef"><input type="checkbox" id="f_coef" name="f_coef" value="1"<?php echo $check_aff_coef ?> /> Coefficients</label> <label for="f_socle"><input type="checkbox" id="f_socle" name="f_socle" value="1"<?php echo $check_aff_socle ?> /> Appartenance au socle</label> <label for="f_lien"><input type="checkbox" id="f_lien" name="f_lien" value="1"<?php echo $check_aff_lien ?> /> Liens (ressources pour travailler)</label> <label for="f_start"><input type="checkbox" id="f_start" name="f_start" value="1"<?php echo $check_aff_start ?> /> Détails affichés par défaut</label><br /> <label class="tab">Indications :</label><?php echo $socle_PA.' '.$socle_EV ?>
{ $tab_bulletin_input[] = $eleve_id.'_'.($tab_moyenne_scores_eleve[$matiere_id][$eleve_id]/5); } } } if($bulletin_periode) { if(count($tab_bulletin_input)) { if($format=='matiere') { $bulletin_matiere = '['.html($matiere_nom).']<input type="hidden" id="f_rubrique" name="f_rubrique" value="'.$matiere_id.'" />'; } else { $bulletin_matiere = Form::afficher_select(DB_STRUCTURE_COMMUN::DB_OPT_matieres_professeur($_SESSION['USER_ID']) , 'f_rubrique' /*select_nom*/ , FALSE /*option_first*/ , FALSE /*selection*/ , '' /*optgroup*/); } $bulletin_form = '<li><form id="form_report_bulletin"><fieldset><button id="bouton_report" type="button" class="eclair">Report forcé</button> vers le bulletin <em>SACoche</em> '.$bulletin_periode.'<input type="hidden" id="f_eleves_moyennes" name="f_eleves_moyennes" value="'.implode('x',$tab_bulletin_input).'" /> '.$bulletin_matiere.'</fieldset></form><label id="ajax_msg_report"></label></li>'; $bulletin_alerte = '<div class="danger">Un report forcé interrompt le report automatique des moyennes pour le bulletin et la matière concernée.</div>' ; } else { $bulletin_form = '<li>Report forcé vers un bulletin sans objet : aucune moyenne chiffrée n\'a pu être produite.</li>'; } } $bulletin_head = '<thead><tr><th>Elève</th><th>Moyenne '.$info_ponderation_complete.' sur 20<br />(des scores d\'acquisitions)</th><th>Élément d\'appréciation<br />(pourcentage d\'items acquis)</th></tr></thead>'."\r\n"; $bulletin_body = '<tbody>'."\r\n".$bulletin_body.'</tbody>'."\r\n"; $bulletin_foot = '<tfoot><tr><th>Moyenne '.$info_ponderation_complete.' sur 20</th><th>'.sprintf("%04.1f",$moyenne_moyenne_scores/5).'</th><th>'.$moyenne_pourcentage_acquis.'% d\'items acquis</th></tr></tfoot>'."\r\n"; $bulletin_html = '<h1>Bilan disciplinaire</h1>'; $bulletin_html .= '<h2>'.html($matiere_nom.' - '.$groupe_nom).'</h2>'; $bulletin_html .= '<h2>'.$texte_periode.'</h2>';