Rev 17717 | 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 |
18490 | bpr | 55 | !set tmp=!words2items $l_ $ltrans |
56 | !set tmp=!listuniq $tmp |
||
57 | !set tmp=!items2words $tmp |
||
58 | ($tmp) |
||
16955 | bpr | 59 | !endif |
13637 | bpr | 60 | !if oef isin $cat_ |
61 | !set exokeyword=!record 0 of wimshome/public_html/modules/$m_/Dickeywords |
||
62 | !if $exokeyword!=$empty |
||
63 | !reset tmp_list |
||
64 | !! keywords no modified in srch0 |
||
65 | !for exk in $srch0 |
||
66 | !set ext=!lookup $exk in wimshome/public_html/modules/$m_/Dickeywords |
||
67 | <ul> |
||
68 | !for exa in $ext |
||
69 | !if $exa notitemof $tmp_list |
||
70 | !set tmp_list=!append item $exa to $tmp_list |
||
71 | <li> |
||
17716 | bpr | 72 | !set exta=!lookup $exa in wimshome/public_html/modules/$m_/Extitles_$search_lang |
73 | !if $exta=$empty |
||
74 | !set exta=!lookup $exa in wimshome/public_html/modules/$m_/Extitles |
||
17717 | bpr | 75 | !if $wims_user=supervisor |
76 | !href module=$m_&special_parm=$exta&cmd=intro $exta |
||
77 | !else |
||
78 | !href module=$m_&exo=$exa&cmd=new $exta |
||
79 | !endif |
||
14593 | bpr | 80 | !else |
17717 | bpr | 81 | !if $wims_user=supervisor |
82 | !href module=$m_&special_parm=$exta&cmd=intro&lang=$search_lang $exta |
||
83 | !else |
||
84 | !href module=$m_&exo=$exa&cmd=new&lang=$search_lang $exta |
||
85 | !endif |
||
14593 | bpr | 86 | !endif |
13637 | bpr | 87 | !if $wims_show_author=yes |
88 | !set exauthor=!lookup $exa in wimshome/public_html/modules/$m_/Exauthors |
||
13644 | bpr | 89 | !set exauthor=!replace internal , by $ $ in $exauthor |
90 | !set exauthor=!replace internal ; by , $ in $exauthor |
||
13660 | bpr | 91 | !if $exauthor!=$empty |
92 | <span class="small">($exauthor)</span> |
||
93 | !endif |
||
13637 | bpr | 94 | !endif |
95 | </li> |
||
96 | !endif |
||
97 | !next |
||
98 | </ul> |
||
99 | !next |
||
100 | !reset exokeyword exk exa exta exauthor tmp_list |
||
101 | !endif |
||
102 | !endif |
||
12822 | bpr | 103 | </li> |
104 | !reset d_ t_ |
||
105 | !next i |
||
106 | </ul> |
||
6739 | bpr | 107 | !endif |