Subversion Repositories wimsdev

Rev

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

Rev 8403 Rev 9393
Line 44... Line 44...
44
docdir=doc
44
docdir=doc
45
Docdir=$module_dir/$docdir
45
Docdir=$module_dir/$docdir
46
readable=yes
46
readable=yes
47
editable=no
47
editable=no
48
!default readcnt=0
48
!default readcnt=0
-
 
49
!read $docdir/$doc/.def
49
!! common_files is defined in the var.proc of the document can be yes now or the address of a datamodule
50
!! common_files is defined in the var.proc of the document can be yes now
50
!readdef var.proc
51
!! or the address of a datamodule should be in $docdir/$doc/.def
51
!if datamodule isin $common_files
52
!if datamodule isin $common_files
52
    m_filedir=!replace datamodule by modules/data in $common_files
53
    m_filedir=!replace datamodule by modules/data in $common_files
53
  !else
54
  !else
54
  !if $common_files=yes
55
  !if $common_files=yes
55
    m_filedir=$Docdir/files
56
    m_filedir=$Docdir/files
56
  !else
57
  !else
57
    m_filedir=$Docdir/$doc/files
58
    m_filedir=$Docdir/$doc/files
58
  !endif
59
  !endif
59
!endif
60
!endif
60
!readdef $docdir/$doc/.def
-
 
-
 
61
 
61
!if $tit!=$empty
62
!if $tit!=$empty
62
  !default block=main
63
  !default block=main
63
  block=!char 1 to $namelim of $block
64
  block=!char 1 to $namelim of $block
64
  !read $docdir/$doc/$block.def
65
  !read $docdir/$doc/$block.def
65
!else
66
!else