Rev 12638 | Rev 17229 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12638 | Rev 12720 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | 2 | ||
3 | !if $clcnt<=0 |
3 | !if $clcnt<=0 |
4 | $name_example1 |
4 | $name_example1 |
5 | !exit |
5 | !exit |
6 | !endif |
6 | !endif |
7 | 7 | ||
8 | !if $lacnt<=0 |
8 | !if $lacnt<=0 |
9 | $name_example2 |
9 | $name_example2 |
10 | $name_example3b ($listla). |
10 | $name_example3b ($listla). |
11 | !exit |
11 | !exit |
12 | !else |
12 | !else |
13 | $name_example3 |
13 | $name_example3 |
14 | !endif |
14 | !endif |
15 | !if $othercnt>0 |
15 | !if $othercnt>0 |
16 | $name_example3b ($listla). |
16 | $name_example3b ($listla). |
17 | !endif |
17 | !endif |
18 | <ol> |
18 | <ol> |
19 | <li>$name_example4 |
19 | <li>$name_example4 |
20 | $name_instruction |
20 | $name_instruction |
21 | </li><li>$name_example41 |
21 | </li><li>$name_example41 |
Line 27... | Line 27... | ||
27 | </li></ol> |
27 | </li></ol> |
28 | !!href module=adm/class/regclass $wims_name_classcreate |
28 | !!href module=adm/class/regclass $wims_name_classcreate |
29 | !let nb=!itemcnt $classification |
29 | !let nb=!itemcnt $classification |
30 | !bound exampletype between 1 and $nb default 3 |
30 | !bound exampletype between 1 and $nb default 3 |
31 | <div class="wimscenter"> |
31 | <div class="wimscenter"> |
32 |
|
32 | !for k=1 to $nb |
33 | !let titre=!item $k of $classification |
33 | !let titre=!item $k of $classification |
34 |
|
34 | !if $k!=$exampletype |
35 | !set wims_ref_class=wims_button |
35 | !set wims_ref_class=wims_button |
36 | !href cmd=reply&exampletype=$k $titre |
36 | !href cmd=reply&exampletype=$k $titre |
37 | |
37 | |
38 |
|
38 | !else |
39 | <span class="wims_button disabled"> |
39 | <span class="wims_button disabled"> |
40 | $titre |
40 | $titre |
41 | </span> |
41 | </span> |
42 |
|
42 | !endif |
43 |
|
43 | !next k |
44 | </div> |
44 | </div> |
45 | 45 | ||
46 |
|
46 | !set table_id=TABLE_cls |
47 |
|
47 | !set table_class=sortable |
48 |
|
48 | $table_header |
49 |
|
49 | <caption>$(classification[$exampletype])</caption> |
50 |
|
50 | <thead> |
51 |
|
51 | $table_hdtr |
52 |
|
52 | <th scope="col">$wims_name_name</th> |
53 |
|
53 | <th scope="col" data-sort-method="none">$name_connexion</th> |
54 |
|
54 | <th scope="col" data-sort-method="none">$name_register</th> |
55 |
|
55 | !!<th>$name_copy</th> |
56 |
|
56 | </tr> |
57 |
|
57 | </thead> |
58 |
|
58 | <tbody> |
59 |
|
59 | !for i=1 to $clcnt |
60 | !reset class_archived |
60 | !reset class_archived |
61 |
|
61 | !set l=!line $i of $classes |
62 |
|
62 | !distribute items $l into code,expire,inst,cl |
63 |
|
63 | !defread wimshome/log/classes/$code/.def |
64 |
|
64 | !distribute char $class_level into l_,y_ |
65 | 65 | ||
66 |
|
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 |
67 |
|
67 | !if $clsty!=$empty |
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 |
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 |
69 |
|
69 | !endif |
70 |
|
70 | !if $class_archived=yes |
71 |
|
71 | !let clsty=6 |
72 |
|
72 | !endif |
73 |
|
73 | !if $exampletype=$clsty or ($clsty=$empty and $exampletype=$nb) |
74 | $table_tr |
74 | $table_tr |
75 | <td>$inst <br /> $cl |
75 | <td>$inst <br /> $cl |
76 |
|
76 | !if $class_info!=$empty |
77 | <br /> $class_info |
77 | <br /> $class_info |
78 |
|
78 | !endif |
79 |
|
79 | </td> |
80 |
|
80 | <td> |
81 |
|
81 | !set wims_ref_class=wims_button |
82 |
|
82 | !href module=home&user=anonymous,$code,anonymous $name_anonymous |
83 |
|
83 | |
84 |
|
84 | !set wims_ref_class=wims_button |
85 |
|
85 | !href module=$module&type=authparticipant&class=$code $name_registered |
86 |
|
86 | </td> |
87 |
|
87 | <td> |
88 |
|
88 | !set wims_ref_class=wims_button |
89 |
|
89 | !href module=adm/class/reguser&class=$code $name_register |
90 |
|
90 | </td> |
91 |
|
91 | !!<td> |
92 |
|
92 | !!!set wims_ref_class=wims_button |
93 |
|
93 | !! !href module=adm/class/regclass&job=cloneexemple&sourcecls=$code $name_copy |
94 |
|
94 | !!</td> |
95 | </tr> |
95 | </tr> |
96 |
|
96 | !endif |
97 |
|
97 | !next i |
98 |
|
98 | </tbody> |
99 |
|
99 | $table_end |
100 |
|
100 | !read tablesort.phtml |
101 | </div> |
101 | </div> |