<?xml version="1.0" encoding="UTF-8"?>
<site>

    <types>
        <!-- Gallery Components -->
        <type type="types/gallery-component" icon="fa fa-picture-o">
            <locale group="quiqqer/gallery" var="admin.types.gallery.component"/>
            <desc>
                <locale group="quiqqer/gallery" var="admin.types.gallery.component.desc"/>
            </desc>

            <!-- extra attributes -->
            <attributes>
                <attribute default="/">quiqqer.settings.gallery.folderId</attribute>
                <attribute default="component-forwardPulse">quiqqer.settings.gallery.type</attribute>
                <attribute default="e_date DESC">quiqqer.settings.gallery.sort</attribute>
            </attributes>

            <!-- list settings -->
            <settings>

                <category name="gallery-list-settings">
                    <settings>
                        <title>
                            <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.title"/>
                        </title>

                        <input conf="quiqqer.settings.gallery.folderId" type="text" class="media-folder">
                            <text>
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.folderId"/>
                            </text>
                        </input>
                        <select conf="quiqqer.settings.gallery.type">
                            <text>
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.type"/>
                            </text>
                            <option value="component-forwardPulse">
                                <locale group="quiqqer/gallery"
                                        var="quiqqer.gallery.settings.type.component-forwardPulse"
                                />
                            </option>
                            <option value="component-coverflow">
                                <locale group="quiqqer/gallery"
                                        var="quiqqer.gallery.settings.type.component-coverflow"
                                />
                            </option>
                            <option value="component-photoBrowse">
                                <locale group="quiqqer/gallery"
                                        var="quiqqer.gallery.settings.type.component-photoBrowse"
                                />
                            </option>
                            <option value="component-ferrisWheel">
                                <locale group="quiqqer/gallery"
                                        var="quiqqer.gallery.settings.type.component-ferrisWheel"
                                />
                            </option>
                            <option value="component-snake">
                                <locale group="quiqqer/gallery"
                                        var="quiqqer.gallery.settings.type.component-snake"
                                />
                            </option>
                            <option value="component-slideBehind">
                                <locale group="quiqqer/gallery"
                                        var="quiqqer.gallery.settings.type.component-slideBehind"
                                />
                            </option>
                        </select>

                        <select conf="quiqqer.settings.gallery.sort">
                            <text>
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort"/>
                            </text>
                            <option value="title DESC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.titleDESC"/>
                            </option>
                            <option value="title ASC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.titleASC"/>
                            </option>
                            <option value="name DESC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.nameDESC"/>
                            </option>
                            <option value="name ASC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.nameASC"/>
                            </option>
                            <option value="c_date DESC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.c_dateDESC"/>
                            </option>
                            <option value="c_date ASC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.c_dateASC"/>
                            </option>
                            <option value="e_date DESC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.e_dateDESC"/>
                            </option>
                            <option value="e_date ASC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.e_dateASC"/>
                            </option>
                            <option value="priority DESC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.priorityDESC"/>
                            </option>
                            <option value="priority ASC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.priorityASC"/>
                            </option>
                        </select>
                    </settings>
                </category>

            </settings>
        </type>

        <!-- Gallery Grid -->
        <type type="types/gallery-grid" icon="fa fa-picture-o">
            <locale group="quiqqer/gallery" var="admin.types.gallery.grid"/>
            <desc>
                <locale group="quiqqer/gallery" var="admin.types.gallery.grid.desc"/>
            </desc>

            <!-- extra attributes -->
            <attributes>
                <attribute>quiqqer.settings.gallery.folderId</attribute>
                <attribute default="0">quiqqer.settings.gallery.titleClickable</attribute>
                <attribute default="20">quiqqer.settings.gallery.max</attribute>
                <attribute default="e_date DESC">quiqqer.settings.gallery.sort</attribute>
                <attribute default="bottom">quiqqer.settings.gallery.paginationPosition</attribute>
            </attributes>

            <!-- list settings -->
            <settings>

                <category name="gallery-list-settings">
                    <settings>
                        <title>
                            <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.title"/>
                        </title>

                        <input conf="quiqqer.settings.gallery.folderId" type="text" class="media-folder">
                            <text>
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.folderId"/>
                            </text>
                        </input>
                        <input conf="quiqqer.settings.gallery.titleClickable" type="checkbox">
                            <text>
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.titleClickable"/>
                            </text>
                        </input>
                        <input conf="quiqqer.settings.gallery.max" type="number">
                            <text>
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.max"/>
                            </text>
                        </input>

                        <select conf="quiqqer.settings.gallery.sort">
                            <text>
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort"/>
                            </text>
                            <option value="title DESC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.titleDESC"/>
                            </option>
                            <option value="title ASC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.titleASC"/>
                            </option>
                            <option value="name DESC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.nameDESC"/>
                            </option>
                            <option value="name ASC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.nameASC"/>
                            </option>
                            <option value="c_date DESC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.c_dateDESC"/>
                            </option>
                            <option value="c_date ASC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.c_dateASC"/>
                            </option>
                            <option value="e_date DESC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.e_dateDESC"/>
                            </option>
                            <option value="e_date ASC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.e_dateASC"/>
                            </option>
                            <option value="priority DESC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.priorityDESC"/>
                            </option>
                            <option value="priority ASC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.priorityASC"/>
                            </option>
                        </select>

                        <select conf="quiqqer.settings.gallery.paginationPosition">
                            <text>
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.paginationPosition"/>
                            </text>
                            <option value="disabled">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.paginationPosition.disabled"/>
                            </option>
                            <option value="top">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.paginationPosition.top"/>
                            </option>
                            <option value="topAndBottom">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.paginationPosition.topAndBottom"/>
                            </option>
                            <option value="bottom">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.paginationPosition.bottom"/>
                            </option>
                        </select>
                    </settings>
                </category>

            </settings>
        </type>

        <!-- Gallery Slider -->
        <type type="types/gallery-slider" icon="fa fa-picture-o">
            <locale group="quiqqer/gallery" var="admin.types.gallery.slider"/>
            <desc>
                <locale group="quiqqer/gallery" var="admin.types.gallery.slider.desc"/>
            </desc>

            <!-- extra attributes -->
            <attributes>
                <attribute>quiqqer.settings.gallery.folderId</attribute>
                <attribute default="e_date DESC">quiqqer.settings.gallery.sort</attribute>
            </attributes>

            <!-- list settings -->
            <settings>

                <category name="gallery-list-settings">
                    <settings>
                        <title>
                            <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.title"/>
                        </title>

                        <input conf="quiqqer.settings.gallery.folderId" type="text" class="media-folder">
                            <text>
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.folderId"/>
                            </text>
                        </input>

                        <select conf="quiqqer.settings.gallery.sort">
                            <text>
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort"/>
                            </text>
                            <option value="title DESC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.titleDESC"/>
                            </option>
                            <option value="title ASC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.titleASC"/>
                            </option>
                            <option value="name DESC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.nameDESC"/>
                            </option>
                            <option value="name ASC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.nameASC"/>
                            </option>
                            <option value="c_date DESC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.c_dateDESC"/>
                            </option>
                            <option value="c_date ASC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.c_dateASC"/>
                            </option>
                            <option value="e_date DESC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.e_dateDESC"/>
                            </option>
                            <option value="e_date ASC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.e_dateASC"/>
                            </option>
                            <option value="priority DESC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.priorityDESC"/>
                            </option>
                            <option value="priority ASC">
                                <locale group="quiqqer/gallery" var="quiqqer.gallery.settings.sort.priorityASC"/>
                            </option>
                        </select>
                    </settings>
                </category>

            </settings>
        </type>
    </types>

</site>
