diff --git a/values/availableFields.php b/values/availableFields.php
index a5c3258..5116952 100644
--- a/values/availableFields.php
+++ b/values/availableFields.php
@@ -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 object_other_title is used. It has to be specified where this alternative title is used. Specification should be done within the field: object_other_title_kind_of',
+ "name_human_readable" => 'Weitere Objektbezeichnung',
+ "explica" => '',
+ ],
+ "object_other_title_kind_of" => [
+ "required" => false,
+ "format" => 'text/utf8',
+ "allowedValues" => 'de: "Wissenschaft", "Alltagssprache", "Umgangssprache", "Dialekt"
hu: "Tudományos", "Köznyelvi", "Nyelvjárás"',
+ "dependsOn" => 'object_other_title',
+ "remark" => 'This field has to be used togehter with object_other_title',
+ "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 object_other_title is used. It has to be specified where this alternative title is used. Specification should be done within the field: object_other_title_kind_of',
- "name_human_readable" => 'Weitere Objektbezeichnung',
- "explica" => '',
- ],
- "object_other_title_kind_of" => [
- "required" => false,
- "format" => 'text/utf8',
- "allowedValues" => 'de: "Wissenschaft", "Alltagssprache", "Umgangssprache", "Dialekt"
hu: "Tudományos", "Köznyelvi", "Nyelvjárás"',
- "dependsOn" => 'object_other_title',
- "remark" => 'This field has to be used togehter with object_other_title',
- "name_human_readable" => 'Weitere Objektbezeichnung, in: ',
- "explica" => '',
- ],
- ]
-];
-
return;
$allowed = array(