Rev 14747 | Rev 17593 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 14747 | Rev 14830 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | 2 | ||
3 | !! --- testing if freework is active |
3 | !! --- testing if freework is active |
4 | !if $activetest!=1 |
4 | !if $activetest!=1 and $activetest!=3 |
5 | error=fwnotactive |
5 | error=fwnotactive |
6 | job=configfw |
6 | job=configfw |
7 | !changeto $job.proc |
7 | !changeto $job.proc |
8 | !endif |
8 | !endif |
9 | 9 | ||
- | 10 | !if $activetest=1 |
|
10 | !!testing if all work are corrected (and deposit) |
11 | !!testing if all work are corrected (and deposit) |
11 | !if $type>=2 and $notcorrected>0 |
12 | !if $type>=2 and $notcorrected>0 |
12 | error=notallcorrected |
13 | error=notallcorrected |
13 | job=configfw |
14 | job=configfw |
14 | !changeto $job.proc |
15 | !changeto $job.proc |
15 | !endif |
16 | !endif |
16 | 17 | ||
17 | !! testing if solutiondate pass (user can view solution) |
18 | !! testing if solutiondate pass (user can view solution) |
18 | !ifval $type>=2 and $displaysolution!=1 |
19 | !ifval $type>=2 and $displaysolution!=1 |
19 | error=expire_nosoldisplay |
20 | error=expire_nosoldisplay |
20 | job=configfw |
21 | job=configfw |
21 | !changeto $job.proc |
22 | !changeto $job.proc |
- | 23 | !endif |
|
22 | !endif |
24 | !endif |
23 | 25 | ||
24 | !! change statut |
26 | !! change statut |
25 | activetest=2 |
27 | activetest=2 |
26 | update_content=2\ |
28 | update_content=2\ |