Subversion Repositories wimsdev

Rev

Rev 12899 | Go to most recent revision | 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
        &nbsp;
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
23 reyssat 53
!endif
54
 
55
!if $newcnt2>0
12457 bpr 56
  $table_header
57
  <caption>$wims_name_student
58
  !if $newcnt2>2
59
    [
60
    !href cmd=reply&job2=import2&import=user,-all- $name_everybodyimport
61
    ]
23 reyssat 62
  !endif
12457 bpr 63
  </caption>
64
  $table_hdtr<th>login</th><th>$wims_name_lastname</th><th>$wims_name_firstname</th><th>$wims_name_action</th></tr>
65
  !for i=1 to $newcnt2
66
    $table_tr<td>$(ulogin$i)</td>
67
    <td>$(uname2$i)<td>$(uname1$i)</td><td>
68
    !if $(ucode$i)=1
69
      !href cmd=reply&job2=import2&import=user,$(ulogin$i) $wims_name_import
70
    !else
71
      !if $(ucode$i)=2
72
        $name_existinglogin
73
      !else
74
        $name_part_erased
75
      !endif
76
    !endif
77
    </td></tr>
78
  !next i
79
  $table_end
23 reyssat 80
!endif