lib.header = COA
lib.header {
    10 = TEXT
    10.value = <img src="fileadmin/templates/img/wappen-ministerium.png" alt="Bayerisches Staatsministerium für Bildung und Kultus, Wissenschaft und Kunst" class="logo">

    20 = TEXT
    20 {
        value = Der Oberstufen- und<br>Abiturplaner für Bayern
        typolink.parameter = 1
        wrap = <div class="name"> | </div>
    }

    30 < temp.menue_navbutton
}

## Accessibility Buttons
#temp.accessbuttons = USER
#temp.accessbuttons {
#    userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
#    pluginName = Pi1
#    extensionName = IfAccessButtons
#    vendorName = Ifabrik
#    controller = AccessibilityButtons
#    view < plugin.tx_ifaccessbuttons_pi1.view
#    persistence < plugin.tx_ifaccessbuttons_pi1.persistence
#    settings < plugin.tx_ifaccessbuttons_pi1.settings
#}
#
#lib.accessibilitybuttons < temp.accessbuttons

page = PAGE
page {
    meta.viewport = width=device-width, initial-scale=1.0

    shortcutIcon = fileadmin/templates/favicon.ico

    includeCSS {
        # Googlefonts vom CDN einbinden
        googlefonts1 = //fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800
        googlefonts1.external = 1

        googlefonts2 = //fonts.googleapis.com/css?family=Open+Sans+Condensed:300
        googlefonts2.external = 1

        # Fontawesome Fonts vom CDN einbinden
        fontawesome = //maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css
        fontawesome.external = 1

        # eigene CSS-Datei
        file1 = fileadmin/templates/css/style.css

        # CSS fuer mobiles Menue
        mmenu = fileadmin/templates/css/jquery.mmenu.all.css

        # eigene CSS-Datei
        file2 = fileadmin/templates/css/style.additional.css
    }

    includeJSFooter {
        # JS fuer mobiles Menue
        mmenu = fileadmin/templates/js/jquery.mmenu.min.all.js

        # eigenes JS
        file1 = fileadmin/templates/js/script.js
    }


    10 = FLUIDTEMPLATE
    10 {
        file = fileadmin/templates/template.html

        layoutRootPaths {
            10 = fileadmin/templates/Layouts
        }

        partialRootPaths {
            10 = fileadmin/templates/Partials
        }

       variables {
           backendLayout = TEXT
           backendLayout.data = levelfield:-2,backend_layout_next_level,slide
           backendLayout.override.field = backend_layout

           inhalt < styles.content.get

           inhaltRechts < styles.content.getRight
       }
    }
}

# CSS nur fuer Startseite
[globalVar = TSFE:id = 1]
page.includeCSS.startseite = fileadmin/templates/css/startseite.css
[global]

# Accessibility Buttons
temp.accessbuttons = USER
temp.accessbuttons {
    userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
    pluginName = Pi1
    extensionName = IfAccessButtons
    vendorName = Ifabrik
    controller = AccessibilityButtons
    view < plugin.tx_ifaccessbuttons_pi1.view
    persistence < plugin.tx_ifaccessbuttons_pi1.persistence
    settings < plugin.tx_ifaccessbuttons_pi1.settings
}

lib.accessibilitybuttons < temp.accessbuttons

ajax = PAGE
ajax {
    typeNum = 123
    config.disableAllHeaderCode = 1
    config.metaCharset = UTF-8
    10 = COA
    10 < tt_content.list.20.ifaccessbuttons_pi1
}
