Subversion Repositories wimsdev

Rev

Rev 16388 | Rev 17553 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2329 guerimand 1
!!!### language independant
6283 obado 2
!! --------------------  affiche le contenu de l'exam $exam de la classe $wims_class
2329 guerimand 3
 
6283 obado 4
<div id="list">
2329 guerimand 5
$table_header
6283 obado 6
 
17540 bpr 7
 <caption>$name_contentsuper</caption>
6283 obado 8
 
2329 guerimand 9
 $table_hdtr
10
  !for k=1 to 7
15494 bpr 11
    <th>$(name_extab[$k])</th>
2329 guerimand 12
  !next k
13
  !if $activetest=0
16388 guerimand 14
    <th colspan="2">$(name_extab[8])</th>
2329 guerimand 15
  !endif
15494 bpr 16
  </tr>
2329 guerimand 17
 !for i=1 to $exocnt
15494 bpr 18
    !set ex=!record $i of wimshome/log/classes/$wims_class/exams/.exam$exam
19
    !distribute lines $ex into poids,content,title,dep,option,com
20
    $table_tr
21
    <td>$i</td>
22
    <td>$title</td>
23
    <td>
2329 guerimand 24
    !for k in $content
15494 bpr 25
      !let t=!replace internal . by , in $k
26
      !distribute item $t into s_,e_
27
      !let t=!record $e_ of wimshome/log/classes/$wims_class/sheets/.sheet$s_
28
      !distribute line $t into di,pa,bl,bl,bl,bl,bl
29
      !href target=wims_new module=$di&cmd=new&$pa $s_.$e_
30
      &nbsp;
2329 guerimand 31
    !next k
15494 bpr 32
    </td>
33
    <td>$poids</td>
34
    <td>$dep</td>
35
    <td>$com</td>
36
    <td>$option</td>
37
    !if $activetest=0
38
      <td>
14109 guerimand 39
       !set wims_ref_class=wims_button
40
       !href cmd=reply&job=exo&exo=$i $wims_name_change
41
       &nbsp;
42
       !set wims_ref_class=wims_button wims_warning
43
       !href cmd=reply&job=delete&delete=$i#list $wims_name_erase
15494 bpr 44
      </td>
45
      <td>
16388 guerimand 46
       !read adm/sheet/moveafterform.phtml $(name_extab[9])
15494 bpr 47
      </td>
48
    !endif
2329 guerimand 49
  </tr>
15494 bpr 50
  !next i
2329 guerimand 51
$table_end
7543 bpr 52
</div>