Rev 12821 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12821 | Rev 14896 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | !if $srch=$empty |
2 | !if $srch=$empty |
3 | gottype=fail |
3 | gottype=fail |
4 | gotcnt=0 |
4 | gotcnt=0 |
5 | !exit |
5 | !exit |
6 | !endif |
6 | !endif |
- | 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 |
|
7 | 11 | !endif |
|
8 | formdir=$module_P. |
12 | formdir=$module_P.$p_lang/form |
9 | mP=!replace wimshome/public_html/modules/ by $ in $module_P |
13 | mP=!replace wimshome/public_html/modules/ by $ in $module_P |
10 | #formdir=$mP. |
14 | #formdir=$mP.$p_lang/form |
11 |
|
15 | dictionary=scripts/$mP.$p_lang/dic/form |
12 | !read $module_P. |
16 | !read $module_P.$p_lang/search.proc |
13 | - | ||
14 | !if $gotcnt>0 |
17 | !if $gotcnt>0 |
15 | gottype=search |
18 | gottype=search |
16 | Gotcnt=$[$Gotcnt + $gotcnt] |
19 | Gotcnt=$[$Gotcnt + $gotcnt] |
17 | !else |
20 | !else |
18 | gottype=fail |
21 | gottype=fail |