Rev 13771 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | |
2 | !distribute items $wims_read_parm into serial, prim, parm1, parm2, parm3, parm4 |
||
3 | !set parms=!items 3 to -1 of $wims_read_parm |
||
4 | !if $prim=$empty or $prim iswordof def define comment |
||
12490 | bpr | 5 | !exit |
23 | reyssat | 6 | !endif |
13771 | obado | 7 | !if $prim notwordof reload resource calcform exercise tool doc example help adm href |
12490 | bpr | 8 | !changeto primitives/$prim.phtml |
23 | reyssat | 9 | !endif |
10 | !goto $prim |
||
11 | |||
12 | :reload |
||
13 | !if $printable=yes |
||
12490 | bpr | 14 | !exit |
23 | reyssat | 15 | !endif |
16 | !reset anchor |
||
17 | !if $parm2!=$empty |
||
12490 | bpr | 18 | !set anchor=#$parm2 |
23 | reyssat | 19 | !endif |
20 | !href cmd=reply&job=read$anchor $parm1 |
||
21 | !exit |
||
22 | |||
23 | :resource |
||
12490 | bpr | 24 | !for w in $parms |
12586 | bpr | 25 | !pedia $w |
23 | reyssat | 26 | |
12490 | bpr | 27 | !next w |
23 | reyssat | 28 | !exit |
29 | |||
30 | :calcform |
||
12490 | bpr | 31 | !set gotcnt=!itemcnt $parms |
32 | !if $gotcnt<1 |
||
14896 | bpr | 33 | !exit |
12490 | bpr | 34 | !endif |
35 | !set gotm=$parms |
||
14896 | bpr | 36 | !if $modu_lang iswordof en fr ca cn |
2402 | bpr | 37 | !set ll=$modu_lang |
12490 | bpr | 38 | !endif |
39 | !default ll=en |
||
40 | !read popup.$ll/search.phtml noremark |
||
23 | reyssat | 41 | !exit |
42 | |||
43 | :exercise |
||
44 | :tool |
||
45 | :doc |
||
46 | :example |
||
47 | :help |
||
48 | :adm |
||
49 | !changeto primitives/target.phtml |
||
13771 | obado | 50 | |
51 | :href |
||
52 | !! redirect to scripts/docu |
||
53 | !changeto docu/primitives/href.phtml |