Subversion Repositories wimsdev

Rev

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

Rev 13254 Rev 13256
Line 31... Line 31...
31
 
31
 
32
!if $classcnt=0
32
!if $classcnt=0
33
  $name_warning1
33
  $name_warning1
34
  !goto end
34
  !goto end
35
!endif
35
!endif
-
 
36
 
-
 
37
!if $classlist!=$empty
-
 
38
  $name_inscription
-
 
39
 
-
 
40
  $table_header
-
 
41
  !if $ctype=0
-
 
42
    $table_hdtr
-
 
43
      <th>$wims_name_name</th><th>$wims_name_nameteacher</th><th>$wims_name_level</th><th>$wims_name_Language</th>
-
 
44
      <th>$name_remainig</th><th>$wims_name_Status</th>
-
 
45
  !else
-
 
46
    <caption>$institution_name</caption>
-
 
47
    $table_hdtr
-
 
48
    <th>$wims_name_name</th><th>$wims_name_Supervisor</th><th>$wims_name_level</th>
-
 
49
    <th>$wims_name_Status</th></tr>
-
 
50
  !endif
-
 
51
  !for cl in $classlist
-
 
52
    !reset class_supervisor,class_email,class_level,class_lang,class_institution,class_description,class_password,class_limit
-
 
53
    !defread wimshome/log/classes/$cl/.def
-
 
54
    !distribute char $class_level into l1,l2
-
 
55
    !set part=!recordcnt wimshome/log/classes/$cl/.userlist
-
 
56
    $table_tr<td>
-
 
57
    !if $ctype=0
-
 
58
      !href module=$module&cmd=reply&class=$cl $class_institution<br />$class_description
-
 
59
    !else
-
 
60
      !href module=$module&cmd=reply&class=$cl $class_description
-
 
61
    !endif
-
 
62
    </td><td>
-
 
63
    !mailurl $class_email $class_supervisor
-
 
64
    </td>
-
 
65
    !if $class_level=$empty
-
 
66
      !set pname=!defof class_description in wimshome/log/classes/$class_parent/.def
-
 
67
        <td>$pname</td>
-
 
68
    !else
-
 
69
        <td>$(level$l1)<br />$name_year $l2</td>
-
 
70
    !endif
-
 
71
    !if $ctype=0
-
 
72
      <td>$(lang_$class_lang)</td>
-
 
73
      <td style="text-align:right">
-
 
74
      !if $class_limit-$part>$site_dispo
-
 
75
        $site_dispo
-
 
76
      !else
-
 
77
        $[$class_limit-$part]
-
 
78
      !endif
-
 
79
      </td>
-
 
80
    !endif
-
 
81
    !if $class_password=$empty
-
 
82
      <td>$(name_statut[1])</td>
-
 
83
    !else
-
 
84
      <td>$(name_statut[2])</td>
-
 
85
    !endif
-
 
86
    </tr>
-
 
87
  !next cl
-
 
88
  $table_end
-
 
89
 
-
 
90
  <span class="wims_warning">$wims_name_warning</span>. $name_remark1
-
 
91
  !goto end1
-
 
92
!endif classlist!=$empty
36
 
93
 
37
!read adm/class/classname.phtml $description\
94
!read adm/class/classname.phtml $description\
38
$institution
95
$institution
39
 
96
 
40
!! if class_mixed_external_auth not 0 show message in and class_external_auth
97
!! if class_mixed_external_auth not 0 show message in and class_external_auth