Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
6868 bpr 1
!! classe, student login, job, name of the variable used for the login
2
 
3
!distribute items $wims_read_parm into gn_cl_,gn_st,gn_job,gn_getu_
4
 
5
!default gn_getu_=gn_job
6
!default gn_cl_=$wims_class
10008 bpr 7
!set tmp=!replace internal / by , in $wims_class
8
!set wims_class1=$wims_class
9
!if $(tmp[4])!=$empty
12555 bpr 10
  !set wims_class1=!item 1 to 3 of $tmp
11
  !set wims_class1=!replace internal , by / in $wims_class1
12
  !set wims_class1=!nospace $wims_class1
10008 bpr 13
!endif
14
!set prevuser=!lookup $gn_st in wimshome/log/classes/$wims_class1/.userprevlist
15
!if $prevuser!=$empty
12555 bpr 16
  !set wims_menu_items=!append line prev_participant,1,cmd=reply&job=$gn_job&$gn_getu_=$prevuser\
6868 bpr 17
  to $wims_menu_items
10008 bpr 18
!endif
19
!set nextuser=!lookup $gn_st in wimshome/log/classes/$wims_class1/.usernextlist
20
!if $nextuser!=$empty
12555 bpr 21
  !set wims_menu_items=!append line next_participant,1,cmd=reply&job=$gn_job&$gn_getu_=$nextuser\
7042 bpr 22
  to $wims_menu_items
10008 bpr 23
!endif