Subversion Repositories wimsdev

Rev

Rev 14890 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23 reyssat 1
 
2
!if $job2!=first
12504 bpr 3
  !changeto class/$job2.phtml
23 reyssat 4
!endif
5
<p>
2486 bpr 6
!href cmd=reply&job=conf&confcat=2 $name_click
7
 $name_config
5894 bpr 8
</p>
286 guerimand 9
!read class/search.phtml
10
!if $overflow=yes
12504 bpr 11
  !exit
286 guerimand 12
!endif
13
 
14
!if $sccnt+$clcnt<1
12504 bpr 15
  <p>
16
  $name_noclass
17
  </p>
18
  !reset keyword
19
  !exit
286 guerimand 20
!endif
21
 
22
!if $sccnt>0
14890 obado 23
  !set table_class=sortable
24
  !set table_id=TABLE_sclasslist
12504 bpr 25
  $table_header
26
  <caption>$name_list</caption>
14890 obado 27
  <thead>
28
    $table_hdtr
29
    <th>$wims_name_name</th><th>$wims_name_action</th><th class="small">$wims_name_Language</th><th>$wims_name_Supervisor</th>
17180 bpr 30
    <th>$name_created<br><span class="tt small">yyyymmdd</span></th>
31
    <th>$name_expire<br><span class="tt small">yyyymmdd</span></th>
14890 obado 32
    !if $actives=yes
33
      <th>$name_Load<sup>[1]</sup></th>
34
    !endif
35
    </tr>
36
  </thead><tbody>
12504 bpr 37
  !for i=1 to $sccnt
38
    !set l=!line $i of $sclasses
39
    !distribute items $l into c_,e_,t_,d_
40
    !set l=!defof class_lang\
23 reyssat 41
class_supervisor\
42
class_email\
43
class_creation in wimshome/log/classes/$c_/.def
12504 bpr 44
    !distribute lines $l into l_,s_,m_,f_
45
    !default f_=--
46
    $table_tr
17180 bpr 47
    <td class="small">$t_<br>$d_</td>
12504 bpr 48
    <td>
49
    !set wims_ref_class=wims_button wims_warning
50
    !href cmd=reply&job2=erase&jobclass=$c_ $wims_name_erase
51
    &nbsp;
52
    !set wims_ref_class=wims_button
53
    !href cmd=reply&job2=modify&jobclass=$c_ $wims_name_change
54
    &nbsp;
55
    !set wims_ref_class=wims_button
56
    !href module=adm/class/classes&type=authsupervisor&class=$c_&auth_user=supervisor&auth_password=*wims_site_manager $name_visit
57
     </td><td>$l_</td>
58
     <td class="small">
59
     <a href="mailto:$m_?subject=$name_yourclass">$s_</a>
60
     </td><td>$f_<td>$e_</td>
61
    !if $actives=yes
62
      !default activ_$c_=-
63
      <td>$(activ_$c_)</td>
64
    !endif
65
    </tr>
66
  !next i
14890 obado 67
  </tbody>
12504 bpr 68
  $table_end
14890 obado 69
  !read tablesort.phtml
286 guerimand 70
!endif
71
 
72
!if $clcnt>0
14890 obado 73
  !set table_class=sortable
74
  !set table_id=TABLE_classlist2
12504 bpr 75
  $table_header
76
  <caption>$name_listindependant</caption>
14890 obado 77
  <thead>
78
    $table_hdtr
79
    <th>$wims_name_name</th><th>$wims_name_action</th>
80
    <th class="small">$wims_name_Language</th><th>$wims_name_Supervisor</th>
17180 bpr 81
    <th>$name_created<br><span class="tt small">yyyymmdd</span></th>
82
    <th>$name_expire<br><span class="tt small">yyyymmdd</span></th>
14890 obado 83
    !if $actives=yes
84
      <th>$name_Load<sup>[1]</sup></th>
85
    !endif
86
  </thead><tbody>
12504 bpr 87
  !for i=1 to $clcnt
88
    !set l=!line $i of $classes
89
    !distribute items $l into c_,e_,t_,d_
90
    !set l=!defof class_lang\
91
  class_supervisor\
92
  class_email\
93
  class_creation in wimshome/log/classes/$c_/.def
94
    !distribute lines $l into l_,s_,m_,f_
95
    !default f_=--
96
    $table_tr
17180 bpr 97
    <td class="small">$t_<br>$d_</td>
12504 bpr 98
    <td>
99
    !set wims_ref_class=wims_button wims_warning
100
    !href cmd=reply&job2=erase&jobclass=$c_ $wims_name_erase
101
    &nbsp;
102
    !set wims_ref_class=wims_button
103
    !href cmd=reply&job2=modify&jobclass=$c_ $wims_name_change
104
   &nbsp;
105
    !set wims_ref_class=wims_button
106
    !href module=adm/class/classes&type=authsupervisor&class=$c_&auth_user=supervisor&auth_password=*wims_site_manager $name_visit
107
     </td><td>$l_</td>
108
     <td class="small">
109
     <a href="mailto:$m_?subject=Your WIMS virtual class">$s_</a>
110
     </td><td>$f_</td><td>$e_</td>
111
    !if $actives=yes
112
      !default activ_$c_=-
113
      <td>$(activ_$c_)</td>
114
    !endif
115
     </tr>
116
  !next i
14890 obado 117
  </tbody>
12504 bpr 118
  $table_end
14890 obado 119
  !read tablesort.phtml
286 guerimand 120
!endif
121
 
122
!if $actives=yes
12504 bpr 123
  <div class="wimscenter">
14890 obado 124
    !form reply
125
      <span class="small bold">[1]</span>. '<span class="tt">$name_Load</span>'
126
      $name_cumul
17180 bpr 127
      <input type=text name="bst_since" value="$bst_since" onchange="submit()">
14890 obado 128
      ($name_format <span class="wims_emph">yyyymmdd</span>).
17180 bpr 129
      <input type="hidden" name="keyword" value="$keyword">
14890 obado 130
    !formend
131
    !href cmd=reply&job=bestclass&keyword=$keyword $wims_name_Show
132
    !default bst_num=10
133
    $bst_num $name_best.
12504 bpr 134
  </div>
23 reyssat 135
!endif
286 guerimand 136
 
1045 bpr 137
!reset keyword