Rev 2727 | Rev 3261 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2732 | guerimand | 1 | !if $job=lightpopup |
2 | !changeto jobs/lightpopup.proc |
||
3 | !endif |
||
23 | reyssat | 4 | wims_prefix=class user tmp n sharing sharable ident |
5 | !if $job=help |
||
6 | wims_module_log=help |
||
7 | !exit |
||
8 | !endif |
||
391 | obado | 9 | !read defs |
23 | reyssat | 10 | |
11 | job=!lower $job |
||
391 | obado | 12 | !bound job within $allowed_actions_jobs,$allowed_file_jobs default $ |
23 | reyssat | 13 | option=!items2words $option |
14 | option=!words2items $option |
||
15 | code=!word 1 of $code |
||
16 | |||
391 | obado | 17 | # le script autchars permet de definir les listes de caracteres alphanumeriques et de ponctuation |
18 | # il definit egalement la fourchette de longueur autorise des login/mdp |
||
23 | reyssat | 19 | !read adm/class/authchars |
2732 | guerimand | 20 | !read var.check |
23 | reyssat | 21 | |
22 | !if $error=$empty |
||
23 | !read jobs/$job.proc |
||
24 | !endif |
||
25 | |||
391 | obado | 26 | #Lorsque l'on sort de la procedure "job", il ne doit tjs pas y avoir d'erreur. |
23 | reyssat | 27 | !if $error!=$empty |
28 | !changeto error.proc $error |
||
29 | !endif |
||
30 | |||
31 | !if $code=$empty |
||
32 | ok=OK |
||
33 | !else |
||
34 | ok=OK $code |
||
35 | !endif |
||
36 | |||
37 | !shortout $header\ |
||
38 | |||
391 | obado | 39 | |
40 | !if $job isitemof $allowed_actions_jobs |
||
41 | !shortout $ok\ |
||
42 | |||
23 | reyssat | 43 | !read types/$ident_type |
44 | !endif |
||
45 | |||
391 | obado | 46 | !if $job isitemof $allowed_file_jobs |
23 | reyssat | 47 | !sh cat $wims_home/$fname |
48 | !endif |
||
49 | |||
50 | !if $job notwordof authuser |
||
51 | wims_mode=popup |
||
52 | !endif |
||
53 | |||
1373 | bpr | 54 | wims_module_log=$job $ident -> $qclass $quser |