Merge lp:~sebastian-meyer/goobi-presentation/bug-984775 into lp:goobi-presentation/1.1
- bug-984775
- Merge into 1.1
Proposed by
Sebastian Meyer
Status: | Merged |
---|---|
Merged at revision: | 83 |
Proposed branch: | lp:~sebastian-meyer/goobi-presentation/bug-984775 |
Merge into: | lp:goobi-presentation/1.1 |
Diff against target: |
350 lines (+65/-34) 7 files modified
dlf/lib/ISO-639/iso-639-1.xml (+21/-20) dlf/lib/ISO-639/iso-639-2b.xml (+11/-8) dlf/modules/newclient/locallang.xml (+2/-0) dlf/modules/newclient/metadata.inc.php (+15/-1) dlf/plugins/collection/class.tx_dlf_collection.php (+1/-1) dlf/plugins/listview/class.tx_dlf_listview.php (+1/-1) dlf/plugins/search/class.tx_dlf_search.php (+14/-3) |
To merge this branch: | bzr merge lp:~sebastian-meyer/goobi-presentation/bug-984775 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sebastian Meyer | Approve | ||
Review via email:
|
Commit message
Description of the change
To post a comment you must log in.
Revision history for this message
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Sebastian Meyer (sebastian-meyer) : | # |
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'dlf/lib/ISO-639/iso-639-1.xml' | |||
2 | --- dlf/lib/ISO-639/iso-639-1.xml 2012-03-20 14:11:28 +0000 | |||
3 | +++ dlf/lib/ISO-639/iso-639-1.xml 2012-05-15 07:32:27 +0000 | |||
4 | @@ -19,7 +19,7 @@ | |||
5 | 19 | <label index="bg">Bulgarian</label> | 19 | <label index="bg">Bulgarian</label> |
6 | 20 | <label index="bh">Bihari</label> | 20 | <label index="bh">Bihari</label> |
7 | 21 | <label index="bi">Bislama</label> | 21 | <label index="bi">Bislama</label> |
9 | 22 | <label index="bn">Bengali, Bangla</label> | 22 | <label index="bn">Bengali</label> |
10 | 23 | <label index="bo">Tibetan</label> | 23 | <label index="bo">Tibetan</label> |
11 | 24 | <label index="br">Breton</label> | 24 | <label index="br">Breton</label> |
12 | 25 | <label index="ca">Catalan</label> | 25 | <label index="ca">Catalan</label> |
13 | @@ -28,7 +28,7 @@ | |||
14 | 28 | <label index="cy">Welsh</label> | 28 | <label index="cy">Welsh</label> |
15 | 29 | <label index="da">Danish</label> | 29 | <label index="da">Danish</label> |
16 | 30 | <label index="de">German</label> | 30 | <label index="de">German</label> |
18 | 31 | <label index="dz">Bhutani</label> | 31 | <label index="dz">Dzongkha</label> |
19 | 32 | <label index="el">Greek</label> | 32 | <label index="el">Greek</label> |
20 | 33 | <label index="en">English</label> | 33 | <label index="en">English</label> |
21 | 34 | <label index="eo">Esperanto</label> | 34 | <label index="eo">Esperanto</label> |
22 | @@ -37,12 +37,12 @@ | |||
23 | 37 | <label index="eu">Basque</label> | 37 | <label index="eu">Basque</label> |
24 | 38 | <label index="fa">Persian</label> | 38 | <label index="fa">Persian</label> |
25 | 39 | <label index="fi">Finnish</label> | 39 | <label index="fi">Finnish</label> |
27 | 40 | <label index="fj">Fiji</label> | 40 | <label index="fj">Fijian</label> |
28 | 41 | <label index="fo">Faroese</label> | 41 | <label index="fo">Faroese</label> |
29 | 42 | <label index="fr">French</label> | 42 | <label index="fr">French</label> |
30 | 43 | <label index="fy">Frisian</label> | 43 | <label index="fy">Frisian</label> |
31 | 44 | <label index="ga">Irish</label> | 44 | <label index="ga">Irish</label> |
33 | 45 | <label index="gd">Scots Gaelic</label> | 45 | <label index="gd">Scottish Gaelic</label> |
34 | 46 | <label index="gl">Galician</label> | 46 | <label index="gl">Galician</label> |
35 | 47 | <label index="gn">Guarani</label> | 47 | <label index="gn">Guarani</label> |
36 | 48 | <label index="gu">Gujarati</label> | 48 | <label index="gu">Gujarati</label> |
37 | @@ -54,7 +54,7 @@ | |||
38 | 54 | <label index="hy">Armenian</label> | 54 | <label index="hy">Armenian</label> |
39 | 55 | <label index="ia">Interlingua</label> | 55 | <label index="ia">Interlingua</label> |
40 | 56 | <label index="id">Indonesian</label> | 56 | <label index="id">Indonesian</label> |
42 | 57 | <label index="ie">Interlingue</label> | 57 | <label index="ie">Interlingue, Occidental</label> |
43 | 58 | <label index="ik">Inupiak</label> | 58 | <label index="ik">Inupiak</label> |
44 | 59 | <label index="is">Icelandic</label> | 59 | <label index="is">Icelandic</label> |
45 | 60 | <label index="it">Italian</label> | 60 | <label index="it">Italian</label> |
46 | @@ -62,21 +62,22 @@ | |||
47 | 62 | <label index="iw">Hebrew</label> | 62 | <label index="iw">Hebrew</label> |
48 | 63 | <label index="ja">Japanese</label> | 63 | <label index="ja">Japanese</label> |
49 | 64 | <label index="ji">Yiddish</label> | 64 | <label index="ji">Yiddish</label> |
50 | 65 | <label index="jv">Javanese</label> | ||
51 | 65 | <label index="jw">Javanese</label> | 66 | <label index="jw">Javanese</label> |
52 | 66 | <label index="ka">Georgian</label> | 67 | <label index="ka">Georgian</label> |
53 | 67 | <label index="kk">Kazakh</label> | 68 | <label index="kk">Kazakh</label> |
56 | 68 | <label index="kl">Greenlandic</label> | 69 | <label index="kl">Kalaallisut, Greenlandic</label> |
57 | 69 | <label index="km">Cambodian</label> | 70 | <label index="km">Khmer</label> |
58 | 70 | <label index="kn">Kannada</label> | 71 | <label index="kn">Kannada</label> |
59 | 71 | <label index="ko">Korean</label> | 72 | <label index="ko">Korean</label> |
60 | 72 | <label index="ks">Kashmiri</label> | 73 | <label index="ks">Kashmiri</label> |
61 | 73 | <label index="ku">Kurdish</label> | 74 | <label index="ku">Kurdish</label> |
63 | 74 | <label index="ky">Kirghiz</label> | 75 | <label index="ky">Kirghiz, Kyrgyz</label> |
64 | 75 | <label index="la">Latin</label> | 76 | <label index="la">Latin</label> |
65 | 76 | <label index="ln">Lingala</label> | 77 | <label index="ln">Lingala</label> |
67 | 77 | <label index="lo">Laothian</label> | 78 | <label index="lo">Lao</label> |
68 | 78 | <label index="lt">Lithuanian</label> | 79 | <label index="lt">Lithuanian</label> |
70 | 79 | <label index="lv">Latvian, Lettish</label> | 80 | <label index="lv">Latvian</label> |
71 | 80 | <label index="mg">Malagasy</label> | 81 | <label index="mg">Malagasy</label> |
72 | 81 | <label index="mi">Maori</label> | 82 | <label index="mi">Maori</label> |
73 | 82 | <label index="mk">Macedonian</label> | 83 | <label index="mk">Macedonian</label> |
74 | @@ -92,21 +93,21 @@ | |||
75 | 92 | <label index="nl">Dutch</label> | 93 | <label index="nl">Dutch</label> |
76 | 93 | <label index="no">Norwegian</label> | 94 | <label index="no">Norwegian</label> |
77 | 94 | <label index="oc">Occitan</label> | 95 | <label index="oc">Occitan</label> |
79 | 95 | <label index="om">(Afan) Oromo</label> | 96 | <label index="om">Oromo</label> |
80 | 96 | <label index="or">Oriya</label> | 97 | <label index="or">Oriya</label> |
82 | 97 | <label index="pa">Punjabi</label> | 98 | <label index="pa">Panjabi</label> |
83 | 98 | <label index="pl">Polish</label> | 99 | <label index="pl">Polish</label> |
85 | 99 | <label index="ps">Pashto, Pushto</label> | 100 | <label index="ps">Pushto</label> |
86 | 100 | <label index="pt">Portuguese</label> | 101 | <label index="pt">Portuguese</label> |
87 | 101 | <label index="qu">Quechua</label> | 102 | <label index="qu">Quechua</label> |
90 | 102 | <label index="rm">Rhaeto-Romance</label> | 103 | <label index="rm">Romansh</label> |
91 | 103 | <label index="rn">Kirundi</label> | 104 | <label index="rn">Rundi</label> |
92 | 104 | <label index="ro">Romanian</label> | 105 | <label index="ro">Romanian</label> |
93 | 105 | <label index="ru">Russian</label> | 106 | <label index="ru">Russian</label> |
94 | 106 | <label index="rw">Kinyarwanda</label> | 107 | <label index="rw">Kinyarwanda</label> |
95 | 107 | <label index="sa">Sanskrit</label> | 108 | <label index="sa">Sanskrit</label> |
96 | 108 | <label index="sd">Sindhi</label> | 109 | <label index="sd">Sindhi</label> |
98 | 109 | <label index="sg">Sangho</label> | 110 | <label index="sg">Sango</label> |
99 | 110 | <label index="sh">Serbo-Croatian</label> | 111 | <label index="sh">Serbo-Croatian</label> |
100 | 111 | <label index="si">Sinhalese</label> | 112 | <label index="si">Sinhalese</label> |
101 | 112 | <label index="sk">Slovak</label> | 113 | <label index="sk">Slovak</label> |
102 | @@ -116,8 +117,8 @@ | |||
103 | 116 | <label index="so">Somali</label> | 117 | <label index="so">Somali</label> |
104 | 117 | <label index="sq">Albanian</label> | 118 | <label index="sq">Albanian</label> |
105 | 118 | <label index="sr">Serbian</label> | 119 | <label index="sr">Serbian</label> |
108 | 119 | <label index="ss">Siswati</label> | 120 | <label index="ss">Swati</label> |
109 | 120 | <label index="st">Sesotho</label> | 121 | <label index="st">Southern Sotho</label> |
110 | 121 | <label index="su">Sundanese</label> | 122 | <label index="su">Sundanese</label> |
111 | 122 | <label index="sv">Swedish</label> | 123 | <label index="sv">Swedish</label> |
112 | 123 | <label index="sw">Swahili</label> | 124 | <label index="sw">Swahili</label> |
113 | @@ -128,7 +129,7 @@ | |||
114 | 128 | <label index="ti">Tigrinya</label> | 129 | <label index="ti">Tigrinya</label> |
115 | 129 | <label index="tk">Turkmen</label> | 130 | <label index="tk">Turkmen</label> |
116 | 130 | <label index="tl">Tagalog</label> | 131 | <label index="tl">Tagalog</label> |
118 | 131 | <label index="tn">Setswana</label> | 132 | <label index="tn">Tswana</label> |
119 | 132 | <label index="to">Tonga</label> | 133 | <label index="to">Tonga</label> |
120 | 133 | <label index="tr">Turkish</label> | 134 | <label index="tr">Turkish</label> |
121 | 134 | <label index="ts">Tsonga</label> | 135 | <label index="ts">Tsonga</label> |
122 | @@ -139,7 +140,7 @@ | |||
123 | 139 | <label index="ur">Urdu</label> | 140 | <label index="ur">Urdu</label> |
124 | 140 | <label index="uz">Uzbek</label> | 141 | <label index="uz">Uzbek</label> |
125 | 141 | <label index="vi">Vietnamese</label> | 142 | <label index="vi">Vietnamese</label> |
127 | 142 | <label index="vo">Volapuk</label> | 143 | <label index="vo">Volapük</label> |
128 | 143 | <label index="wo">Wolof</label> | 144 | <label index="wo">Wolof</label> |
129 | 144 | <label index="xh">Xhosa</label> | 145 | <label index="xh">Xhosa</label> |
130 | 145 | <label index="yi">Yiddish</label> | 146 | <label index="yi">Yiddish</label> |
131 | 146 | 147 | ||
132 | === modified file 'dlf/lib/ISO-639/iso-639-2b.xml' | |||
133 | --- dlf/lib/ISO-639/iso-639-2b.xml 2012-03-20 14:11:28 +0000 | |||
134 | +++ dlf/lib/ISO-639/iso-639-2b.xml 2012-05-15 07:32:27 +0000 | |||
135 | @@ -53,7 +53,7 @@ | |||
136 | 53 | <label index="bas">Basa</label> | 53 | <label index="bas">Basa</label> |
137 | 54 | <label index="bat">Baltic languages</label> | 54 | <label index="bat">Baltic languages</label> |
138 | 55 | <label index="bej">Beja, Bedawiyet</label> | 55 | <label index="bej">Beja, Bedawiyet</label> |
140 | 56 | <label index="bel">Belarusian</label> | 56 | <label index="bel">Byelorussian</label> |
141 | 57 | <label index="bem">Bemba</label> | 57 | <label index="bem">Bemba</label> |
142 | 58 | <label index="ben">Bengali</label> | 58 | <label index="ben">Bengali</label> |
143 | 59 | <label index="ber">Berber languages</label> | 59 | <label index="ber">Berber languages</label> |
144 | @@ -121,7 +121,7 @@ | |||
145 | 121 | <label index="dsb">Lower Sorbian</label> | 121 | <label index="dsb">Lower Sorbian</label> |
146 | 122 | <label index="dua">Duala</label> | 122 | <label index="dua">Duala</label> |
147 | 123 | <label index="dum">Middle Dutch (ca.1050-1350)</label> | 123 | <label index="dum">Middle Dutch (ca.1050-1350)</label> |
149 | 124 | <label index="dut">Dutch, Flemish</label> | 124 | <label index="dut">Dutch</label> |
150 | 125 | <label index="dyu">Dyula</label> | 125 | <label index="dyu">Dyula</label> |
151 | 126 | <label index="dzo">Dzongkha</label> | 126 | <label index="dzo">Dzongkha</label> |
152 | 127 | <label index="efi">Efik</label> | 127 | <label index="efi">Efik</label> |
153 | @@ -204,11 +204,12 @@ | |||
154 | 204 | <label index="ind">Indonesian</label> | 204 | <label index="ind">Indonesian</label> |
155 | 205 | <label index="ine">Indo-European languages</label> | 205 | <label index="ine">Indo-European languages</label> |
156 | 206 | <label index="inh">Ingush</label> | 206 | <label index="inh">Ingush</label> |
158 | 207 | <label index="ipk">Inupiaq</label> | 207 | <label index="ipk">Inupiak</label> |
159 | 208 | <label index="ira">Iranian languages</label> | 208 | <label index="ira">Iranian languages</label> |
160 | 209 | <label index="iro">Iroquoian languages</label> | 209 | <label index="iro">Iroquoian languages</label> |
161 | 210 | <label index="ita">Italian</label> | 210 | <label index="ita">Italian</label> |
162 | 211 | <label index="jav">Javanese</label> | 211 | <label index="jav">Javanese</label> |
163 | 212 | <label index="jaw">Javanese</label> | ||
164 | 212 | <label index="jbo">Lojban</label> | 213 | <label index="jbo">Lojban</label> |
165 | 213 | <label index="jpn">Japanese</label> | 214 | <label index="jpn">Japanese</label> |
166 | 214 | <label index="jpr">Judeo-Persian</label> | 215 | <label index="jpr">Judeo-Persian</label> |
167 | @@ -227,7 +228,7 @@ | |||
168 | 227 | <label index="kbd">Kabardian</label> | 228 | <label index="kbd">Kabardian</label> |
169 | 228 | <label index="kha">Khasi</label> | 229 | <label index="kha">Khasi</label> |
170 | 229 | <label index="khi">Khoisan languages</label> | 230 | <label index="khi">Khoisan languages</label> |
172 | 230 | <label index="khm">Central Khmer</label> | 231 | <label index="khm">Khmer</label> |
173 | 231 | <label index="kho">Khotanese, Sakan</label> | 232 | <label index="kho">Khotanese, Sakan</label> |
174 | 232 | <label index="kik">Kikuyu, Gikuyu</label> | 233 | <label index="kik">Kikuyu, Gikuyu</label> |
175 | 233 | <label index="kin">Kinyarwanda</label> | 234 | <label index="kin">Kinyarwanda</label> |
176 | @@ -294,6 +295,7 @@ | |||
177 | 294 | <label index="mni">Manipuri</label> | 295 | <label index="mni">Manipuri</label> |
178 | 295 | <label index="mno">Manobo languages</label> | 296 | <label index="mno">Manobo languages</label> |
179 | 296 | <label index="moh">Mohawk</label> | 297 | <label index="moh">Mohawk</label> |
180 | 298 | <label index="mol">Moldavian</label> | ||
181 | 297 | <label index="mon">Mongolian</label> | 299 | <label index="mon">Mongolian</label> |
182 | 298 | <label index="mos">Mossi</label> | 300 | <label index="mos">Mossi</label> |
183 | 299 | <label index="mul">Multiple languages</label> | 301 | <label index="mul">Multiple languages</label> |
184 | @@ -356,7 +358,7 @@ | |||
185 | 356 | <label index="por">Portuguese</label> | 358 | <label index="por">Portuguese</label> |
186 | 357 | <label index="pra">Prakrit languages</label> | 359 | <label index="pra">Prakrit languages</label> |
187 | 358 | <label index="pro">Old Provençal (to 1500)</label> | 360 | <label index="pro">Old Provençal (to 1500)</label> |
189 | 359 | <label index="pus">Pushto, Pashto</label> | 361 | <label index="pus">Pushto</label> |
190 | 360 | <label index="que">Quechua</label> | 362 | <label index="que">Quechua</label> |
191 | 361 | <label index="raj">Rajasthani</label> | 363 | <label index="raj">Rajasthani</label> |
192 | 362 | <label index="rap">Rapanui</label> | 364 | <label index="rap">Rapanui</label> |
193 | @@ -364,7 +366,7 @@ | |||
194 | 364 | <label index="roa">Romance languages</label> | 366 | <label index="roa">Romance languages</label> |
195 | 365 | <label index="roh">Romansh</label> | 367 | <label index="roh">Romansh</label> |
196 | 366 | <label index="rom">Romany</label> | 368 | <label index="rom">Romany</label> |
198 | 367 | <label index="rum">Romanian, Moldavian, Moldovan</label> | 369 | <label index="rum">Romanian, Moldavian</label> |
199 | 368 | <label index="run">Rundi</label> | 370 | <label index="run">Rundi</label> |
200 | 369 | <label index="rup">Aromanian, Arumanian, Macedo-Romanian</label> | 371 | <label index="rup">Aromanian, Arumanian, Macedo-Romanian</label> |
201 | 370 | <label index="rus">Russian</label> | 372 | <label index="rus">Russian</label> |
202 | @@ -385,7 +387,7 @@ | |||
203 | 385 | <label index="sgn">Sign Languages</label> | 387 | <label index="sgn">Sign Languages</label> |
204 | 386 | <label index="shn">Shan</label> | 388 | <label index="shn">Shan</label> |
205 | 387 | <label index="sid">Sidamo</label> | 389 | <label index="sid">Sidamo</label> |
207 | 388 | <label index="sin">Sinhala, Sinhalese</label> | 390 | <label index="sin">Sinhalese</label> |
208 | 389 | <label index="sio">Siouan languages</label> | 391 | <label index="sio">Siouan languages</label> |
209 | 390 | <label index="sit">Sino-Tibetan languages</label> | 392 | <label index="sit">Sino-Tibetan languages</label> |
210 | 391 | <label index="sla">Slavic languages</label> | 393 | <label index="sla">Slavic languages</label> |
211 | @@ -484,7 +486,7 @@ | |||
212 | 484 | <label index="zap">Zapotec</label> | 486 | <label index="zap">Zapotec</label> |
213 | 485 | <label index="zbl">Blissymbolics</label> | 487 | <label index="zbl">Blissymbolics</label> |
214 | 486 | <label index="zen">Zenaga</label> | 488 | <label index="zen">Zenaga</label> |
216 | 487 | <label index="zha">Zhuang, Chuang</label> | 489 | <label index="zha">Zhuang</label> |
217 | 488 | <label index="znd">Zande languages</label> | 490 | <label index="znd">Zande languages</label> |
218 | 489 | <label index="zul">Zulu</label> | 491 | <label index="zul">Zulu</label> |
219 | 490 | <label index="zun">Zuni</label> | 492 | <label index="zun">Zuni</label> |
220 | @@ -780,6 +782,7 @@ | |||
221 | 780 | <label index="mni">Meithei-Sprache</label> | 782 | <label index="mni">Meithei-Sprache</label> |
222 | 781 | <label index="mno">Manobo-Sprachen</label> | 783 | <label index="mno">Manobo-Sprachen</label> |
223 | 782 | <label index="moh">Mohawk-Sprache</label> | 784 | <label index="moh">Mohawk-Sprache</label> |
224 | 785 | <label index="mol">Moldavisch</label> | ||
225 | 783 | <label index="mon">Mongolisch</label> | 786 | <label index="mon">Mongolisch</label> |
226 | 784 | <label index="mos">Mossi-Sprache</label> | 787 | <label index="mos">Mossi-Sprache</label> |
227 | 785 | <label index="mul">Mehrere Sprachen</label> | 788 | <label index="mul">Mehrere Sprachen</label> |
228 | 786 | 789 | ||
229 | === modified file 'dlf/modules/newclient/locallang.xml' | |||
230 | --- dlf/modules/newclient/locallang.xml 2012-04-30 16:05:21 +0000 | |||
231 | +++ dlf/modules/newclient/locallang.xml 2012-05-15 07:32:27 +0000 | |||
232 | @@ -104,6 +104,7 @@ | |||
233 | 104 | <label index="volume">Volume</label> | 104 | <label index="volume">Volume</label> |
234 | 105 | <label index="collection">Collection(s)</label> | 105 | <label index="collection">Collection(s)</label> |
235 | 106 | <label index="owner">Owner</label> | 106 | <label index="owner">Owner</label> |
236 | 107 | <label index="language">Language</label> | ||
237 | 107 | </languageKey> | 108 | </languageKey> |
238 | 108 | <languageKey index="de" type="array"> | 109 | <languageKey index="de" type="array"> |
239 | 109 | <label index="title">Neuer Mandant</label> | 110 | <label index="title">Neuer Mandant</label> |
240 | @@ -204,6 +205,7 @@ | |||
241 | 204 | <label index="volume">Band</label> | 205 | <label index="volume">Band</label> |
242 | 205 | <label index="collection">Sammlung(en)</label> | 206 | <label index="collection">Sammlung(en)</label> |
243 | 206 | <label index="owner">Besitzer</label> | 207 | <label index="owner">Besitzer</label> |
244 | 208 | <label index="language">Sprache</label> | ||
245 | 207 | </languageKey> | 209 | </languageKey> |
246 | 208 | </data> | 210 | </data> |
247 | 209 | </T3locallang> | 211 | </T3locallang> |
248 | 210 | \ No newline at end of file | 212 | \ No newline at end of file |
249 | 211 | 213 | ||
250 | === modified file 'dlf/modules/newclient/metadata.inc.php' | |||
251 | --- dlf/modules/newclient/metadata.inc.php 2012-04-30 16:05:21 +0000 | |||
252 | +++ dlf/modules/newclient/metadata.inc.php 2012-05-15 07:32:27 +0000 | |||
253 | @@ -138,6 +138,20 @@ | |||
254 | 138 | 'is_facet' => 1, | 138 | 'is_facet' => 1, |
255 | 139 | 'is_listed' => 0, | 139 | 'is_listed' => 0, |
256 | 140 | ), | 140 | ), |
257 | 141 | 'language' => array ( | ||
258 | 142 | 'encoded' => 1, | ||
259 | 143 | 'xpath' => './mods:language/mods:languageTerm', | ||
260 | 144 | 'xpath_sorting' => '', | ||
261 | 145 | 'default_value' => '', | ||
262 | 146 | 'wrap' => '', | ||
263 | 147 | 'tokenized' => 0, | ||
264 | 148 | 'stored' => 0, | ||
265 | 149 | 'indexed' => 1, | ||
266 | 150 | 'boost' => 1.00, | ||
267 | 151 | 'is_sortable' => 0, | ||
268 | 152 | 'is_facet' => 1, | ||
269 | 153 | 'is_listed' => 0, | ||
270 | 154 | ), | ||
271 | 141 | 'year' => array ( | 155 | 'year' => array ( |
272 | 142 | 'encoded' => 1, | 156 | 'encoded' => 1, |
273 | 143 | 'xpath' => '', | 157 | 'xpath' => '', |
274 | @@ -221,7 +235,7 @@ | |||
275 | 221 | 'is_sortable' => 1, | 235 | 'is_sortable' => 1, |
276 | 222 | 'is_facet' => 1, | 236 | 'is_facet' => 1, |
277 | 223 | 'is_listed' => 1, | 237 | 'is_listed' => 1, |
279 | 224 | ), | 238 | ) |
280 | 225 | ); | 239 | ); |
281 | 226 | 240 | ||
282 | 227 | ?> | 241 | ?> |
283 | 228 | \ No newline at end of file | 242 | \ No newline at end of file |
284 | 229 | 243 | ||
285 | === modified file 'dlf/plugins/collection/class.tx_dlf_collection.php' | |||
286 | --- dlf/plugins/collection/class.tx_dlf_collection.php 2012-05-07 09:52:15 +0000 | |||
287 | +++ dlf/plugins/collection/class.tx_dlf_collection.php 2012-05-15 07:32:27 +0000 | |||
288 | @@ -274,7 +274,7 @@ | |||
289 | 274 | if (empty($_metadata)) { | 274 | if (empty($_metadata)) { |
290 | 275 | 275 | ||
291 | 276 | $_metadata = array ( | 276 | $_metadata = array ( |
293 | 277 | 'label' => $resArray['collLabel'], | 277 | 'label' => htmlspecialchars($resArray['collLabel']), |
294 | 278 | 'description' => $this->pi_RTEcssText($resArray['collDesc']), | 278 | 'description' => $this->pi_RTEcssText($resArray['collDesc']), |
295 | 279 | 'options' => array ( | 279 | 'options' => array ( |
296 | 280 | 'source' => 'collection', | 280 | 'source' => 'collection', |
297 | 281 | 281 | ||
298 | === modified file 'dlf/plugins/listview/class.tx_dlf_listview.php' | |||
299 | --- dlf/plugins/listview/class.tx_dlf_listview.php 2012-05-05 16:30:51 +0000 | |||
300 | +++ dlf/plugins/listview/class.tx_dlf_listview.php 2012-05-15 07:32:27 +0000 | |||
301 | @@ -440,7 +440,7 @@ | |||
302 | 440 | 440 | ||
303 | 441 | } | 441 | } |
304 | 442 | 442 | ||
306 | 443 | $markerArray['###LISTTITLE###'] = htmlspecialchars($this->list->metadata['label']); | 443 | $markerArray['###LISTTITLE###'] = $this->list->metadata['label']; |
307 | 444 | 444 | ||
308 | 445 | $markerArray['###LISTDESCRIPTION###'] = $this->list->metadata['description']; | 445 | $markerArray['###LISTDESCRIPTION###'] = $this->list->metadata['description']; |
309 | 446 | 446 | ||
310 | 447 | 447 | ||
311 | === modified file 'dlf/plugins/search/class.tx_dlf_search.php' | |||
312 | --- dlf/plugins/search/class.tx_dlf_search.php 2012-03-30 09:14:14 +0000 | |||
313 | +++ dlf/plugins/search/class.tx_dlf_search.php 2012-05-15 07:32:27 +0000 | |||
314 | @@ -78,13 +78,24 @@ | |||
315 | 78 | 78 | ||
316 | 79 | } | 79 | } |
317 | 80 | 80 | ||
318 | 81 | // Set last query if applicable. | ||
319 | 82 | $lastQuery = ''; | ||
320 | 83 | |||
321 | 84 | $_list = t3lib_div::makeInstance('tx_dlf_list'); | ||
322 | 85 | |||
323 | 86 | if (!empty($_list->metadata['options']['source']) && $_list->metadata['options']['source'] == 'search') { | ||
324 | 87 | |||
325 | 88 | $lastQuery = $_list->metadata['options']['select']; | ||
326 | 89 | |||
327 | 90 | } | ||
328 | 91 | |||
329 | 81 | // Fill markers. | 92 | // Fill markers. |
330 | 82 | $markerArray = array ( | 93 | $markerArray = array ( |
331 | 83 | '###ACTION_URL###' => $this->pi_getPageLink($GLOBALS['TSFE']->id), | 94 | '###ACTION_URL###' => $this->pi_getPageLink($GLOBALS['TSFE']->id), |
332 | 84 | '###LABEL_QUERY###' => $this->pi_getLL('label.query'), | 95 | '###LABEL_QUERY###' => $this->pi_getLL('label.query'), |
333 | 85 | '###LABEL_SUBMIT###' => $this->pi_getLL('label.submit'), | 96 | '###LABEL_SUBMIT###' => $this->pi_getLL('label.submit'), |
334 | 86 | '###FIELD_QUERY###' => $this->prefixId.'[query]', | 97 | '###FIELD_QUERY###' => $this->prefixId.'[query]', |
336 | 87 | '###QUERY###' => '', | 98 | '###QUERY###' => htmlspecialchars($lastQuery), |
337 | 88 | ); | 99 | ); |
338 | 89 | 100 | ||
339 | 90 | // Display search form. | 101 | // Display search form. |
340 | @@ -103,8 +114,8 @@ | |||
341 | 103 | 114 | ||
342 | 104 | // Set metadata for search. | 115 | // Set metadata for search. |
343 | 105 | $_metadata = array ( | 116 | $_metadata = array ( |
346 | 106 | 'label' => sprintf($this->pi_getLL('searchfor', ''), $this->piVars['query']), | 117 | 'label' => htmlspecialchars(sprintf($this->pi_getLL('searchfor', ''), $this->piVars['query'])), |
347 | 107 | 'description' => sprintf($this->pi_getLL('hits', ''), $numHits), | 118 | 'description' => '<p class="tx-dlf-search-numHits">'.htmlspecialchars(sprintf($this->pi_getLL('hits', ''), $numHits)).'</p>', |
348 | 108 | 'options' => array ( | 119 | 'options' => array ( |
349 | 109 | 'source' => 'search', | 120 | 'source' => 'search', |
350 | 110 | 'select' => $this->piVars['query'], | 121 | 'select' => $this->piVars['query'], |