Subversion Repositories wimsdev

Rev

Rev 6615 | Rev 9797 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

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