Subversion Repositories wimsdev

Rev

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

  1.  
  2. !read adm/title.phtml 3\
  3. \
  4. $title
  5. <p class="wimscenter">
  6. !href cmd=reply&job2=def $nei_description
  7.  $name_of
  8. <span class="wims_emph">$nei_institution</span>
  9. ($wims_name_nameteacher:
  10.  <a href="mailto:$nei_email?subject=Class neighboring
  11. relations">$nei_supervisor</a>)
  12. </p><p>
  13. $name_class_share
  14. &nbsp;
  15. !set wims_ref_class=wims_button_help
  16. !href cmd=help&special_parm=share $wims_name_help
  17. </p>
  18. <ul>
  19. !for r in $nsharable
  20.   <li><em>$(name_$r)</em> ($(it_$(r)cnt) $name_available).
  21.   !if $r isitemof $sharing or $(sharable_$r)!=$empty
  22.     !if $r isitemof $sharing
  23.       !if $(sharing_$r)=$nei
  24.         $name_actually_sharing
  25.         !href cmd=reply&job2=stopshare&stoprec=$r $name_stopsharing
  26. .&nbsp;
  27.         !set wims_ref_class=wims_button_help
  28.         !href cmd=help&special_parm=stopshare $wims_name_help
  29.       !else
  30.         $name_nosharing
  31.       !endif
  32.     !else
  33.       $name_warning1
  34.       <span class="wims_classdesc">$nei_description</span>.
  35.     !endif
  36.   !else
  37.     !if $(me_$(r)cnt)>0 and $r isitemof $nosharelist
  38.       $name_warning2
  39.       !href cmd=reply&job=clean $name_cleanup
  40.         ($name_ifpossible).
  41.     !else
  42.       !href cmd=reply&addshare=$r $name_share
  43. .
  44.       !if $(me_$(r)cnt)>0
  45.         <span class="wims_warning">$wims_name_warning</span>.
  46.         !if $r=sup
  47.           $name_dangerous&nbsp;
  48.           !set wims_ref_class=wims_button_help
  49.           !href cmd=help&special_parm=supshare $wims_name_detail
  50.         !else
  51.           $name_warning_erase
  52.         !endif
  53.       !endif
  54.     !endif
  55.   !endif
  56.   </li>
  57. !next r
  58. </ul>
  59.