Subversion Repositories wimsdev

Rev

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

  1. <!-- Start Nikaia topbox Widget -->
  2. <div id="wimstopbox">
  3.  
  4.   !!Site Title
  5.   !read themes/_widgets/site_title.phtml
  6.  
  7.   !if $wims_lightpopup!=yes
  8.     !!Institution logo
  9.     !set positionlogo=right
  10.     !read themes/_widgets/institution_logo.phtml
  11.     <br class="clearall" />
  12.   !endif
  13.  
  14.   !distribute items li into div1
  15.   <div class="menuglobal top-bar">
  16.  
  17.     !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)
  18.       !!read themes/_widgets/headhome.phtml
  19.       !!read themes/_widgets/headmenu.phtml
  20.       !read themes/$wims_theme/widgets/permalink.phtml
  21.       !reset div0 div1
  22.     !endif
  23.  
  24.     <ul class="wimsmenu menu top-bar-left">
  25.       !!module_path = $module_path
  26.       !!wims_hm_cnt = $wims_hm_cnt
  27.  
  28.       !! s'affiche sur la page d'accueil des visiteurs
  29.       !if $module isitemof home,adm/class/classes and $wims_user=$empty
  30.         !if $type!=participant
  31.           !! Participants Zone
  32.           <li class="menuitem n_participant">
  33.             !read ./adm/oneitem.phtml n_participant,1,module=adm/class/classes&type=participant
  34.           </li>
  35.         !endif
  36.         !if $type!=supervisor
  37.           !! Teachers Zone
  38.           <li class="menuitem n_supervisor">
  39.             !read ./adm/oneitem.phtml n_supervisor,1,module=adm/class/classes&type=supervisor
  40.           </li>
  41.         !endif
  42.       !endif
  43.     </ul>
  44.     !if $module=home and $wims_user=$empty
  45.        !! Help link
  46.       !set wims_hm = !append line help,4,module=help/main,help to $wims_hm
  47.       !increase $wims_hm_cnt
  48.     !endif
  49.     !read themes/_widgets/user_links.phtml
  50.   </div><!-- /menuglobal -->
  51.   !if $wims_lightpopup!=yes
  52.     !read themes/_widgets/ariane.phtml
  53.   !endif
  54. </div><!-- fin de wimstopbox-->
  55.  
  56. <!-- End Nikaia topbox Widget -->
  57.