Rev 12476 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12476 | Rev 13877 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | 1 | !nocache |
|
2 | !if |
2 | !if +/classes/ isin +/$m_ and $wims_user!=$empty |
3 | imagedir=$wims_ref_name?session=$wims_session&cmd=getfile&special_parm=oefimages/$thisexo |
- | |
4 | Imagedir=oefimages/$thisexo |
- | |
5 | class_header=wimshome/log/classes/$wims_class/ |
3 | class_header=wimshome/log/classes/$wims_class/ |
6 | !else |
4 | !else |
7 | !set common_images=!defof common_images in wimshome/public_html/modules/$m_/var.proc |
5 | !set common_images=!defof common_images in wimshome/public_html/modules/$m_/var.proc |
- | 6 | class_header=wimshome/public_html/modules/$m_/ |
|
- | 7 | !endif |
|
- | 8 | Class_header=!replace internal ../wimshome/ by $wims_home/ in ../$class_header |
|
- | 9 | !! the second case occurs when one look at an help when testing the exercise from createxo |
|
- | 10 | !if $oef_test=yes or +/adm/createxo isin +/$module |
|
- | 11 | imagedir=$wims_ref_name?session=$wims_session&+cmd=getfile&+special_parm=oefimg |
|
8 |
|
12 | Imagedir=oefimg |
- | 13 | !! suppress the first one ???!! |
|
- | 14 | insdraw_filebase=$wims_sesdir/getfile/oefimg $wims_home/$wims_sesdir/getfile/oefimg |
|
- | 15 | !else |
|
- | 16 | !if +/classes/ isin +/$m_ and $wims_user!=$empty |
|
- | 17 | !!imagedir=$wims_ref_name?session=$wims_session&cmd=getfile&special_parm=oefimages/$thisexo |
|
- | 18 | insdraw_filebase=$wims_home/log/classes/$wims_class/src/images/$thisexo |
|
- | 19 | session_base=!translate _ to , in $wims_session |
|
- | 20 | session_base=!item 1 of $session_base |
|
- | 21 | imagedir=$wims_ref_name?session=$session_base&+cmd=getfile&+special_parm=oefimages/$thisexo |
|
9 |
|
22 | Imagedir=oefimages/$thisexo |
- | 23 | !!class_header=wimshome/log/classes/$wims_class/ |
|
10 | !else |
24 | !else |
- | 25 | !!set common_images=!defof common_images in wimshome/public_html/modules/$m_/var.proc |
|
11 | !if |
26 | !if $common_images=yes |
- | 27 | insdraw_filebase=images |
|
12 |
|
28 | imagedir=modules/$m_/images |
13 | !else |
29 | !else |
- | 30 | !if ../datamodule/ isin ../$common_images |
|
- | 31 | insdraw_filebase=images/$thisexo $common_images |
|
- | 32 | imagedir=!replace internal datamodule/ by modules/data/ in $common_images |
|
- | 33 | !else |
|
- | 34 | insdraw_filebase=images/$thisexo |
|
14 |
|
35 | imagedir=$module_dir/images/$thisexo |
- | 36 | !endif |
|
15 | !endif |
37 | !endif |
- | 38 | Imagedir=$httpd_PWD/$imagedir |
|
- | 39 | !!class_header=wimshome/public_html/modules/$m_/ |
|
16 | !endif |
40 | !endif |
17 | Imagedir=$httpd_PWD/$imagedir |
- | |
18 | class_header=wimshome/public_html/modules/$m_/ |
- | |
19 | !endif |
41 | !endif |
20 | Class_header=!replace internal ../wimshome/ by $wims_home/ in ../$class_header |
- |