Your IP : 216.73.216.84


Current Path : /home/helpink/www/libraries/astroid/framework/elements/accordion/
Upload File :
Current File : /home/helpink/www/libraries/astroid/framework/elements/accordion/accordion.xml

<?xml version="1.0" encoding="UTF-8"?>
<element>
    <title>ASTROID_WIDGET_ACCORDION_LABEL</title>
    <description>ASTROID_WIDGET_ACCORDION_DESC</description>
    <icon>as-icon as-icon-menu3</icon>
    <category>ASTROID_ELEMENT_CATEGORY_UTILITY</category>
    <element_type>widget</element_type>
    <form>
        <fields>
            <fieldset name="general-settings" label="TPL_ASTROID_GENERAL_SETTINGS_LABEL" addfieldpath="/libraries/astroid/framework/fields">
                <field type="astroidgroup" name="widget_styles" title="ASTROID_WIDGET_STYLES_LABEL"/>
                <field type="astroidgroup" name="title_options" title="ASTROID_WIDGET_TITLE_OPTIONS_LABEL"/>
                <field type="astroidgroup" name="content_options" title="ASTROID_WIDGET_CONTENT_OPTIONS_LABEL"/>
                <field astroidgroup="general" name="accordions" type="astroidsubform" label="ASTROID_WIDGET_ACCORDION_ITEMS_LABEL">
                    <form>
                        <fields>
                            <fieldset name="general-settings" label="TPL_ASTROID_GENERAL_SETTINGS_LABEL">
                                <field type="astroidtext" class="form-control" label="JGLOBAL_TITLE" name="title"/>
                                <field name="content" type="astroideditor" label="ASTROID_WIDGET_CONTENT_LABEL"/>
                            </fieldset>
                        </fields>
                    </form>
                </field>
                <field astroidgroup="widget_styles" type="astroidlist" name="style" label="ASTROID_WIDGET_GLOBAL_STYLES_LABEL" default="">
                    <option value="">Default</option>
                    <option value="accordion-flush">Flush</option>
                </field>
                <field astroidgroup="widget_styles" type="astroidlist" name="collapse" label="ASTROID_WIDGET_ACCORDION_COLLAPSE_STYLE_LABEL" default="">
                    <option value="">ASTROID_WIDGET_ACCORDION_OPEN_FIRST_ITEM_LABEL</option>
                    <option value="close-all">ASTROID_WIDGET_ACCORDION_CLOSE_ALL_LABEL</option>
                </field>
                <field astroidgroup="widget_styles" name="always_open" type="astroidradio" astroid-switch="true" default="0" label="ASTROID_WIDGET_ACCORDION_ALWAYS_OPEN_LABEL"/>
                <field astroidgroup="widget_styles" name="color_settings" type="astroidradio" width="full" default="color">
                    <option value="color">TPL_ASTROID_COLOR</option>
                    <option value="hover">TPL_ASTROID_COLOR_HOVER</option>
                    <option value="active">TPL_ASTROID_COLOR_ACTIVE</option>
                </field>
                <field astroidgroup="widget_styles" ngShow="[color_settings]=='color'" name="color" type="astroidcolor" label="ASTROID_WIDGET_COLOR_LABEL"/>
                <field astroidgroup="widget_styles" ngShow="[color_settings]=='hover'" name="color_hover" type="astroidcolor" label="ASTROID_WIDGET_COLOR_LABEL"/>
                <field astroidgroup="widget_styles" ngShow="[color_settings]=='active'" name="color_active" type="astroidcolor" label="ASTROID_WIDGET_COLOR_LABEL"/>

                <field astroidgroup="widget_styles" ngShow="[color_settings]=='color'" name="bgcolor" type="astroidcolor" label="TPL_ASTROID_BACKGROUND_COLOR_LABEL"/>
                <field astroidgroup="widget_styles" ngShow="[color_settings]=='hover'" name="bgcolor_hover" type="astroidcolor" label="TPL_ASTROID_BACKGROUND_COLOR_LABEL"/>
                <field astroidgroup="widget_styles" ngShow="[color_settings]=='active'" name="bgcolor_active" type="astroidcolor" label="TPL_ASTROID_BACKGROUND_COLOR_LABEL"/>

                <field astroidgroup="title_options" name="title_font_style" label="ASTROID_WIDGET_FONT_STYLES_LABEL" type="astroidtypography" columns="1" preview="false"/>
                <field astroidgroup="content_options" name="content_font_style" label="ASTROID_WIDGET_FONT_STYLES_LABEL" type="astroidtypography" columns="1" preview="false"/>
            </fieldset>
            <fieldset name="assignment-settings" label="TPL_ASTROID_ASSIGNMENT_SETTINGS_LABEL" addfieldpath="/libraries/astroid/framework/fields" articleData="false">
                <field type="astroidlist" name="assignment_type" label="ASTROID_WIDGET_ASSIGN" default="1">
                    <option value="1">ASTROID_WIDGET_ON_ALL_PAGES</option>
                    <option value="0">ASTROID_WIDGET_NO_PAGES</option>
                    <option value="2">ASTROID_WIDGET_SELECTED_PAGES</option>
                </field>
                <field ngShow="[assignment_type]==2" type="astroidassignment" label="ASTROID_ASSIGN_TO_MENU_ITEM" name="assignment"/>
            </fieldset>
        </fields>
    </form>
</element>