Subversion Repositories wimsdev

Rev

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

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