Subversion Repositories wimsdev

Rev

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

Rev 6235 Rev 10164
Line 34... Line 34...
34
  !for i=1 to $sccnt
34
  !for i=1 to $sccnt
35
   !set l=!line $i of $sclasses
35
   !set l=!line $i of $sclasses
36
   !distribute items $l into code,expire,in,cl,la,ty,lv,pswd
36
   !distribute items $l into code,expire,in,cl,la,ty,lv,pswd
37
   !set supv=!item 9 of $l
37
   !set supv=!item 9 of $l
38
   !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def
38
   !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def
39
   
39
 
40
   $table_tr
40
   $table_tr
41
   <td>
41
   <td>
42
    $in<br />$cl
42
    $in<br />$cl
43
   </td>
43
   </td>
44
   !reset class_auth
44
   !reset class_auth
Line 49... Line 49...
49
   !else
49
   !else
50
   <td>
50
   <td>
51
    !set wims_ref_class=wims_button
51
    !set wims_ref_class=wims_button
52
    !href module=$module&type=authparticipant&class=$code $wims_name_Enter
52
    !href module=$module&type=authparticipant&class=$code $wims_name_Enter
53
   </td>
53
   </td>
54
   !endif
54
   !endif
55
   <td>$supv</td>
55
   <td>$supv</td>
56
   <td>
56
   <td>
57
    !set wims_ref_class=wims_button
57
    !set wims_ref_class=wims_button
58
    !href module=$module&type=authsupervisor&class=$code $wims_name_Enter
58
    !href module=$module&type=authsupervisor&class=$code $wims_name_Enter
59
   </td></tr>
59
   </td></tr>
60
  !next i  
60
  !next i
61
  $table_end
61
  $table_end
62
 !endif
62
 !endif
63
 !if $clcnt>0 and $s_prog!=1
63
 !if $clcnt>0 and $s_prog!=1
64
 
64
 
65
  $table_header
65
  $table_header
Line 77... Line 77...
77
    <caption>$Name_level / $inst
77
    <caption>$Name_level / $inst
78
    !if $class_type>2
78
    !if $class_type>2
79
    &nbsp;
79
    &nbsp;
80
    !set wims_ref_class=wims_button_help
80
    !set wims_ref_class=wims_button_help
81
    !href cmd=help&special_parm=$module_language/structure $wims_name_help
81
    !href cmd=help&special_parm=$module_language/structure $wims_name_help
82
    !endif
82
    !endif
83
    !if $splevel>1
83
    !if $splevel>1
84
     !href cmd=reply&type=$type&superclass2=$sparent&s_prog=0 $name_up
84
     !href cmd=reply&type=$type&superclass2=$sparent&s_prog=0 $name_up
85
    !endif
85
    !endif
86
    </caption>
86
    </caption>
87
    $table_hdtr<th>$Name_level</th><th>$wims_name_nameteacher</th>
87
    $table_hdtr<th>$Name_level</th><th>$wims_name_nameteacher</th>
88
    !if $superclass!=$empty and $stype=4
88
    !if $superclass!=$empty and $stype=4
Line 96... Line 96...
96
   !for i=1 to $clcnt
96
   !for i=1 to $clcnt
97
     !set l=!line $i of $classes
97
     !set l=!line $i of $classes
98
     !distribute items $l into code,expire,in,cl,la,ty,lv,pswd
98
     !distribute items $l into code,expire,in,cl,la,ty,lv,pswd
99
     !set supv=!item 9 of $l
99
     !set supv=!item 9 of $l
100
     !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def
100
     !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def
101
   
101
 
102
     $table_tr
102
     $table_tr
103
     !if $superclass=$empty
103
     !if $superclass=$empty
104
      <td>$in<br />$cl</td>
104
      <td>$in<br />$cl</td>
105
     !else
105
     !else
106
      <td>
106
      <td>
107
      !href module=$module&type=authsupervisor&class=$code $cl
107
      !href module=$module&type=authsupervisor&class=$code $cl
108
      </td>
108
      </td>
109
     !endif
109
     !endif
110
     <td>$supv</td>
110
     <td>$supv</td>
111
     !if $superclass!=$empty and $stype=4
111
     !if $superclass!=$empty and $stype=4
112
      <td>
112
      <td>
113
      !if $ty!=1
113
      !if $ty!=1
114
       !set wims_ref_class=wims_button
114
       !set wims_ref_class=wims_button
115
       !href cmd=reply&type=$type&superclass2=$code&s_prog=0 $sousclasses
115
       !href cmd=reply&type=$type&superclass2=$code&s_prog=0 $sousclasses
116
      !else
116
      !else
117
      -
117
      -
118
      !endif
118
      !endif
119
      </td>
119
      </td>
120
      !if $ty!=1 and $splevel =1
120
      !if $ty!=1 and $splevel =1
121
       <td>
121
       <td>
122
       !set wims_ref_class=wims_button
122
       !set wims_ref_class=wims_button
123
       !href cmd=reply&type=$type&superclass2=$code&s_prog=1 $name_program
123
       !href cmd=reply&type=$type&superclass2=$code&s_prog=1 $name_program
124
       </td>
124
       </td>
125
      !endif
125
      !endif
126
     !endif
126
     !endif
127
     !if $superclass=$empty
127
     !if $superclass=$empty
128
      <td>
128
      <td>
129
      !set wims_ref_class=wims_button
129
      !set wims_ref_class=wims_button
130
      !href module=$module&type=authsupervisor&class=$code $wims_name_Enter
130
      !href module=$module&type=authsupervisor&class=$code $wims_name_Enter
131
      </td>
131
      </td>
Line 150... Line 150...
150
    $table_hdtr<th>$wims_name_level</th><th>$wims_name_nameteacher</th><th>+</th>
150
    $table_hdtr<th>$wims_name_level</th><th>$wims_name_nameteacher</th><th>+</th>
151
    !for i=1 to $clcnt_pr
151
    !for i=1 to $clcnt_pr
152
     !set l=!line $i of $classes_pr
152
     !set l=!line $i of $classes_pr
153
     !distribute items $l into code,expire,in,cl,la,ty,lv,pswd
153
     !distribute items $l into code,expire,in,cl,la,ty,lv,pswd
154
     !set supv=!item 9 of $l
154
     !set supv=!item 9 of $l
155
     !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def  
155
     !default supv=!defof class_supervisor in wimshome/log/classes/$code/.def
156
     $table_tr
156
     $table_tr
157
     <td>
157
     <td>
158
     !href module=$module&type=authsupervisor&class=$code $cl
158
     !href module=$module&type=authsupervisor&class=$code $cl
159
     </td>
159
     </td>
160
     <td>$supv</td>
160
     <td>$supv</td>