Add new fields for importing linked exhibition for objects

Close #30
This commit is contained in:
Joshua Ramon Enslin 2023-06-07 18:27:34 +02:00
parent 8a9f51bf9d
commit 495bb4b670
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE
8 changed files with 46 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="assets/css/csvxml.min.css?64635020d495a" />
<link rel="stylesheet" type="text/css" href="assets/css/csvxml.min.css?6480afe43ba90" />
<link rel="manifest" href="/manifest.json" />
<meta name="theme-color" content="#aa4400" />
@ -27,7 +27,7 @@
</head>
<body class="loading">
<script src="assets/js/csvxmlV2.min.js?64635020d495b" type="text/javascript" async></script>
<script src="assets/js/csvxmlV2.min.js?6480afe43ba91" type="text/javascript" async></script>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1011,6 +1011,7 @@ final class CsvxmlAvailableFields {
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "46") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "47") => [],
$tlLoader->tl("basis", "basis", 'event') . ": " . $tlLoader->tl("eventtype_name", "eventname", "48") => [],
$tlLoader->tl("basis", "basis", 'exhibitions') => [],
];
/*
@ -1934,6 +1935,43 @@ final class CsvxmlAvailableFields {
}
for ($i = 1; $i <= 5 * self::GENERAL_FIELD_MULTIPLIER; $i++) {
$availableFields[$tlLoader->tl("basis", "basis", "exhibitions")]["exhibition_name" . $i] = new FieldEntry(
false,
[],
[],
'',
$tlLoader->tl("basis", "basis", "exhibitions"),
"",
);
$availableFields[$tlLoader->tl("basis", "basis", "exhibitions")]["exhibition_description" . $i] = new FieldEntry(
false,
[],
["exhibition_name" . $i],
'',
$tlLoader->tl("basis", "basis", "exhibitions"),
"",
);
$availableFields[$tlLoader->tl("basis", "basis", "exhibitions")]["exhibition_start" . $i] = new FieldEntry(
false,
[],
["exhibition_name" . $i],
'',
$tlLoader->tl("basis", "basis", "exhibitions"),
"",
);
$availableFields[$tlLoader->tl("basis", "basis", "exhibitions")]["exhibition_end" . $i] = new FieldEntry(
false,
[],
["exhibition_name" . $i],
'',
$tlLoader->tl("basis", "basis", "exhibitions"),
"",
);
}
$this->_availableFields = $availableFields;
}