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