Rev 1373 | Rev 2732 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | |
2 | wims_prefix=class user tmp n sharing sharable ident |
||
3 | !if $job=help |
||
4 | wims_module_log=help |
||
5 | !exit |
||
6 | !endif |
||
391 | obado | 7 | !read defs |
23 | reyssat | 8 | |
9 | job=!lower $job |
||
391 | obado | 10 | !bound job within $allowed_actions_jobs,$allowed_file_jobs default $ |
23 | reyssat | 11 | option=!items2words $option |
12 | option=!words2items $option |
||
13 | code=!word 1 of $code |
||
14 | |||
391 | obado | 15 | # le script autchars permet de definir les listes de caracteres alphanumeriques et de ponctuation |
16 | # il definit egalement la fourchette de longueur autorise des login/mdp |
||
23 | reyssat | 17 | !read adm/class/authchars |
2727 | guerimand | 18 | !if $job!=lightpopup |
19 | !read var.check |
||
20 | !endif |
||
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 |