Skip to content
Snippets Groups Projects
Commit c07b3da8 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

dev #35088 refacto profilte prefs

parent 882c8c70
Branches
Tags
6 merge requests!1659Master,!1622Dev#35088 oai import in cosmogramme,!1619Dev#35088 oai import in cosmogramme,!1611Dev#35088 oai import in cosmogramme,!1607Dev#40786 zendification de l ecran de parametrages des profils de donnees,!1606Dev#40786 zendification de l ecran de parametrages des profils de donnees
......@@ -135,7 +135,7 @@ class ZendAfi_Form_Cosmo_DataProfile extends ZendAfi_Form {
protected function _addRecordsSettings() {
$this->_draggableGroup('csv_item_fields', Class_IntProfilDonnees::getLightRecordsFields(), $this->_('des notices'));
$this->_draggableGroup(Class_IntProfilDonnees::PROFILE_ITEM_FIELDS, Class_IntProfilDonnees::getCSVRecordsFields(), $this->_('des notices'));
return $this->_recordsGroup();
}
......@@ -145,9 +145,9 @@ class ZendAfi_Form_Cosmo_DataProfile extends ZendAfi_Form {
return $this
->_recordItemFields()
->_recordItemDocType()
->_recordNoveltyDate()
->_recordItemSerial()
->_recordItemInterest()
->_recordNoveltyDate();
->_recordItemInterest();
}
......@@ -472,7 +472,7 @@ class ZendAfi_Form_Cosmo_DataProfile extends ZendAfi_Form {
&& (Class_IntProfilDonnees::FORMAT_UNIMARC === $current_format
|| Class_IntProfilDonnees::FORMAT_MARC21 === $current_format
|| Class_IntProfilDonnees::FORMAT_UNIMARC_XML === $current_format))
return sprintf($show, 'item');
return sprintf($show, 'fieldset-item');
if(Class_IntProfilDonnees::FT_RECORDS === $current_data_type
&& Class_IntProfilDonnees::FORMAT_XML !== $current_format)
......
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