Subversion Repositories wimsdev

Rev

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

Rev 9616 Rev 12586
Line 1... Line 1...
1
!if $docadm=1
1
!if $docadm=1
2
 !exit
2
  !exit
3
!endif
3
!endif
4
 
4
 
5
!default doc=1
5
!default doc=1
6
!set modu_lang=$lang
6
!set modu_lang=$lang
7
!read docu/$lang/names
7
!read docu/$lang/names
8
!if $lang_exists!=yes
8
!if $lang_exists!=yes
9
   !let modu_lang=en
9
  !let modu_lang=en
10
   !read docu/$lang/names
10
  !read docu/$lang/names
11
!endif
11
!endif
12
!set module_language=$lang
12
!set module_language=$lang
13
 
13
 
14
!read INDEX
14
!read INDEX
15
translation_language=!items2words $translation_language
15
translation_language=!items2words $translation_language
Line 19... Line 19...
19
 
19
 
20
module_title2=!detag $module_title
20
module_title2=!detag $module_title
21
 
21
 
22
!read docu/$modu_lang/names
22
!read docu/$modu_lang/names
23
!if $cmd=help
23
!if $cmd=help
24
 !exit
24
  !exit
25
!endif
25
!endif
26
 
26
 
27
!read docu/docdef
27
!read docu/docdef
28
 
28
 
29
!bound job within read,print,list,exosource default read
29
!bound job within read,print,list,exosource default read
30
!if robot isin $session
30
!if robot isin $session
31
 job=print
31
  job=print
32
!endif
32
!endif
33
 
33
 
34
!read tabletheme
34
!read tabletheme
35
!for i=1 to 20
35
!for i=1 to 20
36
 m_parm$i=$(parm$i)
36
  m_parm$i=$(parm$i)
37
 parm$i=
37
  parm$i=
38
!next i
38
!next i
39
!if $seq>0
39
!if $seq>0
40
 !set m_wims_sequence=$seq
40
  !set m_wims_sequence=$seq
41
!endif
41
!endif
42
 
42
 
43
block=!text select $namechars in $block
43
block=!text select $namechars in $block
44
docdir=doc
44
docdir=doc
45
Docdir=$module_dir/$docdir
45
Docdir=$module_dir/$docdir
Line 48... Line 48...
48
!default readcnt=0
48
!default readcnt=0
49
!read $docdir/$doc/.def
49
!read $docdir/$doc/.def
50
!! common_files is defined in the var.proc of the document can be yes now
50
!! common_files is defined in the var.proc of the document can be yes now
51
!! or the address of a datamodule should be in $docdir/$doc/.def
51
!! or the address of a datamodule should be in $docdir/$doc/.def
52
!if datamodule isin $common_files
52
!if datamodule isin $common_files
53
    m_filedir=!replace datamodule by modules/data in $common_files
53
  m_filedir=!replace datamodule by modules/data in $common_files
54
  !else
54
!else
55
  !if $common_files=yes
55
  !if $common_files=yes
56
    m_filedir=$Docdir/files
56
    m_filedir=$Docdir/files
57
  !else
57
  !else
58
    m_filedir=$Docdir/$doc/files
58
    m_filedir=$Docdir/$doc/files
59
  !endif
59
  !endif