Subversion Repositories wimsdev

Rev

Rev 6439 | Rev 11371 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6439 Rev 11367
Line 8... Line 8...
8
 
8
 
9
src=!sh cd $wims_home/public_html/scripts/model/$lang/src; ls *.oef | sed 's/.oef$$//'
9
src=!sh cd $wims_home/public_html/scripts/model/$lang/src; ls *.oef | sed 's/.oef$$//'
10
src=!words2items $src
10
src=!words2items $src
11
 
11
 
12
!writefile $listfile
12
!writefile $listfile
13
types=
-
 
-
 
13
!set types=first,datalist,question,select,order,gapfill,classify,game,image
14
!for f in $src
14
!for f in $src
15
 def=!record 0 of model/$lang/src/$f.oef
15
 def=!record 0 of model/$lang/src/$f.oef
16
 type=!getopt type in $def
16
 type=!getopt type in $def
17
 !if $type!=$empty and text/css notin $type
17
 !if $type!=$empty and text/css notin $type
18
  !if $type notitemof $types
18
  !if $type notitemof $types
Line 43... Line 43...
43
!for t in $types
43
!for t in $types
44
 !appendfile $listfile type_$t=$(type_$t)
44
 !appendfile $listfile type_$t=$(type_$t)
45
!next t
45
!next t
46
 
46
 
47
!read $listfile
47
!read $listfile
48
 
-