Skip to content

Commit

Permalink
[TASK] Upgrade to EXT:fluidcontent 2.2.0
Browse files Browse the repository at this point in the history
Multiple lines and translations in flux:flexform tag possible
  • Loading branch information
beda committed Jan 14, 2013
1 parent ade40a8 commit bfcf5c6
Show file tree
Hide file tree
Showing 11 changed files with 52 additions and 28 deletions.
5 changes: 4 additions & 1 deletion Resources/Private/Elements/Accordion.html
Expand Up @@ -7,7 +7,10 @@
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
<f:layout name="FCE"/>
<f:section name="Configuration">
<flux:flexform wizardTab="Zurb Foundation" id="foundation-accordion" label="Zurb Foundation: Accordion with content elements" description="Places child content elements within accordion." icon="../typo3conf/ext/fluidcontent_zurb/Resources/Public/Icons/accordion-icon.jpg">
<flux:flexform wizardTab="Zurb Foundation" id="foundation-accordion"
label="Zurb Foundation: Accordion with content elements"
description="Places child content elements within accordion."
icon="../typo3conf/ext/fluidcontent_zurb/Resources/Public/Icons/accordion-icon.jpg">
<flux:flexform.sheet name="accordions" label="Accordions">
<flux:flexform.section name="accordions" label="Accordions">
<flux:flexform.object name="accordion-item" label="Accordion Item">
Expand Down
30 changes: 16 additions & 14 deletions Resources/Private/Elements/ButtonGroup.html
Expand Up @@ -8,7 +8,9 @@
<f:layout name="FCE"/>

<f:section name="Configuration">
<flux:flexform wizardTab="Zurb Foundation" id="zurb-button-groups" label="Zurb Foundation: Button Group" description="Places child content elements as button groups." icon="../typo3conf/ext/fluidcontent_zurb/Resources/Public/Icons/button-groups-icon.jpg" >
<flux:flexform wizardTab="Zurb Foundation" id="zurb-button-groups" label="Zurb Foundation: Button Group"
description="Places child content elements as button groups."
icon="../typo3conf/ext/fluidcontent_zurb/Resources/Public/Icons/button-groups-icon.jpg">
<flux:flexform.sheet name="buttons-sheet" label="Buttons">
<flux:flexform.section name="buttons" label="Buttons">
<flux:flexform.object name="button" label="Button">
Expand Down Expand Up @@ -55,19 +57,19 @@
</v:case>
</v:switch>
<v:switch value="{button-size}">
<v:case case="tiny" break="TRUE">
{v:var.set(name: 'button-size', value: 'tiny')}
</v:case>
<v:case case="small" break="TRUE">
{v:var.set(name: 'button-size', value: 'small')}
</v:case>
<v:case case="large" break="TRUE">
{v:var.set(name: 'button-size', value: 'large')}
</v:case>
<v:case case="default" break="TRUE">
{v:var.set(name: 'button-size', value: '')}
</v:case>
</v:switch>
<v:case case="tiny" break="TRUE">
{v:var.set(name: 'button-size', value: 'tiny')}
</v:case>
<v:case case="small" break="TRUE">
{v:var.set(name: 'button-size', value: 'small')}
</v:case>
<v:case case="large" break="TRUE">
{v:var.set(name: 'button-size', value: 'large')}
</v:case>
<v:case case="default" break="TRUE">
{v:var.set(name: 'button-size', value: '')}
</v:case>
</v:switch>
<v:switch value="{button-type}">
<v:case case="secondary" break="TRUE">
{v:var.set(name: 'button-type', value: 'secondary')}
Expand Down
4 changes: 3 additions & 1 deletion Resources/Private/Elements/DropdownButton.html
Expand Up @@ -8,7 +8,9 @@
<f:layout name="FCE"/>

<f:section name="Configuration">
<flux:flexform wizardTab="Zurb Foundation" id="zurb-button-dropdown" label="Zurb Foundation: Dropdown Button" description="A button which creates a dropdown when you click them" icon="../typo3conf/ext/fluidcontent_zurb/Resources/Public/Icons/button-dropdown-icon.jpg">
<flux:flexform wizardTab="Zurb Foundation" id="zurb-button-dropdown" label="Zurb Foundation: Dropdown Button"
description="A button which creates a dropdown when you click them"
icon="../typo3conf/ext/fluidcontent_zurb/Resources/Public/Icons/button-dropdown-icon.jpg">
<flux:flexform.sheet name="buttons-sheet" label="Buttons">
<flux:flexform.section name="buttons" label="Buttons">
<flux:flexform.object name="button" label="Button">
Expand Down
4 changes: 3 additions & 1 deletion Resources/Private/Elements/InlineList.html
Expand Up @@ -8,7 +8,9 @@
<f:layout name="FCE"/>

<f:section name="Configuration">
<flux:flexform wizardTab="Zurb Foundation" id="zurb-inline-list" label="Zurb Foundation: Inline List" description="Horizontal list of links" icon="../typo3conf/ext/fluidcontent_zurb/Resources/Public/Icons/inline-list-icon.jpg">
<flux:flexform wizardTab="Zurb Foundation" id="zurb-inline-list" label="Zurb Foundation: Inline List"
description="Horizontal list of links"
icon="../typo3conf/ext/fluidcontent_zurb/Resources/Public/Icons/inline-list-icon.jpg">
<flux:flexform.sheet name="inline-list" label="Inline List">
<flux:flexform.section name="links" label="Links">
<flux:flexform.object name="link" label="Link">
Expand Down
4 changes: 3 additions & 1 deletion Resources/Private/Elements/Orbit.html
Expand Up @@ -7,7 +7,9 @@
<f:layout name="FCE"/>

<f:section name="Configuration">
<flux:flexform wizardTab="Zurb Foundation" id="zurb-orbit" label="Zurb Foundation: Orbit" description="Responsive slider" icon="../typo3conf/ext/fluidcontent_zurb/Resources/Public/Icons/orbit-icon.jpg">
<flux:flexform wizardTab="Zurb Foundation" id="zurb-orbit" label="Zurb Foundation: Orbit"
description="Responsive slider"
icon="../typo3conf/ext/fluidcontent_zurb/Resources/Public/Icons/orbit-icon.jpg">
<flux:flexform.sheet name="thumbnails" label="Thumbnails">
<flux:flexform.section name="thumbnails" label="Thumbnails">
<f:render section="ImageObject" arguments="{_all}"/>
Expand Down
4 changes: 3 additions & 1 deletion Resources/Private/Elements/Panel.html
Expand Up @@ -7,7 +7,9 @@

<f:layout name="FCE"/>
<f:section name="Configuration">
<flux:flexform wizardTab="Zurb Foundation" id="zurb-panel" label="Zurb Foundation: Panel" description="A panel is a simple, helpful element that enables you to outline sections of your page easily" icon="../typo3conf/ext/fluidcontent_zurb/Resources/Public/Icons/panel-icon.jpg">
<flux:flexform wizardTab="Zurb Foundation" id="zurb-panel" label="Zurb Foundation: Panel"
description="A panel is a simple, helpful element that enables you to outline sections of your page easily"
icon="../typo3conf/ext/fluidcontent_zurb/Resources/Public/Icons/panel-icon.jpg">
<flux:flexform.grid>
<flux:flexform.grid.row>
<flux:flexform.grid.column>
Expand Down
4 changes: 3 additions & 1 deletion Resources/Private/Elements/PricingTable.html
Expand Up @@ -8,7 +8,9 @@
<f:layout name="FCE"/>

<f:section name="Configuration">
<flux:flexform wizardTab="Zurb Foundation" id="zurb-pricing-table" label="Zurb Foundation: Pricing Table" description="Create a pricing table for your rockin' marketing site " icon="../typo3conf/ext/fluidcontent_zurb/Resources/Public/Icons/pricingtable-icon.jpg">
<flux:flexform wizardTab="Zurb Foundation" id="zurb-pricing-table" label="Zurb Foundation: Pricing Table"
description="Create a pricing table for your rockin' marketing site "
icon="../typo3conf/ext/fluidcontent_zurb/Resources/Public/Icons/pricingtable-icon.jpg">
<flux:flexform.sheet name="pricingtable-sheet" label="Pricing Table">
<flux:flexform.field.input name="title" label="Title"/>
<flux:flexform.field.input name="price" label="Price"/>
Expand Down
4 changes: 3 additions & 1 deletion Resources/Private/Elements/Reveal.html
Expand Up @@ -8,7 +8,9 @@
<f:layout name="FCE"/>

<f:section name="Configuration">
<flux:flexform wizardTab="Zurb Foundation" id="zurb-reveal" label="Zurb Foundation: Reveal" description="Places child content elements as Modal windows" icon="../typo3conf/ext/fluidcontent_zurb/Resources/Public/Icons/reveal-icon.jpg">
<flux:flexform wizardTab="Zurb Foundation" id="zurb-reveal" label="Zurb Foundation: Reveal"
description="Places child content elements as Modal windows"
icon="../typo3conf/ext/fluidcontent_zurb/Resources/Public/Icons/reveal-icon.jpg">
<flux:flexform.sheet name="modals-sheet" label="Modals">
<flux:flexform.section name="modals" label="Modals">
<flux:flexform.object name="modal" label="Modal">
Expand Down
6 changes: 4 additions & 2 deletions Resources/Private/Elements/SplitButton.html
Expand Up @@ -6,7 +6,9 @@
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
<f:layout name="FCE"/>
<f:section name="Configuration">
<flux:flexform wizardTab="Zurb Foundation" id="zurb-button-split" label="Zurb Foundation: Split Button" description="A button which has a main action and creates a dropdown with further actions when you click the dropdown icon" icon="../typo3conf/ext/fluidcontent_zurb/Resources/Public/Icons/button-split-icon.jpg">
<flux:flexform wizardTab="Zurb Foundation" id="zurb-button-split" label="Zurb Foundation: Split Button"
description="LLL:EXT:fluidcontent_zurb/Resources/Private/Language/locallang.xlf:zurb.splitbutton.desc"
icon="../typo3conf/ext/fluidcontent_zurb/Resources/Public/Icons/button-split-icon.jpg">
<flux:flexform.sheet name="buttons-sheet" label="Buttons">
{flux:flexform.field.input(name: 'buttonname', label: 'Button Name')}
<flux:flexform.field.input name="main-target" label="Link target">
Expand Down Expand Up @@ -79,7 +81,7 @@
{v:var.set(name: 'button-type', value: '')}
</v:case>
</v:switch>
<f:translate key='LLL:EXT:fluidcontent_zurb/Resources/Private/Language/locallang.xlf:zurb.splitbutton.desc' />
<f:translate key='LLL:EXT:fluidcontent_zurb/Resources/Private/Language/locallang.xlf:zurb.splitbutton.desc'/>
<div href="#"
class="button split dropdown {v:var.get(name: 'button-type')} {v:var.get(name: 'button-size')} {v:var.get(name: 'button-style')}">
<f:link.page pageUid="{main-target}">{buttonname}</f:link.page>
Expand Down
7 changes: 5 additions & 2 deletions Resources/Private/Elements/Tabs.html
Expand Up @@ -7,8 +7,11 @@
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
<f:layout name="FCE"/>
<f:section name="Configuration">
<flux:flexform wizardTab="Zurb Foundation" id="foundation-tabs" label="Zurb Foundation: Tabs/pills with content elements" description="Places child content elements in tabs." icon="../typo3conf/ext/fluidcontent_zurb/Resources/Public/Icons/tabs-icon.jpg">
<flux:flexform.sheet name="display" label="Display">
<flux:flexform wizardTab="Zurb Foundation" id="foundation-tabs"
label="Zurb Foundation: Tabs/pills with content elements"
description="Places child content elements in tabs."
icon="../typo3conf/ext/fluidcontent_zurb/Resources/Public/Icons/tabs-icon.jpg">
<flux:flexform.sheet name="display" label="Display">
<flux:flexform.field.select name="mode" label="Display mode" commaSeparatedItems="tab,pill,vertical"
requestUpdate="TRUE"/>
<f:if condition="{0: mode} == {0: 'tab'}">
Expand Down
8 changes: 5 additions & 3 deletions Resources/Private/Elements/Video.html
Expand Up @@ -8,10 +8,12 @@
<f:layout name="FCE"/>

<f:section name="Configuration">
<flux:flexform wizardTab="Zurb Foundation" id="zurb-video" label="Zurb Foundation: Video Element" description="Add an intrinsic ratio that will properly scale your video on any device" icon="../typo3conf/ext/fluidcontent_zurb/Resources/Public/Icons/video-icon.jpg">
<flux:flexform wizardTab="Zurb Foundation" id="zurb-video" label="Zurb Foundation: Video Element"
description="Add an intrinsic ratio that will properly scale your video on any device"
icon="../typo3conf/ext/fluidcontent_zurb/Resources/Public/Icons/video-icon.jpg">
{flux:flexform.field.input(name: 'embedcode', label: 'Video Embed Code')}
<flux:flexform.field.checkbox name="widescreen" label="Widescreen Mode" />
<flux:flexform.field.checkbox name="vimeo" label="Vimeo" />
<flux:flexform.field.checkbox name="widescreen" label="Widescreen Mode"/>
<flux:flexform.field.checkbox name="vimeo" label="Vimeo"/>
</flux:flexform>
</f:section>

Expand Down

0 comments on commit bfcf5c6

Please sign in to comment.