Subversion Repositories wimsdev

Rev

Rev 2217 | Rev 3069 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2217 Rev 3049
Line 39... Line 39...
39
 <th><small>$name_participant</small></th>
39
 <th><small>$name_participant</small></th>
40
 </tr>
40
 </tr>
41
 !for i=1 to $coursecnt
41
 !for i=1 to $coursecnt
42
   !set l=!line $i of $courses
42
   !set l=!line $i of $courses
43
   !distribute items $l into l_,s_,t_,n_
43
   !distribute items $l into l_,s_,t_,n_
44
   $table_tr<td align=center>$l_</td>
44
   $table_tr<td align="center">$l_</td>
45
   <td align=center>
45
   <td align="center">
46
   !href cmd=reply&job=course&cparent=prog&course=$l_ $t_
46
   !href cmd=reply&job=course&cparent=prog&course=$l_ $t_
47
   </td><td align=center><small>
47
   </td><td align="center"><small>
48
    !href cmd=reply&job=delcourse&cparent=prog&del=$l_ $wims_name_erase
48
    !href cmd=reply&job=delcourse&cparent=prog&del=$l_ $wims_name_erase
49
   </small>
49
   </small>
50
   </td><td align=center>
50
   </td><td align="center">
51
   !if $s_!=$empty
51
   !if $s_!=$empty
52
    !if $s_=supervisor
52
    !if $s_=supervisor
53
     $wims_name_supervisor
53
     $wims_name_supervisor
54
    !else
54
    !else
55
     !default n_=$s_
55
     !default n_=$s_
Line 57... Line 57...
57
    !endif
57
    !endif
58
   !else
58
   !else
59
    $name_nonavailable
59
    $name_nonavailable
60
   !endif
60
   !endif
61
   !set c=!recordcnt $classdir1/$l_/.userlist
61
   !set c=!recordcnt $classdir1/$l_/.userlist
62
   </td><td align=center>$c</td>
62
   </td><td align="center">$c</td>
63
 !next i
63
 !next i
64
 $table_end
64
 $table_end
65
!endif
65
!endif
66
<p>
66
<p>
67
 
67
 
Line 83... Line 83...
83
 <th><small>$name_participant</small></th>
83
 <th><small>$name_participant</small></th>
84
 </tr>
84
 </tr>
85
 !for i=1 to $icoursecnt
85
 !for i=1 to $icoursecnt
86
   !set l=!line $i of $icourses
86
   !set l=!line $i of $icourses
87
   !distribute items $l into l_,s_,t_,n_
87
   !distribute items $l into l_,s_,t_,n_
88
   $table_tr<td align=center>$l_</td>
88
   $table_tr<td align="center">$l_</td>
89
   <td align=center>
89
   <td align="center">
90
   !href cmd=reply&job=icourse&cparent=prog&course=$l_ $t_
90
   !href cmd=reply&job=icourse&cparent=prog&course=$l_ $t_
91
   </td><td align=center><small>
91
   </td><td align="center"><small>
92
    !href cmd=reply&job=delcourse&cparent=prog&del=$l_ $wims_name_erase
92
    !href cmd=reply&job=delcourse&cparent=prog&del=$l_ $wims_name_erase
93
   </small>
93
   </small>
94
   </td><td align=center>
94
   </td><td align="center">
95
   !if $s_!=$empty
95
   !if $s_!=$empty
96
    !if $s_=supervisor
96
    !if $s_=supervisor
97
     $s_
97
     $s_
98
    !else
98
    !else
99
     !default n_=$s_
99
     !default n_=$s_
Line 101... Line 101...
101
    !endif
101
    !endif
102
   !else
102
   !else
103
    $name_nonavailable
103
    $name_nonavailable
104
   !endif
104
   !endif
105
   !set c=!recordcnt $classdir1/$l_/.userlist
105
   !set c=!recordcnt $classdir1/$l_/.userlist
106
   </td><td align=center>$c</td>
106
   </td><td align="center">$c</td>
107
 !next i
107
 !next i
108
 $table_end
108
 $table_end
109
!endif
109
!endif
110
 
110
 
111
!if $recsharable!=$empty
111
!if $recsharable!=$empty
Line 123... Line 123...
123
  !set l=!line $i of $recsharable
123
  !set l=!line $i of $recsharable
124
  !distribute items $l into add,name
124
  !distribute items $l into add,name
125
  !set l_=!translate / to , in $add
125
  !set l_=!translate / to , in $add
126
  !set l_=!item 1 of $l_
126
  !set l_=!item 1 of $l_
127
  !set l_=!defof class_description in $classdir1/$l_/.def
127
  !set l_=!defof class_description in $classdir1/$l_/.def
128
  <td align=center><tt>$add</tt></td>
128
  <td align="center"><tt>$add</tt></td>
129
  <td align=center>$l_</td>
129
  <td align="center">$l_</td>
130
  <td align=left>
130
  <td align="left">
131
  !href cmd=reply&job=progshare&prog=$prog&shareprog=$add $name
131
  !href cmd=reply&job=progshare&prog=$prog&shareprog=$add $name
132
  </td></tr>
132
  </td></tr>
133
 !next i
133
 !next i
134
 $table_end
134
 $table_end
135
!endif
135
!endif