Fix array structure in availableFields.php
This commit is contained in:
parent
7de4283188
commit
866f08e840
|
@ -92,6 +92,26 @@ $availableFields = [
|
|||
"name_human_readable" => $museum['museum_name'],
|
||||
"explica" => $museum['musnam_explica'],
|
||||
],
|
||||
],
|
||||
"other_object_title" => [
|
||||
"other_object_title" => [
|
||||
"required" => false,
|
||||
"format" => 'text/utf8',
|
||||
"allowedValues" => 'freetext',
|
||||
"dependsOn" => 'object_other_title_kind_of',
|
||||
"remark" => 'If the field <i>object_other_title</i> is used. It has to be specified where this alternative title is used. Specification should be done within the field: <i>object_other_title_kind_of</i>',
|
||||
"name_human_readable" => 'Weitere Objektbezeichnung',
|
||||
"explica" => '',
|
||||
],
|
||||
"object_other_title_kind_of" => [
|
||||
"required" => false,
|
||||
"format" => 'text/utf8',
|
||||
"allowedValues" => 'de: "Wissenschaft", "Alltagssprache", "Umgangssprache", "Dialekt"<br>hu: "Tudományos", "Köznyelvi", "Nyelvjárás"',
|
||||
"dependsOn" => 'object_other_title',
|
||||
"remark" => 'This field has to be used togehter with <i>object_other_title</i>',
|
||||
"name_human_readable" => 'Weitere Objektbezeichnung, in: ',
|
||||
"explica" => '',
|
||||
],
|
||||
]
|
||||
];
|
||||
|
||||
|
@ -117,30 +137,6 @@ for ($i = 1; $i <= 2; $i++) {
|
|||
|
||||
}
|
||||
|
||||
$availableFields = [
|
||||
|
||||
"other_object_title" => [
|
||||
"other_object_title" => [
|
||||
"required" => false,
|
||||
"format" => 'text/utf8',
|
||||
"allowedValues" => 'freetext',
|
||||
"dependsOn" => 'object_other_title_kind_of',
|
||||
"remark" => 'If the field <i>object_other_title</i> is used. It has to be specified where this alternative title is used. Specification should be done within the field: <i>object_other_title_kind_of</i>',
|
||||
"name_human_readable" => 'Weitere Objektbezeichnung',
|
||||
"explica" => '',
|
||||
],
|
||||
"object_other_title_kind_of" => [
|
||||
"required" => false,
|
||||
"format" => 'text/utf8',
|
||||
"allowedValues" => 'de: "Wissenschaft", "Alltagssprache", "Umgangssprache", "Dialekt"<br>hu: "Tudományos", "Köznyelvi", "Nyelvjárás"',
|
||||
"dependsOn" => 'object_other_title',
|
||||
"remark" => 'This field has to be used togehter with <i>object_other_title</i>',
|
||||
"name_human_readable" => 'Weitere Objektbezeichnung, in: ',
|
||||
"explica" => '',
|
||||
],
|
||||
]
|
||||
];
|
||||
|
||||
return;
|
||||
|
||||
$allowed = array(
|
||||
|
|
Loading…
Reference in New Issue
Block a user