Subversion Repositories wimsdev

Rev

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

  1.  
  2. !if $job2!=first
  3.   !changeto class/$job2.phtml
  4. !endif
  5. <p>
  6. !href cmd=reply&job=conf&confcat=2 $name_click
  7.  $name_config
  8. </p>
  9. !read class/search.phtml
  10. !if $overflow=yes
  11.   !exit
  12. !endif
  13.  
  14. !if $sccnt+$clcnt<1
  15.   <p>
  16.   $name_noclass
  17.   </p>
  18.   !reset keyword
  19.   !exit
  20. !endif
  21.  
  22. !if $sccnt>0
  23.   !set table_class=sortable
  24.   !set table_id=TABLE_sclasslist
  25.   $table_header
  26.   <caption>$name_list</caption>
  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>
  30.     <th>$name_created<br><span class="tt small">yyyymmdd</span></th>
  31.     <th>$name_expire<br><span class="tt small">yyyymmdd</span></th>
  32.     !if $actives=yes
  33.       <th>$name_Load<sup>[1]</sup></th>
  34.     !endif
  35.     </tr>
  36.   </thead><tbody>
  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\
  41. class_supervisor\
  42. class_email\
  43. class_creation in wimshome/log/classes/$c_/.def
  44.     !distribute lines $l into l_,s_,m_,f_
  45.     !default f_=--
  46.     $table_tr
  47.     <td class="small">$t_<br>$d_</td>
  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
  67.   </tbody>
  68.   $table_end
  69.   !read tablesort.phtml
  70. !endif
  71.  
  72. !if $clcnt>0
  73.   !set table_class=sortable
  74.   !set table_id=TABLE_classlist2
  75.   $table_header
  76.   <caption>$name_listindependant</caption>
  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>
  81.     <th>$name_created<br><span class="tt small">yyyymmdd</span></th>
  82.     <th>$name_expire<br><span class="tt small">yyyymmdd</span></th>
  83.     !if $actives=yes
  84.       <th>$name_Load<sup>[1]</sup></th>
  85.     !endif
  86.   </thead><tbody>
  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
  97.     <td class="small">$t_<br>$d_</td>
  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
  117.   </tbody>
  118.   $table_end
  119.   !read tablesort.phtml
  120. !endif
  121.  
  122. !if $actives=yes
  123.   <div class="wimscenter">
  124.     !form reply
  125.       <span class="small bold">[1]</span>. '<span class="tt">$name_Load</span>'
  126.       $name_cumul
  127.       <input type=text name="bst_since" value="$bst_since" onchange="submit()">
  128.       ($name_format <span class="wims_emph">yyyymmdd</span>).
  129.       <input type="hidden" name="keyword" value="$keyword">
  130.     !formend
  131.     !href cmd=reply&job=bestclass&keyword=$keyword $wims_name_Show
  132.     !default bst_num=10
  133.     $bst_num $name_best.
  134.   </div>
  135. !endif
  136.  
  137. !reset keyword
  138.