Subversion Repositories wimsdev

Rev

Rev 13660 | Rev 14593 | 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
14540 bpr 21
      !set t_=!module title_$search_lang $m_
22
      !set d_=!module description_$search_lang $m_
12822 bpr 23
    !endif
24
    !if $t_=
25
      !set t_=!module title $m_
26
    !endif
27
    !if $d_=
28
      !set d_=!module description $m_
29
    !endif
30
    !set L=
31
    !if ../local/ isin ../$m_
32
      !set L=<sup>local</sup>
33
    !endif
34
    !if ../com/ isin ../$m_
35
      !set L=<sup>com</sup>
36
    !endif
37
    !if ../contrib/ isin ../$m_
38
      !set L=<sup>contrib</sup>
39
    !endif
40
    !set t_=!replace internal OEF by in $t_
41
    !href module=$m_ $t_
42
    $L, $d_
43
    !if $wims_show_author=yes
44
      <span class="small">(
45
      !replace internal , by $ $ in $a_
6739 bpr 46
)</span>
12822 bpr 47
    !endif
13637 bpr 48
    !if oef isin $cat_
49
      !set exokeyword=!record 0 of wimshome/public_html/modules/$m_/Dickeywords
50
      !if $exokeyword!=$empty
51
        !reset tmp_list
52
        !! keywords no modified in srch0
53
        !for exk in $srch0
54
          !set ext=!lookup $exk in wimshome/public_html/modules/$m_/Dickeywords
55
          <ul>
56
          !for exa in $ext
57
            !if $exa notitemof $tmp_list
58
              !set tmp_list=!append item $exa to $tmp_list
59
              <li>
60
              !set exta=!lookup $exa in wimshome/public_html/modules/$m_/Extitles
61
              !href module=$m_&exo=$exa&cmd=new $exta
62
              !if $wims_show_author=yes
63
                !set exauthor=!lookup $exa in wimshome/public_html/modules/$m_/Exauthors
13644 bpr 64
                !set exauthor=!replace internal , by $ $ in $exauthor
65
                !set exauthor=!replace internal ; by , $ in $exauthor
13660 bpr 66
                !if $exauthor!=$empty
67
                  <span class="small">($exauthor)</span>
68
                !endif
13637 bpr 69
              !endif
70
              </li>
71
            !endif
72
          !next
73
          </ul>
74
        !next
75
        !reset exokeyword exk exa exta exauthor tmp_list
76
      !endif
77
    !endif
12822 bpr 78
    </li>
79
    !reset d_ t_
80
  !next i
81
  </ul>
6739 bpr 82
!endif