Subversion Repositories wimsdev

Rev

Rev 2477 | Rev 3064 | 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
2473 bpr 3
 (<em><font color=blue>$nei_institution</font></em>)
23 reyssat 4
!if $newcnt1+$newcnt2<1
2473 bpr 5
 $name_no_ressource.
1724 bpr 6
 !href cmd=reply&job2=def $wims_name_back2
23 reyssat 7
.
8
 !exit
9
!endif
2473 bpr 10
$name_importable.
23 reyssat 11
<small>
1464 bpr 12
!href cmd=help&special_parm=import $wims_name_help
23 reyssat 13
</small>
14
 
15
!if $newcnt1>0
16
 <p>$table_header
2058 bpr 17
 <caption>$name_teaching</caption>
1721 bpr 18
 $table_hdtr<th>$wims_name_Type<th>$wims_name_title<th><small>$wims_name_name</small>
2473 bpr 19
 <th><small>$name_ressourceallowed</small>
20
 <th>$name_same_title<th>$wims_name_action
23 reyssat 21
 !for i=1 to $newcnt1
22
  !set l=!line $i of $newrec
23
  !set ll=!words2items $l
24
  $table_tr
3049 bpr 25
  <td align="center">$(name_$(rtype$i))
26
  <td align="center">$(rname$i)
27
  <td align="center"><small>$(rName$i)</small>
28
  <td align="center">$(rcnt$i)
29
  <td align="center">$(code$(rcode$i))
30
  <td align="center">
23 reyssat 31
  !if $(rstat$i)=0 or $(rcnt$i)=0
32
   !if $(rcnt$i)=0
2473 bpr 33
    $name_empty
23 reyssat 34
   !else
2473 bpr 35
    <small>$name_inpreparation</small>
23 reyssat 36
   !endif
37
  !else
38
   !if $(rcode$i)!=2 or $(rtype$i) notwordof motd exo
2058 bpr 39
    !href cmd=reply&job2=import2&import=$ll&impmethod=add $wims_name_import
23 reyssat 40
   !endif
41
   !if $(rcode$i)=2
42
    &nbsp;
2473 bpr 43
    !href cmd=reply&job2=import2&import=$ll&impmethod=replace&replace=$(rmine$i) $name_replace
23 reyssat 44
   !endif
45
  !endif
46
 !next i
47
 $table_end
48
!endif
49
 
50
!if $newcnt2>0
51
 <p>$table_header
1724 bpr 52
 <caption>$wims_name_student
23 reyssat 53
 !if $newcnt2>2
2058 bpr 54
 [
55
  !href cmd=reply&job2=import2&import=user,-all- $name_everybodyimport
56
 ]
23 reyssat 57
 !endif
58
 </caption>
2058 bpr 59
 $table_hdtr<th>login<th>$wims_name_lastname<th>$wims_name_firstname<th>$wims_name_action
23 reyssat 60
 !for i=1 to $newcnt2
61
  $table_tr<td>$(ulogin$i)
3049 bpr 62
  <td>$(uname2$i)<td>$(uname1$i)<td align="center">
23 reyssat 63
  !if $(ucode$i)=1
2058 bpr 64
   !href cmd=reply&job2=import2&import=user,$(ulogin$i) $wims_name_import
23 reyssat 65
  !else
66
   !if $(ucode$i)=2
2473 bpr 67
    $name_existinglogin
23 reyssat 68
   !else
2473 bpr 69
    $name_part_erased
23 reyssat 70
   !endif
71
  !endif
72
 !next i
73
 $table_end
74
!endif
75