Skip to content
Code-Schnipsel Gruppen Projekte
settings.xml 9,31 KiB
Newer Older
  • Learn to ignore specific revisions
  • <?xml version="1.0" encoding="UTF-8"?>
    <quiqqer>
        <project>
    
            <settings>
                <config>
                    <section name="menu.settings">
    
                        <conf name="showMenuDelay">
                            <type><![CDATA[number]]></type>
                            <defaultvalue>250</defaultvalue>
                        </conf>
    
                        <conf name="type">
                            <type><![CDATA[string]]></type>
                        </conf>
                    </section>
    
                    <section name="mobileMenu.settings">
    
                            <defaultvalue>slideout</defaultvalue>
    
                    </section>
                    <section name="mobileMenu.standard.settings">
    
                            <type><![CDATA[bool]]></type>
                        </conf>
                        <conf name="showLevel">
    
                            <type><![CDATA[number]]></type>
    
                            <defaultvalue>1</defaultvalue>
                        </conf>
                    </section>
    
                    <section name="mobileMenu.slideoutAdvanced.settings">
    
                            <type><![CDATA[number]]></type>
                            <defaultvalue>1</defaultvalue>
    
                            <type><![CDATA[number]]></type>
    
                </config>
    
                <window>
                    <categories>
                        <category name="menu">
    
    Henning Leutz's avatar
    Henning Leutz committed
                            <text>
                                <locale group="quiqqer/menu" var="menu.settings.category"/>
                            </text>
    
                            <icon>fa fa-bars</icon>
    
    
                            <settings title="menu.settings" name="menu.settings">
                                <title>
    
    Henning Leutz's avatar
    Henning Leutz committed
                                    <locale group="quiqqer/menu" var="menu.settings.title"/>
    
    
                                <input conf="menu.settings.showMenuDelay" type="number" min="0" max="5000">
                                    <text>
                                        <locale group="quiqqer/menu" var="menu.settings.showMenuDelay"/>
                                    </text>
                                    <description>
                                        <locale group="quiqqer/menu" var="menu.settings.showMenuDelay.desc"/>
                                    </description>
                                </input>
    
    
                                <select conf="menu.settings.type">
    
    Henning Leutz's avatar
    Henning Leutz committed
                                    <text>
                                        <locale group="quiqqer/menu" var="menu.settings.type"/>
                                    </text>
    
                                    <option value="Standard">
    
    Henning Leutz's avatar
    Henning Leutz committed
                                        <locale group="quiqqer/menu" var="menu.settings.Standard"/>
    
                                    </option>
                                    <option value="Icons">
    
    Henning Leutz's avatar
    Henning Leutz committed
                                        <locale group="quiqqer/menu" var="menu.settings.Icons"/>
    
                                    </option>
                                    <option value="IconsDescription">
    
    Henning Leutz's avatar
    Henning Leutz committed
                                        <locale group="quiqqer/menu" var="menu.settings.IconsDescription"/>
    
                                    </option>
                                    <option value="Image">
    
    Henning Leutz's avatar
    Henning Leutz committed
                                        <locale group="quiqqer/menu" var="menu.settings.Image"/>
    
                                    <option value="Simple">
                                        <locale group="quiqqer/menu" var="menu.settings.Simple"/>
                                    </option>
    
                                    <option value="noMenu">
                                        <locale group="quiqqer/menu" var="menu.settings.noMenu"/>
                                    </option>
    
                                </select>
                            </settings>
    
    
                            <settings title="mobileMenu.settings" name="mobileMenu.settings">
                                <title>
                                    <locale group="quiqqer/menu" var="mobileMenu.settings.title"/>
                                </title>
    
    
                                <select conf="mobileMenu.settings.type">
    
                                        <locale group="quiqqer/menu" var="mobileMenu.settings.type"/>
    
                                    <option value="slideout" selected="selected">
    
                                        <locale group="quiqqer/menu" var="mobileMenu.settings.template.slideout"/>
    
                                    <option value="slideoutAdvanced">
                                        <locale group="quiqqer/menu" var="mobileMenu.settings.template.slideoutAdvanced"/>
    
                            <settings title="mobileMenu.standard.settings" name="mobileMenu.standard.settings">
                                <title>
                                    <locale group="quiqqer/menu" var="mobileMenu.standard.settings.title"/>
                                </title>
    
                                <text>
                                    <locale group="quiqqer/menu" var="mobileMenu.standard.settings.desc"/>
                                </text>
    
                                <input conf="mobileMenu.standard.settings.collapseSubmenu" type="checkbox">
    
                                        <locale group="quiqqer/menu" var="mobileMenu.standard.settings.collapseSubmenu"/>
    
                                    <description>
                                        <locale group="quiqqer/menu" var="mobileMenu.standard.settings.collapseSubmenu.desc"/>
                                    </description>
    
                                <select conf="mobileMenu.standard.settings.showLevel">
    
                                        <locale group="quiqqer/menu" var="mobileMenu.standard.settings.showLevel"/>
    
                                        <locale group="quiqqer/menu" var="mobileMenu.standard.settings.showLevel.desc"/>
    
                                    <option value="1" selected="selected">1</option>
                                    <option value="2">2</option>
                                    <option value="3">3</option>
                                    <option value="4">4</option>
                                    <option value="5">5</option>
                                    <option value="6">6</option>
                                </select>
    
                            <settings title="mobileMenu.slideoutAdvanced.settings" name="mobileMenu.slideoutAdvanced.settings">
    
                                    <locale group="quiqqer/menu" var="mobileMenu.slideoutAdvanced.settings.title"/>
    
                                <text>
                                    <locale group="quiqqer/menu" var="mobileMenu.slideoutAdvanced.settings.desc"/>
                                </text>
    
                                <input conf="mobileMenu.slideoutAdvanced.settings.homeLink" type="checkbox">
    
                                        <locale group="quiqqer/menu" var="mobileMenu.slideoutAdvanced.settings.homeLink"/>
    
                                <input conf="mobileMenu.slideoutAdvanced.settings.shortDesc" type="checkbox">
    
                                        <locale group="quiqqer/menu" var="mobileMenu.slideoutAdvanced.settings.shortDesc"/>
    
                                        <locale group="quiqqer/menu" var="mobileMenu.slideoutAdvanced.settings.shortDesc.desc"/>
    
                        </category>
                    </categories>
    
                </window>
            </settings>
    
        </project>
    
    
        <settings>
            <window name="quiqqer-cache" menu-parent="/settings/quiqqer/">
                <title>
                    <locale group="quiqqer/quiqqer" var="quiqqer.settings.cache"/>
                </title>
    
                <params>
                    <icon>fa fa-sort-amount-desc</icon>
                </params>
    
    
                <category name="management" require="controls/cache/Settings">
    
                    <settings title="clearMenuCache" name="clearMenuCache">
                        <title>
                            <locale group="quiqqer/quiqqer" var="quiqqer.menu.clearMenuCache.title"/>
                        </title>
    
                        <button>boom</button>
                    </settings>
    
                </category>
    
            </window>
        </settings>
    
    
    </quiqqer>