Skip to content
Snippets Groups Projects
Commit 993b67bf authored by efalcy's avatar efalcy
Browse files

Affichage de l'historique : suppression de l'option "retirer"

parent 93cf4319
No related merge requests found
......@@ -35,6 +35,28 @@ class ZendAfi_View_Helper_TagHistoriqueRecherche extends ZendAfi_View_Helper_Tag
$this->_html='<div>'.$this->view->_('Rubrique : ').$libelle.' </div>';
}
public function visitTextInput($name, $operateur, $type_recherche, $value) {
if (!$operateur)
$libelle_operateur = " et ";
else $libelle_operateur = $this->_libelles_operateur[$operateur];
$this->htmlAppend(
$libelle_operateur.
$this->_libelles_criteres[$name].
' : '.
$value);
}
public function visitFacette($facette) {
$libelle = Class_Codification::getInstance()->getNomFacette($facette).': '.Class_Codification::getInstance()->getLibelleFacette($facette);
$facettes = array_diff($this->_current_facettes, [$facette] );
$url=$this->_criteres_recherche->getUrlRetourListe();
$url['facettes']=implode('-', $facettes);
$url = array_filter($url);
$this->htmlAppend($libelle);
}
public function htmlAppend($text) {
......
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