Subversion Repositories wimsdev

Rev

Rev 7074 | Rev 7671 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5677 obado 1
<!-- begin of $wims_theme/header.phtml -->
2
 
3
!! Header menu bar definition.
4
!nocache
5
!set wims_theme_header=yes
6
 
6042 obado 7
!set jquery_defined=yes
8
 
5677 obado 9
!default wims_theme_icon=$class_theme_icon
10
!default wims_theme_icon=standard
6042 obado 11
 
12
!if _tool isin $wims_session
13
    <!-- end of $wims_theme/header.phtml -->
14
    !changeto themes/$wims_theme/toolheader.phtml
15
!endif
16
 
5677 obado 17
!if _help isin $wims_session
6013 bpr 18
  <div id="wimsmhelp">
5677 obado 19
!endif
6042 obado 20
 
5677 obado 21
!if _exam isin $wims_session
6013 bpr 22
  <div id="wimsexam">
5677 obado 23
!endif
6042 obado 24
 
5677 obado 25
!if $wims_lightpopup=yes
6013 bpr 26
  <!--<div id="wimslightpopup">-->
7074 obado 27
   <link rel="stylesheet" href="html/themes/_css/light.css" type="text/css">
6042 obado 28
!endif
5677 obado 29
 
30
!set wims_theme_version=1
31
!set current_module=!replace / by , in $module
32
!set module_path= !item 1 of $current_module
6042 obado 33
 
5677 obado 34
 
7074 obado 35
!read themes/$wims_theme/widgets/topbox.phtml
5677 obado 36
 
37
!if $module!=home or $wims_user!=
7074 obado 38
 <div id="wimsbodybox"
39
 !if $wims_subsession!=$empty
40
      class="$wims_subsession"
41
 !endif
42
  >
5677 obado 43
 
6042 obado 44
  <!--Ajout du menu de la zone enseignant-->
6889 obado 45
  !if $module isitemof adm/class/regclass,adm/createxo,adm/modtool,adm/quicktool,adm/latex2wims
6042 obado 46
   !set wims_zone=zone_prof
47
  !else
6889 obado 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
6042 obado 53
  !endif
6889 obado 54
 
7600 obado 55
  !read themes/$wims_theme/widgets/menuprof.proc
6889 obado 56
  !read themes/$wims_theme/widgets/menuprof.phtml
7074 obado 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
   >
6042 obado 64
  !!! ICI, impossible de placer menumodubox : les variables qu'il utilise ne sont pas encore instanciées
65
  !! read themes/_widgets/menumodubox.phtml
5677 obado 66
 
6042 obado 67
  !!chat
68
  !read themes/_widgets/alertchat.phtml
5677 obado 69
!endif
70
 
6042 obado 71
<!-- end of $wims_theme/header.phtml -->