Subversion Repositories wimsdev

Rev

Rev 10645 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
10645 obado 1
<!-- begin of default/header.phtml -->
6002 bpr 2
 
21 reyssat 3
!! Header menu bar definition.
4
!nocache
5
!set wims_theme_header=yes
11261 obado 6
!set jquery_defined=no
6002 bpr 7
 
8
!default wims_theme_icon=$class_theme_icon
9
!default wims_theme_icon=standard
10
!if _help isin $wims_session
6022 bpr 11
  <div id="wimsmhelp">
6002 bpr 12
!endif
6240 bpr 13
 
6002 bpr 14
!if _exam isin $wims_session
6022 bpr 15
  <div id="wimsexam">
6002 bpr 16
!endif
6240 bpr 17
 
6002 bpr 18
!if $wims_lightpopup=yes
6022 bpr 19
  <div id="wimslightpopup">
7075 obado 20
   <link rel="stylesheet" href="html/themes/_css/light.css" type="text/css">
6240 bpr 21
!endif
6022 bpr 22
 
6002 bpr 23
!set wims_theme_version=1
1084 bpr 24
!set current_module=!replace / by , in $module
25
!set module_path= !item 1 of $current_module
9797 bpr 26
!set wims_hm=$wims_hm\
9768 bpr 27
$wims_home_items\
10055 bpr 28
$wims_link_close\
29
$wims_ariane
30
 
9768 bpr 31
!set  wims_hm_cnt=!linecnt $wims_hm
6240 bpr 32
 
1062 bpr 33
!if $wims_hm_cnt!=0 or ($module_path notitemof home,adm,classes and _exam notin $session and $module_init_parm == $empty)
6240 bpr 34
 <div id="wimstopbox">
6002 bpr 35
 
10644 obado 36
  <div class="wimsmenu">
37
    !for i_=1 to $wims_hm_cnt
10645 obado 38
      <span class="menuitem">
10644 obado 39
        !set 1_=!line $i_ of $wims_hm
40
        !read oneitem.phtml $1_
10645 obado 41
      </span>
10644 obado 42
    !next i_
43
    !distribute items div,span into div0,div1
44
    !read themes/_widgets/permalink.phtml
1015 obado 45
 
10644 obado 46
    !!## technical parameters
47
    !if $class_cas_auth=$empty
48
      !set m_init_parm=!replace internal & by $ $ in $module_init_parm
49
      !set class_cas_auth=!getopt class_auth in $m_init_parm
50
    !endif
51
    !if $class_cas_auth!=$empty
52
      !!## it is better that the cas logout appears too much ...
53
      !!## can be useless in the case of a supervisor so the next line is commented
54
      !!!!!!and $wims_user!=supervisor and ($wims_realuser=$empty or $wims_realuser!=supervisor)
10645 obado 55
      <div class="menuitem">
10644 obado 56
        !read adm/class/logout_cas
10645 obado 57
      </div>
10644 obado 58
    !endif
59
  </div><!--wimsmenu-->
6002 bpr 60
</div><!--wimstopbox-->
61
!endif
1015 obado 62
 
10644 obado 63
!read themes/_widgets/ariane.phtml
64
 
6002 bpr 65
!if $module!=home or $wims_user!=
6240 bpr 66
  <div id="wimsbodybox">
67
    <div id="wimspagebox">
1062 bpr 68
!endif
5464 guerimand 69
 
5998 bpr 70
!read themes/_widgets/alertchat.phtml
71
 
10645 obado 72
<!-- end of default/header.phtml -->