Rev 17716 | 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) |
||
17679 | bpr | 12 | !set maint_=!module maintainer $m_ |
12822 | bpr | 13 | <li> |
14 | !if $wims_ismanager=2 |
||
15 | <span class="small">$w_</span> |
||
6739 | bpr | 16 | !endif |
12822 | bpr | 17 | !if $l_!=$search_lang |
18 | !set ltrans=!module translation_language $m_ |
||
19 | !if $search_lang notin $ltrans |
||
17179 | bpr | 20 | <img src="gifs/$l_.gif" alt="$l_.gif"> |
12822 | bpr | 21 | !endif |
14540 | bpr | 22 | !set t_=!module title_$search_lang $m_ |
23 | !set d_=!module description_$search_lang $m_ |
||
12822 | bpr | 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 |
||
16955 | bpr | 41 | !set ltrans=!module translation_language $m_ |
12822 | bpr | 42 | !set t_=!replace internal OEF by in $t_ |
43 | !href module=$m_ $t_ |
||
44 | $L, $d_ |
||
45 | !if $wims_show_author=yes |
||
15904 | bpr | 46 | <span class="small"> |
17679 | bpr | 47 | !!!if $maint_!= |
48 | !! !replace internal , by $ $ in ($a_; $maint_) |
||
49 | !!!else |
||
50 | !replace internal , by $ $ in ($a_) |
||
51 | !!!endif |
||
15904 | bpr | 52 | </span> |
12822 | bpr | 53 | !endif |
16955 | bpr | 54 | !if $ltrans!=$empty |
55 | ($l_ $ltrans) |
||
56 | !endif |
||
13637 | bpr | 57 | !if oef isin $cat_ |
58 | !set exokeyword=!record 0 of wimshome/public_html/modules/$m_/Dickeywords |
||
59 | !if $exokeyword!=$empty |
||
60 | !reset tmp_list |
||
61 | !! keywords no modified in srch0 |
||
62 | !for exk in $srch0 |
||
63 | !set ext=!lookup $exk in wimshome/public_html/modules/$m_/Dickeywords |
||
64 | <ul> |
||
65 | !for exa in $ext |
||
66 | !if $exa notitemof $tmp_list |
||
67 | !set tmp_list=!append item $exa to $tmp_list |
||
68 | <li> |
||
17716 | bpr | 69 | !set exta=!lookup $exa in wimshome/public_html/modules/$m_/Extitles_$search_lang |
70 | !if $exta=$empty |
||
71 | !set exta=!lookup $exa in wimshome/public_html/modules/$m_/Extitles |
||
17717 | bpr | 72 | !if $wims_user=supervisor |
73 | !href module=$m_&special_parm=$exta&cmd=intro $exta |
||
74 | !else |
||
75 | !href module=$m_&exo=$exa&cmd=new $exta |
||
76 | !endif |
||
14593 | bpr | 77 | !else |
17717 | bpr | 78 | !if $wims_user=supervisor |
79 | !href module=$m_&special_parm=$exta&cmd=intro&lang=$search_lang $exta |
||
80 | !else |
||
81 | !href module=$m_&exo=$exa&cmd=new&lang=$search_lang $exta |
||
82 | !endif |
||
14593 | bpr | 83 | !endif |
13637 | bpr | 84 | !if $wims_show_author=yes |
85 | !set exauthor=!lookup $exa in wimshome/public_html/modules/$m_/Exauthors |
||
13644 | bpr | 86 | !set exauthor=!replace internal , by $ $ in $exauthor |
87 | !set exauthor=!replace internal ; by , $ in $exauthor |
||
13660 | bpr | 88 | !if $exauthor!=$empty |
89 | <span class="small">($exauthor)</span> |
||
90 | !endif |
||
13637 | bpr | 91 | !endif |
92 | </li> |
||
93 | !endif |
||
94 | !next |
||
95 | </ul> |
||
96 | !next |
||
97 | !reset exokeyword exk exa exta exauthor tmp_list |
||
98 | !endif |
||
99 | !endif |
||
12822 | bpr | 100 | </li> |
101 | !reset d_ t_ |
||
102 | !next i |
||
103 | </ul> |
||
6739 | bpr | 104 | !endif |