Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
4319 bpr 1
 
4318 bpr 2
!set script_authors=$(wims_read_parm)
3
!set s_authors=!rows2lines $script_authors
4319 bpr 4
!set script_cnt=!linecnt $s_authors
4318 bpr 5
!set script_out=
6
 
7
!if $module_language=cn
12155 obado 8
  !for s_auth = 1 to $script_cnt
9
    !set script_out=!append line $(script_authors[$s_auth;2]), $(script_authors[$s_auth;1]) to $script_out
10
  !next
4318 bpr 11
!else
12
 !for s_auth = 1 to $script_cnt
4319 bpr 13
   !if XIAO isin $(script_authors[$s_auth;1])$(script_authors[$s_auth;2])
14
     !set script_out=!append line $(script_authors[$s_auth;2]) $(script_authors[$s_auth;1]) to $script_out
15
   !else
16
     !set script_out=!append line $(script_authors[$s_auth;1]) $(script_authors[$s_auth;2]) to $script_out
12155 obado 17
   !endif
4318 bpr 18
  !next
19
!endif
20
!set script_out=!lines2items $script_out
21
!set script_out=!nonempty items $script_out
22
!set script_out=!replace internal , by ,$ $ in $(script_out)