Subversion Repositories wimsdev

Rev

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

  1. !read adm/title.phtml 3\
  2. $name_neighbor_relation $name_with <em><font color=blue>$nei_description</font></em> (<em><font color=blue>$nei_institution</font></em>)\
  3. ($wims_name_nameteacher: <a href="mailto:$nei_email?subject=Class neighboring relations">$nei_supervisor</a>)
  4. <p>
  5. <b>$name_neighbor_relation. </b> <small>[
  6. !href cmd=help&special_parm=neibordecl $wims_name_help
  7.  ]</small>
  8.  <p>
  9. !if $wims_class notitemof $nei_sup,$nei_part and all notwordof $nei_sup $nei_part
  10.  <em><font color=blue> $nei_description</font></em> $name_text1.
  11. !else
  12.  <em><font color=blue>$nei_description</font></em> $name_text2
  13.  !if ($wims_class isitemof $nei_sup and $wims_class isitemof $nei_part) or (all iswordof $nei_sup and all iswordof $nei_part)
  14.    $n_n3.
  15.  !else
  16.   !if $wims_class isitemof $nei_sup or all iswordof $nei_sup
  17.     $n_n1.
  18.   !else
  19.     $n_n2.
  20.   !endif
  21.  !endif
  22. !endif
  23. <p>
  24. !if all notwordof $nei_sup $nei_part
  25. !form reply
  26. $name_accept
  27. !formselect nlevel from 0 to 3 prompt $wims_name_no, $n_n1, $n_n2, $n_n3
  28. <input type=submit value=$wims_name_tosave> <small>[
  29. !href cmd=help&special_parm=neibordecl $wims_name_help
  30.  ]</small>
  31. </form>
  32. !endif
  33. <p>
  34.  
  35. !if ($nei isitemof $n_sup,$n_part and $wims_class isitemof $nei_sup,$nei_part) or \
  36.    all isitemof $nei_sup,$nei_part
  37.  <p><b>$name_info </b> <small>[
  38.  !href cmd=help&special_parm=import $wims_name_help
  39.  ]</small>
  40.  <p>$name_youcan
  41.  !href cmd=reply&job2=import $name_import_resource
  42.  $name_fromtheclass <em><font color=blue>
  43. $nei_description</font></em>.
  44.  <p>
  45. !endif
  46.  
  47. !if  $nei isitemof $n_sup
  48. <p>
  49. <b>$name_declaration.</b>
  50. <small>[
  51. !href cmd=help&special_parm=share $wims_name_help
  52. ]</small>
  53. <ul>
  54. !endif
  55.  
  56. !if $wims_class isitemof $nei_sup and $nei isitemof $n_sup
  57.  <li>
  58.  !if $nsharable=$empty
  59.   $name_nonewres
  60.  !else
  61.  $name_newres
  62.   !set names=!replace , by , $$name_ in $$name_$nsharable
  63.   <em>$names</em>.
  64.   !href cmd=reply&job2=addshare $name_click_ok
  65. .
  66.  !endif
  67.  <p>
  68. !endif
  69.  
  70. !if $nei isitemof $sharing_all
  71.  $name_sharealready <em><font color=blue>
  72. $nei_description</font></em>&nbsp;:<ul>
  73.  !for r in $sharelist
  74.   !if $(sharing_$r)=$nei
  75.    <li><b><em>$(name_$r)</em></b>.
  76.    !href cmd=reply&job2=stopshare&stoprec=$r $name_stopsharing
  77. . <small>[
  78.    !href cmd=help&special_parm=stopshare $wims_name_help
  79.    ]</small>
  80.   !endif
  81.  !next r
  82.  </ul>
  83.  <p>
  84. !endif
  85.  </li>
  86. !if $nei isitemof $n_sup and $sharablelist!=$empty
  87. <li>
  88.  !form reply
  89.  <input type=hidden name="changeshare" value=yes>
  90. $name_chooseres: <small>[
  91.  !href cmd=help&special_parm=sharable $wims_name_help
  92.  ]</small>
  93. <p>
  94.  !set sh=!nospace $sharablelist
  95.  !set sh=!replace , by , $$name_ in $$name_$sharablelist
  96.  !formcheckbox mksharable list $sharablelist prompt $sh
  97.  <input type=submit value="$wims_name_tosave">
  98.  </form> <p>
  99. !if $nsharable!=$empty
  100. <p><b>$wims_name_warning</b>: $name_warning_authorized
  101. !endif
  102.  </li>
  103. !endif
  104.  
  105. </ul>
  106.  
  107. !reset stoprec
  108.