Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
6739 bpr 1
!set cat=!nospace $wims_read_parm
9030 bpr 2
!if $(gotcnt$cat)>0
12822 bpr 3
  <ul class="wims_home_result_list">
4
  !for i=1 to $(gotcnt$cat)
5
    !set m_=!line $i of $(gotm$cat)
13637 bpr 6
    !set cat_=!module category $m_
12822 bpr 7
    !set w_=!word $i of $(gotw$cat)
8
    !set l_=!line $i of $(gotl$cat)
9
    !set t_=!line $i of $(gott$cat)
10
    !set d_=!line $i of $(gotd$cat)
11
    !set a_=!line $i of $(gota$cat)
12
    <li>
13
    !if $wims_ismanager=2
14
      <span class="small">$w_</span>
6739 bpr 15
    !endif
12822 bpr 16
    !if $l_!=$search_lang
17
      !set ltrans=!module translation_language $m_
18
      !if  $search_lang notin $ltrans
19
        <img src="gifs/$l_.gif" alt="$l_.gif"/>
20
      !endif
21
      !set tit_=!module title_$search_lang $m_
22
      !set desc_=!module description_$search_lang $m_
23
      !set d_=$desc_
24
    !endif
25
    !if $t_=
26
      !set t_=!module title $m_
27
    !endif
28
    !if $d_=
29
      !set d_=!module description $m_
30
    !endif
31
    !set L=
32
    !if ../local/ isin ../$m_
33
      !set L=<sup>local</sup>
34
    !endif
35
    !if ../com/ isin ../$m_
36
      !set L=<sup>com</sup>
37
    !endif
38
    !if ../contrib/ isin ../$m_
39
      !set L=<sup>contrib</sup>
40
    !endif
41
    !set t_=!replace internal OEF by in $t_
42
    !href module=$m_ $t_
43
    $L, $d_
44
    !if $wims_show_author=yes
45
      <span class="small">(
46
      !replace internal , by $ $ in $a_
6739 bpr 47
)</span>
12822 bpr 48
    !endif
13637 bpr 49
    !if oef isin $cat_
50
      !set exokeyword=!record 0 of wimshome/public_html/modules/$m_/Dickeywords
51
      !if $exokeyword!=$empty
52
        !reset tmp_list
53
        !! keywords no modified in srch0
54
        !for exk in $srch0
55
          !set ext=!lookup $exk in wimshome/public_html/modules/$m_/Dickeywords
56
          <ul>
57
          !for exa in $ext
58
            !if $exa notitemof $tmp_list
59
              !set tmp_list=!append item $exa to $tmp_list
60
              <li>
61
              !set exta=!lookup $exa in wimshome/public_html/modules/$m_/Extitles
62
              !href module=$m_&exo=$exa&cmd=new $exta
63
              !if $wims_show_author=yes
64
                !set exauthor=!lookup $exa in wimshome/public_html/modules/$m_/Exauthors
13644 bpr 65
                !set exauthor=!replace internal , by $ $ in $exauthor
66
                !set exauthor=!replace internal ; by , $ in $exauthor
13660 bpr 67
                !if $exauthor!=$empty
68
                  <span class="small">($exauthor)</span>
69
                !endif
13637 bpr 70
              !endif
71
              </li>
72
            !endif
73
          !next
74
          </ul>
75
        !next
76
        !reset exokeyword exk exa exta exauthor tmp_list
77
      !endif
78
    !endif
12822 bpr 79
    </li>
80
    !reset d_ t_
81
  !next i
82
  </ul>
6739 bpr 83
!endif