Rev 16484 | Rev 17089 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 16484 | Rev 16512 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | !read adm/class/classlang names.phtml |
1 | !read adm/class/classlang names.phtml |
- | 2 | ||
- | 3 | !if $wims_user!=supervisor |
|
- | 4 | job=oneuser |
|
- | 5 | !if $error=$empty |
|
- | 6 | !changeto $job.proc |
|
- | 7 | !endif |
|
- | 8 | !endif |
|
- | 9 | ||
- | 10 | !if $error isitemof notsupervisor,noclass,nosupervisoremail,sendmailteacherclose |
|
- | 11 | !reset job |
|
- | 12 | !exit |
|
- | 13 | !endif |
|
2 | 14 | ||
3 | !if $nb_user=0 and $wims_user=supervisor |
15 | !if $nb_user=0 and $wims_user=supervisor |
4 | error=nouser |
16 | error=nouser |
5 | !reset job |
17 | !reset job |
6 | !exit |
18 | !exit |
7 | !endif |
19 | !endif |
8 | 20 | ||
9 | !if $error isitemof notsupervisor,noclass,nosupervisoremail |
- | |
10 | !reset job |
- | |
11 | !exit |
- | |
12 | !endif |
- | |
13 | 21 | ||
14 | !if $cmd!=reply and $job=sendmail |
22 | !if $cmd!=reply and $job=sendmail |
15 | !reset job |
23 | !reset job |
16 | !endif |
24 | !endif |
17 | 25 |