[strip] [def config-navigation template-param("n")] [def lang template-param("lang")] [def lang-other template-param("lang-other")] [def lang-other-text template-param("lang-other-text")] [def unit-type template-param("unit-type")] [def not-uio template-param("not-uio")] [def for-employees template-param("for-employees")] [def startlevel template-param("startlevel")] [def startlevel-context template-param("startlevel-context")] [def globalnav-custom template-param("globalnav-custom")] [def head-context-for-employees-off template-param("head-context-for-employees-off")] [def shortname template-param("shortname")] [def shortname-faculty template-param("shortname-faculty")] [def studies template-param("studies")] [def studies-fs template-param("studies-fs")] [def english-courses template-param("english-courses")] [def museum template-param("museum")] [def sff template-param("sff")] [def context-tagline template-param("context-tagline")] [def responsive-off template-param("responsive-off")] [def bottom-nav-off template-param("bottom-nav-off")] [def ga template-param("ga")] [def expandable-header-search template-param("expandable-header-search")] [def uio-app-line-top template-param("uio-app-line-top")] [def root template-param("root")] [def separateDesign template-param("separateDesign")] [def separateHeaderFooter template-param("separateHeaderFooter")] [def left-menu template-param("left-menu")] [def minusstartlevel template-param("minusstartlevel")] [def link-in-head-menu template-param("link-in-head-menu")] [def link-in-head-menu-text template-param("link-in-head-menu-text")] [def own-crisis-banner template-param("own-crisis-banner")] [def head-title-config template-param("head-title-config")] [def special-page template-param("special-page")] [def special-page-header-minimal template-param("special-page-header-minimal")] [def hide-language-switch template-param("hide-language-switch")] [def request request-context()] [def env = request.appService("decorating.env")] [def repo-id repo-id()] [def resourceType resource-prop(".", "resourceType")] [def parentUri request.request-url.path] [if parentUri != null] [def parentUri parentUri.regexp-replace("/[^/]+(/[^/]+.html)?$", "")] [endif] [capture bodyId][strip][call "document:element-attributes" {"select":"html.body", "exclude":"class", "value-only":"true"}][endstrip][endcapture] [def officeField ""] [def officeVal ""] [def officeValTop ""] [def office null] [def officeTop null] [if repo-id = "www.vortex-demo.uio.no" || repo-id = "www.usit.uio.no" || repo-id = "www.uio.no" || repo-id = "vortex-test.uio.no" || repo-id = "vortex-dev3.uio.no"] [list request.request-url.parameters params] [list params fieldOrVal] [if fieldOrVal = "office.mode"] [def officeField "true"] [endif] [if fieldOrVal = "html"] [def officeVal "true"] [endif] [if fieldOrVal = "vrtxViewTop"] [def officeValTop "true"] [endif] [endlist] [endlist] [if officeField = "true" && officeVal = "true"] [def office "true"] [endif] [if (officeField = "true" && officeValTop = "true") || bodyId = 'id="office-ticket-framed"' || bodyId = 'office-ticket-framed'] [def officeTop "true"] [endif] [endif] [def employee-app "for-ansatte.uio.no"] [if root != null] [if separateHeaderFooter = null] [def rootResources root] [else] [def rootResources null] [endif] [else] [def rootResources root] [endif] [if lang = null] [def lang "no"] [endif] [def pageLang resource-prop(".", "contentLocale")] [if pageLang = null] [def pageLang lang] [endif] [if english-courses != null] [def lang "en"] [def pageLang "en"] [endif] [if lang = "en"] [if (for-employees = null || for-employees = "false")] [def shortnameSearch "Search our webpages"] [else] [def shortnameSearch "Search in For employees"] [endif] [else] [if unit-type = "UoO"] [if (for-employees = null || for-employees = "false")] [def shortnameSearch "S?k i nettsidene til UiO"] [else] [def shortnameSearch "S?k i For ansatte"] [endif] [else] [if shortname != null] [def shortnameSearch concat("S?k i nettsidene til ", shortname)] [else] [def shortnameSearch "S?k i v?re nettsider"] [endif] [endif] [endif] [if (for-employees = null || for-employees = "false") && 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 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 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 officeTop != null] [def navigation "no-navigation"] [endif] [if lang = "en"] [def go-to "Go to"] [def search-in "Search in"] [def search-in-at "at"] [def search "Search"] [def university-of-oslo "University of Oslo"] [def university-of-oslo-url "/english/"] [def responsible-for-this-page "Responsible for this page"] [def responsible-send "Send"] [def responsible-email "e-mail"] [def powered-by "Powered by"] [def responsive-menu "Menu"] [def desktop-menu "All content"] [def uio-slogan "a leading European university"] [def breadcrumb-title "Organization navigation"] [def globalnav-title "Main menu"] [def left-main-title "Sub menu"] [def context-part-of "A part of"] [def context-at "at"] [def context-and "and"] [def frontpage "Home"] [else] [def go-to "G? til"] [def search-in "S?k i"] [def search-in-at "p?"] [def search "S?k"] [def university-of-oslo "Universitetet i Oslo"] [def university-of-oslo-url "/"] [def responsible-for-this-page "Ansvarlig for denne siden"] [def responsible-send "Send"] [def responsible-email "e-post"] [def powered-by "Drevet av"] [def responsive-menu "Meny"] [def desktop-menu "Alt innhold"] [def uio-slogan "et ledende europeisk universitet"] [def breadcrumb-title "Organisasjonsnavigasjon"] [def globalnav-title "Hovedmeny"] [def left-main-title "Undermeny"] [def context-part-of "En del av"] [def context-at "ved"] [def context-and "og"] [def frontpage "澳门皇冠体育,皇冠足球比分"] [endif] [if unit-type = "UoO"] [if for-employees = "true" || startlevel-context != null] [def search-service "search"] [else] [def search-service "searchuio"] [endif] [else] [def search-service "search"] [endif] [def ctxTitle null] [def ctxStatus null] [def ctxStatusLinkFSCode null] [def ctxStatusLinkResourceType null] [def ctxFSCode null] [def ctxTitleSubCtx null] [def ctxLink null] [def ctxType null] [if studies != null || studies-fs != null] [if studies-fs = null] [def programCtxStatus resource-prop(".", "programContext.status")] [def programCtxTitle resource-prop(".", "programContext.title")] [else] [def programCtxStatus resource-prop(".", "fs-studieprogram-status")] [def programCtxTitle resource-prop(".", "fs-studieprogram-title")] [endif] [def programCtxFSCode resource-prop(".", "programContext.fs-program-code")] [def programOptionCtxTitle resource-prop(".", "programOptionContext.title")] [def programOptionCtxStatus resource-prop(".", "programOptionContext.status")] [def programOptionCtxFSCode resource-prop(".", "programOptionContext.fs-program-option-code")] [def courseCtxTitleNo resource-prop(".", "courseContext.course-name-no")] [if courseCtxTitleNo = null] [def courseCtxTitleNo resource-prop(".", "course-name-no")] [endif] [def courseCtxTitleNn resource-prop(".", "courseContext.course-name-nn")] [if courseCtxTitleNn = null] [def courseCtxTitleNn resource-prop(".", "course-name-nn")] [endif] [def courseCtxTitleEn resource-prop(".", "courseContext.course-name-en")] [if courseCtxTitleEn = null] [def courseCtxTitleEn resource-prop(".", "course-name-en")] [endif] [def courseCtxStatus resource-prop(".", "courseContext.course-status")] [if courseCtxStatus = null] [def courseCtxStatus resource-prop(".", "courseStatus")] [endif] [def courseCtxFSCode resource-prop(".", "courseContext.fs-course-code")] [if courseCtxFSCode = null] [def courseCtxFSCode resource-prop(".", "courseCode")] [endif] [def semesterCtxTitle resource-prop(".", "semesterContext.semesterTitle")] [def courseGroupStatus resource-prop(".", "status")] [def courseGroupScope resource-prop(".", "course-group-scope")] [if pageLang = "en"] [def courseCtxTitle courseCtxTitleEn] [elseif pageLang = "nn" || pageLang = "no_NO_NY"] [def courseCtxTitle courseCtxTitleNn] [else] [def courseCtxTitle courseCtxTitleNo] [endif] [if resourceType = "course-schedule" || resourceType = "program-option-frontpage"] [def navigation "no-navigation"] [endif] [if programCtxStatus = "in-progress"] [if pageLang = "en"] [def ctxStatus "This is a draft"] [else] [def ctxStatus "Dette er en kladd"] [endif] [elseif programCtxStatus = "being-phased-out"] [if pageLang = "en"] [def ctxStatus "This programme no longer admits students"] [else] [def ctxStatus "Programmet tar ikke opp nye studenter"] [endif] [elseif programCtxStatus = "closed"] [if pageLang = "en"] [def ctxStatus "This programme is closed"] [else] [def ctxStatus "Programmet er nedlagt"] [endif] [endif] [if programCtxTitle != null && programCtxTitle != ""] [if programCtxStatus != null && programCtxStatus != "" && programCtxStatus != "aktivt"] [def ctxStatusLinkFSCode resource-prop(".", "programContinuedAs")] [def ctxStatusLinkResourceType "studieprogram"] [if programCtxStatus = "under-arbeid"] [if pageLang = "en"] [def ctxStatus "This is a draft"] [else] [def ctxStatus "Dette er en kladd"] [endif] [endif] [if programCtxStatus = "under-utfasing"] [if pageLang = "en"] [def ctxStatus "This programme no longer admits students"] [else] [def ctxStatus "Programmet tar ikke opp nye studenter"] [endif] [endif] [if programCtxStatus = "nedlagt"] [if pageLang = "en"] [def ctxStatus "This programme is closed"] [else] [def ctxStatus "Programmet er nedlagt"] [endif] [endif] [if programCtxStatus = "viderefort"] [if ctxStatusLinkFSCode != null && ctxStatusLinkFSCode != ""] [if pageLang = "en"] [def ctxStatus "This programme is replaced by"] [elseif pageLang = "nn" || pageLang = "no_NO_NY"] [def ctxStatus "Dette programmet er erstatta av"] [else] [def ctxStatus "Dette programmet er erstattet av"] [endif] [else] [if pageLang = "en"] [def ctxStatus "This programme is replaced."] [elseif pageLang = "nn" || pageLang = "no_NO_NY"] [def ctxStatus "Dette programmet er erstatta."] [else] [def ctxStatus "Dette programmet er erstattet."] [endif] [endif] [endif] [endif] [if programOptionCtxTitle != null && programOptionCtxTitle != ""] [if programOptionCtxStatus != null && programOptionCtxStatus != "" && programOptionCtxStatus != "aktivt"] [def ctxStatusLinkFSCode resource-prop(".", "programOptionContinuedAs")] [def ctxStatusLinkResourceType "studieretning"] [if programOptionCtxStatus = "under-arbeid"] [if pageLang = "en"] [def ctxStatus "This is a draft"] [else] [def ctxStatus "Dette er en kladd"] [endif] [endif] [if programOptionCtxStatus = "under-utfasing"] [if pageLang = "en"] [def ctxStatus "This programme option no longer admits students"] [else] [def ctxStatus "澳门皇冠体育,皇冠足球比分etningen tar ikke opp nye studenter"] [endif] [endif] [if programOptionCtxStatus = "nedlagt"] [if pageLang = "en"] [def ctxStatus "This programme option is closed"] [else] [def ctxStatus "澳门皇冠体育,皇冠足球比分etningen er nedlagt"] [endif] [endif] [if programOptionCtxStatus = "viderefort"] [if ctxStatusLinkFSCode != null && ctxStatusLinkFSCode != ""] [if pageLang = "en"] [def ctxStatus "This programme option is replaced by"] [elseif pageLang = "nn" || pageLang = "no_NO_NY"] [def ctxStatus "Denne studieretninga erstatta av"] [else] [def ctxStatus "Denne studieretningen er erstattet av"] [endif] [else] [if pageLang = "en"] [def ctxStatus "This programme option is replaced."] [elseif pageLang = "nn" || pageLang = "no_NO_NY"] [def ctxStatus "Denne studieretninga er erstatta."] [else] [def ctxStatus "Denne studieretningen er erstattet."] [endif] [endif] [endif] [endif] [endif] [if studies-fs = null] [if resourceType != "program-frontpage"] [def coll request.current-collection] [def collSplit null] [if programOptionCtxTitle != null && resourceType != "program-option-frontpage"] [def ctxTitle programOptionCtxTitle] [def ctxFSCode programOptionCtxFSCode] [def ctxType "program-option"] [def collSplit coll.split("(?<=(/(studier/program|english/studies/programmes)/[^/]{1,100}+/(studieretninger|programme-options)/[^/]{1,100}+/)).*$")] [else] [def ctxTitle programCtxTitle] [def ctxFSCode programCtxFSCode] [def ctxType "program"] [def collSplit coll.split("(?<=(/(studier/program|english/studies/programmes)/[^/]{1,100}+/)).*$")] [endif] [if collSplit != null && collSplit.length() > 0] [def ctxLink collSplit.0] [endif] [endif] [else] [if resourceType != "fs-studieprogram-frontpage"] [def coll request.current-collection] [def ctxTitle programCtxTitle] [def ctxFSCode programCtxFSCode] [def ctxType "program"] [def collSplit coll.split("(?<=(/(studier/programmer|english/studies/programmes)/[^/]{1,100}+/)).*$")] [if collSplit != null && collSplit.length() > 0] [def ctxLink collSplit.0] [endif] [endif] [endif] [else] [if (courseCtxTitle != null && courseCtxTitle != "") || (courseCtxFSCode != null && courseCtxFSCode != "")] [if courseCtxStatus != null && courseCtxStatus != "" && courseCtxStatus != "current-version"] [if courseCtxStatus = "continued-as"] [def ctxStatusLinkFSCode resource-prop(".", "courseContext.course-continued-as")] [if ctxStatusLinkFSCode = null] [def ctxStatusLinkFSCode resource-prop(".", "continuedAs")] [endif] [def ctxStatusLinkResourceType "emne"] [if ctxStatusLinkFSCode != null && ctxStatusLinkFSCode != ""] [if pageLang = "en"] [def ctxStatus "This course is replaced by"] [elseif pageLang = "nn" || pageLang = "no_NO_NY"] [def ctxStatus "Dette emnet er erstatta av"] [else] [def ctxStatus "Dette emnet er erstattet av"] [endif] [else] [if pageLang = "en"] [def ctxStatus "This course is replaced."] [elseif pageLang = "nn" || pageLang = "no_NO_NY"] [def ctxStatus "Dette emnet er erstatta"] [else] [def ctxStatus "Dette emnet er erstattet"] [endif] [endif] [endif] [if courseCtxStatus = "discontinued-course"] [if pageLang = "en"] [def ctxStatus "This course is discontinued"] [else] [def ctxStatus "Dette emnet er nedlagt"] [endif] [endif] [endif] [if resourceType != "course-description" && resourceType != "uio-fs-course" && resourceType != "uio-fs-course-context"] [if courseCtxTitle = null || courseCtxTitle = ""] [def ctxTitle ""] [else] [def ctxTitle courseCtxTitle] [endif] [def ctxFSCode courseCtxFSCode] [def ctxTitleSubCtx semesterCtxTitle] [def coll request.current-collection] [def collSplit null] [if ctxTitleSubCtx != null && resourceType != "semester-page" && resourceType != "semester"] [def ctxType "semester"] [def collSplit coll.split("(?<=((|/konv/aapen|/konv/sperret)/((studier/(emner|emner-migrert)/[^/]{1,100}+/[^/]{1,100}+/[^/]{1,100}+)|(english/studies/courses/[^/]{1,100}+/[^/]{1,100}+/[^/]{1,100}+))/[vhs]{1}[0-9]{2}((-[1-8]{1})|)/)).*$")] [def semesterTerm resource-prop(".", "semesterContext.semesterTerm")] [def semesterYear resource-prop(".", "semesterContext.semesterYear")] [def semesterTermNumber resource-prop(".", "semesterContext.semesterTermNumber")] [if semesterTerm != null && semesterTerm != ""] [if pageLang = "en"] [if semesterTerm = "v"] [def ctxTitleSubCtx "Spring"] [elseif semesterTerm = "h"] [def ctxTitleSubCtx "Autumn"] [else] [def ctxTitleSubCtx "Summer"] [endif] [elseif pageLang = "nn" || pageLang = "no_NO_NY"] [if semesterTerm = "v"] [def ctxTitleSubCtx "V?r"] [elseif semesterTerm = "h"] [def ctxTitleSubCtx "H?st"] [else] [def ctxTitleSubCtx "Sommar"] [endif] [else] [if semesterTerm = "v"] [def ctxTitleSubCtx "V?r"] [elseif semesterTerm = "h"] [def ctxTitleSubCtx "H?st"] [else] [def ctxTitleSubCtx "Sommer"] [endif] [endif] [endif] [if semesterYear != null && semesterYear != ""] [def ctxTitleSubCtx concat(ctxTitleSubCtx, " ")] [def ctxTitleSubCtx concat(ctxTitleSubCtx, semesterYear)] [endif] [if semesterTermNumber != null && semesterTermNumber != ""] [def ctxTitleSubCtx concat(ctxTitleSubCtx, " - ")] [if pageLang = "en"] [def ctxTitleSubCtx concat(ctxTitleSubCtx, "Term")] [else] [def ctxTitleSubCtx concat(ctxTitleSubCtx, "Termin")] [endif] [def ctxTitleSubCtx concat(ctxTitleSubCtx, " ")] [def ctxTitleSubCtx concat(ctxTitleSubCtx, semesterTermNumber)] [endif] [else] [def ctxType "course"] [def collSplit coll.split("(?<=((|/konv/aapen|/konv/sperret)/((studier/(emner|emner-migrert)/[^/]{1,100}+/[^/]{1,100}+/[^/]{1,100}+/)|(english/studies/courses/[^/]{1,100}+/[^/]{1,100}+/[^/]{1,100}+/)))).*$")] [endif] [if collSplit != null && collSplit.length() > 0] [def ctxLink collSplit.0] [endif] [endif] [endif] [endif] [if courseGroupScope != null && courseGroupStatus != null && courseGroupStatus != "" && courseGroupStatus != "current-version"] [if courseGroupStatus = "discontinued-course-group"] [if pageLang = "en"] [def ctxStatus "This course group is discontinued"] [elseif pageLang = "nn" || pageLang = "no_NO_NY"] [def ctxStatus "Denne emnegruppa er nedlagt"] [else] [def ctxStatus "Denne emnegruppen er nedlagt"] [endif] [elseif courseGroupStatus = "being-phased-out"] [if pageLang = "en"] [def ctxStatus "This course group no longer admits students"] [elseif pageLang = "nn" || pageLang = "no_NO_NY"] [def ctxStatus "Denne emnegruppa tek ikkje opp nye studentar"] [else] [def ctxStatus "Denne emnegruppen tar ikke opp nye studenter"] [endif] [endif] [endif] [endif] [endstrip] [if responsive-off = null] [else] [endif] [if description != null] [endif] [if studies != null || studies-fs != null || head-title-config != null] [call "resource:contextual-title-new"]_澳门皇冠体育,皇冠足球比分 [else] [if for-employees = "true"] [call "document:element" {"select":"html.head.title"}] - [call "include:property" {"id":"title", "uri-level":startlevel}] - [call "include:property" {"id":"title", "uri-level":startlevel - 1}] _澳门皇冠体育,皇冠足球比分 [else] [if startlevel-context] [call "document:element" {"select":"html.head.title"}] - [call "include:property" {"id":"title", "uri-level":startlevel-context}]_澳门皇冠体育,皇冠足球比分 [else] [call "document:element" {"select":"html.head.title"}] - [call "include:property" {"id":"title", "uri-level":startlevel}]_澳门皇冠体育,皇冠足球比分 [endif] [endif] [endif] [call "lib:twitter-cards"] [call "lib:open-graph"] [call "tmp:favicons" {"museum": museum, "notUio": not-uio, "root": rootResources}] [call "tmp:page-info"] [call "tmp:head-resources" {"responsiveoff": responsive-off, "repoid": repo-id, "ga": ga, "notUio": not-uio, "root": rootResources, "separateDesign": separateDesign, "env": env}] [call "document:element" {"select":"html.head", "exclude":"title"}] [if for-employees = "true"] [else] [if (startlevel = 0) || (startlevel = 1 && lang = "en")] [else] [if (startlevel = 2 && lang = "en")] [else] [endif] [endif] [endif] [call "tmp:hidden-navigation" {"lang": lang ,"foremployees": for-employees}]
[if for-employees = "true" || uio-app-line-top != null]
[val university-of-oslo]
[else] [if (unit-type != "UoO" || startlevel-context != null) && not-uio = null]
[val breadcrumb-title]
[if lang = "en"] Home UiO [if unit-type = "sub-unit"] [call "include:property" {"id":"title", "uri":"/english"}] [endif] [else] 澳门皇冠体育,皇冠足球比分 UiO [if unit-type = "sub-unit"] [call "include:property" {"id":"title", "uri":"/"}] [endif] [endif] [if startlevel-context != null && startlevel != null && startlevel-context != startlevel] [if unit-type != "UoO"] [call "include:property" {"id":"title", "uri-level":startlevel}] [endif] [call "include:property" {"id":"title", "uri-level":startlevel-context}] [else] [call "include:property" {"id":"title", "uri-level":startlevel}] [endif]
[endif] [endif]
[if museum != null][endif] [if not-uio = null]
[if for-employees = "true"] [call "include:property" {"id":"title", "uri-level":startlevel}] [else] UiO UiO [val university-of-oslo] [endif] [if for-employees = "true"] [call "include:property" {"id":"title", "uri-level":startlevel - 1}] [else] [if english-courses = null] [call "include:property" {"id":"title", "uri-level":startlevel}] [else] [call "include:property" {"id":"title", "uri":"/english"}] [endif] [endif] [if for-employees = null || for-employees = "false"] [if (startlevel = 1 && lang = "no")] [if sff = null][call "include:property" {"id":"title", "uri": "/"}][else][call "include:file" {"file":"/vrtx/decorating/resources/headers/taglines/$path(1).txt"}][endif] [elseif (startlevel = 2 && lang = "en")] [if sff = null][call "include:property" {"id":"title", "uri": "/english"}][else][call "include:file" {"file":"/vrtx/decorating/resources/headers/taglines/$path(1)-eng.txt"}][endif] [endif] [endif] [if isUiOMainFrontpage] – [val uio-slogan] [endif]
[endif] [if not-uio != null]
[if root = null] [if lang != "en"] [call "include:file" {"file":"/vrtx/decorating/resources/headers/header.txt"}] [else] [call "include:file" {"file":"/vrtx/decorating/resources/headers/header-eng.txt"}] [endif] [else] [if separateDesign != null || separateHeaderFooter != null] [if lang != "en"] [call "include:file" {"file":"/vrtx/decorating/resources/headers/" + root + ".txt"}] [else] [call "include:file" {"file":"/vrtx/decorating/resources/headers/" + root + "-eng.txt"}] [endif] [else] [if lang != "en"] [call "include:file" {"file":"/" + root + "/decorating/header.txt"}] [else] [call "include:file" {"file":"/" + root + "/decorating/header-eng.txt"}] [endif] [endif] [endif]
[endif] [if startlevel-context = null]
[!-- Fix for crash when startlevel-menus is 0: --] [def uri-level = startlevel-menus - 1][if uri-level < 0][def uri-level = 0][/if]
    [if lang = "en"] [if for-employees = "true"]
  • Homepage of [call "include:property" {"id":"title", "uri-level":uri-level}]
  • [if hide-language-switch = null]
  • Norwegian website
  • [endif] [else] [if not-uio = null]
  • For employees
  • [endif] [if link-in-head-menu != null]
  • [if link-in-head-menu ~ "^http.*$"] [if link-in-head-menu-text != null][val link-in-head-menu-text][else][val link-in-head-menu][endif] [else] [if link-in-head-menu-text != null][val link-in-head-menu-text][else][val link-in-head-menu][endif] [endif]
  • [endif] [if english-courses = null] [if hide-language-switch = null]
  • Norwegian website
  • [endif] [else] [if hide-language-switch = null]
  • Norwegian website
  • [endif] [endif] [endif] [else] [if for-employees = "true"]
  • 澳门皇冠体育,皇冠足球比分 til [call "include:property" {"id":"title", "uri-level":uri-level}]
  • [if hide-language-switch = null]
  • English website
  • [endif] [else] [if not-uio = null]
  • For ansatte
  • [endif] [if link-in-head-menu != null]
  • [if link-in-head-menu ~ "^http.*$"] [if link-in-head-menu-text != null][val link-in-head-menu-text][else][val link-in-head-menu][endif] [else] [if link-in-head-menu-text != null][val link-in-head-menu-text][else][val link-in-head-menu][endif] [endif]
  • [endif] [if startlevel = 0] [if hide-language-switch = null]
  • English website
  • [endif] [else] [if hide-language-switch = null]
  • English website
  • [endif] [endif] [endif] [endif]
[call "include:login-manage-user-options"]
[endif] [if for-employees = "true"]
[val desktop-menu]
[endif]
[if startlevel-context != null]
[call "include:property" {"id":"title", "uri-level":startlevel-context}] [if unit-type != "UoO"]
[if context-tagline != null] [if lang = "no"] [call "include:file" {"file":"/vrtx/decorating/resources/headers/taglines/$path(" + startlevel-menus + ").txt"}] [elseif lang = "en"] [call "include:file" {"file":"/vrtx/decorating/resources/headers/taglines/$path(" + startlevel-menus + ")-eng.txt"}] [endif] [else] [if (startlevel = 1 && lang = "no")] [val context-part-of] [call "include:property" {"id":"title", "uri-level":startlevel}] [val context-at] [call "include:property" {"id":"title", "uri": "/"}] [elseif (startlevel = 2 && lang = "en")] [val context-part-of] [call "include:property" {"id":"title", "uri-level":startlevel}] [val context-at] [call "include:property" {"id":"title", "uri": "/english"}] [else] [val context-at] [call "include:property" {"id":"title", "uri-level":startlevel}] [endif] [endif]
[endif]
[if (not-uio = null && head-context-for-employees-off = null) || (lang-other != null && lang-other-text != null)]
    [if not-uio = null && head-context-for-employees-off = null]
  • [if lang != "en"]For ansatte[else]For employees[endif]
  • [endif] [if lang-other != null && lang-other-text != null]
  • [val lang-other-text]
  • [endif]
[endif] [call "include:login-manage-user-options"]
[endif] [if for-employees = "true"]
[if lang = "en"]

Frontpage

Work support

[call "resource:subfolder-menu" {"uri":"/english/for-employees/support/", "direction": "asc", "depth": 1, "exclude-folders": "bilder", "authenticated": "true"}]

Employment conditions

[call "resource:subfolder-menu" {"uri":"/english/for-employees/employment/", "direction": "asc", "depth": 1, "exclude-folders": "bilder", "authenticated": "true"}]

Operational and office support

[call "resource:subfolder-menu" {"uri":"/english/for-employees/operational/", "direction": "asc", "depth": 1, "exclude-folders": "bilder", "authenticated": "true"}]

Competence development

[call "resource:subfolder-menu" {"uri":"/english/for-employees/competence/", "direction": "asc", "depth": 1, "exclude-folders": "bilder", "authenticated": "true"}]

UiO networks and management meetings

Internal unit pages

[else]

澳门皇冠体育,皇冠足球比分

Arbeidsst?tte

[call "resource:subfolder-menu" {"uri":"/for-ansatte/arbeidsstotte/", "direction": "asc", "depth": 1, "exclude-folders": "bilder", "authenticated": "true"}]

Ansettelsesforhold

[call "resource:subfolder-menu" {"uri":"/for-ansatte/ansettelsesforhold/", "direction": "asc", "depth": 1, "exclude-folders": "bilder", "authenticated": "true"}]

Drift og kontorst?tte

[call "resource:subfolder-menu" {"uri":"/for-ansatte/drift/", "direction": "asc", "depth": 1, "exclude-folders": "bilder", "authenticated": "true"}]

Kompetanseutvikling

[call "resource:subfolder-menu" {"uri":"/for-ansatte/kompetanse/", "direction": "asc", "depth": 1, "exclude-folders": "bilder", "authenticated": "true"}]

UiO-nettverk og lederm?ter

Interne enhetssider

[endif]
[endif]
  • [if for-employees = "true"][val desktop-menu][else][val responsive-menu][endif]
  • [val search]
[if english-courses = null] [if not-uio = null && startlevel-context = null && globalnav-custom = null] [if lang = "en"] [call "include:uri-menu" {"display-from-level":startlevel-menus + 1, "include-parent-folder":"true", "parent-folder-title":"Home", "style":"tabs", "authenticated":"true", "include-children":"visiting, visiting-nhm, visit-us, history-uio, collections, outreach, research, studies, academics, student-life, topics, groups, projects, networks, masters-thesis, publications, news-and-events, development-areas, academic-development, education, events, data-resources, community, services, subjects, courses, borrowing, using, writing-referring, writing-publishing, writing-referencing, publish, publishing, resources, courses-events, libraries, partners, about, about-nhm, people"}] [else] [call "include:uri-menu" {"display-from-level":startlevel-menus + 1, "include-parent-folder":"true", "parent-folder-title":shortname, "style":"tabs", "authenticated":"true", "include-children":"besok-oss, barn-skole, tema, uios-historie, tall-og-fakta, samlinger, publikumstjenester, skoletilbud, fakta, forskning, studier, livet-rundt-studiene, utviklingsomrader, universitetspedagogikk, utdanningene, arrangementer, undervisning, dataressurser, tjenester, vi-forsker-pa, grupper, prosjekter, nettverk, samfunnskontakt, masteroppgave, publikasjoner, fag, kurs, lane, bruk, skrive-publisere, skrive-referere, publisere, arbeidsomrader, aktuelt, kurs-arrangement, bibliotekene, partnere, om, personer"}] [endif] [else] [if lang = "en"] [call "include:uri-menu" {"display-from-level":startlevel-menus + 1, "include-parent-folder":"true", "parent-folder-title":"Home", "style":"tabs", "authenticated":"true"}] [else] [call "include:uri-menu" {"display-from-level":startlevel-menus + 1, "include-parent-folder":"true", "parent-folder-title":shortname, "style":"tabs", "authenticated":"true"}] [endif] [endif] [else]
  • Home
  • Research
  • Studies
  • Student Life
  • Services and tools
  • About UiO
  • People
[endif]
[def crisisBannerFile "varsel.html"] [if museum != null] [def crisisBannerFile concat("varsel-", museum)] [def crisisBannerFile concat(crisisBannerFile, ".html")] [endif]
[if own-crisis-banner != null] [def crisisBannerPath "https://"] [def crisisBannerPath concat(crisisBannerPath, repo-id)] [def crisisBannerPath concat(crisisBannerPath, "/akuttnett/varslingsbanner/varsel.html")] [if lang != "en"] [call "include:file" {"virtual": crisisBannerPath, "element": "#crisis-banner-no"}] [else] [call "include:file" {"virtual": crisisBannerPath, "element": "#crisis-banner-en"}] [endif] [else] [if not-uio = null] [if isUiOMainFrontpage] [else] [if lang != "en"] [call "include:file" {"virtual": "/akuttnett/varslingsbanner/" + crisisBannerFile, "element": "#info-banner-norwegian"}] [else] [call "include:file" {"virtual": "/akuttnett/varslingsbanner/" + crisisBannerFile, "element": "#info-banner-english"}] [endif] [endif] [endif] [endif]
[val left-main-title] [if english-courses = null] [if left-menu = "full"] [if minusstartlevel != null] [call "include:uri-menu" {"include-parent-folder": "true", "display-from-level":startlevel-menus - minusstartlevel + 2, "depth": 4 + minusstartlevel, "authenticated":"true", "parent-folder-title": frontpage}] [else] [call "include:uri-menu" {"include-parent-folder": "true", "display-from-level":startlevel-menus + 2, "depth":4, "authenticated":"true"}] [endif] [else] [if parentUri != null && parentUri != ""]
[call "resource:subfolder-menu" {"uri": parentUri, "depth":"1", "authenticated":"true"}]
[endif] [call "include:breadcrumb-menu" {"display-from-level":startlevel-menus + 1, "authenticated":"true", "display-folders-hidden-from-navigation":"true"}] [endif] [else]
  • Studies
  • Courses
  • [call "include:breadcrumb-menu" {"display-from-level":"5", "authenticated":"true"}]
[endif]
[call "resource:breadcrumb" {"display-from-level":string(startlevel-menus + 2), "hide-prefix":"true", "display-services":"false", "display-folders-hidden-from-navigation":"true", "include-last-element": "true"}]
[if navigation = "back-link"]
[if request.index-file || request.collection ] [call "include:property" {"id": "title", "uri": "/vrtx/dist/", "show-resource-retrieval-exceptions": "false"}] [else] [call "include:property" {"id": "title", "uri": "/vrtx/dist/templates/", "show-resource-retrieval-exceptions": "false"}] [endif]
[endif] [if ctxStatus != null]
[val ctxStatus] [if ctxStatusLinkFSCode != null && ctxStatusLinkFSCode != ""] [if typeof(ctxStatusLinkFSCode) = 'string'] [call "include:ref" {"referencetype" : ctxStatusLinkResourceType, "id" : ctxStatusLinkFSCode}]. [else] [list ctxStatusLinkFSCode fsCode][def number _index + 1][if number = _size && number > 1] [val context-and] [elseif number < _size && number > 1], [endif][call "include:ref" {"referencetype" : ctxStatusLinkResourceType, "id" : fsCode}][endlist]. [endif] [endif]
[endif] [if ctxTitle != null && ctxLink != null]
[if ctxFSCode != null && ctxTitleSubCtx != null && ctxType = "semester"] [val ctxFSCode] - [val ctxTitleSubCtx] [elseif ctxFSCode != null && ctxType = "course"] [val ctxFSCode][if ctxTitle != ""] - [val ctxTitle][endif] [else] [val ctxTitle] [endif]
[endif] [call "document:body"]
[if bottom-nav-off = null]
[if english-courses = null]
[if not-uio = null] UiO > [endif] [if lang = "en"] [call "include:property" {"id":"title", "uri":"/english", "show-resource-retrieval-exceptions": "false"}] > [else] [call "include:property" {"id":"title", "uri":"/"}] > [endif]
[if lang = "en"] [call "resource:breadcrumb" {"display-from-level":"3", "hide-prefix":"true", "include-last-element":"true", "stop-at-level":startlevel-menus + 2, "display-services":"false", "display-folders-hidden-from-navigation":"true"}] [else] [call "resource:breadcrumb" {"display-from-level":"2", "hide-prefix":"true", "include-last-element":"true", "stop-at-level":startlevel-menus + 2, "display-services":"false", "display-folders-hidden-from-navigation":"true"}] [endif] [else]
[if not-uio = null] UiO > [endif] [call "include:property" {"id":"title", "uri":"/english"}] >
Studies
[endif]
[if english-courses = null] [call "resource:subfolder-menu" {"max-number-of-children":"5", "freeze-at-level":startlevel-menus + 2, "group-result-sets-by":"6", "result-sets":"29", "depth":"2", "exclude-folders":"english, for-ansatte, for-employees", "authenticated":"true"}] [else] [call "resource:subfolder-menu" {"uri":"/english/studies", "max-number-of-children":"5", "freeze-at-level":3, "group-result-sets-by":"6", "result-sets":"29", "depth":"2", "exclude-folders":"english, for-ansatte, for-employees", "authenticated":"true"}] [endif]
[endif] [if navigation = "no-navigation" || navigation = "back-link"] [else] [if english-courses = null]
[call "resource:subfolder-menu" {"depth":"1", "exclude-folders":"english, for-ansatte, for-employees", "authenticated":"true"}]
[else]
[call "resource:subfolder-menu" {"uri":"/english/studies", "exclude-folders":"english, for-ansatte, for-employees", "authenticated":"true"}]
[endif] [endif]
[if for-employees = "true"]
[if lang = "en"]

Work support

[call "resource:subfolder-menu" {"uri":"/english/for-employees/support/", "direction": "asc", "depth": 1, "exclude-folders": "bilder", "authenticated": "true"}]

Employment conditions

[call "resource:subfolder-menu" {"uri":"/english/for-employees/employment/", "direction": "asc", "depth": 1, "exclude-folders": "bilder", "authenticated": "true"}]

Operational and office support

[call "resource:subfolder-menu" {"uri":"/english/for-employees/operational/", "direction": "asc", "depth": 1, "exclude-folders": "bilder", "authenticated": "true"}]

Competence development

[call "resource:subfolder-menu" {"uri":"/english/for-employees/competence/", "direction": "asc", "depth": 1, "exclude-folders": "bilder", "authenticated": "true"}]

UiO networks and management meetings

Internal unit pages

[else]

Arbeidsst?tte

[call "resource:subfolder-menu" {"uri":"/for-ansatte/arbeidsstotte/", "direction": "asc", "depth": 1, "exclude-folders": "bilder", "authenticated": "true"}]

Ansettelsesforhold

[call "resource:subfolder-menu" {"uri":"/for-ansatte/ansettelsesforhold/", "direction": "asc", "depth": 1, "exclude-folders": "bilder", "authenticated": "true"}]

Drift og kontorst?tte

[call "resource:subfolder-menu" {"uri":"/for-ansatte/drift/", "direction": "asc", "depth": 1, "exclude-folders": "bilder", "authenticated": "true"}]

Kompetanseutvikling

[call "resource:subfolder-menu" {"uri":"/for-ansatte/kompetanse/", "direction": "asc", "depth": 1, "exclude-folders": "bilder", "authenticated": "true"}]

UiO-nettverk og lederm?ter

Interne enhetssider

[endif]
[endif]
[if root = null] [if lang != "en" && english-courses = null] [if startlevel > 0 && (for-employees = null || for-employees = "false")] [call "include:file" {"file":"/vrtx/decorating/resources/footers/$path(1).txt"}] [else] [call "include:file" {"file":"/vrtx/decorating/resources/footers/footer.txt"}] [endif] [else] [if startlevel > 1 && (for-employees = null || for-employees = "false")] [call "include:file" {"file":"/vrtx/decorating/resources/footers/$path(1)-eng.txt"}] [else] [call "include:file" {"file":"/vrtx/decorating/resources/footers/footer-eng.txt"}] [endif] [endif] [else] [if separateDesign != null || separateHeaderFooter != null] [if lang != "en"] [call "include:file" {"file":"/vrtx/decorating/resources/footers/footer-" + root + ".txt"}] [else] [call "include:file" {"file":"/vrtx/decorating/resources/footers/footer-" + root + "-eng.txt"}] [endif] [else] [if lang != "en"] [call "include:file" {"file":"/" + root + "/decorating/footer.txt"}] [else] [call "include:file" {"file":"/" + root + "/decorating/footer-eng.txt"}] [endif] [endif] [endif]
[val responsible-for-this-page]

[if responsible-for-this-page-url != null && responsible-for-this-page-email != null] [val responsible-for-this-page-name] [val responsible-send] [val responsible-email] [else] [if responsible-for-this-page-url != null && responsible-for-this-page-email = null] [val responsible-for-this-page-name] [else] [val responsible-for-this-page-name] [endif] [endif]

[call "include:login-manage"]
[call "tmp:footer-resources" {"notUio": not-uio, "root": rootResources, "separateDesign": separateDesign}]