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

Recherche : Correction lien vers auteur + affichage import thesaurus

parent 862b6e9d
No related merge requests found
......@@ -199,11 +199,17 @@ class Admin_SystemeController extends Zend_Controller_Action {
->setAttrib('enctype', 'multipart/form-data')
->setAction($this->view->url(array('action' => 'importThesaurus')))
->addElement($this->view->newFormElementFile('importCsv', 'csv'), 'importCsv')
->addElement('text', 'code_thesaurus', ['label' => 'Code du thesaurus (ex : genreelectre)',
->addElement('text', 'code_thesaurus', ['label' => 'Code du thesaurus (ex : genreelectre) :',
'size' => 30 ,
'allowEmpty' => false])
->addElement('text', 'libelle_thesaurus', ['label' => 'Libellé du thesaurus '])
->addElement('submit', 'submit', array('label' => 'Importer le fichier Electre en CSV'));
->addElement('text', 'libelle_thesaurus', ['label' => 'Libellé du thesaurus :'])
->addDisplayGroup(['code_thesaurus','libelle_thesaurus','importCsv'],
'thesaurus',
array('legend' => 'Général'))
->addElement('submit', 'submit', array('label' => 'Importer le fichier Electre en CSV')
)
;
}
......
Le fichier doit etre un fichier CSV avec comme séparateurs ; et "
<?php echo $this->form_import_thesaurus; ?>
\ No newline at end of file
<?php echo $this->renderForm($this->form_import_thesaurus); ?>
\ No newline at end of file
......@@ -22,7 +22,6 @@ class ZendAfi_View_Helper_Notice_LienRebondAuteur extends Zend_View_Helper_HtmlE
public function notice_LienRebondAuteur($notice) {
return $this->view->url(['controller' => 'recherche',
'action' => 'simple',
'facette' => 'reset',
'code_rebond' => $notice->getCodeFacette('A')]);
}
}
......
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