Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
23 reyssat 1
 
2
!distribute item message du jour,\
3
        exercice,feuille de travail,examen,document,participant\
4
        into name_motd,name_exo,name_sheet,name_exam,name_doc,name_user
5
!set code1=Aucun
6
!set code2=Oui mais différent
7
!set code3=Oui, actif et différent
8
 
9
La classe
10
!href cmd=reply&job2=def $nei_description
11
 de
12
<em><font color=blue>$nei_institution</font></em>
13
!if $newcnt1+$newcnt2<1
14
 n'a pas de ressources que vous pouvez importer.
1724 bpr 15
 !href cmd=reply&job2=def $wims_name_back2
23 reyssat 16
.
17
 !exit
18
!endif
19
a les ressources importables suivantes.
20
<small>
1464 bpr 21
!href cmd=help&special_parm=import $wims_name_help
23 reyssat 22
</small>
23
 
24
!if $newcnt1>0
25
 <p>$table_header
26
 <caption>Ressources d'enseignement</caption>
1721 bpr 27
 $table_hdtr<th>$wims_name_Type<th>$wims_name_title<th><small>$wims_name_name</small>
23 reyssat 28
 <th><small>Contenu</small>
1724 bpr 29
 <th>Même titre dans votre classe<th>$wims_name_import
23 reyssat 30
 !for i=1 to $newcnt1
31
  !set l=!line $i of $newrec
32
  !set ll=!words2items $l
33
  $table_tr
34
  <td align=center>$(name_$(rtype$i))
35
  <td align=center>$(rname$i)
36
  <td align=center><small>$(rName$i)</small>
37
  <td align=center>$(rcnt$i)
38
  <td align=center>$(code$(rcode$i))
39
  <td align=center>
40
  !if $(rstat$i)=0 or $(rcnt$i)=0
41
   !if $(rcnt$i)=0
42
    Vide
43
   !else
44
    <small>en préparation</small>
45
   !endif
46
  !else
47
   !if $(rcode$i)!=2 or $(rtype$i) notwordof motd exo
48
    !href cmd=reply&job2=import2&import=$ll&impmethod=add Ajouter
49
   !endif
50
   !if $(rcode$i)=2
51
    &nbsp;
52
    !href cmd=reply&job2=import2&import=$ll&impmethod=replace&replace=$(rmine$i) Remplacer
53
   !endif
54
  !endif
55
 !next i
56
 $table_end
57
!endif
58
 
59
!if $newcnt2>0
60
 <p>$table_header
1724 bpr 61
 <caption>$wims_name_student
23 reyssat 62
 !if $newcnt2>2
63
  !href cmd=reply&job2=import2&import=user,-all- [import&nbsp;everybody]
64
 !endif
65
 </caption>
1724 bpr 66
 $table_hdtr<th>login<th>$wims_name_lastname<th>$wims_name_firstname<th>$wims_name_import
23 reyssat 67
 !for i=1 to $newcnt2
68
  $table_tr<td>$(ulogin$i)
69
  <td>$(uname2$i)<td>$(uname1$i)<td align=center>
70
  !if $(ucode$i)=1
71
   !href cmd=reply&job2=import2&import=user,$(ulogin$i) Ajouter
72
  !else
73
   !if $(ucode$i)=2
74
    Login en utilisation dans votre classe
75
   !else
76
    Participant effacé existant dans votre classe
77
   !endif
78
  !endif
79
 !next i
80
 $table_end
81
!endif
82