Increased number of allowed tags and number of allowed depicted persons and places
phpcs-errors:1644 phpunit-status:successful
This commit is contained in:
parent
62c1cb7da0
commit
1b3ba80df6
|
@ -744,7 +744,7 @@ for ($i = 1; $i <= 2; $i++) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for ($i = 1; $i <= 2; $i++) {
|
for ($i = 1; $i <= 5; $i++) {
|
||||||
|
|
||||||
$availableFields[$basis['literature']] = array_merge($availableFields[$basis['literature']],
|
$availableFields[$basis['literature']] = array_merge($availableFields[$basis['literature']],
|
||||||
[
|
[
|
||||||
|
@ -887,7 +887,7 @@ for ($i = 1; $i <= 5; $i++) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for ($i = 1; $i <= 10; $i++) {
|
for ($i = 1; $i <= 15; $i++) {
|
||||||
|
|
||||||
$availableFields[$overview['tags']]["tag{$i}"] = [
|
$availableFields[$overview['tags']]["tag{$i}"] = [
|
||||||
"required" => false,
|
"required" => false,
|
||||||
|
@ -1157,6 +1157,8 @@ for ($i = 1; $i <= 5; $i++) {
|
||||||
* @param string $remark Explanation of the field (for importer). Optional.
|
* @param string $remark Explanation of the field (for importer). Optional.
|
||||||
* @param boolean $required Determines whether the field is required. Defaults
|
* @param boolean $required Determines whether the field is required. Defaults
|
||||||
to false.
|
to false.
|
||||||
|
*
|
||||||
|
* @return array
|
||||||
*/
|
*/
|
||||||
function getSimpleAvailableFieldEntry(string $nameTL = "", string $explica = "", array $dependsOn = [], array $allowedValues = [], string $remark = "", bool $required = false):array {
|
function getSimpleAvailableFieldEntry(string $nameTL = "", string $explica = "", array $dependsOn = [], array $allowedValues = [], string $remark = "", bool $required = false):array {
|
||||||
return [
|
return [
|
||||||
|
@ -1223,7 +1225,7 @@ for ($i = 1; $i <= 2; $i++) {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
for ($i = 1; $i <= 2; $i++) {
|
for ($i = 1; $i <= 15; $i++) {
|
||||||
|
|
||||||
$availableFields[$basis['event'] . ': ' . $eventname[5]] = array_merge($availableFields[$basis['event'] . ': ' . $eventname[5]],
|
$availableFields[$basis['event'] . ': ' . $eventname[5]] = array_merge($availableFields[$basis['event'] . ': ' . $eventname[5]],
|
||||||
[
|
[
|
||||||
|
@ -1247,7 +1249,7 @@ for ($i = 1; $i <= 2; $i++) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for ($i = 1; $i <= 2; $i++) {
|
for ($i = 1; $i <= 10; $i++) {
|
||||||
|
|
||||||
$availableFields[$basis['event'] . ': ' . $eventname[36]] = array_merge($availableFields[$basis['event'] . ': ' . $eventname[36]],
|
$availableFields[$basis['event'] . ': ' . $eventname[36]] = array_merge($availableFields[$basis['event'] . ': ' . $eventname[36]],
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in New Issue
Block a user