Rev 11367 | Rev 11377 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11367 | Rev 11371 | ||
---|---|---|---|
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 | !! allow to order types. The types not written here are automatically added at the end |
|
13 | !set |
14 | !set types=first,datalist,question,select,order,gapfill,classify,game,image,chemistry |
14 | !for f in $src |
15 | !for f in $src |
15 | def=!record 0 of model/$lang/src/$f.oef |
16 | def=!record 0 of model/$lang/src/$f.oef |
16 | type=!getopt type in $def |
17 | type=!getopt type in $def |
17 | !if $type!=$empty and text/css notin $type |
18 | !if $type!=$empty and text/css notin $type |
18 | !if $type notitemof $types |
19 | !if $type notitemof $types |