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