Subversion Repositories wimsdev

Rev

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