diff --git a/cosmogramme/php/_init.php b/cosmogramme/php/_init.php index 29b3fe846d0865b5347cb01d55666252c2ad7840..251cce173d1a2c332390be03f7016077ba9a4d89 100644 --- a/cosmogramme/php/_init.php +++ b/cosmogramme/php/_init.php @@ -1,7 +1,7 @@ <?PHP // Constantes -define("VERSION_COSMOGRAMME","6.41"); -define("PATCH_LEVEL","189"); +define("VERSION_COSMOGRAMME","6.42"); +define("PATCH_LEVEL","190"); define("APPLI","cosmogramme"); define("COSMOPATH", "/var/www/html/vhosts/opac2/www/htdocs"); define("CRLF", chr(13) . chr(10)); diff --git a/cosmogramme/php/_menu.php b/cosmogramme/php/_menu.php index 0d9a85746831d517f74ed5e33c68afb6336a5240..a10bbac8b9329cae9ecbb521f38339c0ff6962ec 100644 --- a/cosmogramme/php/_menu.php +++ b/cosmogramme/php/_menu.php @@ -91,22 +91,22 @@ else ?> <div class="menu_section">Configurations</div> <?php + ligneMenu("Variables","config_variables.php"); ligneMenu("Démarrer un nouvel OPAC","integre_generation_pergame.php"); - ligneMenu("Plannification des intégrations","integre_plannification.php"); - ligneMenu("Intégrations programmées","config_integrations.php"); + ligneMenu("Annexes","codif_annexe.php"); ligneMenu("Profils de données","config_profil_donnees.php"); - ligneMenu("Variables","config_variables.php"); + ligneMenu("Intégrations programmées","config_integrations.php"); + ligneMenu("Plannification des intégrations","integre_plannification.php"); ?> <div class="menu_section">Autorités et codifications</div> <?php + ligneMenu("Sections","codif_section.php"); + ligneMenu("Genres","codif_genre.php"); + ligneMenu("Emplacements","codif_emplacement.php"); ligneMenu("Auteurs","codif_auteur.php"); ligneMenu("Matières","codif_matiere.php"); ligneMenu("Indices Dewey","codif_dewey.php"); ligneMenu("Indices PCDM4","codif_pcdm4.php"); - ligneMenu("Sections","codif_section.php"); - ligneMenu("Genres","codif_genre.php"); - ligneMenu("Emplacements","codif_emplacement.php"); - ligneMenu("Annexes","codif_annexe.php"); ?> <div class="menu_section">Statistiques</div> <?php diff --git a/cosmogramme/php/config_variables.php b/cosmogramme/php/config_variables.php index bb070cfde2fb02d4e231bb862a642969b7040a0a..cfb860a8efa161042a65fdcc3bb0cc1b5f29cedd 100644 --- a/cosmogramme/php/config_variables.php +++ b/cosmogramme/php/config_variables.php @@ -170,7 +170,7 @@ $lib_groupe[6]="Pointeurs"; $lib_groupe[7]="Chemins et variables système"; // Requete -$data=$sql->fetchAll("select * from variables order by groupe,ordre"); +$data=$sql->fetchAll("select * from variables where hidden=false order by groupe,ordre"); foreach($data as $ligne) { // Changement de groupe diff --git a/cosmogramme/sql/patch/patch_190.sql b/cosmogramme/sql/patch/patch_190.sql new file mode 100644 index 0000000000000000000000000000000000000000..380b4cb90d03e8e726b172ee455c9fd03248a83a --- /dev/null +++ b/cosmogramme/sql/patch/patch_190.sql @@ -0,0 +1,41 @@ +update variables set ordre=0 where clef='site_retrait_resa'; +update variables set ordre=1 where clef='mode_doublon'; +update variables set ordre=1 where clef='ean_345'; +update variables set ordre=2 where clef='unicite_code_barres'; +update variables set ordre=2 where clef='controle_codes_barres'; + +update variables set ordre=1 where clef='mail_admin'; +update variables set ordre=60 where clef='portail_nom_affichage'; + +update variables set ordre=1 where clef='types_docs'; +update variables set ordre=2 where clef='sigb'; + + +update variables set ordre=1 where clef='unimarc_zone_titre'; +update variables set ordre=2 where clef='unimarc_zone_matiere'; +update variables set ordre=19 where clef='champs_sup'; +update variables set ordre=20 where clef='champ_code_barres'; +update variables set ordre=21 where clef='champ_cote'; + +alter table variables add column hidden boolean default false; + + +update variables set hidden=true where clef in ( + 'sigb', + 'comm_sigb', + 'id_article_periodique', + 'nature_docs', + 'code_qualite', + 'import_type_operation', + 'import_format', + 'transco_accents', + 'format_z3950', + 'format_query_z39.50', + 'oui_non', + 'champ_cote', + 'champ_code_barres', + 'champs_abonne', + 'champs_pret', + 'champs_reservation', + 'champs_ascii' +);