Rev 12071 | Rev 12557 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12071 | Rev 12159 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | # It is read and interpreted by wims for all valid calls to the module. |
2 | # It is read and interpreted by wims for all valid calls to the module. |
3 | !if $wims_class=$empty |
3 | !if $wims_class=$empty |
4 | !restart module=home |
4 | !restart module=home |
5 | !endif |
5 | !endif |
6 | !readproc adm/whoconnect |
6 | !readproc adm/whoconnect |
7 | wims_prefix=class user tmp n sharing sharable |
7 | wims_prefix=class user tmp n sharing sharable |
8 | !read adm/class/authchars |
8 | !read adm/class/authchars |
9 | max_sheets=!defof MAX_SHEETS in wimshome/public_html/bases/sys/define.conf |
9 | max_sheets=!defof MAX_SHEETS in wimshome/public_html/bases/sys/define.conf |
Line 17... | Line 17... | ||
17 | userdir=log/classes/$userdir/.users |
17 | userdir=log/classes/$userdir/.users |
18 | tooltip_parm=FONTSIZE,'11pt',ABOVE,'true' |
18 | tooltip_parm=FONTSIZE,'11pt',ABOVE,'true' |
19 | picto=<img src="gifs/picto.gif" alt="picto" /> |
19 | picto=<img src="gifs/picto.gif" alt="picto" /> |
20 | 20 | ||
21 | !if $wims_user=$empty |
21 | !if $wims_user=$empty |
22 | error=not_supervisor |
22 | error=not_supervisor |
23 | !exit |
23 | !exit |
24 | !endif |
24 | !endif |
25 | 25 | ||
26 | !if $wims_user!=supervisor |
26 | !if $wims_user!=supervisor |
27 | !reset deluser,delprep |
27 | !reset deluser,delprep |
28 | !bound job within userprop default userprop |
28 | !bound job within userprop default userprop |
29 | getuser=$wims_user |
29 | getuser=$wims_user |
30 | !if $abandon!=$empty |
30 | !if $abandon!=$empty |
31 | !restart module=home |
31 | !restart module=home |
32 | !endif |
32 | !endif |
33 | !else |
33 | !else |
34 |
|
34 | !if $wims_supertype=2 |
35 |
|
35 | joblist=userprop,teacher |
36 |
|
36 | !else |
37 |
|
37 | joblist=userprop |
38 |
|
38 | !endif |
39 |
|
39 | !readproc adm/vfilter/varfilter proc |
40 |
|
40 | !if $wims_typename iswordof group and $wims_supertype=2 |
41 |
|
41 | !bound job within $joblist,delprep,deluser,recover,transfer,userlist,regmanage default userlist |
42 |
|
42 | !else |
43 |
|
43 | !bound job within $joblist,delprep,deluser,recover,transfer,userlist default userlist |
44 |
|
44 | !endif |
45 | !endif |
45 | !endif |
46 | 46 | ||
47 | !read adm/class/classlang |
47 | !read adm/class/classlang |
48 | 48 | ||
49 | !if $cmd=help |
49 | !if $cmd=help |
50 | !exit |
50 | !exit |
51 | !endif |
51 | !endif |
52 | - | ||
53 | 52 | ||
54 | wims_module_log=$job |
53 | wims_module_log=$job |
55 | !changeto $job.proc |
54 | !changeto $job.proc |
56 | - | ||
57 | - |