Rev 4646 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4646 | Rev 4697 | ||
---|---|---|---|
Line 1... | Line -... | ||
1 | !!!!!!!!a remettre avec des conditions ???? !!!!! |
- | |
2 | !!! to comment the lines solve the problem of loosing the images |
- | |
3 | !!! when going in another adm module and coming back |
- | |
4 | !!! the text of the exercise is already kept and come back in the brut window |
- | |
5 | 1 | ||
- | 2 | !! outimages come from another module (for example coordclick) |
|
- | 3 | !! transmitted by !href |
|
- | 4 | !! for example !href module=adm/createxo&mode=model&level=2&outimages=$wims_deposit1 $wims_name_createxo |
|
- | 5 | !! should be a list of images in getfile |
|
- | 6 | !! |
|
6 |
|
7 | !sh rm -Rf $wims_home/$wims_sesdir/getfile/oefimg >/dev/null |
- | 8 | !if .. isin $outimages |
|
- | 9 | !reset outimages |
|
- | 10 | !endif |
|
- | 11 | !if $outimages!=$empty |
|
- | 12 | out2=!makelist $wims_home/$wims_sesdir/getfile/x for x in $outimages |
|
- | 13 | out2=!items2words $out2 |
|
- | 14 | !sh mkdir -p $wims_home/$wims_sesdir/getfile/oefimg\ |
|
- | 15 | cp $out2 $wims_home/$wims_sesdir/getfile/oefimg/ >/dev/null |
|
- | 16 | !endif |