Rev 12476 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
13877 | bpr | 1 | !nocache |
2 | !if +/classes/ isin +/$m_ and $wims_user!=$empty |
||
12476 | bpr | 3 | class_header=wimshome/log/classes/$wims_class/ |
23 | reyssat | 4 | !else |
12476 | bpr | 5 | !set common_images=!defof common_images in wimshome/public_html/modules/$m_/var.proc |
13877 | bpr | 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 |
||
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 |
||
22 | Imagedir=oefimages/$thisexo |
||
23 | !!class_header=wimshome/log/classes/$wims_class/ |
||
2820 | bpr | 24 | !else |
13877 | bpr | 25 | !!set common_images=!defof common_images in wimshome/public_html/modules/$m_/var.proc |
26 | !if $common_images=yes |
||
27 | insdraw_filebase=images |
||
28 | imagedir=modules/$m_/images |
||
12476 | bpr | 29 | !else |
13877 | bpr | 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 |
||
35 | imagedir=$module_dir/images/$thisexo |
||
36 | !endif |
||
12476 | bpr | 37 | !endif |
13877 | bpr | 38 | Imagedir=$httpd_PWD/$imagedir |
39 | !!class_header=wimshome/public_html/modules/$m_/ |
||
2820 | bpr | 40 | !endif |
23 | reyssat | 41 | !endif |