Subversion Repositories wimsdev

Rev

Rev 5242 | Rev 7403 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5242 Rev 5262
Line 40... Line 40...
40
        login=$login_init$cnt
40
        login=$login_init$cnt
41
      !endif
41
      !endif
42
      !set tt1=!lookup $login_ext in wimshome/log/classes/$cl/.teacherlist_external
42
      !set tt1=!lookup $login_ext in wimshome/log/classes/$cl/.teacherlist_external
43
      !set tt2=!lookup $login_ext in wimshome/log/classes/$cl/.userlist_external
43
      !set tt2=!lookup $login_ext in wimshome/log/classes/$cl/.userlist_external
44
      !if $tt1!=$empty or $tt2!=$empty
44
      !if $tt1!=$empty or $tt2!=$empty
-
 
45
!! user can be both in .userlist and in .teacherlist (see r5260)
-
 
46
	!if $tt1=$tt2
-
 
47
           login=$tt1
-
 
48
        !else
45
         login=$tt1$tt2
49
           login=$tt1$tt2
-
 
50
        !endif
46
        !exit
51
        !exit
47
      !endif
52
      !endif
48
      !read adm/class/userinclass $cl,$login
53
      !read adm/class/userinclass $cl,$login
49
      !set u_exists=$script_reply
54
      !set u_exists=$script_reply
50
      !increase cnt
55
      !increase cnt