@@ -147,6 +165,9 @@ class ConfigForm extends Form implements TranslatorAwareInterface
...
@@ -147,6 +165,9 @@ class ConfigForm extends Form implements TranslatorAwareInterface
'absolute_site_url'=>'Absolute site url',// @translate
'absolute_site_url'=>'Absolute site url',// @translate
],
],
],
],
'attributes'=>[
'id'=>'oaipmhrepository_append_identifier_site',
],
]);
]);
$valueOptions=$this->getOaiSetFormats();
$valueOptions=$this->getOaiSetFormats();
...
@@ -160,6 +181,7 @@ class ConfigForm extends Form implements TranslatorAwareInterface
...
@@ -160,6 +181,7 @@ class ConfigForm extends Form implements TranslatorAwareInterface
'value_options'=>$valueOptions,
'value_options'=>$valueOptions,
],
],
'attributes'=>[
'attributes'=>[
'id'=>'oaipmhrepository_oai_set_format',
'required'=>'true',
'required'=>'true',
],
],
]);
]);
...
@@ -171,7 +193,10 @@ class ConfigForm extends Form implements TranslatorAwareInterface
...
@@ -171,7 +193,10 @@ class ConfigForm extends Form implements TranslatorAwareInterface
'label'=>'Genericize dcterms',// @translate
'label'=>'Genericize dcterms',// @translate
'info'=>$this->translate('Use refined terms for Dublin Core elements, for example dcterms:abstract will be merged with dc:description.')// @translate
'info'=>$this->translate('Use refined terms for Dublin Core elements, for example dcterms:abstract will be merged with dc:description.')// @translate
.$this->translate('It allows to expose all metadata in the standard oai_dc.')// @translate
.$this->translate('It allows to expose all metadata in the standard oai_dc.')// @translate
.$this->translate('For other merges, the event "oaipmhrepository.values" can be used.'),// @translate
.$this->translate('For other merges, the event "oaipmhrepository.values.pre" can be used.'),// @translate
],
'attributes'=>[
'id'=>'oaipmhrepository_generic_dcterms',
],
],
]);
]);
...
@@ -188,6 +213,9 @@ class ConfigForm extends Form implements TranslatorAwareInterface
...
@@ -188,6 +213,9 @@ class ConfigForm extends Form implements TranslatorAwareInterface
// 'mods' => 'Mods',
// 'mods' => 'Mods',
],
],
],
],
'attributes'=>[
'id'=>'oaipmhrepository_mets_data_item',
],
]);
]);
$this->add([
$this->add([
...
@@ -203,6 +231,9 @@ class ConfigForm extends Form implements TranslatorAwareInterface
...
@@ -203,6 +231,9 @@ class ConfigForm extends Form implements TranslatorAwareInterface
// 'mods' => 'Mods',
// 'mods' => 'Mods',
],
],
],
],
'attributes'=>[
'id'=>'oaipmhrepository_mets_data_media',
],
]);
]);
$this->add([
$this->add([
...
@@ -212,6 +243,9 @@ class ConfigForm extends Form implements TranslatorAwareInterface
...
@@ -212,6 +243,9 @@ class ConfigForm extends Form implements TranslatorAwareInterface
'label'=>'Human interface',// @translate
'label'=>'Human interface',// @translate
'info'=>$this->translate('The OAI-PMH pages can be displayed with a themable responsive human interface based on Bootstrap (https://getbootstrap.com).'),// @translate
'info'=>$this->translate('The OAI-PMH pages can be displayed with a themable responsive human interface based on Bootstrap (https://getbootstrap.com).'),// @translate
],
],
'attributes'=>[
'id'=>'oaipmhrepository_human_interface',
],
]);
]);
$this->add([
$this->add([
...
@@ -221,6 +255,9 @@ class ConfigForm extends Form implements TranslatorAwareInterface
...
@@ -221,6 +255,9 @@ class ConfigForm extends Form implements TranslatorAwareInterface
'info'=>'An alias (redirect 301) for backward compatibility with Omeka Classic, that used "/oai-pmh-repository/request", or any other old OAI-PMH repository.',// @translate
'info'=>'An alias (redirect 301) for backward compatibility with Omeka Classic, that used "/oai-pmh-repository/request", or any other old OAI-PMH repository.',// @translate