Rev 14896 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
6552 | bpr | 1 | !!#P for popup ... |
33 | reyssat | 2 | !if $srch=$empty |
12821 | bpr | 3 | gottype=fail |
4 | gotcnt=0 |
||
5 | !exit |
||
33 | reyssat | 6 | !endif |
14896 | bpr | 7 | !default p_lang=$s_lang |
8 | !default p_lang=$search_lang |
||
9 | !if $p_lang notwordof en fr ca cn |
||
10 | p_lang=en |
||
11 | !endif |
||
12 | formdir=$module_P.$p_lang/form |
||
33 | reyssat | 13 | mP=!replace wimshome/public_html/modules/ by $ in $module_P |
14959 | bpr | 14 | dictionary=modules/$mP.$p_lang/dic/form |
14896 | bpr | 15 | !read $module_P.$p_lang/search.proc |
33 | reyssat | 16 | !if $gotcnt>0 |
12821 | bpr | 17 | gottype=search |
6566 | bpr | 18 | Gotcnt=$[$Gotcnt + $gotcnt] |
33 | reyssat | 19 | !else |
12821 | bpr | 20 | gottype=fail |
33 | reyssat | 21 | !endif |