Skip to content

Commit

Permalink
[TASK] Avoid usage of deprecated array keys in FlexForm
Browse files Browse the repository at this point in the history
Refs #1236
  • Loading branch information
derhansen committed Jun 5, 2024
1 parent 33c45f6 commit c197beb
Show file tree
Hide file tree
Showing 6 changed files with 326 additions and 326 deletions.
142 changes: 71 additions & 71 deletions Configuration/FlexForms/Pieventcalendar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,25 @@
<type>select</type>
<renderType>selectSingle</renderType>
<items>
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.displayMode.all</numIndex>
<numIndex index="1">all</numIndex>
<numIndex index="0">
<label>LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.displayMode.all</label>
<value>all</value>
</numIndex>
<numIndex index="1">
<numIndex index="0">LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.displayMode.future</numIndex>
<numIndex index="1">future</numIndex>
<label>LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.displayMode.future</label>
<value>future</value>
</numIndex>
<numIndex index="2">
<numIndex index="0">LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.displayMode.current_future</numIndex>
<numIndex index="1">current_future</numIndex>
<label>LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.displayMode.current_future</label>
<value>current_future</value>
</numIndex>
<numIndex index="3">
<numIndex index="0">LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.displayMode.past</numIndex>
<numIndex index="1">past</numIndex>
<label>LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.displayMode.past</label>
<value>past</value>
</numIndex>
<numIndex index="4">
<numIndex index="0">LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.displayMode.time_restriction</numIndex>
<numIndex index="1">time_restriction</numIndex>
<label>LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.displayMode.time_restriction</label>
<value>time_restriction</value>
</numIndex>
</items>
</config>
Expand Down Expand Up @@ -92,21 +92,21 @@
<type>select</type>
<renderType>selectSingle</renderType>
<items>
<numIndex index="0" type="array">
<numIndex index="0"></numIndex>
<numIndex index="1"></numIndex>
<numIndex index="0">
<label></label>
<value></value>
</numIndex>
<numIndex index="1">
<numIndex index="0">LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.orderField.title</numIndex>
<numIndex index="1">title</numIndex>
<label>LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.orderField.title</label>
<value>title</value>
</numIndex>
<numIndex index="2">
<numIndex index="0">LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.orderField.startdate</numIndex>
<numIndex index="1">startdate</numIndex>
<label>LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.orderField.startdate</label>
<value>startdate</value>
</numIndex>
<numIndex index="3">
<numIndex index="0">LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.orderField.enddate</numIndex>
<numIndex index="1">enddate</numIndex>
<label>LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.orderField.enddate</label>
<value>enddate</value>
</numIndex>
</items>
</config>
Expand All @@ -119,17 +119,17 @@
<type>select</type>
<renderType>selectSingle</renderType>
<items>
<numIndex index="0" type="array">
<numIndex index="0"></numIndex>
<numIndex index="1"></numIndex>
<numIndex index="0">
<label></label>
<value></value>
</numIndex>
<numIndex index="1">
<numIndex index="0">LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.orderDirection.ascending</numIndex>
<numIndex index="1">asc</numIndex>
<label>LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.orderDirection.ascending</label>
<value>asc</value>
</numIndex>
<numIndex index="2">
<numIndex index="0">LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.orderDirection.descending</numIndex>
<numIndex index="1">desc</numIndex>
<label>LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.orderDirection.descending</label>
<value>desc</value>
</numIndex>
</items>
</config>
Expand All @@ -142,17 +142,17 @@
<type>select</type>
<renderType>selectSingle</renderType>
<items>
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.none</numIndex>
<numIndex index="1"></numIndex>
<numIndex index="0">
<label>LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.none</label>
<value></value>
</numIndex>
<numIndex index="1">
<numIndex index="0">LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.exceptTopEvents</numIndex>
<numIndex index="1">1</numIndex>
<label>LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.exceptTopEvents</label>
<value>1</value>
</numIndex>
<numIndex index="2">
<numIndex index="0">LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.onlyTopEvents</numIndex>
<numIndex index="1">2</numIndex>
<label>LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.onlyTopEvents</label>
<value>2</value>
</numIndex>
</items>
</config>
Expand All @@ -175,25 +175,25 @@
<type>select</type>
<renderType>selectSingle</renderType>
<items>
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.categoryConjunction.ignore</numIndex>
<numIndex index="1"></numIndex>
<numIndex index="0">
<label>LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.categoryConjunction.ignore</label>
<value></value>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.categoryConjunction.or</numIndex>
<numIndex index="1">OR</numIndex>
<numIndex index="1">
<label>LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.categoryConjunction.or</label>
<value>OR</value>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.categoryConjunction.and</numIndex>
<numIndex index="1">AND</numIndex>
<numIndex index="2">
<label>LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.categoryConjunction.and</label>
<value>AND</value>
</numIndex>
<numIndex index="3" type="array">
<numIndex index="0">LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.categoryConjunction.notor</numIndex>
<numIndex index="1">NOTOR</numIndex>
<numIndex index="3">
<label>LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.categoryConjunction.notor</label>
<value>NOTOR</value>
</numIndex>
<numIndex index="4" type="array">
<numIndex index="0">LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.categoryConjunction.notand</numIndex>
<numIndex index="1">NOTAND</numIndex>
<numIndex index="4">
<label>LLL:EXT:sf_event_mgt/Resources/Private/Language/locallang_be.xlf:flexforms_general.categoryConjunction.notand</label>
<value>NOTAND</value>
</numIndex>
</items>
</config>
Expand Down Expand Up @@ -308,30 +308,30 @@
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<items type="array">
<numIndex index="2" type="array">
<numIndex index="0">LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.0</numIndex>
<numIndex index="1">0</numIndex>
<items>
<numIndex index="0">
<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="0">LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.1</numIndex>
<numIndex index="1">1</numIndex>
<numIndex index="1">
<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="0">LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.2</numIndex>
<numIndex index="1">2</numIndex>
<numIndex index="2">
<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="0">LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.3</numIndex>
<numIndex index="1">3</numIndex>
<numIndex index="3">
<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="0">LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.4</numIndex>
<numIndex index="1">4</numIndex>
<numIndex index="4">
<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="0">LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.5</numIndex>
<numIndex index="1">250</numIndex>
<numIndex index="5">
<label>LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.5</label>
<value>250</value>
</numIndex>
</items>
</config>
Expand Down Expand Up @@ -456,9 +456,9 @@
<renderType>selectSingle</renderType>
<itemsProcFunc>DERHANSEN\SfEventMgt\Hooks\TemplateLayouts->user_templateLayout</itemsProcFunc>
<items>
<numIndex index="0" type="array">
<numIndex index="0"></numIndex>
<numIndex index="1"></numIndex>
<numIndex index="0">
<label></label>
<value></value>
</numIndex>
</items>
</config>
Expand Down
Loading

0 comments on commit c197beb

Please # to comment.