<!-- begin of Nikaia/header.phtml -->

!! Header menu bar definition.
!nocache
!set wims_theme_header=yes
!set jquery_defined=yes
!default wims_theme_icon=$class_theme_icon
!default wims_theme_icon=wimsedu

!if _tool isin $wims_session
  <!-- end of Nikaia/header.phtml -->
  !changeto themes/$wims_theme/toolheader.phtml
!endif

!if _help isin $wims_session
  <div id="wimsmhelp">
!endif

!if _exam isin $wims_session
  <div id="wimsexam">
!endif

!if $wims_lightpopup=yes
  <!--wimslightpopup-->
  <link rel="stylesheet" href="html/themes/_css/light.css" type="text/css">
!endif

!set wims_theme_version=1
!set current_module=!replace / by , in $module
!set module_path= !item 1 of $current_module

!read themes/Nikaia/widgets/topbox.phtml

!if $module!=home or $wims_user!=
  <div id="wimsbodybox" class="no-js
  !if $wims_subsession!=$empty
    $wims_subsession
  !endif
  ">

  !if $module isitemof adm/class/regclass,adm/createxo,adm/modtool,adm/quicktool,adm/latex2wims
    !set wims_zone=zone_prof
  !else
    !if $module = adm/class/classes and $type != participant
      !set wims_zone=zone_prof
    !else
      !set wims_zone=zone_etu
    !endif
  !endif

  <div id="wimspagebox"

  !! on ajoute pas le menu si la page est ouvert en "mode popup"
  !if _ notin $wims_subsession
   class="$wims_zone type_$type"
  !endif
  >

  !read themes/Nikaia/widgets/menuprof.proc
  !read themes/Nikaia/widgets/menuprof.phtml

  !!! ICI, impossible de placer menumodubox : les variables qu'il utilise ne sont pas encore instanciées
  !! read themes/_widgets/menumodubox.phtml

  !!chat
  !read themes/_widgets/alertchat.phtml
!endif

<!-- END of Nikaia/header -->
!! NEXT ==> default/visitor.phtml ??
