Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
9623 guerimand 1
!!read proc/prop.proc
2
 
3
!bound step within 0,1 default 0
4
 
5
!if $step=0
6
 !if ../adm/ isin ../$dir or $dir=home or \
7
   (../devel/ isin ../$dir and $wims_devel_modules notwordof open)
8
  error=insert_fail
9
  !exit
10
 !endif
11
 
9625 guerimand 12
 !if $doctot>=$max_doc
13
  error=maxdoc
14
  !exit
15
 !endif
9623 guerimand 16
 title=!module title $dir
17
 desc=!module description $dir
18
 desc=!singlespace $desc
19
 desc=!char 1 to $desc_limit of $desc
20
 title=!singlespace $title
21
 title=!char 1 to $title_limit of $title
22
 status=0
23
 update=$empty
24
 wksheet=0
25
 
26
 !for i=1 to $doctot
27
   e=!record $i of wimshome/log/classes/$wims_class/doc/.docindex
28
   !distribute lines $e into wdi,win,otitle
29
   !if $dir=$wdi and $iniparm=$win
30
     test=$i
31
     error=already_exist
32
     title=$otitle
33
     !exit
34
   !endif
35
 !next i
36
 sdir=$dir
37
 siniparm=$iniparm
38
!endif
39
 
40
!if $step=1
41
 desc=!singlespace $desc
42
 desc=!char 1 to $desc_limit of $desc
43
 title=!singlespace $title
44
 title=!char 1 to $title_limit of $title
45
 !bound status within 0,1 default 0
46
 !bound wksheet within 0 and $nbsheet default 0
47
!appendfile wimshome/log/classes/$wims_class/doc/.docindex :$dir\
48
$iniparm\
49
$title\
50
$desc\
51
$status\
9629 guerimand 52
$wksheet\
9623 guerimand 53
 
9629 guerimand 54
 
9623 guerimand 55
wims_module_log=class $wims_class: add $dir
56
 
57
message=$name_confirm
58
job=prop
59
 
60
!endif
61