Rev 12903 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | |
2 | !href cmd=reply&job2=def $nei_description |
||
5894 | bpr | 3 | (<span class="wims_emph">$nei_institution</span>) |
23 | reyssat | 4 | !if $newcnt1+$newcnt2<1 |
12457 | bpr | 5 | $name_no_ressource. |
6 | !if $class_type!=3 |
||
7 | !set wims_ref_class=wims_button |
||
8 | !href cmd=reply&job2=def $wims_name_back2 |
||
9 | !endif |
||
10 | !exit |
||
23 | reyssat | 11 | !endif |
2473 | bpr | 12 | $name_importable. |
10775 | bpr | 13 | $ |
3064 | bpr | 14 | !set wims_ref_class=wims_button_help |
1464 | bpr | 15 | !href cmd=help&special_parm=import $wims_name_help |
23 | reyssat | 16 | |
3064 | bpr | 17 | |
23 | reyssat | 18 | !if $newcnt1>0 |
12899 | guerimand | 19 | !set name_glossary=!lower $wims_name_Glossary |
12457 | bpr | 20 | $table_header |
21 | <caption>$name_teaching</caption> |
||
12899 | guerimand | 22 | $table_hdtr<th>$wims_name_Type</th><th>$wims_name_title</th><th class="small">$(wims_name_thsheet[1])</th> |
12457 | bpr | 23 | <th class="small">$name_ressourceallowed</th> |
24 | <th>$name_same_title</th><th>$wims_name_action</th></tr> |
||
25 | !for i=1 to $newcnt1 |
||
26 | !set l=!line $i of $newrec |
||
27 | !set ll=!words2items $l |
||
28 | $table_tr |
||
29 | <td>$(name_$(rtype$i))</td> |
||
30 | <td>$(rname$i)</td> |
||
31 | <td class="small">$(rName$i)</td> |
||
32 | <td>$(rcnt$i)</td> |
||
33 | <td>$(code$(rcode$i))</td> |
||
34 | <td> |
||
35 | !if $(rstat$i)=0 or $(rcnt$i)=0 |
||
36 | !if $(rcnt$i)=0 |
||
37 | $name_empty |
||
38 | !else |
||
39 | <span class="small">$name_inpreparation</span> |
||
40 | !endif |
||
41 | !else |
||
12903 | guerimand | 42 | !if $(rcode$i)!=2 or $(rtype$i) notwordof motd exo livret |
12457 | bpr | 43 | !href cmd=reply&job2=import2&import=$ll&impmethod=add $wims_name_import |
44 | !endif |
||
45 | !if $(rcode$i)=2 |
||
46 | |
||
47 | !href cmd=reply&job2=import2&import=$ll&impmethod=replace&replace=$(rmine$i) $name_replace |
||
48 | !endif |
||
49 | !endif |
||
50 | </td></tr> |
||
51 | !next i |
||
12739 | bpr | 52 | $table_end |
13537 | bpr | 53 | $name_warning_duplicate |
23 | reyssat | 54 | !endif |
55 | |||
56 | !if $newcnt2>0 |
||
12457 | bpr | 57 | $table_header |
58 | <caption>$wims_name_student |
||
59 | !if $newcnt2>2 |
||
60 | [ |
||
61 | !href cmd=reply&job2=import2&import=user,-all- $name_everybodyimport |
||
62 | ] |
||
23 | reyssat | 63 | !endif |
12457 | bpr | 64 | </caption> |
65 | $table_hdtr<th>login</th><th>$wims_name_lastname</th><th>$wims_name_firstname</th><th>$wims_name_action</th></tr> |
||
66 | !for i=1 to $newcnt2 |
||
67 | $table_tr<td>$(ulogin$i)</td> |
||
68 | <td>$(uname2$i)<td>$(uname1$i)</td><td> |
||
69 | !if $(ucode$i)=1 |
||
70 | !href cmd=reply&job2=import2&import=user,$(ulogin$i) $wims_name_import |
||
71 | !else |
||
72 | !if $(ucode$i)=2 |
||
73 | $name_existinglogin |
||
74 | !else |
||
75 | $name_part_erased |
||
76 | !endif |
||
77 | !endif |
||
78 | </td></tr> |
||
79 | !next i |
||
80 | $table_end |
||
23 | reyssat | 81 | !endif |