Skip to content
Snippets Groups Projects
Commit 0be6e260 authored by jgaimard's avatar jgaimard
Browse files

variables dewey

parent e41c2ef8
Branches
Tags
No related merge requests found
......@@ -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.',
......
......@@ -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());
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment