!read adm/title.phtml 3\
$name_neighbor_relation $name_with <em><font color=blue>$nei_description</font></em> (<em><font color=blue>$nei_institution</font></em>)\
($wims_name_nameteacher: <a href="mailto:$nei_email?subject=Class neighboring relations">$nei_supervisor</a>)
<p>
<b>$name_neighbor_relation. </b> <small>[
!href cmd=help&special_parm=neibordecl $wims_name_help
]</small>
<p>
!if $wims_class notitemof $nei_sup,$nei_part and all notwordof $nei_sup $nei_part
<em><font color=blue> $nei_description</font></em> $name_text1.
!else
<em><font color=blue>$nei_description</font></em> $name_text2
!if ($wims_class isitemof $nei_sup and $wims_class isitemof $nei_part) or (all iswordof $nei_sup and all iswordof $nei_part)
$n_n3.
!else
!if $wims_class isitemof $nei_sup or all iswordof $nei_sup
$n_n1.
!else
$n_n2.
!endif
!endif
!endif
<p>
!if all notwordof $nei_sup $nei_part
!form reply
$name_accept
!formselect nlevel from 0 to 3 prompt $wims_name_no, $n_n1, $n_n2, $n_n3
<input type=submit value=$wims_name_tosave> <small>[
!href cmd=help&special_parm=neibordecl $wims_name_help
]</small>
</form>
!endif
<p>
!if ($nei isitemof $n_sup,$n_part and $wims_class isitemof $nei_sup,$nei_part) or \
all isitemof $nei_sup,$nei_part
<p><b>$name_info </b> <small>[
!href cmd=help&special_parm=import $wims_name_help
]</small>
<p>$name_youcan
!href cmd=reply&job2=import $name_import_resource
$name_fromtheclass <em><font color=blue>
$nei_description</font></em>.
<p>
!endif
!if $nei isitemof $n_sup
<p>
<b>$name_declaration.</b>
<small>[
!href cmd=help&special_parm=share $wims_name_help
]</small>
<ul>
!endif
!if $wims_class isitemof $nei_sup and $nei isitemof $n_sup
<li>
!if $nsharable=$empty
$name_nonewres
!else
$name_newres
!set names=!replace , by , $$name_ in $$name_$nsharable
<em>$names</em>.
!href cmd=reply&job2=addshare $name_click_ok
.
!endif
<p>
!endif
!if $nei isitemof $sharing_all
$name_sharealready <em><font color=blue>
$nei_description</font></em> :<ul>
!for r in $sharelist
!if $(sharing_$r)=$nei
<li><b><em>$(name_$r)</em></b>.
!href cmd=reply&job2=stopshare&stoprec=$r $name_stopsharing
. <small>[
!href cmd=help&special_parm=stopshare $wims_name_help
]</small>
!endif
</ul>
<p>
!endif
</li>
!if $nei isitemof $n_sup and $sharablelist!=$empty
<li>
!form reply
<input type=hidden name=changeshare value=yes>
$name_chooseres: <small>[
!href cmd=help&special_parm=sharable $wims_name_help
]</small>
<p>
!set sh=!nospace $sharablelist
!set sh=!replace , by , $$name_ in $$name_$sharablelist
!formcheckbox mksharable
list $sharablelist prompt
$sh
<input type=submit value=$wims_name_tosave>
</form> <p>
!if $nsharable!=$empty
<p><b>$wims_name_warning</b>: $name_warning_authorized
!endif
</li>
!endif
</ul>