Rev 14331 | 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 | |||
14341 | guerimand | 24 | joker=-- |
25 | |||
23 | reyssat | 26 | !if $gcnt<=0 and $method=raw |
14331 | bpr | 27 | method=list |
23 | reyssat | 28 | !endif |
29 | |||
30 | !read var.proc.$method |
||
14325 | guerimand | 31 | |
23 | reyssat | 32 | !read tabletheme |
33 |