Subversion Repositories wimsdev

Rev

Rev 7600 | Rev 10161 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. <!-- begin of $wims_theme/header.phtml -->
  2.  
  3. !! Header menu bar definition.
  4. !nocache
  5. !set wims_theme_header=yes
  6.  
  7. !set jquery_defined=yes
  8.  
  9. !default wims_theme_icon=$class_theme_icon
  10. !default wims_theme_icon=standard
  11.  
  12. !if _tool isin $wims_session
  13.     <!-- end of $wims_theme/header.phtml -->
  14.     !changeto themes/$wims_theme/toolheader.phtml
  15. !endif
  16.  
  17. !if _help isin $wims_session
  18.   <div id="wimsmhelp">
  19. !endif
  20.  
  21. !if _exam isin $wims_session
  22.   <div id="wimsexam">
  23. !endif
  24.  
  25. !if $wims_lightpopup=yes
  26.   <!--<div id="wimslightpopup">-->
  27.    <link rel="stylesheet" href="html/themes/_css/light.css" type="text/css">
  28. !endif
  29.  
  30. !set wims_theme_version=1
  31. !set current_module=!replace / by , in $module
  32. !set module_path= !item 1 of $current_module
  33.  
  34.  
  35. !read themes/$wims_theme/widgets/topbox.phtml
  36.  
  37. !if $module!=home or $wims_user!=
  38.  <div id="wimsbodybox"
  39.  !if $wims_subsession!=$empty
  40.       class="$wims_subsession"
  41.  !endif
  42.   >
  43.  
  44.   <!--Ajout du menu de la zone enseignant-->
  45.   !if $module isitemof adm/class/regclass,adm/createxo,adm/modtool,adm/quicktool,adm/latex2wims
  46.    !set wims_zone=zone_prof
  47.   !else
  48.     !if $module = adm/class/classes and $type != participant
  49.       !set wims_zone=zone_prof
  50.     !else
  51.       !set wims_zone=zone_etu
  52.     !endif
  53.   !endif
  54.  
  55.   !read themes/$wims_theme/widgets/menuprof.proc
  56.   !read themes/$wims_theme/widgets/menuprof.phtml
  57.  
  58.   <div id="wimspagebox"
  59.   !! on ajoute pas le menu si la page est ouvert en "mode popup"
  60.   !if _ notin $wims_subsession
  61.    class="$wims_zone"
  62.   !endif
  63.    >
  64.   !!! ICI, impossible de placer menumodubox : les variables qu'il utilise ne sont pas encore instanciĆ©es
  65.  !! read themes/_widgets/menumodubox.phtml
  66.  
  67.  !!chat
  68.  !read themes/_widgets/alertchat.phtml
  69. !endif
  70.  
  71. <!-- end of $wims_theme/header.phtml -->
  72.