<!-- begin of $wims_theme/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=standard

!if _tool isin $wims_session
    <!-- end of $wims_theme/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
  <!--<div id="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/$wims_theme/widgets/topbox.phtml

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

  <!--Ajout du menu de la zone enseignant-->
  !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

  !read themes/$wims_theme/widgets/menuprof.proc
  !read themes/$wims_theme/widgets/menuprof.phtml

  <div id="wimspagebox"
  !! on ajoute pas le menu si la page est ouvert en "mode popup"
  !if _ notin $wims_subsession
   class="$wims_zone"
  !endif
   >
  !!! 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 $wims_theme/header.phtml -->
