Subversion Repositories wimsdev

Rev

Rev 3359 | Rev 12325 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
20 reyssat 1
!nocache
5332 bpr 2
!! the second case occurs when one look at an help when testing the exercise from createxo
3
!if $oef_test=yes or +/adm/createxo isin +/$module
1064 bpr 4
 imagedir=$wims_ref_name?session=$wims_session&+cmd=getfile&+special_parm=oefimg
20 reyssat 5
 Imagedir=oefimg
3359 bpr 6
!! suppress the first one ???!!
7
 insdraw_filebase=$wims_sesdir/getfile/oefimg $wims_home/$wims_sesdir/getfile/oefimg
20 reyssat 8
!else
9
 !if +/classes/ isin +/$module
10
  insdraw_filebase=$wims_home/log/classes/$wims_class/src/images/$thisexo
11
  session_base=!translate _ to , in $wims_session
12
  session_base=!item 1 of $session_base
1064 bpr 13
  imagedir=$wims_ref_name?session=$session_base&+cmd=getfile&+special_parm=oefimages/$thisexo
20 reyssat 14
  Imagedir=oefimages/$thisexo
15
 !else
16
  !if $common_images=yes
17
   insdraw_filebase=images
18
   imagedir=$module_dir/images
19
  !else
20
   !if ../datamodule/ isin ../$common_images
21
    insdraw_filebase=images/$thisexo $common_images
22
    imagedir=!replace internal datamodule/ by modules/data/ in $common_images
23
   !else
24
    insdraw_filebase=images/$thisexo
25
    imagedir=$module_dir/images/$thisexo
26
   !endif
27
  !endif
28
  Imagedir=$httpd_PWD/$imagedir
29
 !endif
30
!endif