Rev 13731 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
7700 | bpr | 1 | !! Give answers in this file. |
2 | !readdef $refdirbase_/$refdir0/$exo |
||
3 | |||
4 | <div id="classifications"> |
||
5 | !! Tab links |
||
6 | <ul> |
||
7 | !for t=1 to $ref_list_cnt |
||
8 | !set tt=$(ref_list[$t]) |
||
9241 | bpr | 9 | !if $tt!=keywords |
10 | !set name_$tt=!defof title in keywords/$tt.phtml.fr |
||
11 | !endif |
||
7700 | bpr | 12 | <li><a href="#$tt">$(name_$tt)</a></li> |
13 | !next |
||
14 | </ul> |
||
15 | |||
16 | !for t=1 to $ref_list_cnt |
||
13731 | bpr | 17 | !set tt=$(ref_list[$t]) |
18 | <fieldset class="property_fields blockcenter" id="$tt"> |
||
19 | !if $(ref_address_$t)!=$empty |
||
20 | <a class="float_right wims_button_help" target="wims_external" href="$(ref_address_$t)">$tt</a> |
||
21 | !endif |
||
22 | !!if $tt=keywords |
||
23 | !!set wims_ref_class=float_right wims_button_help |
||
24 | !!set wims_target=wims_internal |
||
25 | !!href cmd=help $tt |
||
26 | !!endif |
||
27 | !set ref_$(tt)_cnt=!itemcnt $(ref_$tt[;1]) |
||
28 | !set ref1_$(tt)=!lines2rows $(ref_$(tt)) |
||
29 | !if $(ref_$(tt)_cnt)>0 |
||
30 | !for j = 1 to $(ref_$(tt)_cnt) |
||
31 | !if $(ref1_$tt[$j;1])!=$empty |
||
7700 | bpr | 32 | !set key=$(ref1_$(tt)[$j;1]) |
7725 | bpr | 33 | !reset fullkey |
34 | !if $tt issametext keywords |
||
35 | !set fullkey=!lookup $key in wimshome/public_html/bases/sys/domain/domain.$lang |
||
36 | !default fullkey=$key |
||
9241 | bpr | 37 | !else |
7725 | bpr | 38 | !set keycut=!replace internal _ by , in $key |
39 | !set keycutcnt=!itemcnt $keycut |
||
40 | !set asc=$(keycut[1])_$(keycut[2]) |
||
41 | !set fullkey=!lookup $asc in $taxodir/$tt.fr |
||
17904 | bpr | 42 | !for s=3 to $keycutcn |
7725 | bpr | 43 | !set asc=$(asc)_$(keycut[$s]) |
44 | !set keyasc=!lookup $asc in $taxodir/$tt.fr |
||
45 | !set fullkey=$fullkey > $keyasc |
||
46 | !next |
||
7700 | bpr | 47 | !endif |
13731 | bpr | 48 | <div class="box"><span class="small">$fullkey</span> |
49 | !set evl=!declosing $(ref1_$(tt)[$j;2]) |
||
50 | <ul><li> |
||
51 | $(name_prompt[1]) ($[-$(evl[1])]) |
||
52 | </li><li> |
||
53 | $(name_prompt[3]) ($(evl[2])) |
||
54 | </li> |
||
55 | </ul> |
||
56 | </div> |
||
57 | !endif |
||
58 | !next |
||
59 | !else |
||
60 | <div class="box">$name_no_keyword</div> |
||
61 | !endif |
||
62 | </fieldset> |
||
7700 | bpr | 63 | !next |
64 | </div> |