[strip] [def root template-param("root")] [def lang-primary template-param("lang-primary")] [def config-navigation template-param("n")] [def breadcrumb-startlevel template-param("breadcrumb-startlevel")] [def lang template-param("lang")] [def lang-other template-param("lang-other")] [def lang-other-text template-param("lang-other-text")] [def lang-link-off template-param("lang-link-off")] [def unit-type template-param("unit-type")] [def startlevel template-param("startlevel")] [def startlevel-context template-param("startlevel-context")] [def head-context-for-employees-off template-param("head-context-for-employees-off")] [def shortname template-param("shortname")] [def museum template-param("museum")] [def ga template-param("ga")] [def separateDesign template-param("separateDesign")] [def separateHeaderFooter template-param("separateHeaderFooter")] [def globalMenu template-param("globalMenu")] [def localDesign template-param("localDesign")] [def head-title-config template-param("head-title-config")] [def uio-branding template-param("uio-branding")] [def request request-context()] [def env = request.appService("decorating.env")] [def repo-id repo-id()] [def resourceType resource-prop(".", "resourceType")] [def sectionName = null] [if separateHeaderFooter != null || separateDesign != null] [if separateHeaderFooter != null] [def sectionName separateHeaderFooter] [else] [if separateDesign != null] [def sectionName separateDesign] [endif] [endif] [endif] [if lang = null] [def lang "no"] [endif] [if breadcrumb-startlevel = null] [if startlevel = "0"] [def breadcrumb-startlevel "2"] [else] [def breadcrumb-startlevel "3"] [endif] [endif] [if lang-primary = null] [def lang-primary "no"] [endif] [def pageLang resource-prop(".", "contentLocale")] [if pageLang = null] [def pageLang lang] [endif] [def pageLangNormalized pageLang] [if pageLangNormalized = "no_NO"] [def pageLangNormalized "no"] [endif] [if pageLangNormalized = "no_NO_NY"] [def pageLangNormalized "nn"] [endif] [if lang = "en"] [def shortnameSearch "Search our webpages"] [else] [if shortname != null] [def shortnameSearch concat("S?k i nettsidene til ", shortname)] [else] [def shortnameSearch "S?k i v?re nettsider"] [endif] [endif] [if shortname != null] [def shortname concat("澳门皇冠体育,皇冠足球比分 ", shortname)] [else] [def shortname "澳门皇冠体育,皇冠足球比分"] [endif] [if startlevel] [def startlevel startlevel.int()] [def startlevel-menus startlevel] [endif] [if startlevel-context] [def startlevel-context startlevel-context.int()] [def startlevel-menus startlevel-context] [endif] [def parentUri ""] [def theFrontpage ""] [def path request.request-url.path] [if path != null] [def currentCollection request.current-collection] [if currentCollection != null] [def parentUri currentCollection.regexp-replace("/[^/]+$", "")] [endif] [if ((length(path.split("/")) - 2) = startlevel-menus) && path ~ ".*/index.html$"] [def theFrontpage "true"] [endif] [endif] [def visual-profile resource-aspect("visual-profile")] [def visual-profile-navigation visual-profile.navigation] [def responsible-for-this-page-url visual-profile.responsible-for-this-page-url] [def responsible-for-this-page-email visual-profile.responsible-for-this-page-email] [def responsible-for-this-page-name visual-profile.responsible-for-this-page-name] [def row-color-profile visual-profile.row-color-profile] [def description resource-prop(".", "description")] [def isUiOMain repo-id ~ "www.uio.no"] [def isUiOMainFrontpage ((request.request-url.path ~ "^/$" || request.request-url.path ~ "^/index.html$" || request.request-url.path ~ "^/english$" || request.request-url.path ~ "^/english/index.html$") && isUiOMain)] [if config-navigation = null] [def navigation visual-profile-navigation] [else] [def navigation config-navigation] [endif] [if lang = "en"] [def go-to "Go to"] [def search-in "Search in"] [def search "Search"] [def responsible-for-this-page "Responsible for this page"] [def responsible-send "Send"] [def responsible-email "e-mail"] [def global-menu "Menu"] [def desktop-menu "All content"] [def breadcrumbs-title "Breadcrumbs"] [def globalnav-title "Main menu"] [def left-menu-title "Sub menu"] [def global-sub-menu-title "Sub menu"] [def head-admin "Administration of the website"] [def frontpage "Home"] [def uio-name "University of Oslo"] [def logout "Log out"] [def lang-link "no"] [def lang-other-folder "norsk"] [def part-of "A part of "] [else] [def go-to "G? til"] [def search-in "S?k i"] [def search "S?k"] [def responsible-for-this-page "Ansvarlig for denne siden"] [def responsible-send "Send"] [def responsible-email "e-post"] [def global-menu "Meny"] [def desktop-menu "Alt innhold"] [def breadcrumbs-title "Br?dsmulesti"] [def globalnav-title "Hovedmeny"] [def left-menu-title "Undermeny"] [def global-sub-menu-title "Undermeny"] [def head-admin "Administrasjon av nettsiden"] [def frontpage "澳门皇冠体育,皇冠足球比分"] [def uio-name "Universitetet i Oslo"] [def logout "Logg ut"] [def lang-link "en"] [def lang-other-folder "english"] [def part-of "En del av "] [endif] [def startlevelName null] [def startlevelTitle null] [def startlevelUrl null] [def startlevelParentName null] [def startlevelParentTitle null] [def startlevelParentUrl null] [def startlevelParentTitleEng null] [def startlevelGrandParentUrl null] [def startlevelGrandParentTitleEng null] [def separateHeader null] [def separateHeaderEng null] [def separateFooter null] [def separateFooterEng null] [def separateSupMenu null] [def separateSupMenuEng null] [capture startlevelName][call "include:property" {"id":"name", "uri-level":startlevel-menus}][/capture] [capture startlevelTitle][call "include:property" {"id":"title", "uri-level":startlevel-menus}][/capture] [capture startlevelUrl][call "include:property" {"id":"uri", "uri-level":startlevel-menus}][/capture] [if startlevel > 1] [capture startlevelParentName][call "include:property" {"id":"name", "uri-level":startlevel-menus - 1}][/capture] [capture startlevelParentTitle][call "include:property" {"id":"title", "uri-level":startlevel-menus - 1}][/capture] [capture startlevelParentUrl][call "include:property" {"id":"uri", "uri-level":startlevel-menus - 1}][/capture] [capture startlevelParentTitleEng][call "include:property" {"id":"title", "uri":startlevelParentUrl + "/english"}][/capture] [endif] [if startlevel > 2] [capture startlevelGrandParentUrl][call "include:property" {"id":"uri", "uri-level":startlevel-menus - 2}][/capture] [capture startlevelGrandParentTitleEng][call "include:property" {"id":"title", "uri":startlevelGrandParentUrl + "/english"}][/capture] [endif] [if sectionName != null] [capture separateHeader][call "include:file" {"file":"/vrtx/decorating/resources/headers/header-" + sectionName + ".txt", "ignore-missing": true}][/capture] [capture separateHeaderEng][call "include:file" {"file":"/vrtx/decorating/resources/headers/header-" + sectionName + "-eng.txt", "ignore-missing": true}][/capture] [capture separateFooter][call "include:file" {"file":"/vrtx/decorating/resources/footers/footer-" + sectionName + ".txt", "ignore-missing": true}][/capture] [capture separateFooterEng][call "include:file" {"file":"/vrtx/decorating/resources/footers/footer-" + sectionName + "-eng.txt", "ignore-missing": true}][/capture] [capture separateSupMenu][call "include:file" {"file":"/vrtx/decorating/resources/menu/supplerende-" + sectionName + ".txt", "ignore-missing": true}][/capture] [capture separateSupMenuEng][call "include:file" {"file":"/vrtx/decorating/resources/menu/supplementary-" + sectionName + ".txt", "ignore-missing": true}][/capture] [if sectionName = "subsection" && startlevel > 0] [capture separateHeader][call "include:file" {"file":"/vrtx/decorating/resources/headers/header-$path(" + startlevel + ").txt", "ignore-missing": true}][/capture] [capture separateHeaderEng][call "include:file" {"file":"/vrtx/decorating/resources/headers/header-$path(" + startlevel + ")-eng.txt", "ignore-missing": true}][/capture] [capture separateFooter][call "include:file" {"file":"/vrtx/decorating/resources/footers/footer-$path(" + startlevel + ").txt", "ignore-missing": true}][/capture] [capture separateFooterEng][call "include:file" {"file":"/vrtx/decorating/resources/footers/footer-$path(" + startlevel + ")-eng.txt", "ignore-missing": true}][/capture] [capture separateSupMenu][call "include:file" {"file":"/vrtx/decorating/resources/menu/supplerende-$path(" + startlevel + ").txt", "ignore-missing": true}][/capture] [capture separateSupMenuEng][call "include:file" {"file":"/vrtx/decorating/resources/menu/supplementary-$path(" + startlevel + ").txt", "ignore-missing": true}][/capture] [endif] [endif] [def search-service "search"] [endstrip]
[slot template-head] [if description != null] [endif] [if head-title-config != null]