Subversion Repositories wimsdev

Rev

Rev 15397 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
15382 bpr 1
!set basedir0=scripts/data/glossary
2
 
3
!if $gotcntG > 0
4
  !set gotcnt=$gotcntG
5
  !set gotm=$gotmG
6
  !set gotd=$gotdG
7
  !set gott=$gottG
8
!endif
9
 
10
!default gotcntG=0
11
!if $[$gotcntG + $gotcnt]=0
12
  <p>
13
  !href module=adm/tool/glossary $wims_name_Glossary
14
  </p>
15
!endif
16
<ul class="wims_home_result_list wims_glossary">
17
!for i=1 to $gotcnt
18
  !set m_=!line $i of $gotm
19
  !set t_=!line $i of $gott
20
  !set d_=!line $i of $gotd
21
  !set i_=!line $i of $gotiG
22
  !set n_=!line $i of $gotm_
23
  !if $i_=$n_ or $i_ issametext
24
    !set i_=$d_
25
  !endif
26
  !if $i_=$empty
27
    !set i_=!lookup $n_ in wimshome/public_html/$basedir/information.$search_lang
28
  !endif
29
  !set gl_level=!defof gl_level in wimshome/public_html/$basedir0/$m_
30
  <li class="wims_home_result_list">
31
  !href module=adm/tool/glossary&job=main&cmd=new&special_parm=$m_ $t_
32
  !if $(i_)$gl_level != $empty
33
    , $gl_level $i_
34
  !else
35
    !!.
36
  !endif
37
  </li>
38
!next i
39
</ul>