Subversion Repositories wimsdev

Rev

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

  1. <!-- _widgets/usermenubox.phtml -->
  2. <div id="wimsmenubox" class="footer">
  3.  <$div0 class="wimsmenu">
  4.  
  5.   <$div0 class="menublock">
  6.    <$div1 class="menuitem">
  7.     !if $wims_superclass!=$wims_class and $wims_superclass!=$empty and $auth_method isitemof $auth_method_list
  8.      !read ./adm/oneitem.phtml U_oclass,1,module=adm/class/classes&type=authparticipant&auth_user=$ext_login&class=$wims_superclass
  9.     !else
  10.      !read ./adm/oneitem.phtml U_oclass,1,module=adm/class/classes&type=participant
  11.     !endif
  12.    </$div1>
  13.   </$div0>
  14.  
  15.   <$div0 class="menublock">
  16.    <$div1 class="menuitem">
  17.     $supmail
  18.    </$div1>
  19.   </$div0>
  20.  
  21.   <$div0 class="menublock">
  22.    <$div1 class="menuitem">
  23.     !read ./adm/oneitem.phtml pref,1,module=adm/light&phtml=useropts.phtml.$lang
  24.    </$div1>
  25.   </$div0>
  26.    !if $auth_method notwordof cas ldap php
  27.   <$div0 class="menublock">
  28.    <$div1 class="menuitem">
  29.     !href module=adm/class/passwd&job=user $wims_name_passwd
  30.    </$div1>
  31.   </$div0>
  32.    !endif
  33.  
  34. !! delete, it is in userprop.phtml
  35. !! supervisor can arrive here by clicking on "view from student"
  36. !! password of supervisor must be by the secure zone
  37. !! so one should define sure IP but no need to present the form
  38. !!  !if $auth_method notwordof cas ldap php and $wims_user notsametext supervisor
  39. !!  <div class="menublock">
  40. !!   <$div1 class="menuitem">
  41. !!    !href module=adm/class/passwd $wims_name_passwd
  42. !!   </$div1>
  43. !! </div>
  44. !! !endif
  45.  </$div0><!--end of wimsmenu-->
  46. </div><!--end of wimsmenubox-->
  47. <!-- end _widgets/usermenubox.phtml -->
  48.