Subversion Repositories wimsdev

Rev

Rev 13731 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
7700 bpr 1
!read adm/language lang/names.phtml
2
 
3
!! menu definition file
4
!if $error!=$empty
10229 bpr 5
  <div class="wims_msg alert">
7700 bpr 6
    !read msg.phtml
7
  </div>
8
  !exit
9
!endif
7709 bpr 10
$name_intro
7700 bpr 11
!form reply id="classifications"
12
 
13
!! Tab links
14
<ul>
13731 bpr 15
!for t=1 to $ref_list_cnt
16
  !set tt=$(ref_list[$t])
17
  !if $tt!=keywords
18
    !set name_$tt=!defof title in keywords/$tt.phtml.$lang
19
  !endif
20
  <li><a href="#bloc_$tt">$(name_$tt)</a></li>
21
!next
7700 bpr 22
</ul>
23
 
24
!for t=1 to $ref_list_cnt
25
  !set tt=$(ref_list[$t])
9320 obado 26
  <fieldset id="bloc_$tt" class="property_fields blockcenter">
7700 bpr 27
 
13731 bpr 28
  !set ref_$(tt)_cnt=!itemcnt $(ref_$tt[;1])
29
  !set ref1_$(tt)=!lines2rows $(ref_$(tt))
30
  !if  $(ref_$(tt)_cnt)>0
31
    <div class="field box">
32
      <p>$name_evaluation</p>
33
      <ul>
34
    !for j = 1 to $(ref_$(tt)_cnt)
35
      !if $(ref1_$tt[$j;1])!=$empty
36
        !set key=$(ref1_$(tt)[$j;1])
37
        !reset fullkey
38
        !if $tt issametext keywords
39
          !set fullkey=!lookup $key in wimshome/public_html/bases/sys/domain/domain.$lang
40
          !default fullkey=$key
41
        !else
42
          !set keycut=!replace internal _ by , in $key
43
          !set keycutcnt=!itemcnt $keycut
44
          !set asc=$(keycut[1])_$(keycut[2])
45
          !set fullkey=!lookup $asc in $taxodir/$tt.fr
46
          !for s=3 to $keycutcnt
47
            !set asc=$(asc)_$(keycut[$s])
48
            !set keyasc=!lookup $asc in $taxodir/$tt.fr
49
            !set fullkey=$fullkey > $keyasc
7700 bpr 50
          !next
13731 bpr 51
        !endif
52
        <li>
17179 bpr 53
        <span class="small">$fullkey</span><br>
13731 bpr 54
        !set evl=!declosing $(ref1_$(tt)[$j;2])
55
        !set wims_ref_class=wims_formradio
56
        !formradio f_$(tt)_$j list -1,0,1 prompt \
57
          $(name_prompt[1]) ($[-$(evl[1])]),\
58
          $(name_prompt[2]),\
59
          $(name_prompt[3]) ($(evl[2])),
60
        </li>
61
      !endif
62
    !next
63
    </ul>
64
    </div>
65
  !endif
7700 bpr 66
 
13731 bpr 67
  <div class="field box">
68
  <p>
69
  $(name_$(tt)_instruction)
70
  </p>
71
  !if $tt issametext keywords
72
    !! lit le fichier dans scripts/help
73
    !read help/keywords.phtml radio
7709 bpr 74
    <p>
17179 bpr 75
     <input type="radio" name="taxon_keywords" id="empty" value="">
13731 bpr 76
     $wims_name_erase
7709 bpr 77
    </p>
17179 bpr 78
    <input type="hidden" name="search_lang" value="tech" id="search_lang">
13731 bpr 79
    <label for="taxon_$tt">$name_addkeyword_label</label>
17179 bpr 80
    <input name="taxonfree_$tt" id="taxonfree_$tt" class="multicomplete" placeHolder="$name_onewordmax">
13731 bpr 81
    !if $jquery_defined=yes
82
      <script src="scripts/js/interface/search_engine.js"></script>
7700 bpr 83
    !endif
13731 bpr 84
    <div class="formHelp">$name_addkeywords</div>
85
  !else
86
    !if $(ref_address_$tt)!=$empty
87
      <a class="float_right wims_button_help" target="wims_external" href="$(ref_address_$tt)">$wims_name_help</a>
88
    !endif
89
    <p>$name_selectkeyword</p>
90
    !! until var.proc is fixed, only show french taxonomies
91
    !read keywords/$tt.phtml.$lang
92
    !!  !read keywords/$tt.phtml.fr
93
  !endif
94
  </div>
7700 bpr 95
  </fieldset>
96
!next
97
<div class="wimsform wimscenter">
17179 bpr 98
 <input type="submit" value="$wims_name_tosave">
7700 bpr 99
</div>
100
 
101
!formend