Rev 13111 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13111 | Rev 15739 | ||
---|---|---|---|
Line 77... | Line 77... | ||
77 | !reset wims_exec_error |
77 | !reset wims_exec_error |
78 | !endif |
78 | !endif |
79 | !endif |
79 | !endif |
80 | 80 | ||
81 | !readdef wimshome/public_html/bases/sys/defaults.conf |
81 | !readdef wimshome/public_html/bases/sys/defaults.conf |
82 | - | ||
83 | !! test for QRencoder |
82 | !! test for QRencoder |
84 | testn=!defof QRencode_command in wimshome/log/wims.conf |
83 | testn=!defof QRencode_command in wimshome/log/wims.conf |
85 | !default testn=$DF_QRencode_command |
84 | !default testn=$DF_QRencode_command |
86 | testn=!word 1 of $testn |
85 | testn=!word 1 of $testn |
87 | test=!sh which $testn |
86 | test=!sh which $testn |
Line 134... | Line 133... | ||
134 | !!!endif HTTP |
133 | !!!endif HTTP |
135 | !next depot |
134 | !next depot |
136 | !if $error_list!=$empty |
135 | !if $error_list!=$empty |
137 | error=no_download_sites |
136 | error=no_download_sites |
138 | !exit |
137 | !exit |
139 | !endif |
138 | !endif |
140 | !endif housekeep |
139 | !endif housekeep |
141 | v_=$(conf_$i) |
140 | v_=$(conf_$i) |
142 | v_=!trim $v_ |
141 | v_=!trim $v_ |
143 | v_=!singlespace $v_ |
142 | v_=!singlespace $v_ |
144 | v_=!replace internal \ by $ in $v_ |
143 | v_=!replace internal \ by $ in $v_ |
145 | !! test if v_ is an integer if it should be and if it is non empty |
144 | !! test if v_ is an integer if it should be and if it is non empty |
146 | !if $ltype=int and $v_!=$empty |
145 | !if $ltype=int and $v_!=$empty |
147 | v_=!text select 0123456789 in $v_ |
146 | v_=!text select 0123456789 in $v_ |
- | 147 | !if $(lbound[1])!=$empty and $(lbound[2])!=$empty |
|
- | 148 | !bound v_ between $(lbound[1]) and $(lbound[2]) default $($n_) |
|
- | 149 | !endif |
|
148 | !default v_=$(lbound[2]) |
150 | !default v_=$(lbound[2]) |
149 | !endif |
151 | !endif |
150 | !!FIXME take in account the parameters in confdata.$lang in case the type is int |
152 | !!FIXME take in account the parameters in confdata.$lang in case the type is int |
151 | !! I comment because I am not sure it is a good idea for all fields |
153 | !! I comment because I am not sure it is a good idea for all fields |
152 | !! but why is it in the file confdata.xx if it is not used ?? |
154 | !! but why is it in the file confdata.xx if it is not used ?? |