From 0be6e260af1cab551fe71647c33a191e21aaf711 Mon Sep 17 00:00:00 2001 From: jgaimard <jgaimard@git-test.afi-sa.fr> Date: Mon, 16 Apr 2012 08:55:45 +0000 Subject: [PATCH] variables dewey --- application/modules/admin/controllers/IndexController.php | 2 ++ application/modules/opac/controllers/RechercheController.php | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/application/modules/admin/controllers/IndexController.php b/application/modules/admin/controllers/IndexController.php index 369b5883a3a..155991f6b25 100644 --- a/application/modules/admin/controllers/IndexController.php +++ b/application/modules/admin/controllers/IndexController.php @@ -121,6 +121,8 @@ class Admin_IndexController extends Zend_Controller_Action { 'AVIS_MAX_SAISIE' => 'Nombre de caractères maximum autorisé à saisir dans les avis.', 'AVIS_MIN_SAISIE' => 'Nombre de caractères minimum autorisé à saisir dans les avis.', 'BLOG_MAX_NB_CARAC' => "Nombre de caractères maximum à afficher dans le bloc critiques.", + 'PCDM4_LIB' => "Libellé affichage pour la PCDM4", + 'DEWEY_LIB' => "Libellé affichage pour la Dewey", 'NB_AFFICH_AVIS_PAR_AUTEUR' => "Nombre d'avis maximum à afficher par utilisateur.", 'CLEF_GOOGLE_MAP' => 'Clef d\'activation pour le plan d\'accès google map. <a target="_blank" href="http://code.google.com/apis/maps/signup.html">Obtenir la clé google map</a>', 'MODO_AVIS' => 'Modération des avis des lecteurs.<br /> 0 = Validation a priori<br /> 1 = Validation a posteriori.', diff --git a/application/modules/opac/controllers/RechercheController.php b/application/modules/opac/controllers/RechercheController.php index b48af25ed03..818c9f3ba53 100644 --- a/application/modules/opac/controllers/RechercheController.php +++ b/application/modules/opac/controllers/RechercheController.php @@ -99,10 +99,10 @@ class RechercheController extends Zend_Controller_Action foreach($bibs as $bib) $_SESSION["recherche"]["selection"]["selection_bib"].=" B".$bib; } - // Selection de sections liee au profil + // Selection de types de docs lies au profil if($profil->getSelTypeDoc() and !$_SESSION["recherche"]["selection"]["type_doc"]) $_SESSION["recherche"]["selection"]["type_doc"]=str_replace(";",",",$profil->getSelTypeDoc()); - // Selection de types de docs liee au profil + // Selection de sections liees au profil unset($_SESSION["recherche"]["selection"]["selection_sections"]); if($profil->getSelSection()) { $sections=explode(",",$profil->getSelSection()); -- GitLab