Subversion Repositories wimsdev

Rev

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

!set basedir0=scripts/data/glossary

!if $gotcntG > 0
  !set gotcnt=$gotcntG
  !set gotm=$gotmG
  !set gotd=$gotdG
  !set gott=$gottG
!endif

!default gotcntG=0
!if $[$gotcntG + $gotcnt]=0
  <p>
  !href module=adm/tool/glossary $wims_name_Glossary
  </p>
!endif
<ul class="wims_home_result_list wims_glossary">
!for i=1 to $gotcnt
  !set m_=!line $i of $gotm
  !set t_=!line $i of $gott
  !set d_=!line $i of $gotd
  !set i_=!line $i of $gotiG
  !set n_=!line $i of $gotm_
  !if $i_=$n_ or $i_ issametext
    !set i_=$d_
  !endif
  !if $i_=$empty
    !set i_=!lookup $n_ in wimshome/public_html/$basedir/information.$search_lang
  !endif
  !set gl_level=!defof gl_level in wimshome/public_html/$basedir0/$m_
  <li class="wims_home_result_list">
  !href module=adm/tool/glossary&job=main&cmd=new&special_parm=$m_ $t_
  !if $(i_)$gl_level != $empty
    , $gl_level $i_
  !else
    !!.
  !endif
  </li>
!next i
</ul>