Subversion Repositories wimsdev

Rev

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

Rev 3546 Rev 3693
Line 40... Line 40...
40
        percent,pos_rep,common,second_step,first_step,\
40
        percent,pos_rep,common,second_step,first_step,\
41
        file, reading_file, audio_file,image_file,video_file,size,source,\
41
        file, reading_file, audio_file,image_file,video_file,size,source,\
42
        style_question,style_reponse,style_oef,style_css,\
42
        style_question,style_reponse,style_oef,style_css,\
43
        reading_tag,image_tag,video_tag,qcm_prompt1,qcm_prompt2,\
43
        reading_tag,image_tag,video_tag,qcm_prompt1,qcm_prompt2,\
44
        sens,aucune,raw,partialscore,paste,specialhelp1,specialhelp2,\
44
        sens,aucune,raw,partialscore,paste,specialhelp1,specialhelp2,\
45
        specialhelp3,helpprompt,reaccent,packs,player,player_option,\
45
        specialhelp3,specialhelp4,helpprompt,reaccent,packs,player,player_option,\
46
        good_answer_text,bad_answer_text,incomplete_answer_text,\
46
        good_answer_text,bad_answer_text,incomplete_answer_text,\
47
    
47
    
48
        $(a) =!getdef $a in $example_dir/$TYPE/$example
48
        $(a) =!getdef $a in $example_dir/$TYPE/$example
49
      !next
49
      !next
50
      !if $type_exo iswordof CORRESP
50
      !if $type_exo iswordof CORRESP
Line 161... Line 161...
161
  !setdef quick_source=$source in wimshome/$sesdir/var.stat
161
  !setdef quick_source=$source in wimshome/$sesdir/var.stat
162
  !for a in file, reading_file, audio_file, image_file, video_file,N, M, MAX,try,alea,\
162
  !for a in file, reading_file, audio_file, image_file, video_file,N, M, MAX,try,alea,\
163
      instruction,instruction2,\
163
      instruction,instruction2,\
164
      choice,answer_given,format,common,second_step,first_step,pos_rep,percent,\
164
      choice,answer_given,format,common,second_step,first_step,pos_rep,percent,\
165
      size,qcm_prompt1,qcm_prompt2,sens,aucune,partialscore,paste,\
165
      size,qcm_prompt1,qcm_prompt2,sens,aucune,partialscore,paste,\
166
      specialhelp1,specialhelp2,specialhelp3,helpprompt,reaccent,packs,player,\
166
      specialhelp1,specialhelp2,specialhelp3,specialhelp4,helpprompt,reaccent,packs,player,\
167
        good_answer_text,bad_answer_text,incomplete_answer_text
167
        good_answer_text,bad_answer_text,incomplete_answer_text
168
     b=!trim $($a)
168
     b=!trim $($a)
169
     !setdef quick_$a=$b in wimshome/$sesdir/var.stat
169
     !setdef quick_$a=$b in wimshome/$sesdir/var.stat
170
     modele=!replace internal \text{$a=} by \text{$a=$b} in  $modele
170
     modele=!replace internal \text{$a=} by \text{$a=$b} in  $modele
171
   !next
171
   !next
Line 196... Line 196...
196
   !if $wims_developer!=$empty
196
   !if $wims_developer!=$empty
197
       list_mod=!sh ls $wims_home/public_html/modules/devel/$wims_developer
197
       list_mod=!sh ls $wims_home/public_html/modules/devel/$wims_developer
198
       list_mod=!words2items $list_mod
198
       list_mod=!words2items $list_mod
199
       list_module=
199
       list_module=
200
       !for a in $list_mod
200
       !for a in $list_mod
201
        !!  category = !defof category in wimshome/public_html/modules/devel/$wims_developer/$a/INDEX
-
 
202
          category = !module category devel/$wims_developer/$a
201
          category = !module category devel/$wims_developer/$a  
203
         
-
 
204
         !if oef isin $category
202
         !if oef isin $category
205
            list_module=!append item $a to $list_module
203
            list_module=!append item $a to $list_module
206
          !endif
204
         !endif
207
       !next
205
       !next
208
       !if $list_module=$empty and $transfert=yes
206
       !if $list_module=$empty and $transfert=yes
209
         error = $error oefempty
207
         error = $error oefempty
210
       !endif
208
       !endif
211
       !if $target issametext choisissez
209
       !if $target issametext $name_choice
212
         target=$empty
210
         target=$empty
213
       !endif
211
       !endif
214
   !endif
212
   !endif
215
 
213
 
216
   !if $transfert=yes and $target!=$empty
214
   !if $transfert=yes and $target!=$empty