Version Description
- Fixed bug in the SQL query making the plugin also count posts that isn't published
- Added a new option to set the minimum amount of posts a tag should have to be included
Download this release
Release Info
Developer | exz |
Plugin | Ultimate Tag Cloud Widget |
Version | 1.3.2 |
Comparing to | |
See all releases |
Code changes from version 1.3.1 to 1.3.2
- language/utcw-sv_SE.mo +0 -0
- language/utcw-sv_SE.po +94 -42
- readme.txt +24 -3
- screenshot-4.png +0 -0
- screenshot-5.png +0 -0
- ultimate-tag-cloud-widget.php +33 -29
language/utcw-sv_SE.mo
CHANGED
Binary file
|
language/utcw-sv_SE.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Ultimate Tag Cloud Widget\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2011-
|
6 |
-
"PO-Revision-Date: 2011-
|
7 |
"Last-Translator: Rickard Andersson <rickard@montania.se>\n"
|
8 |
"Language-Team: 0x539.se <rickard@0x539.se>\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -20,7 +20,8 @@ msgstr ""
|
|
20 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:41
|
21 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:58
|
22 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:60
|
23 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
24 |
msgid "Highly configurable tag cloud"
|
25 |
msgstr "Ett mycket konfigurerbart taggmoln"
|
26 |
|
@@ -28,7 +29,8 @@ msgstr "Ett mycket konfigurerbart taggmoln"
|
|
28 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:42
|
29 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:59
|
30 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:61
|
31 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
32 |
msgid "Ultimate Tag Cloud"
|
33 |
msgstr "Ultimate Tag Cloud"
|
34 |
|
@@ -44,7 +46,8 @@ msgstr "%s ämnen"
|
|
44 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:335
|
45 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:372
|
46 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:176
|
47 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
48 |
msgid "Data"
|
49 |
msgstr "Data"
|
50 |
|
@@ -52,7 +55,8 @@ msgstr "Data"
|
|
52 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:336
|
53 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:373
|
54 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:177
|
55 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
56 |
msgid "Authors:"
|
57 |
msgstr "Författare:"
|
58 |
|
@@ -60,7 +64,8 @@ msgstr "Författare:"
|
|
60 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:342
|
61 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:379
|
62 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:183
|
63 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
64 |
msgid "Order:"
|
65 |
msgstr "Ordning:"
|
66 |
|
@@ -68,7 +73,8 @@ msgstr "Ordning:"
|
|
68 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:344
|
69 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:381
|
70 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:185
|
71 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
72 |
msgid "Random"
|
73 |
msgstr "Slumpvis"
|
74 |
|
@@ -81,7 +87,8 @@ msgstr "Alfabetisk"
|
|
81 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:348
|
82 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:391
|
83 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:195
|
84 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
85 |
msgid "Count"
|
86 |
msgstr "Antal"
|
87 |
|
@@ -89,7 +96,8 @@ msgstr "Antal"
|
|
89 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:350
|
90 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:393
|
91 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:197
|
92 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
93 |
msgid "Reverse order"
|
94 |
msgstr "Omvänd ordning"
|
95 |
|
@@ -97,7 +105,8 @@ msgstr "Omvänd ordning"
|
|
97 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:352
|
98 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:397
|
99 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:201
|
100 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
101 |
msgid "Taxonomy:"
|
102 |
msgstr "Taxonomi:"
|
103 |
|
@@ -105,7 +114,8 @@ msgstr "Taxonomi:"
|
|
105 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:354
|
106 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:399
|
107 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:203
|
108 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
109 |
msgid "Post Tags"
|
110 |
msgstr "Taggar"
|
111 |
|
@@ -113,7 +123,8 @@ msgstr "Taggar"
|
|
113 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:355
|
114 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:400
|
115 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:204
|
116 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
117 |
msgid "Categories"
|
118 |
msgstr "Kategorier"
|
119 |
|
@@ -121,7 +132,7 @@ msgstr "Kategorier"
|
|
121 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:358
|
122 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:403
|
123 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:207
|
124 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
125 |
msgid "Exclude:"
|
126 |
msgstr "Exkludera"
|
127 |
|
@@ -129,7 +140,8 @@ msgstr "Exkludera"
|
|
129 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:363
|
130 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:409
|
131 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:213
|
132 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
133 |
msgid "Appearance"
|
134 |
msgstr "Utseende"
|
135 |
|
@@ -137,7 +149,8 @@ msgstr "Utseende"
|
|
137 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:364
|
138 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:410
|
139 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:214
|
140 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
141 |
msgid "Title:"
|
142 |
msgstr "Titel"
|
143 |
|
@@ -145,7 +158,8 @@ msgstr "Titel"
|
|
145 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:367
|
146 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:413
|
147 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:217
|
148 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
149 |
msgid "Tag size (in px):"
|
150 |
msgstr "Taggstorlek (i px):"
|
151 |
|
@@ -157,8 +171,10 @@ msgstr "Taggstorlek (i px):"
|
|
157 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:435
|
158 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:218
|
159 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:239
|
160 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
161 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
|
|
162 |
msgid "From"
|
163 |
msgstr "Från"
|
164 |
|
@@ -170,8 +186,10 @@ msgstr "Från"
|
|
170 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:436
|
171 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:220
|
172 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:240
|
173 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
174 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
|
|
175 |
msgid "to"
|
176 |
msgstr "till"
|
177 |
|
@@ -179,7 +197,8 @@ msgstr "till"
|
|
179 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:373
|
180 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:419
|
181 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:223
|
182 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
183 |
msgid "Max tags:"
|
184 |
msgstr "Max antal taggar:"
|
185 |
|
@@ -187,7 +206,8 @@ msgstr "Max antal taggar:"
|
|
187 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:376
|
188 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:422
|
189 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:226
|
190 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
191 |
msgid "Coloring:"
|
192 |
msgstr "Färgläggning:"
|
193 |
|
@@ -195,7 +215,8 @@ msgstr "Färgläggning:"
|
|
195 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:378
|
196 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:424
|
197 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:228
|
198 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
199 |
msgid "None"
|
200 |
msgstr "Ingen"
|
201 |
|
@@ -203,7 +224,8 @@ msgstr "Ingen"
|
|
203 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:380
|
204 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:426
|
205 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:230
|
206 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
207 |
msgid "Totally random"
|
208 |
msgstr "Helt slumpat"
|
209 |
|
@@ -211,7 +233,8 @@ msgstr "Helt slumpat"
|
|
211 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:382
|
212 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:428
|
213 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:232
|
214 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
215 |
msgid "Random from preset values"
|
216 |
msgstr "Slumpat mellan färger"
|
217 |
|
@@ -219,7 +242,8 @@ msgstr "Slumpat mellan färger"
|
|
219 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:387
|
220 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:433
|
221 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:237
|
222 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
223 |
msgid "Spanning between values"
|
224 |
msgstr "Utspritt mellan två färger"
|
225 |
|
@@ -227,7 +251,8 @@ msgstr "Utspritt mellan två färger"
|
|
227 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:393
|
228 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:439
|
229 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:243
|
230 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
231 |
msgid "Spacing (in px):"
|
232 |
msgstr "Mellanrum (i px):"
|
233 |
|
@@ -235,7 +260,8 @@ msgstr "Mellanrum (i px):"
|
|
235 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:394
|
236 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:440
|
237 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:244
|
238 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
239 |
msgid "Between letters:"
|
240 |
msgstr "Mellan bokstäver:"
|
241 |
|
@@ -243,7 +269,8 @@ msgstr "Mellan bokstäver:"
|
|
243 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:396
|
244 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:442
|
245 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:246
|
246 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
247 |
msgid "Between words:"
|
248 |
msgstr "Mellan ord:"
|
249 |
|
@@ -251,7 +278,8 @@ msgstr "Mellan ord:"
|
|
251 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:399
|
252 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:445
|
253 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:249
|
254 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
255 |
msgid "Transform tags:"
|
256 |
msgstr "Omvandla taggar:"
|
257 |
|
@@ -259,7 +287,8 @@ msgstr "Omvandla taggar:"
|
|
259 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:401
|
260 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:447
|
261 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:251
|
262 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
263 |
msgid "Off"
|
264 |
msgstr "Inaktiverat"
|
265 |
|
@@ -267,7 +296,8 @@ msgstr "Inaktiverat"
|
|
267 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:403
|
268 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:449
|
269 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:253
|
270 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
271 |
msgid "To lowercase"
|
272 |
msgstr "Till gemener"
|
273 |
|
@@ -275,7 +305,8 @@ msgstr "Till gemener"
|
|
275 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:405
|
276 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:451
|
277 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:255
|
278 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
279 |
msgid "To uppercase"
|
280 |
msgstr "Till versaler"
|
281 |
|
@@ -283,52 +314,73 @@ msgstr "Till versaler"
|
|
283 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:407
|
284 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:453
|
285 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:257
|
286 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
287 |
msgid "Capitalize"
|
288 |
msgstr "Stor begynnelsebokstav"
|
289 |
|
290 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:383
|
291 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:187
|
292 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
293 |
msgid "By name"
|
294 |
msgstr "Efter namn"
|
295 |
|
296 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:385
|
297 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:189
|
298 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
299 |
msgid "By slug"
|
300 |
msgstr "Efter slug"
|
301 |
|
302 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:387
|
303 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:191
|
304 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
305 |
msgid "By id"
|
306 |
msgstr "Efter id"
|
307 |
|
308 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:389
|
309 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:193
|
310 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
311 |
msgid "By color"
|
312 |
msgstr "Efter färg"
|
313 |
|
314 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:395
|
315 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:199
|
316 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
317 |
msgid "Case sensitive"
|
318 |
msgstr "Skiftlägeskänsligt"
|
319 |
|
320 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:405
|
321 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:209
|
322 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
323 |
msgid "Enter either the names or IDs of the tags you'd like to exclude."
|
324 |
msgstr "Skriv antingen namn eller IDn på de taggar du vill exkludera"
|
325 |
|
|
|
326 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:28
|
327 |
msgid "Tag Cloud"
|
328 |
msgstr "Taggmoln"
|
329 |
|
330 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
331 |
#, php-format
|
332 |
msgid "%s topic"
|
333 |
msgstr "%s ämne"
|
334 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Ultimate Tag Cloud Widget\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2011-03-11 18:16+0100\n"
|
6 |
+
"PO-Revision-Date: 2011-03-11 18:17+0100\n"
|
7 |
"Last-Translator: Rickard Andersson <rickard@montania.se>\n"
|
8 |
"Language-Team: 0x539.se <rickard@0x539.se>\n"
|
9 |
"MIME-Version: 1.0\n"
|
20 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:41
|
21 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:58
|
22 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:60
|
23 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:60
|
24 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:63
|
25 |
msgid "Highly configurable tag cloud"
|
26 |
msgstr "Ett mycket konfigurerbart taggmoln"
|
27 |
|
29 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:42
|
30 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:59
|
31 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:61
|
32 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:61
|
33 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:64
|
34 |
msgid "Ultimate Tag Cloud"
|
35 |
msgstr "Ultimate Tag Cloud"
|
36 |
|
46 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:335
|
47 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:372
|
48 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:176
|
49 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:176
|
50 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:171
|
51 |
msgid "Data"
|
52 |
msgstr "Data"
|
53 |
|
55 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:336
|
56 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:373
|
57 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:177
|
58 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:177
|
59 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:172
|
60 |
msgid "Authors:"
|
61 |
msgstr "Författare:"
|
62 |
|
64 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:342
|
65 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:379
|
66 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:183
|
67 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:183
|
68 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:178
|
69 |
msgid "Order:"
|
70 |
msgstr "Ordning:"
|
71 |
|
73 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:344
|
74 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:381
|
75 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:185
|
76 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:185
|
77 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:180
|
78 |
msgid "Random"
|
79 |
msgstr "Slumpvis"
|
80 |
|
87 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:348
|
88 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:391
|
89 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:195
|
90 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:195
|
91 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:190
|
92 |
msgid "Count"
|
93 |
msgstr "Antal"
|
94 |
|
96 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:350
|
97 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:393
|
98 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:197
|
99 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:197
|
100 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:192
|
101 |
msgid "Reverse order"
|
102 |
msgstr "Omvänd ordning"
|
103 |
|
105 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:352
|
106 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:397
|
107 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:201
|
108 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:201
|
109 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:196
|
110 |
msgid "Taxonomy:"
|
111 |
msgstr "Taxonomi:"
|
112 |
|
114 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:354
|
115 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:399
|
116 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:203
|
117 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:203
|
118 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:198
|
119 |
msgid "Post Tags"
|
120 |
msgstr "Taggar"
|
121 |
|
123 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:355
|
124 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:400
|
125 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:204
|
126 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:204
|
127 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:199
|
128 |
msgid "Categories"
|
129 |
msgstr "Kategorier"
|
130 |
|
132 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:358
|
133 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:403
|
134 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:207
|
135 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:207
|
136 |
msgid "Exclude:"
|
137 |
msgstr "Exkludera"
|
138 |
|
140 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:363
|
141 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:409
|
142 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:213
|
143 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:213
|
144 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:212
|
145 |
msgid "Appearance"
|
146 |
msgstr "Utseende"
|
147 |
|
149 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:364
|
150 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:410
|
151 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:214
|
152 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:214
|
153 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:213
|
154 |
msgid "Title:"
|
155 |
msgstr "Titel"
|
156 |
|
158 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:367
|
159 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:413
|
160 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:217
|
161 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:217
|
162 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:216
|
163 |
msgid "Tag size (in px):"
|
164 |
msgstr "Taggstorlek (i px):"
|
165 |
|
171 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:435
|
172 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:218
|
173 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:239
|
174 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:218
|
175 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:239
|
176 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:217
|
177 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:238
|
178 |
msgid "From"
|
179 |
msgstr "Från"
|
180 |
|
186 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:436
|
187 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:220
|
188 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:240
|
189 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:220
|
190 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:240
|
191 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:219
|
192 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:239
|
193 |
msgid "to"
|
194 |
msgstr "till"
|
195 |
|
197 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:373
|
198 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:419
|
199 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:223
|
200 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:223
|
201 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:222
|
202 |
msgid "Max tags:"
|
203 |
msgstr "Max antal taggar:"
|
204 |
|
206 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:376
|
207 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:422
|
208 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:226
|
209 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:226
|
210 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:225
|
211 |
msgid "Coloring:"
|
212 |
msgstr "Färgläggning:"
|
213 |
|
215 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:378
|
216 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:424
|
217 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:228
|
218 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:228
|
219 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:227
|
220 |
msgid "None"
|
221 |
msgstr "Ingen"
|
222 |
|
224 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:380
|
225 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:426
|
226 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:230
|
227 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:230
|
228 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:229
|
229 |
msgid "Totally random"
|
230 |
msgstr "Helt slumpat"
|
231 |
|
233 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:382
|
234 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:428
|
235 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:232
|
236 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:232
|
237 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:231
|
238 |
msgid "Random from preset values"
|
239 |
msgstr "Slumpat mellan färger"
|
240 |
|
242 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:387
|
243 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:433
|
244 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:237
|
245 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:237
|
246 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:236
|
247 |
msgid "Spanning between values"
|
248 |
msgstr "Utspritt mellan två färger"
|
249 |
|
251 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:393
|
252 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:439
|
253 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:243
|
254 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:243
|
255 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:242
|
256 |
msgid "Spacing (in px):"
|
257 |
msgstr "Mellanrum (i px):"
|
258 |
|
260 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:394
|
261 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:440
|
262 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:244
|
263 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:244
|
264 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:243
|
265 |
msgid "Between letters:"
|
266 |
msgstr "Mellan bokstäver:"
|
267 |
|
269 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:396
|
270 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:442
|
271 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:246
|
272 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:246
|
273 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:245
|
274 |
msgid "Between words:"
|
275 |
msgstr "Mellan ord:"
|
276 |
|
278 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:399
|
279 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:445
|
280 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:249
|
281 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:249
|
282 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:248
|
283 |
msgid "Transform tags:"
|
284 |
msgstr "Omvandla taggar:"
|
285 |
|
287 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:401
|
288 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:447
|
289 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:251
|
290 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:251
|
291 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:250
|
292 |
msgid "Off"
|
293 |
msgstr "Inaktiverat"
|
294 |
|
296 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:403
|
297 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:449
|
298 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:253
|
299 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:253
|
300 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:252
|
301 |
msgid "To lowercase"
|
302 |
msgstr "Till gemener"
|
303 |
|
305 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:405
|
306 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:451
|
307 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:255
|
308 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:255
|
309 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:254
|
310 |
msgid "To uppercase"
|
311 |
msgstr "Till versaler"
|
312 |
|
314 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.1/ultimate-tag-cloud-widget.php:407
|
315 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:453
|
316 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:257
|
317 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:257
|
318 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:256
|
319 |
msgid "Capitalize"
|
320 |
msgstr "Stor begynnelsebokstav"
|
321 |
|
322 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:383
|
323 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:187
|
324 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:187
|
325 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:182
|
326 |
msgid "By name"
|
327 |
msgstr "Efter namn"
|
328 |
|
329 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:385
|
330 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:189
|
331 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:189
|
332 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:184
|
333 |
msgid "By slug"
|
334 |
msgstr "Efter slug"
|
335 |
|
336 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:387
|
337 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:191
|
338 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:191
|
339 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:186
|
340 |
msgid "By id"
|
341 |
msgstr "Efter id"
|
342 |
|
343 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:389
|
344 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:193
|
345 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:193
|
346 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:188
|
347 |
msgid "By color"
|
348 |
msgstr "Efter färg"
|
349 |
|
350 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:395
|
351 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:199
|
352 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:199
|
353 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:194
|
354 |
msgid "Case sensitive"
|
355 |
msgstr "Skiftlägeskänsligt"
|
356 |
|
357 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:405
|
358 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:209
|
359 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:209
|
360 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:208
|
361 |
msgid "Enter either the names or IDs of the tags you'd like to exclude."
|
362 |
msgstr "Skriv antingen namn eller IDn på de taggar du vill exkludera"
|
363 |
|
364 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:28
|
365 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:28
|
366 |
msgid "Tag Cloud"
|
367 |
msgstr "Taggmoln"
|
368 |
|
369 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:475
|
370 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:480
|
371 |
#, php-format
|
372 |
msgid "%s topic"
|
373 |
msgstr "%s ämne"
|
374 |
|
375 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:202
|
376 |
+
msgid "Minimum number of posts: "
|
377 |
+
msgstr "Minsta antal inlägg:"
|
378 |
+
|
379 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:204
|
380 |
+
msgid "Tags with fewer posts than this will be automatically excluded."
|
381 |
+
msgstr "Taggar med färre inlägg än detta kommer automatiskt att exkluderas."
|
382 |
+
|
383 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:206
|
384 |
+
msgid "Exclude these tags:"
|
385 |
+
msgstr "Exkludera dessa taggar:"
|
386 |
+
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: exz
|
3 |
Tags: widget, tags, configurable, tag cloud
|
4 |
Requires at least: 2.8
|
5 |
-
Tested up to: 3.1
|
6 |
-
Stable tag: 1.3.
|
7 |
Donate link: https://flattr.com/thing/112193/Ultimate-Tag-Cloud-Widget
|
8 |
|
9 |
This plugin aims to be the most configurable tag cloud widget out there, able to suit all your wierd tag cloud needs.
|
@@ -18,6 +18,7 @@ Current version supports the following preferences:
|
|
18 |
* Choose which authors tags should be shown
|
19 |
* Ordering of the tags
|
20 |
* Exclude tags you don't want to show
|
|
|
21 |
* Title
|
22 |
* Size and color customization
|
23 |
* Max amount of tags in your cloud
|
@@ -50,9 +51,16 @@ This is a new plugin, haven't had any questions yet. If you have any, be sure to
|
|
50 |
1. This shows my widget with the default settings on the default wordpress theme.
|
51 |
2. This is a more colorful example with random colors and all tags in uppercase. I'd like to actually see someone use it like this.
|
52 |
3. Maybe a more realistic usage of the widget with spanning colors and capitalized tags.
|
|
|
|
|
53 |
|
54 |
== Changelog ==
|
55 |
|
|
|
|
|
|
|
|
|
|
|
56 |
= 1.3.1 =
|
57 |
|
58 |
* Added Swedish translation
|
@@ -80,6 +88,10 @@ This is a new plugin, haven't had any questions yet. If you have any, be sure to
|
|
80 |
|
81 |
== Upgrade Notice ==
|
82 |
|
|
|
|
|
|
|
|
|
83 |
= 1.3.1 =
|
84 |
|
85 |
* Added Swedish translateion
|
@@ -125,6 +137,7 @@ Upon a request in the forums, you can now integrate the widget within your own t
|
|
125 |
* reverse (boolean)
|
126 |
* authors (array of user IDs, integers)
|
127 |
* exclude (array of taxonomies, IDs or names)
|
|
|
128 |
* color_set (array of hex colors, like #fff or #ffffff)
|
129 |
* letter_spacing (integer)
|
130 |
* word_spacing (integer)
|
@@ -153,4 +166,12 @@ $args = array(
|
|
153 |
do_utcw($args);
|
154 |
?>`
|
155 |
|
156 |
-
Good luck and remember to give me feedback if you run into any problems!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
Contributors: exz
|
3 |
Tags: widget, tags, configurable, tag cloud
|
4 |
Requires at least: 2.8
|
5 |
+
Tested up to: 3.1.1
|
6 |
+
Stable tag: 1.3.2
|
7 |
Donate link: https://flattr.com/thing/112193/Ultimate-Tag-Cloud-Widget
|
8 |
|
9 |
This plugin aims to be the most configurable tag cloud widget out there, able to suit all your wierd tag cloud needs.
|
18 |
* Choose which authors tags should be shown
|
19 |
* Ordering of the tags
|
20 |
* Exclude tags you don't want to show
|
21 |
+
* Minimum amount of posts for tags to be included
|
22 |
* Title
|
23 |
* Size and color customization
|
24 |
* Max amount of tags in your cloud
|
51 |
1. This shows my widget with the default settings on the default wordpress theme.
|
52 |
2. This is a more colorful example with random colors and all tags in uppercase. I'd like to actually see someone use it like this.
|
53 |
3. Maybe a more realistic usage of the widget with spanning colors and capitalized tags.
|
54 |
+
4. The data part of the widget settings
|
55 |
+
5. The appearance part of the widget settings
|
56 |
|
57 |
== Changelog ==
|
58 |
|
59 |
+
= 1.3.2 =
|
60 |
+
|
61 |
+
* Fixed bug in the SQL query making the plugin also count posts that isn't published
|
62 |
+
* Added a new option to set the minimum amount of posts a tag should have to be included
|
63 |
+
|
64 |
= 1.3.1 =
|
65 |
|
66 |
* Added Swedish translation
|
88 |
|
89 |
== Upgrade Notice ==
|
90 |
|
91 |
+
= 1.3.2 =
|
92 |
+
|
93 |
+
* Small bug fix in the SQL-query and a new option added
|
94 |
+
|
95 |
= 1.3.1 =
|
96 |
|
97 |
* Added Swedish translateion
|
137 |
* reverse (boolean)
|
138 |
* authors (array of user IDs, integers)
|
139 |
* exclude (array of taxonomies, IDs or names)
|
140 |
+
* minimum (integer)
|
141 |
* color_set (array of hex colors, like #fff or #ffffff)
|
142 |
* letter_spacing (integer)
|
143 |
* word_spacing (integer)
|
166 |
do_utcw($args);
|
167 |
?>`
|
168 |
|
169 |
+
Good luck and remember to give me feedback if you run into any problems!
|
170 |
+
|
171 |
+
== Thanks ==
|
172 |
+
|
173 |
+
The power of the open source community is being able to help out and submitting patches when bugs are found. I would like to thank the following contributors for submitting patches and helping out with the development:
|
174 |
+
|
175 |
+
* Andreas Bogavcic
|
176 |
+
|
177 |
+
With your help this list will hopefully grow in the future ;)
|
screenshot-4.png
ADDED
Binary file
|
screenshot-5.png
ADDED
Binary file
|
ultimate-tag-cloud-widget.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Ultimate tag cloud widget
|
4 |
Plugin URI: http://www.0x539.se/wordpress
|
5 |
Description: This plugin aims to be the most configurable tag cloud widget out there, able to suit all your wierd tag cloud needs.
|
6 |
-
Version: 1.3.
|
7 |
Author: Rickard Andersson
|
8 |
Author URI: http://www.0x539.se
|
9 |
License: GPLv2
|
@@ -37,6 +37,7 @@ DEFINE("UTCW_DEFAULT_LETTER_SPACING", "normal");
|
|
37 |
DEFINE("UTCW_DEFAULT_WORD_SPACING", "normal");
|
38 |
DEFINE("UTCW_DEFAULT_CASE", "off");
|
39 |
DEFINE("UTCW_DEFAULT_CASE_SENSITIVE", false);
|
|
|
40 |
|
41 |
// Allowed values for miscellanious options in the widget
|
42 |
$utcw_allowed_orders = array('random', 'name', 'slug', 'id', 'color', 'count');
|
@@ -49,6 +50,7 @@ $utcw_allowed_cases = array('lowercase', 'uppercase', 'capitalize', 'off');
|
|
49 |
* Ultimate tag cloud widget class
|
50 |
* @package UTCW
|
51 |
* @author Rickard Andersson <rickard@0x539.se>
|
|
|
52 |
*/
|
53 |
class UTCW extends WP_Widget {
|
54 |
|
@@ -85,11 +87,13 @@ class UTCW extends WP_Widget {
|
|
85 |
$instance['max'] = is_numeric($max) ? $max : UTCW_DEFALUT_MAX;
|
86 |
$instance['letter_spacing'] = is_numeric($letter_spacing) ? $letter_spacing : UTCW_DEFAULT_LETTER_SPACING;
|
87 |
$instance['word_spacing'] = is_numeric($word_spacing) ? $word_spacing : UTCW_DEFAULT_WORD_SPACING;
|
|
|
88 |
$instance['reverse'] = ($reverse == "on");
|
89 |
$instance['exclude'] = strlen($exclude) > 0 ? @explode(",", $exclude) : array();
|
90 |
$instance['color_set'] = strlen($color_set) > 0 ? @explode(",", $color_set) : array();
|
91 |
$instance['authors'] = array();
|
92 |
$instance['case_sensitive'] = ($case_sensitive == "on");
|
|
|
93 |
|
94 |
$instance['color_span_from'] = preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $color_span_from) > 0 ? $color_span_from : "";
|
95 |
$instance['color_span_to'] = preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $color_span_to) > 0 ? $color_span_to : "";
|
@@ -153,22 +157,12 @@ class UTCW extends WP_Widget {
|
|
153 |
$letter_spacing = esc_attr($instance['letter_spacing']);
|
154 |
$word_spacing = esc_attr($instance['word_spacing']);
|
155 |
$case = esc_attr($instance['case']);
|
156 |
-
|
|
|
157 |
$reverse = $instance['reverse'];
|
158 |
-
$authors = $instance['authors'];
|
159 |
-
$color_set = $instance['color_set']
|
160 |
-
$case_sensitive = $instance['case_sensitive'];
|
161 |
-
|
162 |
-
// Fallbacks
|
163 |
-
if (!is_array($authors)) {
|
164 |
-
$authors = array();
|
165 |
-
}
|
166 |
-
if (!is_array($exclude)) {
|
167 |
-
$exclude = array();
|
168 |
-
}
|
169 |
-
if (!is_array($color_set)) {
|
170 |
-
$color_set = array();
|
171 |
-
}
|
172 |
|
173 |
// Content of the widget settings form
|
174 |
?>
|
@@ -204,8 +198,12 @@ class UTCW extends WP_Widget {
|
|
204 |
<option value="category" <?php echo $taxonomy == "category" ? 'selected="selected"' : ""?>><?php _e("Categories", 'utcw'); ?></option>
|
205 |
</select><br/>
|
206 |
<br/>
|
207 |
-
<label for="<?php echo $this->get_field_id('
|
208 |
-
<input type="text" name="<?php echo $this->get_field_name('
|
|
|
|
|
|
|
|
|
209 |
<small><?php _e("Enter either the names or IDs of the tags you'd like to exclude.", 'utcw'); ?></small>
|
210 |
</fieldset>
|
211 |
|
@@ -283,6 +281,7 @@ function do_utcw($args) {
|
|
283 |
$size_to = is_numeric($size_to) ? $size_to : UTCW_DEFAULT_SIZE_TO;
|
284 |
$max = is_numeric($max) ? $max : UTCW_DEFAULT_MAX;
|
285 |
$reverse = is_bool($reverse) ? $reverse : UTCW_DEFAULT_REVERSE;
|
|
|
286 |
$authors = is_array($authors) ? $authors : array();
|
287 |
$exclude = is_array($exclude) ? $exclude : array();
|
288 |
$color_set = is_array($color_set) ? $color_set : array();
|
@@ -303,27 +302,32 @@ function do_utcw($args) {
|
|
303 |
|
304 |
// Build SQL query
|
305 |
$q = "SELECT t.term_id, t.name, t.slug, COUNT(tr.term_taxonomy_id) AS `count` ";
|
306 |
-
$q .= "FROM `$wpdb->posts` AS p ";
|
307 |
$q .= "LEFT JOIN `$wpdb->term_relationships` AS tr ON tr.object_id = p.ID ";
|
308 |
-
$q .= "LEFT JOIN `$wpdb->
|
309 |
-
$q .= "LEFT JOIN `$wpdb->
|
310 |
$q .= "WHERE tt.taxonomy = '$taxonomy' ";
|
311 |
-
|
|
|
|
|
312 |
if (count($authors) > 0) {
|
313 |
-
$q .= "AND post_author IN (" . implode(",", $authors) . ") ";
|
314 |
}
|
315 |
if (count($exclude) > 0) {
|
316 |
if (is_array_numeric($exclude)) {
|
317 |
-
$q .= "AND t.term_id NOT IN ('" . implode("', '", $exclude) . "') ";
|
318 |
} else {
|
319 |
-
$q .= "AND t.name NOT IN ('" . implode("', '", $exclude) . "') ";
|
320 |
}
|
321 |
}
|
|
|
|
|
|
|
322 |
|
323 |
-
$q .= "GROUP BY
|
324 |
-
$q .= "ORDER BY
|
325 |
$q .= "LIMIT $max;";
|
326 |
-
|
327 |
$tag_data = $wpdb->get_results($q);
|
328 |
|
329 |
if (count($tag_data) > 0) {
|
@@ -577,4 +581,4 @@ function is_array_numeric($array) {
|
|
577 |
|
578 |
return true;
|
579 |
|
580 |
-
}
|
3 |
Plugin Name: Ultimate tag cloud widget
|
4 |
Plugin URI: http://www.0x539.se/wordpress
|
5 |
Description: This plugin aims to be the most configurable tag cloud widget out there, able to suit all your wierd tag cloud needs.
|
6 |
+
Version: 1.3.2
|
7 |
Author: Rickard Andersson
|
8 |
Author URI: http://www.0x539.se
|
9 |
License: GPLv2
|
37 |
DEFINE("UTCW_DEFAULT_WORD_SPACING", "normal");
|
38 |
DEFINE("UTCW_DEFAULT_CASE", "off");
|
39 |
DEFINE("UTCW_DEFAULT_CASE_SENSITIVE", false);
|
40 |
+
DEFINE("UTCW_DEFAULT_MINIMUM", 1);
|
41 |
|
42 |
// Allowed values for miscellanious options in the widget
|
43 |
$utcw_allowed_orders = array('random', 'name', 'slug', 'id', 'color', 'count');
|
50 |
* Ultimate tag cloud widget class
|
51 |
* @package UTCW
|
52 |
* @author Rickard Andersson <rickard@0x539.se>
|
53 |
+
* @todo Also update the wordpress page
|
54 |
*/
|
55 |
class UTCW extends WP_Widget {
|
56 |
|
87 |
$instance['max'] = is_numeric($max) ? $max : UTCW_DEFALUT_MAX;
|
88 |
$instance['letter_spacing'] = is_numeric($letter_spacing) ? $letter_spacing : UTCW_DEFAULT_LETTER_SPACING;
|
89 |
$instance['word_spacing'] = is_numeric($word_spacing) ? $word_spacing : UTCW_DEFAULT_WORD_SPACING;
|
90 |
+
$instance['minimum'] = is_numeric($minimum) ? $minimum : UTCW_DEFAULT_MINIMUM;
|
91 |
$instance['reverse'] = ($reverse == "on");
|
92 |
$instance['exclude'] = strlen($exclude) > 0 ? @explode(",", $exclude) : array();
|
93 |
$instance['color_set'] = strlen($color_set) > 0 ? @explode(",", $color_set) : array();
|
94 |
$instance['authors'] = array();
|
95 |
$instance['case_sensitive'] = ($case_sensitive == "on");
|
96 |
+
|
97 |
|
98 |
$instance['color_span_from'] = preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $color_span_from) > 0 ? $color_span_from : "";
|
99 |
$instance['color_span_to'] = preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $color_span_to) > 0 ? $color_span_to : "";
|
157 |
$letter_spacing = esc_attr($instance['letter_spacing']);
|
158 |
$word_spacing = esc_attr($instance['word_spacing']);
|
159 |
$case = esc_attr($instance['case']);
|
160 |
+
$minimum = esc_attr($instance['minimum']);
|
161 |
+
$exclude = is_array($instance['exclude']) ? $instance['exclude'] : array();
|
162 |
$reverse = $instance['reverse'];
|
163 |
+
$authors = is_array($instance['authors']) ? $instance['authors'] : array();
|
164 |
+
$color_set = is_array($instance['color_set']) ? $instance['color_set'] : array();;
|
165 |
+
$case_sensitive = $instance['case_sensitive'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
166 |
|
167 |
// Content of the widget settings form
|
168 |
?>
|
198 |
<option value="category" <?php echo $taxonomy == "category" ? 'selected="selected"' : ""?>><?php _e("Categories", 'utcw'); ?></option>
|
199 |
</select><br/>
|
200 |
<br/>
|
201 |
+
<label for="<?php echo $this->get_field_id('minimum'); ?>"><?php _e("Minimum number of posts: ", 'utcw'); ?></label>
|
202 |
+
<input type="text" name="<?php echo $this->get_field_name('minimum'); ?>" id="<?php echo $this->get_field_id('minimum'); ?>" value="<?php echo $minimum; ?>" /><br/>
|
203 |
+
<small><?php _e("Tags with fewer posts than this will be automatically excluded.", 'utcw'); ?></small><br/>
|
204 |
+
<br/>
|
205 |
+
<label for="<?php echo $this->get_field_id('exclude'); ?>"><?php _e("Exclude these tags:", 'utcw'); ?></label><br/>
|
206 |
+
<input type="text" name="<?php echo $this->get_field_name('exclude'); ?>" id="<?php echo $this->get_field_id('exclude'); ?>" value="<?php echo implode(",", $exclude); ?>" /><br/>
|
207 |
<small><?php _e("Enter either the names or IDs of the tags you'd like to exclude.", 'utcw'); ?></small>
|
208 |
</fieldset>
|
209 |
|
281 |
$size_to = is_numeric($size_to) ? $size_to : UTCW_DEFAULT_SIZE_TO;
|
282 |
$max = is_numeric($max) ? $max : UTCW_DEFAULT_MAX;
|
283 |
$reverse = is_bool($reverse) ? $reverse : UTCW_DEFAULT_REVERSE;
|
284 |
+
$minimum = is_numeric($minimum) ? $minimum : UTCW_DEFAULT_MINIMUM;
|
285 |
$authors = is_array($authors) ? $authors : array();
|
286 |
$exclude = is_array($exclude) ? $exclude : array();
|
287 |
$color_set = is_array($color_set) ? $color_set : array();
|
302 |
|
303 |
// Build SQL query
|
304 |
$q = "SELECT t.term_id, t.name, t.slug, COUNT(tr.term_taxonomy_id) AS `count` ";
|
305 |
+
$q .= "FROM `$wpdb->posts` AS p ";
|
306 |
$q .= "LEFT JOIN `$wpdb->term_relationships` AS tr ON tr.object_id = p.ID ";
|
307 |
+
$q .= "LEFT JOIN `$wpdb->term_taxonomy` AS tt ON tt.term_taxonomy_id = tr.term_taxonomy_id ";
|
308 |
+
$q .= "LEFT JOIN `$wpdb->terms` AS t ON t.term_id = tt.term_id ";
|
309 |
$q .= "WHERE tt.taxonomy = '$taxonomy' ";
|
310 |
+
$q .= "AND post_type = 'post' ";
|
311 |
+
$q .= "AND post_status = 'publish' ";
|
312 |
+
|
313 |
if (count($authors) > 0) {
|
314 |
+
$q .= "AND post_author IN (" . implode(",", $authors) . ") ";
|
315 |
}
|
316 |
if (count($exclude) > 0) {
|
317 |
if (is_array_numeric($exclude)) {
|
318 |
+
$q .= "AND t.term_id NOT IN ('" . implode("', '", $exclude) . "') ";
|
319 |
} else {
|
320 |
+
$q .= "AND t.name NOT IN ('" . implode("', '", $exclude) . "') ";
|
321 |
}
|
322 |
}
|
323 |
+
if (is_numeric($minimum)) {
|
324 |
+
$q .= "AND count >= $minimum ";
|
325 |
+
}
|
326 |
|
327 |
+
$q .= "GROUP BY tr.term_taxonomy_id ";
|
328 |
+
$q .= "ORDER BY count DESC ";
|
329 |
$q .= "LIMIT $max;";
|
330 |
+
|
331 |
$tag_data = $wpdb->get_results($q);
|
332 |
|
333 |
if (count($tag_data) > 0) {
|
581 |
|
582 |
return true;
|
583 |
|
584 |
+
}
|