Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
5619 bpr 1
<div class="wims_content">
5601 obado 2
 
23 reyssat 3
!if $clcnt<=0
2218 bpr 4
 $name_example1
23 reyssat 5
 !exit
6
!endif
7
 
8
!if $lacnt<=0
2218 bpr 9
 $name_example2
4256 bpr 10
 $name_example3b ($listla).
484 guerimand 11
 !exit
23 reyssat 12
!else
2218 bpr 13
  $name_example3
23 reyssat 14
!endif
4256 bpr 15
!if $othercnt>0
16
$name_example3b ($listla).
17
!endif
10830 bpr 18
<ol>
19
<li>$name_example4
10811 bpr 20
$name_instruction
10830 bpr 21
</li><li>$name_example41
10811 bpr 22
!set tmp=!replace internal XXXXX by , in $name_sheet_example
23
$(tmp[1])
24
!href module=home&search_keywords=&search_category=S $wims_name_Sheets
25
$ $(tmp[2])
26
!reset tmp
10830 bpr 27
</li></ol>
10811 bpr 28
!!href module=adm/class/regclass $wims_name_classcreate
484 guerimand 29
!let nb=!itemcnt $classification
30
!bound exampletype between 1 and $nb default 3
5754 bpr 31
<div class="wimscenter">
484 guerimand 32
 !for k=1 to $nb
33
  !let titre=!item $k of $classification
3048 bpr 34
   !if $k!=$exampletype
35
    !set wims_ref_class=wims_button
484 guerimand 36
    !href cmd=reply&exampletype=$k $titre
3048 bpr 37
    &nbsp;
7632 bpr 38
   !else
39
   <span class="wims_button disabled">
40
    $titre
41
  </span>
484 guerimand 42
   !endif
43
 !next k
6729 bpr 44
</div>
12638 obado 45
 
12534 guerimand 46
 !set table_id=TABLE_cls
47
 !set table_class=sortable
484 guerimand 48
 $table_header
3048 bpr 49
 <caption>$(classification[$exampletype])</caption>
12534 guerimand 50
  <thead>
51
  $table_hdtr
52
    <th scope="col">$wims_name_name</th>
53
    <th scope="col" data-sort-method="none">$name_connexion</th>
54
    <th scope="col" data-sort-method="none">$name_register</th>
9492 bpr 55
  !!<th>$name_copy</th>
56
  </tr>
12534 guerimand 57
  </thead>
58
  <tbody>
484 guerimand 59
  !for i=1 to $clcnt
7632 bpr 60
  !reset class_archived
484 guerimand 61
   !set l=!line $i of $classes
62
   !distribute items $l into code,expire,inst,cl
63
   !defread wimshome/log/classes/$code/.def
64
   !distribute char $class_level into l_,y_
7632 bpr 65
 
6729 bpr 66
   !let clsty=!positionof item $class_level in E1,E2,E3,E4,E5,E6,H1,H2,H3,H4,H5,H6,U1,U2,U3,U4,U5,U6,Lang
484 guerimand 67
   !if $clsty!=$empty
6729 bpr 68
    !let clsty=!item $clsty of 1,1,1,1,1,2,2,2,2,3,3,3,4,4,4,4,4,4,5
484 guerimand 69
   !endif
7632 bpr 70
   !if $class_archived=yes
71
      !let clsty=6
72
   !endif
484 guerimand 73
   !if $exampletype=$clsty or ($clsty=$empty and $exampletype=$nb)
74
    $table_tr
7632 bpr 75
     <td>$inst <br /> $cl
6959 bpr 76
     !if $class_info!=$empty
77
     <br /> $class_info
78
     !endif
79
     </td>
5894 bpr 80
     <td>
3066 bpr 81
     !set wims_ref_class=wims_button
1741 bpr 82
      !href module=home&user=anonymous,$code,anonymous $name_anonymous
484 guerimand 83
      &nbsp;
3066 bpr 84
      !set wims_ref_class=wims_button
1741 bpr 85
      !href module=$module&type=authparticipant&class=$code $name_registered
484 guerimand 86
     </td>
5894 bpr 87
     <td>
3066 bpr 88
     !set wims_ref_class=wims_button
1741 bpr 89
      !href module=adm/class/reguser&class=$code $name_register
484 guerimand 90
     </td>
9492 bpr 91
     !!<td>
92
     !!!set wims_ref_class=wims_button
93
     !! !href module=adm/class/regclass&job=cloneexemple&sourcecls=$code $name_copy
94
     !!</td>
484 guerimand 95
    </tr>
96
   !endif
97
  !next i
12534 guerimand 98
  </tbody>
484 guerimand 99
 $table_end
12638 obado 100
 !read tablesort.phtml
6669 bpr 101
</div>