Rev 14537 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
14297 | guerimand | 1 | !! expirefreework |
2 | |||
3 | !if $type!=1 |
||
4 | error=notnow |
||
5 | job=configfw |
||
6 | !changeto $job.proc |
||
7 | !endif |
||
8 | |||
9 | !! -------- desactivate freework of type=1 |
||
10 | !! nocondition |
||
11 | |||
12 | !! change statut |
||
13 | activetest=0 |
||
14 | update_content=0\ |
||
15 | $class_expiration\ |
||
16 | $title\ |
||
17 | $desc\ |
||
18 | $comment\ |
||
19 | $type\ |
||
20 | $deadline.$timedeadline\ |
||
21 | $soldate.$timesoldate\ |
||
22 | $sizelimitfile |
||
23 | |||
24 | update_field=$freework |
||
25 | update_nbline=10 |
||
26 | !read adm/uprecord wimshome/log/classes/$wims_class/freeworks/.freeworks |
||
27 | |||
28 | success=gooddeactivate |
||
29 | !if $back=1 |
||
30 | !restart module=home |
||
31 | !else |
||
32 | job=configfw |
||
33 | !reset back |
||
34 | !changeto $job.proc |
||
35 | !endif |
||
36 |