Subversion Repositories wimsdev

Rev

Rev 15636 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
14297 guerimand 1
!! process to activate or desactivate optional module.
15421 bpr 2
!!
14297 guerimand 3
 
14868 guerimand 4
optionalmod_list=class/freework,class/tchat
15636 guerimand 5
optionalmod_parameter=freework_nofile,tchat_nofile
15016 guerimand 6
!reset optionalmod_parameter_prompt
7
!for k in $optionalmod_parameter
8
  t_=!replace internal , by , in $(name_optionalmod_param_$(k))
9
  optionalmod_parameter_prompt=!append item $t_ to $optionalmod_parameter_prompt
10
!next k
14297 guerimand 11
!if $save!=$empty
12
  up_optionalmod=!listintersect $optionalmod_list and $up_optionalmod
15016 guerimand 13
  up_optionalmod_parameter=!listintersect $optionalmod_parameter and $up_optionalmod_parameter
14
  !setdef allowed_optional_module=$up_optionalmod\
15
optionalmod_parameter=$up_optionalmod_parameter in wimshome/log/wims.conf
14321 guerimand 16
  job=list
17
  !reset save
15929 guerimand 18
  !restart module=adm/manage&job=list
14297 guerimand 19
!else
15016 guerimand 20
  tmp=!defof allowed_optional_module\
21
optionalmod_parameter in wimshome/log/wims.conf
22
  !distribute line $tmp into up_optionalmod,up_optionalmod_parameter
15421 bpr 23
!endif