Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
23 reyssat 1
 
2
!if $save!=$empty
14349 guerimand 3
  !if $jquery_defined=no
4
    d=!char 2,3 of $[100+abs(floor($dayup_expiration))]
5
    m=!char 2,3 of $[100+abs(floor($monthup_expiration))]
6
    y=!char 1 to 4 of $[abs(floor($yearup_expiration))]
7
    up_expiration=$(y)$(m)$(d)
8
  !endif
12411 bpr 9
  !read scripts/setdef.proc
10
  !if $up_exotitleform!=$class_exotitleform
11
  !! change value of wims_exotitleform for connected student
12
    !readproc adm/whoconnect 1
13
    !for k=1 to $wims_numpartconnected
14
      !let s=!itemcnt $(wims_whoconnect[$k])
15
      !for ses=3 to $s
16
        !setdef wims_exotitleform=$up_exotitleform in wimshome/sessions/$(wims_whoconnect[$k;$ses])/var.stat
17
      !next ses
18
    !next se
19
    !setdef wims_exotitleform=$up_exotitleform in wimshome/sessions/$wims_session/var.stat
20
  !endif
21
  !defread wimshome/log/classes/$wims_class/.def
22
  wims_class_log=Modify class configuration by $wims_realuser
23 reyssat 23
!endif
24
 
14315 guerimand 25
!!read adm/du $wims_home/log/classes/$wims_class
23 reyssat 26
 
27
!if $wims_superclass!=$empty
12411 bpr 28
  supertype=!defof class_type in wimshome/log/classes/$wims_superclass/.def
29
  class_expiration=!defof class_expiration in wimshome/log/classes/$wims_superclass/.def
30
  classdepth=!translate internal / to , in $wims_class
31
  classdepth=!itemcnt $classdepth
23 reyssat 32
!endif