Subversion Repositories wimsdev

Rev

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

  1. <!-- begin of default/header.phtml -->
  2.  
  3. !! Header menu bar definition.
  4. !nocache
  5. !set wims_theme_header=yes
  6. !set jquery_defined=no
  7.  
  8. !default wims_theme_icon=$class_theme_icon
  9. !default wims_theme_icon=standard
  10. !if _help isin $wims_session
  11.   <div id="wimsmhelp">
  12. !endif
  13.  
  14. !if _exam isin $wims_session
  15.   <div id="wimsexam">
  16. !endif
  17.  
  18. !if $wims_lightpopup=yes
  19.   <div id="wimslightpopup">
  20.    <link rel="stylesheet" href="html/themes/_css/light.css" type="text/css">
  21. !endif
  22.  
  23. !set wims_theme_version=1
  24. !set current_module=!replace / by , in $module
  25. !set module_path= !item 1 of $current_module
  26. !set wims_hm=$wims_hm\
  27. $wims_home_items\
  28. $wims_link_close\
  29. $wims_ariane
  30.  
  31. !set  wims_hm_cnt=!linecnt $wims_hm
  32.  
  33. !if $wims_hm_cnt!=0 or ($module_path notitemof home,adm,classes and _exam notin $session and $module_init_parm == $empty)
  34.  <div id="wimstopbox">
  35.  
  36.   <div class="wimsmenu">
  37.     !for i_=1 to $wims_hm_cnt
  38.       <span class="menuitem">
  39.         !set 1_=!line $i_ of $wims_hm
  40.         !read oneitem.phtml $1_
  41.       </span>
  42.     !next i_
  43.     !distribute items div,span into div0,div1
  44.     !read themes/_widgets/permalink.phtml
  45.  
  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)
  55.       <div class="menuitem">
  56.         !read adm/class/logout_cas
  57.       </div>
  58.     !endif
  59.   </div><!--wimsmenu-->
  60. </div><!--wimstopbox-->
  61. !endif
  62.  
  63. !read themes/_widgets/ariane.phtml
  64.  
  65. !if $module!=home or $wims_user!=
  66.   <div id="wimsbodybox">
  67.     <div id="wimspagebox">
  68. !endif
  69.  
  70. !read themes/_widgets/alertchat.phtml
  71.  
  72. <!-- end of default/header.phtml -->
  73.