Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
23 reyssat 1
!bound format within zip,tgz,tar.gz default zip
2
 
3
sel=!listintersect $selection and $reclist
4
!default sel=$reclist
107 bpr 5
select=!listcomplement score,forum in $sel
23 reyssat 6
selw=!items2words $sel
7
dictionary=$module_dir/arch/recdep
8
dep=!exec translator $selw
9
dictionary=$module_dir/arch/recdir
10
dirs=!exec translator $selw $dep
11
dirs=!words2items $dirs
12
dirs=!listuniq $dirs
13
dirs=!items2words $dirs
14
 
2477 bpr 15
dictionary=$module_dir/lang/recnames.$moduclass_lang
23 reyssat 16
tot=!replace , by , $ in $reclist
17
tot=!exec translator $tot
18
fname=!translate internal / to ~ in $wims_class
3974 guerimand 19
!if $class_typename=course
12413 bpr 20
  tmpnum_class=!char 1 to -5 of $wims_class
3974 guerimand 21
!else
12413 bpr 22
  tmpnum_class=$wims_class
3974 guerimand 23
!endif
23 reyssat 24
fsize=!mexec arch/pack.sh
4599 bpr 25
wims_class_log=Backup created by $wims_realuser
23 reyssat 26
!if $fsize!=$empty
12413 bpr 27
  fsize=$[ceil($fsize/1024)]
28
  !setdef !set class_backup=$today in wimshome/log/classes/$wims_class/.def
23 reyssat 29
!endif