Subversion Repositories wimsdev

Rev

Rev 15525 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !if $module = home
  2.   !set w_path = ./adm/
  3. !else
  4.   !set w_path = $empty
  5. !endif
  6. <!-- begin of standard/header.phtml -->
  7. !! Header menu bar definition.
  8. !nocache
  9. !set wims_theme_header=yes
  10. !set jquery_defined=yes
  11.  
  12. !default wims_theme_icon=$class_theme_icon
  13. !default wims_theme_icon=wimsedu
  14.  
  15. !if _help isin $wims_session
  16.   <div id="wimsmhelp">
  17. !endif
  18.  
  19. !if _exam isin $wims_session
  20.   <div id="wimsexam">
  21. !endif
  22.  
  23. !if $wims_lightpopup=yes
  24.   <div id="wimslightpopup">
  25.    <link rel="stylesheet" href="html/themes/_css/light.css">
  26. !endif
  27.  
  28. !set wims_theme_version=1
  29. !set current_module=!replace / by , in $module
  30. !set module_path= !item 1 of $current_module
  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)
  33.   !if $module!=home or $wims_user!=
  34.     <div id="wimstopbox">
  35.     !distribute items span into div1
  36.     <div class="wimsmenu menu float_left">
  37.     !read themes/_widgets/headhome.phtml
  38.     </div>
  39.     !distribute items li into div1
  40.     !read themes/_widgets/user_links.phtml
  41.     <div class="wimsmenu menu">
  42.     !!read themes/_widgets/headmenu.phtml
  43.     !!read themes/_widgets/about.phtml
  44.     !if _help notin $wims_session
  45.       !distribute items div,span into div0,div1
  46. !!## technical parameters FIXME, should be elsewere
  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 and $wims_class=$empty
  52.         <$div1 class="menuitem">
  53.         !read adm/class/logout_cas
  54.         </$div1>
  55.       !endif
  56.     !endif
  57.     </div><!--wimsmenu-->
  58.     <br class="clearall">
  59.     !reset div1
  60.     </div><!--wimstopbox-->
  61.     !if _light notin $wims_session
  62.       !read themes/_widgets/ariane.phtml
  63.     !endif
  64.   !endif
  65. !endif
  66.  
  67. !if $module!=home or $wims_user!=
  68.   <div id="wimsbodybox">
  69.     <div id="wimspagebox">
  70. !endif
  71.  
  72. !read themes/_widgets/alertchat.phtml
  73.  
  74. <!-- end of standard/header.phtml -->
  75.