Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
1407 bpr 1
!read adm/title.phtml 3\
2473 bpr 2
$name_neighbor_relation $name_with <em><font color=blue>$nei_description</font></em> (<em><font color=blue>$nei_institution</font></em>)\
2374 bpr 3
($wims_name_nameteacher: <a href="mailto:$nei_email?subject=Class neighboring relations">$nei_supervisor</a>)
23 reyssat 4
<p>
2473 bpr 5
<b>$name_neighbor_relation. </b> <small>[
1464 bpr 6
!href cmd=help&special_parm=neibordecl $wims_name_help
23 reyssat 7
 ]</small>
2473 bpr 8
 <p>
2703 bpr 9
!if $wims_class notitemof $nei_sup,$nei_part and all notwordof $nei_sup $nei_part
2473 bpr 10
 <em><font color=blue> $nei_description</font></em> $name_text1.
23 reyssat 11
!else
2473 bpr 12
 <em><font color=blue>$nei_description</font></em> $name_text2
2703 bpr 13
 !if ($wims_class isitemof $nei_sup and $wims_class isitemof $nei_part) or (all iswordof $nei_sup and all iswordof $nei_part)
2473 bpr 14
   $n_n3.
23 reyssat 15
 !else
2703 bpr 16
  !if $wims_class isitemof $nei_sup or all iswordof $nei_sup
2493 bpr 17
    $n_n1.
23 reyssat 18
  !else
2493 bpr 19
    $n_n2.
23 reyssat 20
  !endif
21
 !endif
22
!endif
23
<p>
2703 bpr 24
!if all notwordof $nei_sup $nei_part
23 reyssat 25
!form reply
2473 bpr 26
$name_accept
27
!formselect nlevel from 0 to 3 prompt $wims_name_no, $n_n1, $n_n2, $n_n3
2058 bpr 28
<input type=submit value=$wims_name_tosave> <small>[
29
!href cmd=help&special_parm=neibordecl $wims_name_help
30
 ]</small>
2703 bpr 31
</form>
32
!endif
33
<p>
23 reyssat 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
2485 bpr 37
 <p><b>$name_info </b> <small>[
1464 bpr 38
 !href cmd=help&special_parm=import $wims_name_help
23 reyssat 39
 ]</small>
2717 bpr 40
 <p>$name_youcan
41
 !href cmd=reply&job2=import $name_import_resource
42
 $name_fromtheclass <em><font color=blue>
23 reyssat 43
$nei_description</font></em>.
44
 <p>
45
!endif
46
 
47
!if  $nei isitemof $n_sup
48
<p>
2717 bpr 49
<b>$name_declaration.</b>
23 reyssat 50
<small>[
1464 bpr 51
!href cmd=help&special_parm=share $wims_name_help
23 reyssat 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
2717 bpr 59
  $name_nonewres
23 reyssat 60
 !else
2717 bpr 61
 $name_newres
23 reyssat 62
  !set names=!replace , by , $$name_ in $$name_$nsharable
63
  <em>$names</em>.
2717 bpr 64
  !href cmd=reply&job2=addshare $name_click_ok
23 reyssat 65
.
66
 !endif
67
 <p>
68
!endif
69
 
70
!if $nei isitemof $sharing_all
2473 bpr 71
 $name_sharealready <em><font color=blue>
23 reyssat 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>.
1934 bpr 76
   !href cmd=reply&job2=stopshare&stoprec=$r $name_stopsharing
23 reyssat 77
. <small>[
1464 bpr 78
   !href cmd=help&special_parm=stopshare $wims_name_help
23 reyssat 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
3049 bpr 89
 <input type=hidden name="changeshare" value=yes>
2717 bpr 90
$name_chooseres: <small>[
1464 bpr 91
 !href cmd=help&special_parm=sharable $wims_name_help
23 reyssat 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
3049 bpr 97
 <input type=submit value="$wims_name_tosave">
23 reyssat 98
 </form> <p>
99
!if $nsharable!=$empty
2717 bpr 100
<p><b>$wims_name_warning</b>: $name_warning_authorized
23 reyssat 101
!endif
102
 </li>
103
!endif
104
 
105
</ul>
106
 
107
!reset stoprec