Subversion Repositories wimsdev

Rev

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

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