Subversion Repositories wimsdev

Rev

Rev 7671 | Rev 14181 | 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. !set jquery_defined=yes
  7.  
  8. !default wims_theme_icon=$class_theme_icon
  9. !default wims_theme_icon=wimsedu
  10.  
  11. !if _tool isin $wims_session
  12.   <!-- end of Nikaia/header.phtml -->
  13.   !changeto themes/$wims_theme/toolheader.phtml
  14. !endif
  15.  
  16. !if _help isin $wims_session
  17.   <div id="wimsmhelp">
  18. !endif
  19.  
  20. !if _exam isin $wims_session
  21.   <div id="wimsexam">
  22. !endif
  23.  
  24. !if $wims_lightpopup=yes
  25.   <!--wimslightpopup-->
  26.   <link rel="stylesheet" href="html/themes/_css/light.css" type="text/css">
  27. !endif
  28.  
  29. !set wims_theme_version=1
  30. !set current_module=!replace / by , in $module
  31. !set module_path= !item 1 of $current_module
  32.  
  33. !read themes/$wims_theme/widgets/topbox.phtml
  34.  
  35. !if $module!=home or $wims_user!=
  36.   <div id="wimsbodybox"
  37.   !if $wims_subsession!=$empty
  38.     class="$wims_subsession"
  39.   !endif
  40.   >
  41.  
  42.   <!--Ajout du menu de la zone enseignant-->
  43.   !if $module isitemof adm/class/regclass,adm/createxo,adm/modtool,adm/quicktool,adm/latex2wims
  44.     !set wims_zone=zone_prof
  45.   !else
  46.     !if $module = adm/class/classes and $type != participant
  47.       !set wims_zone=zone_prof
  48.     !else
  49.       !set wims_zone=zone_etu
  50.     !endif
  51.   !endif
  52.  
  53.   !read themes/$wims_theme/widgets/menuprof.proc
  54.   !read themes/$wims_theme/widgets/menuprof.phtml
  55.  
  56.   <div id="wimspagebox"
  57.   !! on ajoute pas le menu si la page est ouvert en "mode popup"
  58.   !if _ notin $wims_subsession
  59.    class="$wims_zone"
  60.   !endif
  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.