!if ($wims_supertype<4 and $wims_typename=class) or ($wims_supertype=4 and $wims_typename iswordof course program)
<!-- _widgets/supervisorscore.phtml -->
 <div id="supervisorscore">
   !if ($wims_supertype<4 and $wims_typename=class) or ($wims_supertype=4 and $wims_typename iswordof course)
     <$div1 class="menuitem">
       !read ./adm/oneitem.phtml Score1,1,module=adm/class/userscore
     </$div1>
   !endif
   !readproc linkmodule/livret.proc
   !if $wims_allowlink_livret=yes
     <$div1 class="menuitem">
       !read ./adm/oneitem.phtml livret,1,module=adm/class/livret
     </$div1>
   !endif
 </div> <!-- supervisorscore -->
<!-- _widgets/supervisorscore.phtml -->
!endif
