Skip to content

Commit

Permalink
[BUGFIX] Replace indexed array keys for items by label and value tags (
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfred authored Nov 26, 2024
1 parent 35fd445 commit 84e6760
Show file tree
Hide file tree
Showing 8 changed files with 275 additions and 275 deletions.
32 changes: 16 additions & 16 deletions Configuration/FlexForms/flexform_category_list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,32 +62,32 @@
<renderType>selectSingle</renderType>
<items type="array">
<numIndex index="1" type="array">
<numIndex index="label">LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.recursive.I.inherit</numIndex>
<numIndex index="value"></numIndex>
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.recursive.I.inherit</label>
<value/>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="label">LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.0</numIndex>
<numIndex index="value">0</numIndex>
<label>LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.0</label>
<value>0</value>
</numIndex>
<numIndex index="3" type="array">
<numIndex index="label">LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.1</numIndex>
<numIndex index="value">1</numIndex>
<label>LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.1</label>
<value>1</value>
</numIndex>
<numIndex index="4" type="array">
<numIndex index="label">LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.2</numIndex>
<numIndex index="value">2</numIndex>
<label>LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.2</label>
<value>2</value>
</numIndex>
<numIndex index="5" type="array">
<numIndex index="label">LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.3</numIndex>
<numIndex index="value">3</numIndex>
<label>LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.3</label>
<value>3</value>
</numIndex>
<numIndex index="6" type="array">
<numIndex index="label">LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.4</numIndex>
<numIndex index="value">4</numIndex>
<label>LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.4</label>
<value>4</value>
</numIndex>
<numIndex index="7" type="array">
<numIndex index="label">LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.5</numIndex>
<numIndex index="value">250</numIndex>
<label>LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.5</label>
<value>250</value>
</numIndex>
</items>
</config>
Expand Down Expand Up @@ -156,8 +156,8 @@
<renderType>selectSingle</renderType>
<items>
<numIndex index="0" type="array">
<numIndex index="label"></numIndex>
<numIndex index="value"></numIndex>
<label/>
<value/>
</numIndex>
</items>
</config>
Expand Down
136 changes: 68 additions & 68 deletions Configuration/FlexForms/flexform_news.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,24 @@
<renderType>selectSingle</renderType>
<items>
<numIndex index="0" type="array">
<numIndex index="label"></numIndex>
<numIndex index="value"></numIndex>
<label/>
<value/>
</numIndex>
<numIndex index="1">
<numIndex index="label">LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.orderBy.tstamp</numIndex>
<numIndex index="value">tstamp</numIndex>
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.orderBy.tstamp</label>
<value>tstamp</value>
</numIndex>
<numIndex index="2">
<numIndex index="label">LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.orderBy.datetime</numIndex>
<numIndex index="value">datetime</numIndex>
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.orderBy.datetime</label>
<value>datetime</value>
</numIndex>
<numIndex index="3">
<numIndex index="label">LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.orderBy.crdate</numIndex>
<numIndex index="value">crdate</numIndex>
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.orderBy.crdate</label>
<value>crdate</value>
</numIndex>
<numIndex index="4">
<numIndex index="label">LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.orderBy.title</numIndex>
<numIndex index="value">title</numIndex>
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.orderBy.title</label>
<value>title</value>
</numIndex>
</items>
</config>
Expand All @@ -50,16 +50,16 @@
<renderType>selectSingle</renderType>
<items>
<numIndex index="0" type="array">
<numIndex index="label"></numIndex>
<numIndex index="value"></numIndex>
<label/>
<value/>
</numIndex>
<numIndex index="1">
<numIndex index="label">LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.orderDirection.asc</numIndex>
<numIndex index="value">asc</numIndex>
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.orderDirection.asc</label>
<value>asc</value>
</numIndex>
<numIndex index="2">
<numIndex index="label">LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.orderDirection.desc</numIndex>
<numIndex index="value">desc</numIndex>
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.orderDirection.desc</label>
<value>desc</value>
</numIndex>
</items>
</config>
Expand All @@ -73,16 +73,16 @@
<renderType>selectSingle</renderType>
<items>
<numIndex index="0" type="array">
<numIndex index="label"></numIndex>
<numIndex index="value"></numIndex>
<label/>
<value/>
</numIndex>
<numIndex index="1">
<numIndex index="label">LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.dateField.datetime</numIndex>
<numIndex index="value">datetime</numIndex>
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.dateField.datetime</label>
<value>datetime</value>
</numIndex>
<numIndex index="2">
<numIndex index="label">LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.dateField.archive</numIndex>
<numIndex index="value">archive</numIndex>
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.dateField.archive</label>
<value>archive</value>
</numIndex>
</items>
</config>
Expand All @@ -96,24 +96,24 @@
<renderType>selectSingle</renderType>
<items>
<numIndex index="0" type="array">
<numIndex index="label">LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.categoryConjunction.all</numIndex>
<numIndex index="value"></numIndex>
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.categoryConjunction.all</label>
<value/>
</numIndex>
<numIndex index="1">
<numIndex index="label">LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.categoryConjunction.or</numIndex>
<numIndex index="value">or</numIndex>
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.categoryConjunction.or</label>
<value>or</value>
</numIndex>
<numIndex index="2">
<numIndex index="label">LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.categoryConjunction.and</numIndex>
<numIndex index="value">and</numIndex>
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.categoryConjunction.and</label>
<value>and</value>
</numIndex>
<numIndex index="3">
<numIndex index="label">LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.categoryConjunction.notor</numIndex>
<numIndex index="value">notor</numIndex>
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.categoryConjunction.notor</label>
<value>notor</value>
</numIndex>
<numIndex index="4">
<numIndex index="label">LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.categoryConjunction.notand</numIndex>
<numIndex index="value">notand</numIndex>
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.categoryConjunction.notand</label>
<value>notand</value>
</numIndex>
</items>
</config>
Expand Down Expand Up @@ -160,16 +160,16 @@
<renderType>selectSingle</renderType>
<items>
<numIndex index="0" type="array">
<numIndex index="label">LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.no-constraint</numIndex>
<numIndex index="value"></numIndex>
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.no-constraint</label>
<value/>
</numIndex>
<numIndex index="value">
<numIndex index="label">LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.archiveRestriction.active</numIndex>
<numIndex index="value">active</numIndex>
<numIndex index="1">
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.archiveRestriction.active</label>
<value>active</value>
</numIndex>
<numIndex index="2">
<numIndex index="label">LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.archiveRestriction.archived</numIndex>
<numIndex index="value">archived</numIndex>
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.archiveRestriction.archived</label>
<value>archived</value>
</numIndex>
</items>
</config>
Expand Down Expand Up @@ -205,16 +205,16 @@
<renderType>selectSingle</renderType>
<items>
<numIndex index="0" type="array">
<numIndex index="label">LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.no-constraint</numIndex>
<numIndex index="value"></numIndex>
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.no-constraint</label>
<value/>
</numIndex>
<numIndex index="value">
<numIndex index="label">LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.topNewsRestriction.1</numIndex>
<numIndex index="value">1</numIndex>
<numIndex index="1">
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.topNewsRestriction.1</label>
<value>1</value>
</numIndex>
<numIndex index="2">
<numIndex index="label">LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.topNewsRestriction.2</numIndex>
<numIndex index="value">2</numIndex>
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.topNewsRestriction.2</label>
<value>2</value>
</numIndex>
</items>
</config>
Expand All @@ -241,16 +241,16 @@
<renderType>selectSingle</renderType>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="label">LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.previewHiddenRecords.I.2</numIndex>
<numIndex index="value">2</numIndex>
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.previewHiddenRecords.I.2</label>
<value>2</value>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="label">LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.previewHiddenRecords.I.1</numIndex>
<numIndex index="value">1</numIndex>
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.previewHiddenRecords.I.1</label>
<value>1</value>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="label">LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.previewHiddenRecords.I.0</numIndex>
<numIndex index="value">0</numIndex>
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.previewHiddenRecords.I.0</label>
<value>0</value>
</numIndex>
</items>
<size type="integer">1</size>
Expand Down Expand Up @@ -278,32 +278,32 @@
<renderType>selectSingle</renderType>
<items type="array">
<numIndex index="1" type="array">
<numIndex index="label">LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.recursive.I.inherit</numIndex>
<numIndex index="value"></numIndex>
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_general.recursive.I.inherit</label>
<value/>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="label">LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.0</numIndex>
<numIndex index="value">0</numIndex>
<label>LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.0</label>
<value>0</value>
</numIndex>
<numIndex index="3" type="array">
<numIndex index="label">LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.1</numIndex>
<numIndex index="value">1</numIndex>
<label>LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.1</label>
<value>1</value>
</numIndex>
<numIndex index="4" type="array">
<numIndex index="label">LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.2</numIndex>
<numIndex index="value">2</numIndex>
<label>LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.2</label>
<value>2</value>
</numIndex>
<numIndex index="5" type="array">
<numIndex index="label">LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.3</numIndex>
<numIndex index="value">3</numIndex>
<label>LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.3</label>
<value>3</value>
</numIndex>
<numIndex index="6" type="array">
<numIndex index="label">LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.4</numIndex>
<numIndex index="value">4</numIndex>
<label>LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.4</label>
<value>4</value>
</numIndex>
<numIndex index="7" type="array">
<numIndex index="label">LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.5</numIndex>
<numIndex index="value">250</numIndex>
<label>LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.5</label>
<value>250</value>
</numIndex>
</items>
</config>
Expand Down Expand Up @@ -514,8 +514,8 @@
<renderType>selectSingle</renderType>
<items>
<numIndex index="0" type="array">
<numIndex index="label"></numIndex>
<numIndex index="value"></numIndex>
<label/>
<value/>
</numIndex>
</items>
</config>
Expand Down
Loading

0 comments on commit 84e6760

Please sign in to comment.