Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
23 reyssat 1
# Variable calculations should be done in this file.
2
# It is read and interpreted by wims for all valid calls to the module.
2368 bpr 3
!read adm/class/classlang names.phtml
23 reyssat 4
 
5
wims_prefix=class user tmp n sharing sharable
6
 
7
!if $wims_user!=supervisor
14331 bpr 8
  error=not_supervisor
9
  !exit
23 reyssat 10
!endif
11
 
12
!bound method within column,user,list,raw,percent default list
14329 guerimand 13
 
14
maxuser=!defof MAX_USERFORGRADES in wimshome/public_html/bases/sys/define.conf
14330 guerimand 15
limit=!defof class_limit in wimshome/log/classes/$wims_class/.def
23 reyssat 16
maxcol=32
17
wims_form_method=post
18
 
14330 guerimand 19
!if $limit>$maxuser
14331 bpr 20
  error=too_many_users
21
  !exit
23 reyssat 22
!endif
23
 
24
!if $gcnt<=0 and $method=raw
14331 bpr 25
  method=list
23 reyssat 26
!endif
27
 
28
!read var.proc.$method
14325 guerimand 29
 
23 reyssat 30
!read tabletheme
31