Subversion Repositories wimsdev

Rev

Rev 12590 | Rev 14458 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 12590 Rev 12610
Line 28... Line 28...
28
!set wims_theme_version=1
28
!set wims_theme_version=1
29
!set current_module=!replace / by , in $module
29
!set current_module=!replace / by , in $module
30
!set module_path= !item 1 of $current_module
30
!set module_path= !item 1 of $current_module
31
 
31
 
32
!if $[$wims_home_items_cnt + $wims_hm_cnt + $wims_link_close_cnt]!=0 or ($module_path notitemof home,adm,classes and _exam notin $session and $module_init_parm == $empty)
32
!if $[$wims_home_items_cnt + $wims_hm_cnt + $wims_link_close_cnt]!=0 or ($module_path notitemof home,adm,classes and _exam notin $session and $module_init_parm == $empty)
33
 !if $module!=home or $wims_user!=
33
  !if $module!=home or $wims_user!=
34
 <div id="wimstopbox">
34
    <div id="wimstopbox">
35
  !distribute items span into div1
35
    !distribute items span into div1
36
  <div class="wimsmenu menu float_left">
36
    <div class="wimsmenu menu float_left">
37
   !read themes/_widgets/headhome.phtml
37
    !read themes/_widgets/headhome.phtml
38
  </div>
38
    </div>
39
  !distribute items li into div1
39
    !distribute items li into div1
40
  !read themes/_widgets/user_links.phtml
40
    !read themes/_widgets/user_links.phtml
41
  <div class="wimsmenu menu">
41
    <div class="wimsmenu menu">
42
    !!read themes/_widgets/headmenu.phtml
42
    !!read themes/_widgets/headmenu.phtml
43
    !!read themes/_widgets/about.phtml
43
    !!read themes/_widgets/about.phtml
44
    !if _help notin $wims_session
44
    !if _help notin $wims_session
45
      !distribute items div,span into div0,div1
45
      !distribute items div,span into div0,div1
46
!!## technical parameters FIXME, should be elsewere
46
!!## technical parameters FIXME, should be elsewere
47
     !if $class_cas_auth=$empty
47
      !if $class_cas_auth=$empty
48
       !set m_init_parm=!replace internal & by $ $ in $module_init_parm
48
        !set m_init_parm=!replace internal & by $ $ in $module_init_parm
49
       !set class_cas_auth=!getopt class_auth in $m_init_parm
49
        !set class_cas_auth=!getopt class_auth in $m_init_parm
50
     !endif
50
      !endif
51
     !if $class_cas_auth!=$empty and $wims_class=$empty
51
      !if $class_cas_auth!=$empty and $wims_class=$empty
52
      <$div1 class="menuitem">
52
        <$div1 class="menuitem">
53
       !read adm/class/logout_cas
53
        !read adm/class/logout_cas
54
      </$div1>
54
        </$div1>
55
     !endif
55
      !endif
56
    !endif
56
    !endif
57
  </div><!--wimsmenu-->
57
    </div><!--wimsmenu-->
58
  <br class="clearall" />
58
    <br class="clearall" />
59
    !reset div1
59
    !reset div1
60
 </div><!--wimstopbox-->
60
    </div><!--wimstopbox-->
61
    !if _light notin $wims_session
61
    !if _light notin $wims_session
62
      !read themes/_widgets/ariane.phtml
62
      !read themes/_widgets/ariane.phtml
63
    !endif
63
    !endif
64
  !endif
64
  !endif
65
!endif
65
!endif