Version Description
- Added new styling options upon requests from the forum
- Testing out the new HTML5 input type "number" in the settings form
Download this release
Release Info
Developer | exz |
Plugin | Ultimate Tag Cloud Widget |
Version | 1.3.3 |
Comparing to | |
See all releases |
Code changes from version 1.3.2 to 1.3.3
- language/utcw-sv_SE.mo +0 -0
- language/utcw-sv_SE.po +233 -44
- readme.txt +39 -14
- ultimate-tag-cloud-widget.php +361 -114
- utcw.css +13 -2
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"
|
@@ -21,7 +21,8 @@ msgstr ""
|
|
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/
|
|
|
25 |
msgid "Highly configurable tag cloud"
|
26 |
msgstr "Ett mycket konfigurerbart taggmoln"
|
27 |
|
@@ -30,7 +31,8 @@ msgstr "Ett mycket konfigurerbart taggmoln"
|
|
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/
|
|
|
34 |
msgid "Ultimate Tag Cloud"
|
35 |
msgstr "Ultimate Tag Cloud"
|
36 |
|
@@ -47,7 +49,8 @@ msgstr "%s ämnen"
|
|
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/
|
|
|
51 |
msgid "Data"
|
52 |
msgstr "Data"
|
53 |
|
@@ -56,7 +59,8 @@ msgstr "Data"
|
|
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/
|
|
|
60 |
msgid "Authors:"
|
61 |
msgstr "Författare:"
|
62 |
|
@@ -65,7 +69,8 @@ msgstr "Författare:"
|
|
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/
|
|
|
69 |
msgid "Order:"
|
70 |
msgstr "Ordning:"
|
71 |
|
@@ -74,7 +79,8 @@ msgstr "Ordning:"
|
|
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/
|
|
|
78 |
msgid "Random"
|
79 |
msgstr "Slumpvis"
|
80 |
|
@@ -88,7 +94,8 @@ msgstr "Alfabetisk"
|
|
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/
|
|
|
92 |
msgid "Count"
|
93 |
msgstr "Antal"
|
94 |
|
@@ -97,7 +104,8 @@ msgstr "Antal"
|
|
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/
|
|
|
101 |
msgid "Reverse order"
|
102 |
msgstr "Omvänd ordning"
|
103 |
|
@@ -106,7 +114,8 @@ msgstr "Omvänd ordning"
|
|
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/
|
|
|
110 |
msgid "Taxonomy:"
|
111 |
msgstr "Taxonomi:"
|
112 |
|
@@ -115,7 +124,8 @@ msgstr "Taxonomi:"
|
|
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/
|
|
|
119 |
msgid "Post Tags"
|
120 |
msgstr "Taggar"
|
121 |
|
@@ -124,7 +134,8 @@ msgstr "Taggar"
|
|
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/
|
|
|
128 |
msgid "Categories"
|
129 |
msgstr "Kategorier"
|
130 |
|
@@ -141,7 +152,7 @@ msgstr "Exkludera"
|
|
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/
|
145 |
msgid "Appearance"
|
146 |
msgstr "Utseende"
|
147 |
|
@@ -150,7 +161,8 @@ msgstr "Utseende"
|
|
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/
|
|
|
154 |
msgid "Title:"
|
155 |
msgstr "Titel"
|
156 |
|
@@ -159,7 +171,8 @@ msgstr "Titel"
|
|
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/
|
|
|
163 |
msgid "Tag size (in px):"
|
164 |
msgstr "Taggstorlek (i px):"
|
165 |
|
@@ -173,8 +186,10 @@ msgstr "Taggstorlek (i px):"
|
|
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/
|
177 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
|
|
178 |
msgid "From"
|
179 |
msgstr "Från"
|
180 |
|
@@ -188,8 +203,10 @@ msgstr "Från"
|
|
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/
|
192 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
|
|
193 |
msgid "to"
|
194 |
msgstr "till"
|
195 |
|
@@ -198,7 +215,8 @@ msgstr "till"
|
|
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/
|
|
|
202 |
msgid "Max tags:"
|
203 |
msgstr "Max antal taggar:"
|
204 |
|
@@ -207,7 +225,8 @@ msgstr "Max antal taggar:"
|
|
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/
|
|
|
211 |
msgid "Coloring:"
|
212 |
msgstr "Färgläggning:"
|
213 |
|
@@ -216,7 +235,10 @@ msgstr "Färgläggning:"
|
|
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/
|
|
|
|
|
|
|
220 |
msgid "None"
|
221 |
msgstr "Ingen"
|
222 |
|
@@ -225,7 +247,8 @@ msgstr "Ingen"
|
|
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/
|
|
|
229 |
msgid "Totally random"
|
230 |
msgstr "Helt slumpat"
|
231 |
|
@@ -234,7 +257,8 @@ msgstr "Helt slumpat"
|
|
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/
|
|
|
238 |
msgid "Random from preset values"
|
239 |
msgstr "Slumpat mellan färger"
|
240 |
|
@@ -243,7 +267,8 @@ msgstr "Slumpat mellan färger"
|
|
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/
|
|
|
247 |
msgid "Spanning between values"
|
248 |
msgstr "Utspritt mellan två färger"
|
249 |
|
@@ -252,7 +277,8 @@ msgstr "Utspritt mellan två färger"
|
|
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/
|
|
|
256 |
msgid "Spacing (in px):"
|
257 |
msgstr "Mellanrum (i px):"
|
258 |
|
@@ -261,7 +287,8 @@ msgstr "Mellanrum (i px):"
|
|
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/
|
|
|
265 |
msgid "Between letters:"
|
266 |
msgstr "Mellan bokstäver:"
|
267 |
|
@@ -270,7 +297,8 @@ msgstr "Mellan bokstäver:"
|
|
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/
|
|
|
274 |
msgid "Between words:"
|
275 |
msgstr "Mellan ord:"
|
276 |
|
@@ -279,7 +307,8 @@ msgstr "Mellan ord:"
|
|
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/
|
|
|
283 |
msgid "Transform tags:"
|
284 |
msgstr "Omvandla taggar:"
|
285 |
|
@@ -288,7 +317,8 @@ msgstr "Omvandla taggar:"
|
|
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/
|
|
|
292 |
msgid "Off"
|
293 |
msgstr "Inaktiverat"
|
294 |
|
@@ -297,7 +327,8 @@ msgstr "Inaktiverat"
|
|
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/
|
|
|
301 |
msgid "To lowercase"
|
302 |
msgstr "Till gemener"
|
303 |
|
@@ -306,7 +337,8 @@ msgstr "Till gemener"
|
|
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/
|
|
|
310 |
msgid "To uppercase"
|
311 |
msgstr "Till versaler"
|
312 |
|
@@ -315,72 +347,229 @@ msgstr "Till versaler"
|
|
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/
|
|
|
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/
|
|
|
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/
|
|
|
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/
|
|
|
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/
|
|
|
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/
|
|
|
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/
|
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/
|
|
|
371 |
#, php-format
|
372 |
msgid "%s topic"
|
373 |
msgstr "%s ämne"
|
374 |
|
375 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
376 |
msgid "Minimum number of posts: "
|
377 |
msgstr "Minsta antal inlägg:"
|
378 |
|
379 |
-
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/
|
|
|
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/
|
384 |
msgid "Exclude these tags:"
|
385 |
msgstr "Exkludera dessa taggar:"
|
386 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Ultimate Tag Cloud Widget\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2011-05-18 21:28+0100\n"
|
6 |
+
"PO-Revision-Date: 2011-05-18 21:36+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"
|
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/tags/1.3.2/ultimate-tag-cloud-widget.php:62
|
25 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:81
|
26 |
msgid "Highly configurable tag cloud"
|
27 |
msgstr "Ett mycket konfigurerbart taggmoln"
|
28 |
|
31 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:59
|
32 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:61
|
33 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:61
|
34 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:63
|
35 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:82
|
36 |
msgid "Ultimate Tag Cloud"
|
37 |
msgstr "Ultimate Tag Cloud"
|
38 |
|
49 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:372
|
50 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:176
|
51 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:176
|
52 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:170
|
53 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:225
|
54 |
msgid "Data"
|
55 |
msgstr "Data"
|
56 |
|
59 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:373
|
60 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:177
|
61 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:177
|
62 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:171
|
63 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:226
|
64 |
msgid "Authors:"
|
65 |
msgstr "Författare:"
|
66 |
|
69 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:379
|
70 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:183
|
71 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:183
|
72 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:177
|
73 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:232
|
74 |
msgid "Order:"
|
75 |
msgstr "Ordning:"
|
76 |
|
79 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:381
|
80 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:185
|
81 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:185
|
82 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:179
|
83 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:234
|
84 |
msgid "Random"
|
85 |
msgstr "Slumpvis"
|
86 |
|
94 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:391
|
95 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:195
|
96 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:195
|
97 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:189
|
98 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:244
|
99 |
msgid "Count"
|
100 |
msgstr "Antal"
|
101 |
|
104 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:393
|
105 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:197
|
106 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:197
|
107 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:191
|
108 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:246
|
109 |
msgid "Reverse order"
|
110 |
msgstr "Omvänd ordning"
|
111 |
|
114 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:397
|
115 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:201
|
116 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:201
|
117 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:195
|
118 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:250
|
119 |
msgid "Taxonomy:"
|
120 |
msgstr "Taxonomi:"
|
121 |
|
124 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:399
|
125 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:203
|
126 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:203
|
127 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:197
|
128 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:252
|
129 |
msgid "Post Tags"
|
130 |
msgstr "Taggar"
|
131 |
|
134 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:400
|
135 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:204
|
136 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:204
|
137 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:198
|
138 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:253
|
139 |
msgid "Categories"
|
140 |
msgstr "Kategorier"
|
141 |
|
152 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:409
|
153 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:213
|
154 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:213
|
155 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:211
|
156 |
msgid "Appearance"
|
157 |
msgstr "Utseende"
|
158 |
|
161 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:410
|
162 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:214
|
163 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:214
|
164 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:212
|
165 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:272
|
166 |
msgid "Title:"
|
167 |
msgstr "Titel"
|
168 |
|
171 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:413
|
172 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:217
|
173 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:217
|
174 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:215
|
175 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:275
|
176 |
msgid "Tag size (in px):"
|
177 |
msgstr "Taggstorlek (i px):"
|
178 |
|
186 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:239
|
187 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:218
|
188 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:239
|
189 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:216
|
190 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:237
|
191 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:276
|
192 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:297
|
193 |
msgid "From"
|
194 |
msgstr "Från"
|
195 |
|
203 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:240
|
204 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:220
|
205 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:240
|
206 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:218
|
207 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:238
|
208 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:278
|
209 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:298
|
210 |
msgid "to"
|
211 |
msgstr "till"
|
212 |
|
215 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:419
|
216 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:223
|
217 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:223
|
218 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:221
|
219 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:281
|
220 |
msgid "Max tags:"
|
221 |
msgstr "Max antal taggar:"
|
222 |
|
225 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:422
|
226 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:226
|
227 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:226
|
228 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:224
|
229 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:284
|
230 |
msgid "Coloring:"
|
231 |
msgstr "Färgläggning:"
|
232 |
|
235 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:424
|
236 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:228
|
237 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:228
|
238 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:226
|
239 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:286
|
240 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:360
|
241 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:408
|
242 |
msgid "None"
|
243 |
msgstr "Ingen"
|
244 |
|
247 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:426
|
248 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:230
|
249 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:230
|
250 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:228
|
251 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:288
|
252 |
msgid "Totally random"
|
253 |
msgstr "Helt slumpat"
|
254 |
|
257 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:428
|
258 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:232
|
259 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:232
|
260 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:230
|
261 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:290
|
262 |
msgid "Random from preset values"
|
263 |
msgstr "Slumpat mellan färger"
|
264 |
|
267 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:433
|
268 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:237
|
269 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:237
|
270 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:235
|
271 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:295
|
272 |
msgid "Spanning between values"
|
273 |
msgstr "Utspritt mellan två färger"
|
274 |
|
277 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:439
|
278 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:243
|
279 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:243
|
280 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:241
|
281 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:308
|
282 |
msgid "Spacing (in px):"
|
283 |
msgstr "Mellanrum (i px):"
|
284 |
|
287 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:440
|
288 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:244
|
289 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:244
|
290 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:242
|
291 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:309
|
292 |
msgid "Between letters:"
|
293 |
msgstr "Mellan bokstäver:"
|
294 |
|
297 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:442
|
298 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:246
|
299 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:246
|
300 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:244
|
301 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:311
|
302 |
msgid "Between words:"
|
303 |
msgstr "Mellan ord:"
|
304 |
|
307 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:445
|
308 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:249
|
309 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:249
|
310 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:247
|
311 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:316
|
312 |
msgid "Transform tags:"
|
313 |
msgstr "Omvandla taggar:"
|
314 |
|
317 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:447
|
318 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:251
|
319 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:251
|
320 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:249
|
321 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:318
|
322 |
msgid "Off"
|
323 |
msgstr "Inaktiverat"
|
324 |
|
327 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:449
|
328 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:253
|
329 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:253
|
330 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:251
|
331 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:320
|
332 |
msgid "To lowercase"
|
333 |
msgstr "Till gemener"
|
334 |
|
337 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:451
|
338 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:255
|
339 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:255
|
340 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:253
|
341 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:322
|
342 |
msgid "To uppercase"
|
343 |
msgstr "Till versaler"
|
344 |
|
347 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:453
|
348 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:257
|
349 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:257
|
350 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:255
|
351 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:324
|
352 |
msgid "Capitalize"
|
353 |
msgstr "Stor begynnelsebokstav"
|
354 |
|
355 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:383
|
356 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:187
|
357 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:187
|
358 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:181
|
359 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:236
|
360 |
msgid "By name"
|
361 |
msgstr "Efter namn"
|
362 |
|
363 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:385
|
364 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:189
|
365 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:189
|
366 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:183
|
367 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:238
|
368 |
msgid "By slug"
|
369 |
msgstr "Efter slug"
|
370 |
|
371 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:387
|
372 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:191
|
373 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:191
|
374 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:185
|
375 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:240
|
376 |
msgid "By id"
|
377 |
msgstr "Efter id"
|
378 |
|
379 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:389
|
380 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:193
|
381 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:193
|
382 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:187
|
383 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:242
|
384 |
msgid "By color"
|
385 |
msgstr "Efter färg"
|
386 |
|
387 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:395
|
388 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:199
|
389 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:199
|
390 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:193
|
391 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:248
|
392 |
msgid "Case sensitive"
|
393 |
msgstr "Skiftlägeskänsligt"
|
394 |
|
395 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.2/ultimate-tag-cloud-widget.php:405
|
396 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3/ultimate-tag-cloud-widget.php:209
|
397 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:209
|
398 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:207
|
399 |
msgid "Enter either the names or IDs of the tags you'd like to exclude."
|
400 |
msgstr "Skriv antingen namn eller IDn på de taggar du vill exkludera"
|
401 |
|
402 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:28
|
403 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:28
|
404 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:28
|
405 |
msgid "Tag Cloud"
|
406 |
msgstr "Taggmoln"
|
407 |
|
408 |
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:475
|
409 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:479
|
410 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:724
|
411 |
#, php-format
|
412 |
msgid "%s topic"
|
413 |
msgstr "%s ämne"
|
414 |
|
415 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:201
|
416 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:256
|
417 |
msgid "Minimum number of posts: "
|
418 |
msgstr "Minsta antal inlägg:"
|
419 |
|
420 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:203
|
421 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:258
|
422 |
msgid "Tags with fewer posts than this will be automatically excluded."
|
423 |
msgstr "Taggar med färre inlägg än detta kommer automatiskt att exkluderas."
|
424 |
|
425 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:205
|
426 |
msgid "Exclude these tags:"
|
427 |
msgstr "Exkludera dessa taggar:"
|
428 |
|
429 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:261
|
430 |
+
msgid "Include only ... "
|
431 |
+
msgstr "Inkludera endast ..."
|
432 |
+
|
433 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:263
|
434 |
+
msgid "Exclude ... "
|
435 |
+
msgstr "Exclude ..."
|
436 |
+
|
437 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:265
|
438 |
+
msgid "... these tags:"
|
439 |
+
msgstr "... dessa taggar:"
|
440 |
+
|
441 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:267
|
442 |
+
msgid "Choose either include or exclude above and enter a comma separated list of either the names or IDs of the tags you'd like to include/exclude."
|
443 |
+
msgstr "Välj antingen inkludera eller exkludera ovan och fyll i en kommaseparerad lista av antingen namn eller ID nummer av de taggar du vill inkludera/exkludera."
|
444 |
+
|
445 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:271
|
446 |
+
msgid "Basic appearance"
|
447 |
+
msgstr "Grundläggande utseende"
|
448 |
+
|
449 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:304
|
450 |
+
msgid "Adv. appearance"
|
451 |
+
msgstr "Avancerat utseende"
|
452 |
+
|
453 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:306
|
454 |
+
msgid "This is a title"
|
455 |
+
msgstr "Detta är en titel"
|
456 |
+
|
457 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:306
|
458 |
+
msgid "Show title (hover text)"
|
459 |
+
msgstr "Visa titel"
|
460 |
+
|
461 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:313
|
462 |
+
msgid "Between tags:"
|
463 |
+
msgstr "Mellan taggar:"
|
464 |
+
|
465 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:328
|
466 |
+
msgid "Link CSS styles"
|
467 |
+
msgstr "Länkars CSS-stil"
|
468 |
+
|
469 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:330
|
470 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:378
|
471 |
+
msgid "Underline"
|
472 |
+
msgstr "Understreck"
|
473 |
+
|
474 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:332
|
475 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:340
|
476 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:348
|
477 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:380
|
478 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:388
|
479 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:396
|
480 |
+
msgid "Yes"
|
481 |
+
msgstr "Yes"
|
482 |
+
|
483 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:334
|
484 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:342
|
485 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:350
|
486 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:382
|
487 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:390
|
488 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:398
|
489 |
+
msgid "No"
|
490 |
+
msgstr "Nej"
|
491 |
+
|
492 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:336
|
493 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:344
|
494 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:352
|
495 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:384
|
496 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:392
|
497 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:400
|
498 |
+
msgid "Theme default"
|
499 |
+
msgstr "Följ temats standard"
|
500 |
+
|
501 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:338
|
502 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:386
|
503 |
+
msgid "Bold"
|
504 |
+
msgstr "Fetstilt"
|
505 |
+
|
506 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:346
|
507 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:394
|
508 |
+
msgid "Italic"
|
509 |
+
msgstr "Kursiv stil"
|
510 |
+
|
511 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:354
|
512 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:402
|
513 |
+
msgid "Background color (hex value):"
|
514 |
+
msgstr "Bakgrundsfärgen (hexadecimalt värde)"
|
515 |
+
|
516 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:357
|
517 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:405
|
518 |
+
msgid "Border"
|
519 |
+
msgstr "Kantlinje"
|
520 |
+
|
521 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:358
|
522 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:406
|
523 |
+
msgid "Style: "
|
524 |
+
msgstr "Stil:"
|
525 |
+
|
526 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:361
|
527 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:409
|
528 |
+
msgid "Dotted"
|
529 |
+
msgstr "Prickig"
|
530 |
+
|
531 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:362
|
532 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:410
|
533 |
+
msgid "Dashed"
|
534 |
+
msgstr "Streckad"
|
535 |
+
|
536 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:363
|
537 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:411
|
538 |
+
msgid "Solid"
|
539 |
+
msgstr "Solid"
|
540 |
+
|
541 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:364
|
542 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:412
|
543 |
+
msgid "Double"
|
544 |
+
msgstr "Dubbel"
|
545 |
+
|
546 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:365
|
547 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:413
|
548 |
+
msgid "Groove"
|
549 |
+
msgstr "Groovy"
|
550 |
+
|
551 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:366
|
552 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:414
|
553 |
+
msgid "Ridge"
|
554 |
+
msgstr "Räfflad"
|
555 |
+
|
556 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:367
|
557 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:415
|
558 |
+
msgid "Inset"
|
559 |
+
msgstr "Infälld"
|
560 |
+
|
561 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:368
|
562 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:416
|
563 |
+
msgid "Outset"
|
564 |
+
msgstr "Utfälld"
|
565 |
+
|
566 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:371
|
567 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:419
|
568 |
+
msgid "Width (in px):"
|
569 |
+
msgstr "Bredd (i px):"
|
570 |
+
|
571 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:374
|
572 |
+
#: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:422
|
573 |
+
msgid "Color (hex value): "
|
574 |
+
msgstr "Färg (hexadecimalt värde):"
|
575 |
+
|
readme.txt
CHANGED
@@ -2,32 +2,31 @@
|
|
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.
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
-
This is
|
14 |
-
|
15 |
-
Current version supports the following preferences:
|
16 |
|
17 |
* Multiple instances
|
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
|
25 |
-
* Spacing between letters and words
|
26 |
* Transform tags into lowercase, uppercase or Capitalize them
|
27 |
* Can also show categories
|
28 |
* Fully internationalized and translated into two languages
|
29 |
|
30 |
-
This plugin is under active development and my goal is to try to help everyone who have issues or suggestions for this plugin,
|
31 |
|
32 |
== Installation ==
|
33 |
|
@@ -56,6 +55,11 @@ This is a new plugin, haven't had any questions yet. If you have any, be sure to
|
|
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
|
@@ -88,6 +92,10 @@ This is a new plugin, haven't had any questions yet. If you have any, be sure to
|
|
88 |
|
89 |
== Upgrade Notice ==
|
90 |
|
|
|
|
|
|
|
|
|
91 |
= 1.3.2 =
|
92 |
|
93 |
* Small bug fix in the SQL-query and a new option added
|
@@ -111,11 +119,11 @@ This is a new plugin, haven't had any questions yet. If you have any, be sure to
|
|
111 |
|
112 |
== Feedback ==
|
113 |
|
114 |
-
This is
|
115 |
|
116 |
My contact information is
|
117 |
|
118 |
-
* rickard (a) 0x539.se
|
119 |
* [twitter.com/rickard2](http://twitter.com/rickard2)
|
120 |
|
121 |
== Theme integration ==
|
@@ -136,11 +144,13 @@ Upon a request in the forums, you can now integrate the widget within your own t
|
|
136 |
* max (integer)
|
137 |
* reverse (boolean)
|
138 |
* authors (array of user IDs, integers)
|
139 |
-
*
|
|
|
140 |
* minimum (integer)
|
141 |
* color_set (array of hex colors, like #fff or #ffffff)
|
142 |
* letter_spacing (integer)
|
143 |
* word_spacing (integer)
|
|
|
144 |
* color_span_from (hex color, like #fff or #ffffff)
|
145 |
* color_span_to (hex color, dito)
|
146 |
* case_sensitive (boolean)
|
@@ -148,8 +158,23 @@ Upon a request in the forums, you can now integrate the widget within your own t
|
|
148 |
* taxonomy (string, valid values: 'post_tag', 'category')
|
149 |
* color (string, valid values: 'none', 'random', 'set', 'span')
|
150 |
* case (string, valid values: 'lowercase', 'uppercase', 'capitalize', 'off')
|
151 |
-
|
152 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
153 |
|
154 |
`<?php
|
155 |
$args = array(
|
@@ -166,7 +191,7 @@ $args = array(
|
|
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 |
|
@@ -174,4 +199,4 @@ The power of the open source community is being able to help out and submitting
|
|
174 |
|
175 |
* Andreas Bogavcic
|
176 |
|
177 |
-
With your help this list will hopefully grow in the future ;)
|
2 |
Contributors: exz
|
3 |
Tags: widget, tags, configurable, tag cloud
|
4 |
Requires at least: 2.8
|
5 |
+
Tested up to: 3.1.2
|
6 |
+
Stable tag: 1.3.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.
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
+
This is the highly configurable tag cloud widget, current version supports the following preferences:
|
|
|
|
|
14 |
|
15 |
* Multiple instances
|
16 |
* Choose which authors tags should be shown
|
17 |
* Ordering of the tags
|
18 |
* Exclude tags you don't want to show
|
19 |
+
* Include only the tags that you want to show
|
20 |
* Minimum amount of posts for tags to be included
|
21 |
* Title
|
22 |
* Size and color customization
|
23 |
* Max amount of tags in your cloud
|
24 |
+
* Spacing between tags, letters and words
|
25 |
* Transform tags into lowercase, uppercase or Capitalize them
|
26 |
* Can also show categories
|
27 |
* Fully internationalized and translated into two languages
|
28 |
|
29 |
+
This plugin is under active development and my goal is to try to help everyone who have issues or suggestions for this plugin. If you have issues please post them in the forums, if you have suggestions I've got a new suggestion system up on my blog at http://0x539.se/wordpress/ultimate-tag-cloud-widget/. You're also always welcome to contact me by e-mail or Google Talk; rickard at 0x539.se
|
30 |
|
31 |
== Installation ==
|
32 |
|
55 |
|
56 |
== Changelog ==
|
57 |
|
58 |
+
= 1.3.3 =
|
59 |
+
|
60 |
+
* Added new styling options upon requests from the forum
|
61 |
+
* Testing out the new HTML5 input type "number" in the settings form
|
62 |
+
|
63 |
= 1.3.2 =
|
64 |
|
65 |
* Fixed bug in the SQL query making the plugin also count posts that isn't published
|
92 |
|
93 |
== Upgrade Notice ==
|
94 |
|
95 |
+
= 1.3.3 =
|
96 |
+
|
97 |
+
* New styling options added
|
98 |
+
|
99 |
= 1.3.2 =
|
100 |
|
101 |
* Small bug fix in the SQL-query and a new option added
|
119 |
|
120 |
== Feedback ==
|
121 |
|
122 |
+
This plugin is under active development and my goal is to try to help everyone who have issues or suggestions for this plugin. If you have issues please post them in the forums, if you have suggestions I've got a new suggestion system up on my blog at http://0x539.se/wordpress/ultimate-tag-cloud-widget/. If you use this plugin and like it, please consider giving me some [flattr love](https://flattr.com/thing/112193/Ultimate-Tag-Cloud-Widget).
|
123 |
|
124 |
My contact information is
|
125 |
|
126 |
+
* rickard (a) 0x539.se (email, gtalk, msn, you name it)
|
127 |
* [twitter.com/rickard2](http://twitter.com/rickard2)
|
128 |
|
129 |
== Theme integration ==
|
144 |
* max (integer)
|
145 |
* reverse (boolean)
|
146 |
* authors (array of user IDs, integers)
|
147 |
+
* tag_list (array of taxonomies, IDs or names to be included or excluded)
|
148 |
+
* tag_list_type (include or exclude, defines how to handle the tag_list)
|
149 |
* minimum (integer)
|
150 |
* color_set (array of hex colors, like #fff or #ffffff)
|
151 |
* letter_spacing (integer)
|
152 |
* word_spacing (integer)
|
153 |
+
* tag_spacing (integer)
|
154 |
* color_span_from (hex color, like #fff or #ffffff)
|
155 |
* color_span_to (hex color, dito)
|
156 |
* case_sensitive (boolean)
|
158 |
* taxonomy (string, valid values: 'post_tag', 'category')
|
159 |
* color (string, valid values: 'none', 'random', 'set', 'span')
|
160 |
* case (string, valid values: 'lowercase', 'uppercase', 'capitalize', 'off')
|
161 |
+
* show_title (boolean)
|
162 |
+
* link_bold (string, valid values: 'yes', 'no', 'default')
|
163 |
+
* link_underline (string, valid values: 'yes', 'no', 'default')
|
164 |
+
* link_italic (string, valid values: 'yes', 'no', 'default)
|
165 |
+
* link_bg_color (hex color)
|
166 |
+
* link_border_color (hex color)
|
167 |
+
* link_border_style (string, valid values: 'none', 'dotted', 'dashed', 'solid', 'double', 'groove', 'ridge', 'inset', 'outset')
|
168 |
+
* link_border_width (integer)
|
169 |
+
* hover_bold (string, valid values: 'yes', 'no', 'default')
|
170 |
+
* hover_underline (string, valid values: 'yes', 'no', 'default')
|
171 |
+
* hover_italic (string, valid values: 'yes', 'no', 'default)
|
172 |
+
* hover_bg_color (hex color)
|
173 |
+
* hover_border_color (hex color)
|
174 |
+
* hover_border_style (string, valid values: 'none', 'dotted', 'dashed', 'solid', 'double', 'groove', 'ridge', 'inset', 'outset')
|
175 |
+
* hover_border_width (integer)
|
176 |
+
|
177 |
+
All options are optional, default values can be found in the widget php file. Valid values for order, taxonomy, color and case can be found in the arrays $utcw_allowed_orders, taxonomys, colors and cases respectively. The final PHP-code might look something like this:
|
178 |
|
179 |
`<?php
|
180 |
$args = array(
|
191 |
do_utcw($args);
|
192 |
?>`
|
193 |
|
194 |
+
Good luck and remember to give me feedback if you run into any problems
|
195 |
|
196 |
== Thanks ==
|
197 |
|
199 |
|
200 |
* Andreas Bogavcic
|
201 |
|
202 |
+
With your help this list will hopefully grow in the future ;)
|
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
|
@@ -25,32 +25,51 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
25 |
*/
|
26 |
|
27 |
// Default values if the widget isn't configured properly
|
28 |
-
DEFINE("UTCW_DEFAULT_TITLE",
|
29 |
-
DEFINE("UTCW_DEFAULT_ORDER",
|
30 |
-
DEFINE("UTCW_DEFAULT_SIZE_FROM",
|
31 |
-
DEFINE("UTCW_DEFAULT_SIZE_TO",
|
32 |
-
DEFINE("UTCW_DEFAULT_MAX",
|
33 |
-
DEFINE("UTCW_DEFAULT_TAXONOMY",
|
34 |
-
DEFINE("UTCW_DEFAULT_REVERSE",
|
35 |
-
DEFINE("UTCW_DEFAULT_COLOR",
|
36 |
-
DEFINE("UTCW_DEFAULT_LETTER_SPACING",
|
37 |
-
DEFINE("UTCW_DEFAULT_WORD_SPACING",
|
38 |
-
DEFINE("UTCW_DEFAULT_CASE",
|
39 |
-
DEFINE("UTCW_DEFAULT_CASE_SENSITIVE",
|
40 |
-
DEFINE("UTCW_DEFAULT_MINIMUM",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
|
42 |
// Allowed values for miscellanious options in the widget
|
43 |
-
$utcw_allowed_orders
|
44 |
-
$utcw_allowed_taxonomys
|
45 |
-
$utcw_allowed_colors
|
46 |
-
$utcw_allowed_cases
|
47 |
-
|
|
|
|
|
48 |
|
49 |
/**
|
50 |
* Ultimate tag cloud widget class
|
51 |
* @package UTCW
|
52 |
* @author Rickard Andersson <rickard@0x539.se>
|
53 |
-
* @todo
|
54 |
*/
|
55 |
class UTCW extends WP_Widget {
|
56 |
|
@@ -74,35 +93,54 @@ class UTCW extends WP_Widget {
|
|
74 |
global $utcw_allowed_orders,
|
75 |
$utcw_allowed_taxonomys,
|
76 |
$utcw_allowed_colors,
|
77 |
-
$utcw_allowed_cases
|
|
|
|
|
|
|
78 |
|
79 |
|
80 |
extract($new_instance);
|
81 |
|
82 |
// Check all input values and set the default value if any value is invalid or empty
|
83 |
$instance = $old_instance;
|
84 |
-
$instance['title']
|
85 |
-
$instance['size_from']
|
86 |
-
$instance['size_to']
|
87 |
-
$instance['max']
|
88 |
-
$instance['letter_spacing']
|
89 |
-
$instance['word_spacing']
|
90 |
-
$instance['
|
91 |
-
$instance['
|
92 |
-
$instance['
|
93 |
-
$instance['
|
94 |
-
$instance['
|
95 |
-
$instance['
|
96 |
-
|
97 |
-
|
98 |
-
$instance['
|
99 |
-
$instance['
|
100 |
-
|
101 |
-
$instance['taxonomy'] = in_array($taxonomy, $utcw_allowed_taxonomys) ? $taxonomy : UTCW_DEFAULT_TAXONOMY;
|
102 |
-
$instance['order'] = in_array($order, $utcw_allowed_orders) ? $order : UTCW_DEFAULT_ORDER;
|
103 |
-
$instance['color'] = in_array($color, $utcw_allowed_colors) ? $color : UTCW_DEFAULT_COLOR;
|
104 |
-
$instance['case'] = in_array($case, $utcw_allowed_cases) ? $case : UTCW_DEFAULT_CASE;
|
105 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
// Only accept numeric authors (user ID)
|
107 |
if (is_array($authors)) {
|
108 |
foreach ($authors as $author) {
|
@@ -113,8 +151,8 @@ class UTCW extends WP_Widget {
|
|
113 |
}
|
114 |
|
115 |
// Remove spaces in the comma separated list
|
116 |
-
foreach ($instance['
|
117 |
-
$instance['
|
118 |
}
|
119 |
|
120 |
// Only allow hexadecimal color values in the format #ffffff and #fff
|
@@ -145,36 +183,53 @@ class UTCW extends WP_Widget {
|
|
145 |
function form($instance) {
|
146 |
|
147 |
// Get stored preferences
|
148 |
-
$title
|
149 |
-
$order
|
150 |
-
$size_from
|
151 |
-
$size_to
|
152 |
-
$max
|
153 |
-
$taxonomy
|
154 |
-
$color
|
155 |
-
$color_span_from
|
156 |
-
$color_span_to
|
157 |
-
$letter_spacing
|
158 |
-
$word_spacing
|
159 |
-
$
|
160 |
-
|
161 |
-
|
162 |
-
$
|
163 |
-
$
|
164 |
-
$
|
165 |
-
$
|
166 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
// Content of the widget settings form
|
168 |
?>
|
169 |
<fieldset class="utcw">
|
170 |
<legend><?php _e("Data", 'utcw'); ?></legend>
|
171 |
-
|
172 |
<?php foreach (get_users_of_blog() as $user) : ?>
|
173 |
<input type="checkbox" name="<?php echo $this->get_field_name('authors'); ?>[]" id="<?php echo $this->get_field_id('author_' . $user->ID); ?>" value="<?php echo $user->ID?>" <?php echo in_array($user->ID, $authors, true) ? 'checked="checked"' : ""; ?> />
|
174 |
<label for="<?php echo $this->get_field_id('author_' . $user->ID); ?>"><?php echo $user->user_login?></label><br/>
|
175 |
<?php endforeach; ?>
|
176 |
<br/>
|
177 |
-
|
178 |
<input type="radio" name="<?php echo $this->get_field_name('order'); ?>" id="<?php echo $this->get_field_id('order_random'); ?>" value="random" <?php echo $order == "random" ? ' checked="checked" ' : ""; ?>/>
|
179 |
<label for="<?php echo $this->get_field_id('order_random'); ?>"><?php _e("Random", 'utcw'); ?></label><br/>
|
180 |
<input type="radio" name="<?php echo $this->get_field_name('order'); ?>" id="<?php echo $this->get_field_id('order_name'); ?>" value="name" <?php echo $order == "name" ? ' checked="checked"' : ""; ?>/>
|
@@ -192,36 +247,41 @@ class UTCW extends WP_Widget {
|
|
192 |
<input type="checkbox" name="<?php echo $this->get_field_name('case_sensitive'); ?>" id="<?php echo $this->get_field_id('case_sensitive'); ?>" <?php echo $case_sensitive === true ? ' checked="checked"' : ""; ?> />
|
193 |
<label for="<?php echo $this->get_field_id('case_sensitive'); ?>"><?php _e("Case sensitive", 'utcw'); ?></label><br/>
|
194 |
<br/>
|
195 |
-
<label for="<?php echo $this->get_field_id('taxonomy'); ?>"><?php _e("Taxonomy:", 'utcw'); ?></label><br/>
|
196 |
<select id="<?php echo $this->get_field_id('taxonomy'); ?>" name="<?php echo $this->get_field_name('taxonomy'); ?>">
|
197 |
<option value="post_tag" <?php echo $taxonomy == "post_tag" || strlen($taxonomy) == 0 ? 'selected="selected"' : ""?>><?php _e("Post Tags", 'utcw'); ?></option>
|
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="
|
203 |
<small><?php _e("Tags with fewer posts than this will be automatically excluded.", 'utcw'); ?></small><br/>
|
204 |
<br/>
|
205 |
-
<
|
206 |
-
<
|
207 |
-
<
|
|
|
|
|
|
|
|
|
|
|
208 |
</fieldset>
|
209 |
|
210 |
<fieldset class="utcw">
|
211 |
-
<legend><?php _e("
|
212 |
-
<label for="<?php echo $this->get_field_id('title');?>"><?php _e("Title:", 'utcw') ?></label><br/>
|
213 |
<input type="text" id="<?php echo $this->get_field_id('title');?>" name="<?php echo $this->get_field_name('title');?>" value="<?php echo strlen($title) > 0 ? $title : UTCW_DEFAULT_TITLE?>" /><br/>
|
214 |
<br/>
|
215 |
-
|
216 |
<label for="<?php echo $this->get_field_id('size_from'); ?>"><?php _e("From", 'utcw'); ?></label>
|
217 |
-
<input type="
|
218 |
<label for="<?php echo $this->get_field_id('size_to'); ?>"><?php _e("to", 'utcw'); ?></label>
|
219 |
-
<input type="
|
220 |
<br/>
|
221 |
-
<label for="<?php echo $this->get_field_id('max'); ?>"><?php _e("Max tags:", 'utcw'); ?></label><br/>
|
222 |
-
<input type="
|
223 |
<br/>
|
224 |
-
|
225 |
<input type="radio" name="<?php echo $this->get_field_name('color'); ?>" id="<?php echo $this->get_field_id('color_none'); ?>" value="none" <?php echo $color == "none" || empty($color) ? 'checked="checked"' : ""; ?> onclick="javascript:utcw_change()" />
|
226 |
<label for="<?php echo $this->get_field_id('color_none'); ?>"><?php _e("None", 'utcw'); ?></label><br/>
|
227 |
<input type="radio" name="<?php echo $this->get_field_name('color'); ?>" id="<?php echo $this->get_field_id('color_random'); ?>" value="random" <?php echo $color == "random" ? 'checked="checked"' : ""; ?> onclick="javascript:utcw_change()" />
|
@@ -238,13 +298,22 @@ class UTCW extends WP_Widget {
|
|
238 |
<?php _e("to", 'utcw'); ?> <input type="text" size="7" name="<?php echo $this->get_field_name('color_span_to'); ?>"" id="<?php echo $this->get_field_id('color_span_to'); ?>" value="<?php echo $color_span_to?>" />
|
239 |
</div>
|
240 |
<br/>
|
241 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
242 |
<label for="<?php echo $this->get_field_id('letter_spacing'); ?>"><?php _e("Between letters:", 'utcw'); ?></label>
|
243 |
<input type="text" size="5" name="<?php echo $this->get_field_name('letter_spacing'); ?>" id="<?php echo $this->get_field_id?>" value="<?php echo strlen($letter_spacing) > 0 ? $letter_spacing : UTCW_DEFAULT_LETTER_SPACING?>" /><br/>
|
244 |
<label for="<?php echo $this->get_field_id('word_spacing'); ?>"><?php _e("Between words:", 'utcw'); ?></label>
|
245 |
<input type="text" size="5" name="<?php echo $this->get_field_name('word_spacing'); ?>" id="<?php echo $this->get_field_id('word_spacing'); ?>" value="<?php echo strlen($word_spacing) > 0 ? $word_spacing : UTCW_DEFAULT_WORD_SPACING?>" /><br/>
|
|
|
|
|
246 |
<br/>
|
247 |
-
|
248 |
<input type="radio" name="<?php echo $this->get_field_name('case'); ?>" id="<?php echo $this->get_field_id('text_transform_off'); ?>" value="off" <?php echo ($case == "off" || empty($case)) ? ' checked="checked"' : ""; ?> />
|
249 |
<label for="<?php echo $this->get_field_id('text_transform_off'); ?>"><?php _e("Off", 'utcw'); ?></label><br/>
|
250 |
<input type="radio" name="<?php echo $this->get_field_name('case'); ?>" id="<?php echo $this->get_field_id('text_transform_lowercase'); ?>" value="lowercase" <?php echo $case == "lowercase" ? ' checked="checked"' : ""; ?> />
|
@@ -252,8 +321,108 @@ class UTCW extends WP_Widget {
|
|
252 |
<input type="radio" name="<?php echo $this->get_field_name('case'); ?>" id="<?php echo $this->get_field_id('text_transform_uppercase'); ?>" value="uppercase" <?php echo $case == "uppercase" ? ' checked="checked"' : ""; ?> />
|
253 |
<label for="<?php echo $this->get_field_id('text_transform_uppercase'); ?>"><?php _e("To uppercase", 'utcw'); ?></label><br/>
|
254 |
<input type="radio" name="<?php echo $this->get_field_name('case'); ?>" id="<?php echo $this->get_field_id('text_transform_capitalize'); ?>" value="capitalize" <?php echo $case == "capitalize" ? ' checked="checked"' : ""; ?> />
|
255 |
-
<label for="<?php echo $this->get_field_id('text_transform_capitalize'); ?>"><?php _e("Capitalize", 'utcw'); ?></label><br/>
|
256 |
</fieldset>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
257 |
<?php
|
258 |
}
|
259 |
}
|
@@ -273,29 +442,49 @@ function do_utcw($args) {
|
|
273 |
global $utcw_allowed_orders,
|
274 |
$utcw_allowed_taxonomys,
|
275 |
$utcw_allowed_colors,
|
276 |
-
$utcw_allowed_cases
|
|
|
|
|
|
|
277 |
|
278 |
// Parse settings from $instance and set default values where empty or invalid
|
279 |
-
$title
|
280 |
-
$size_from
|
281 |
-
$size_to
|
282 |
-
$max
|
283 |
-
$reverse
|
284 |
-
$minimum
|
285 |
-
$authors
|
286 |
-
$
|
287 |
-
$color_set
|
288 |
-
$letter_spacing
|
289 |
-
$word_spacing
|
290 |
-
$
|
291 |
-
$
|
292 |
-
$
|
293 |
-
|
294 |
-
$
|
295 |
-
$
|
296 |
-
$
|
297 |
-
$
|
298 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
299 |
// Fallback values
|
300 |
$counts = array();
|
301 |
$tag_array = array();
|
@@ -313,11 +502,14 @@ function do_utcw($args) {
|
|
313 |
if (count($authors) > 0) {
|
314 |
$q .= "AND post_author IN (" . implode(",", $authors) . ") ";
|
315 |
}
|
316 |
-
if (count($
|
317 |
-
|
318 |
-
|
|
|
|
|
|
|
319 |
} else {
|
320 |
-
$q .= "AND t.name
|
321 |
}
|
322 |
}
|
323 |
if (is_numeric($minimum)) {
|
@@ -470,14 +662,69 @@ function do_utcw($args) {
|
|
470 |
echo $before_widget;
|
471 |
echo $before_title . $title . $after_title;
|
472 |
|
473 |
-
printf('<div class="widget_tag_cloud" style="letter-spacing:%s;word-spacing:%s;%s">',
|
474 |
-
|
475 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
476 |
foreach ($tag_array as $tag) {
|
477 |
extract($tag);
|
478 |
|
479 |
-
|
480 |
-
|
|
|
|
|
481 |
}
|
482 |
|
483 |
echo "</div>";
|
@@ -513,8 +760,8 @@ load_plugin_textdomain('utcw', false, '/ultimate-tag-cloud-widget/language/');
|
|
513 |
add_action('widgets_init', create_function('', 'return register_widget("UTCW");'));
|
514 |
|
515 |
//Register scripts and css with wordpress
|
516 |
-
wp_register_script('utcw-js', '/wp-content/plugins/ultimate-tag-cloud-widget/utcw.js', array('jquery'), "1.
|
517 |
-
wp_register_style('utcw-css', '/wp-content/plugins/ultimate-tag-cloud-widget/utcw.css', array(), "1.
|
518 |
|
519 |
/**
|
520 |
* Action handler for wordpress init used to attach scripts and styles
|
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.3
|
7 |
Author: Rickard Andersson
|
8 |
Author URI: http://www.0x539.se
|
9 |
License: GPLv2
|
25 |
*/
|
26 |
|
27 |
// Default values if the widget isn't configured properly
|
28 |
+
DEFINE("UTCW_DEFAULT_TITLE", __("Tag Cloud", 'utcw'));
|
29 |
+
DEFINE("UTCW_DEFAULT_ORDER", "name");
|
30 |
+
DEFINE("UTCW_DEFAULT_SIZE_FROM", 10);
|
31 |
+
DEFINE("UTCW_DEFAULT_SIZE_TO", 30);
|
32 |
+
DEFINE("UTCW_DEFAULT_MAX", 45);
|
33 |
+
DEFINE("UTCW_DEFAULT_TAXONOMY", "post_tag");
|
34 |
+
DEFINE("UTCW_DEFAULT_REVERSE", false);
|
35 |
+
DEFINE("UTCW_DEFAULT_COLOR", "none");
|
36 |
+
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 |
+
DEFINE("UTCW_DEFAULT_MINIMUM", 1);
|
41 |
+
DEFINE("UTCW_DEFAULT_TAGS_LIST_TYPE", "exclude");
|
42 |
+
DEFINE("UTCW_DEFAULT_SHOW_TITLE", true);
|
43 |
+
DEFINE("UTCW_DEFAULT_LINK_UNDERLINE", "default");
|
44 |
+
DEFINE("UTCW_DEFAULT_LINK_BOLD", "default");
|
45 |
+
DEFINE("UTCW_DEFAULT_LINK_ITALIC", "default");
|
46 |
+
DEFINE("UTCW_DEFAULT_LINK_BG_COLOR", "transparent");
|
47 |
+
DEFINE("UTCW_DEFAULT_LINK_BORDER_STYLE", "none");
|
48 |
+
DEFINE("UTCW_DEFAULT_LINK_BORDER_WIDTH", "0px");
|
49 |
+
DEFINE("UTCW_DEFAULT_LINK_BORDER_COLOR", "none");
|
50 |
+
DEFINE("UTCW_DEFAULT_HOVER_UNDERLINE", "default");
|
51 |
+
DEFINE("UTCW_DEFAULT_HOVER_BOLD", "default");
|
52 |
+
DEFINE("UTCW_DEFAULT_HOVER_ITALIC", "default");
|
53 |
+
DEFINE("UTCW_DEFAULT_HOVER_BG_COLOR", "transparent");
|
54 |
+
DEFINE("UTCW_DEFAULT_HOVER_BORDER_STYLE", "none");
|
55 |
+
DEFINE("UTCW_DEFAULT_HOVER_BORDER_WIDTH", "0px");
|
56 |
+
DEFINE("UTCW_DEFAULT_HOVER_BORDER_COLOR", "none");
|
57 |
+
DEFINE("UTCW_DEFAULT_TAG_SPACING", "auto");
|
58 |
|
59 |
// Allowed values for miscellanious options in the widget
|
60 |
+
$utcw_allowed_orders = array('random', 'name', 'slug', 'id', 'color', 'count');
|
61 |
+
$utcw_allowed_taxonomys = array('post_tag', 'category');
|
62 |
+
$utcw_allowed_colors = array('none', 'random', 'set', 'span');
|
63 |
+
$utcw_allowed_cases = array('lowercase', 'uppercase', 'capitalize', 'off');
|
64 |
+
$utcw_allowed_tags_list_types = array('exclude', 'include');
|
65 |
+
$utcw_allowed_booleans = array('yes', 'no', 'default');
|
66 |
+
$utcw_allowed_border_styles = array('none', 'dotted', 'dashed', 'solid', 'double', 'groove', 'ridge', 'inset', 'outset');
|
67 |
|
68 |
/**
|
69 |
* Ultimate tag cloud widget class
|
70 |
* @package UTCW
|
71 |
* @author Rickard Andersson <rickard@0x539.se>
|
72 |
+
* @todo http://wordpress.org/support/topic/plugin-ultimate-tag-cloud-widget-tag-cloud-styling?replies=2
|
73 |
*/
|
74 |
class UTCW extends WP_Widget {
|
75 |
|
93 |
global $utcw_allowed_orders,
|
94 |
$utcw_allowed_taxonomys,
|
95 |
$utcw_allowed_colors,
|
96 |
+
$utcw_allowed_cases,
|
97 |
+
$utcw_allowed_tags_list_types,
|
98 |
+
$utcw_allowed_booleans,
|
99 |
+
$utcw_allowed_border_styles;
|
100 |
|
101 |
|
102 |
extract($new_instance);
|
103 |
|
104 |
// Check all input values and set the default value if any value is invalid or empty
|
105 |
$instance = $old_instance;
|
106 |
+
$instance['title'] = strlen($title) > 0 ? apply_filters('widget_title', $title) : apply_filters('widget_title', UTCW_DEFAULT_TITLE);
|
107 |
+
$instance['size_from'] = is_numeric($size_from) ? $size_from : UTCW_DEFAULT_SIZE_FROM;
|
108 |
+
$instance['size_to'] = is_numeric($size_to) ? $size_to : UTCW_DEFAULT_SIZE_TO;
|
109 |
+
$instance['max'] = is_numeric($max) ? $max : UTCW_DEFALUT_MAX;
|
110 |
+
$instance['letter_spacing'] = is_numeric($letter_spacing) ? $letter_spacing : UTCW_DEFAULT_LETTER_SPACING;
|
111 |
+
$instance['word_spacing'] = is_numeric($word_spacing) ? $word_spacing : UTCW_DEFAULT_WORD_SPACING;
|
112 |
+
$instance['tag_spacing'] = is_numeric($tag_spacing) ? $tag_spacing : UTCW_DEFAULT_TAG_SPACING;
|
113 |
+
$instance['minimum'] = is_numeric($minimum) ? $minimum : UTCW_DEFAULT_MINIMUM;
|
114 |
+
$instance['hover_border_width'] = is_numeric($hover_border_width) ? $hover_border_width : UTCW_DEFAULT_HOVER_BORDER_WIDTH;
|
115 |
+
$instance['link_border_width'] = is_numeric($link_border_width) ? $link_border_width : UTCW_DEFAULT_LINK_BORDER_WIDTH;
|
116 |
+
$instance['reverse'] = ($reverse == "on");
|
117 |
+
$instance['tags_list'] = strlen($tags_list) > 0 ? @explode(",", $tags_list) : array();
|
118 |
+
$instance['color_set'] = strlen($color_set) > 0 ? @explode(",", $color_set) : array();
|
119 |
+
$instance['authors'] = array();
|
120 |
+
$instance['case_sensitive'] = ($case_sensitive == "on");
|
121 |
+
$instance['show_title'] = ($show_title == "on");
|
|
|
|
|
|
|
|
|
|
|
122 |
|
123 |
+
$instance['color_span_from'] = preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $color_span_from) > 0 ? $color_span_from : "";
|
124 |
+
$instance['color_span_to'] = preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $color_span_to) > 0 ? $color_span_to : "";
|
125 |
+
$instance['link_bg_color'] = preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $link_bg_color) > 0 ? $link_bg_color : "";
|
126 |
+
$instance['link_border_color'] = preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $link_border_color) > 0 ? $link_border_color : "";
|
127 |
+
$instance['hover_bg_color'] = preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $hover_bg_color) > 0 ? $hover_bg_color : "";
|
128 |
+
$instance['hover_border_color'] = preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $hover_border_color) > 0 ? $hover_border_color : "";
|
129 |
+
|
130 |
+
$instance['taxonomy'] = in_array($taxonomy, $utcw_allowed_taxonomys) ? $taxonomy : UTCW_DEFAULT_TAXONOMY;
|
131 |
+
$instance['order'] = in_array($order, $utcw_allowed_orders) ? $order : UTCW_DEFAULT_ORDER;
|
132 |
+
$instance['color'] = in_array($color, $utcw_allowed_colors) ? $color : UTCW_DEFAULT_COLOR;
|
133 |
+
$instance['case'] = in_array($case, $utcw_allowed_cases) ? $case : UTCW_DEFAULT_CASE;
|
134 |
+
$instance['tags_list_type'] = in_array($tags_list_type, $utcw_allowed_tags_list_types) ? $tags_list_type : UTCW_DEFAULT_TAGS_LIST_TYPE;
|
135 |
+
$instance['link_underline'] = in_array($link_underline, $utcw_allowed_booleans) ? $link_underline : UTCW_DEFAULT_LINK_UNDERLINE;
|
136 |
+
$instance['link_bold'] = in_array($link_bold, $utcw_allowed_booleans) ? $link_bold : UTCW_DEFAULT_LINK_BOLD;
|
137 |
+
$instance['link_italic'] = in_array($link_italic, $utcw_allowed_booleans) ? $link_italic : UTCW_DEFAULT_LINK_ITALIC;
|
138 |
+
$instance['link_border_style'] = in_array($link_border_style, $utcw_allowed_border_styles) ? $link_border_style : UTCW_DEFAULT_LINK_BORDER_STYLE;
|
139 |
+
$instance['hover_underline'] = in_array($hover_underline, $utcw_allowed_booleans) ? $hover_underline : UTCW_DEFAULT_HOVER_UNDERLINE;
|
140 |
+
$instance['hover_bold'] = in_array($hover_bold, $utcw_allowed_booleans) ? $hover_bold : UTCW_DEFAULT_HOVER_BOLD;
|
141 |
+
$instance['hover_italic'] = in_array($hover_italic, $utcw_allowed_booleans) ? $hover_italic : UTCW_DEFAULT_HOVER_ITALIC;
|
142 |
+
$instance['hover_border_style'] = in_array($hover_border_style, $utcw_allowed_border_styles) ? $hover_border_style : UTCW_DEFAULT_HOVER_BORDER_STYLE;
|
143 |
+
|
144 |
// Only accept numeric authors (user ID)
|
145 |
if (is_array($authors)) {
|
146 |
foreach ($authors as $author) {
|
151 |
}
|
152 |
|
153 |
// Remove spaces in the comma separated list
|
154 |
+
foreach ($instance['tags_list'] as $key => $value) {
|
155 |
+
$instance['tags_list'][$key] = trim($value);
|
156 |
}
|
157 |
|
158 |
// Only allow hexadecimal color values in the format #ffffff and #fff
|
183 |
function form($instance) {
|
184 |
|
185 |
// Get stored preferences
|
186 |
+
$title = esc_attr($instance['title']);
|
187 |
+
$order = esc_attr($instance['order']);
|
188 |
+
$size_from = esc_attr($instance['size_from']);
|
189 |
+
$size_to = esc_attr($instance['size_to']);
|
190 |
+
$max = esc_attr($instance['max']);
|
191 |
+
$taxonomy = esc_attr($instance['taxonomy']);
|
192 |
+
$color = esc_attr($instance['color']);
|
193 |
+
$color_span_from = esc_attr($instance['color_span_from']);
|
194 |
+
$color_span_to = esc_attr($instance['color_span_to']);
|
195 |
+
$letter_spacing = esc_attr($instance['letter_spacing']);
|
196 |
+
$word_spacing = esc_attr($instance['word_spacing']);
|
197 |
+
$tag_spacing = esc_attr($instance['tag_spacing']);
|
198 |
+
$case = esc_attr($instance['case']);
|
199 |
+
$minimum = esc_attr($instance['minimum']);
|
200 |
+
$tags_list = is_array($instance['tags_list']) ? $instance['tags_list'] : array();
|
201 |
+
$tags_list_type = esc_attr($instance['tags_list_type']);
|
202 |
+
$reverse = $instance['reverse'];
|
203 |
+
$authors = is_array($instance['authors']) ? $instance['authors'] : array();
|
204 |
+
$color_set = is_array($instance['color_set']) ? $instance['color_set'] : array();;
|
205 |
+
$case_sensitive = $instance['case_sensitive'];
|
206 |
+
$show_title = $instance['show_title'];
|
207 |
+
$link_underline = $instance['link_underline'];
|
208 |
+
$link_bold = $instance['link_bold'];
|
209 |
+
$link_italic = $instance['link_italic'];
|
210 |
+
$link_bg_color = esc_attr($instance['link_bg_color']);
|
211 |
+
$link_border_width = esc_attr($instance['link_border_width']);
|
212 |
+
$link_border_style = $instance['link_border_style'];
|
213 |
+
$link_border_color = esc_attr($instance['link_border_color']);
|
214 |
+
$hover_underline = $instance['hover_underline'];
|
215 |
+
$hover_bold = $instance['hover_bold'];
|
216 |
+
$hover_italic = $instance['hover_italic'];
|
217 |
+
$hover_bg_color = esc_attr($instance['hover_bg_color']);
|
218 |
+
$hover_border_width = esc_attr($instance['hover_border_width']);
|
219 |
+
$hover_border_style = $instance['hover_border_style'];
|
220 |
+
$hover_border_color = esc_attr($instance['hover_border_color']);
|
221 |
+
|
222 |
// Content of the widget settings form
|
223 |
?>
|
224 |
<fieldset class="utcw">
|
225 |
<legend><?php _e("Data", 'utcw'); ?></legend>
|
226 |
+
<strong><?php _e("Authors:", 'utcw'); ?></strong><br/>
|
227 |
<?php foreach (get_users_of_blog() as $user) : ?>
|
228 |
<input type="checkbox" name="<?php echo $this->get_field_name('authors'); ?>[]" id="<?php echo $this->get_field_id('author_' . $user->ID); ?>" value="<?php echo $user->ID?>" <?php echo in_array($user->ID, $authors, true) ? 'checked="checked"' : ""; ?> />
|
229 |
<label for="<?php echo $this->get_field_id('author_' . $user->ID); ?>"><?php echo $user->user_login?></label><br/>
|
230 |
<?php endforeach; ?>
|
231 |
<br/>
|
232 |
+
<strong><?php _e("Order:", 'utcw'); ?></strong><br/>
|
233 |
<input type="radio" name="<?php echo $this->get_field_name('order'); ?>" id="<?php echo $this->get_field_id('order_random'); ?>" value="random" <?php echo $order == "random" ? ' checked="checked" ' : ""; ?>/>
|
234 |
<label for="<?php echo $this->get_field_id('order_random'); ?>"><?php _e("Random", 'utcw'); ?></label><br/>
|
235 |
<input type="radio" name="<?php echo $this->get_field_name('order'); ?>" id="<?php echo $this->get_field_id('order_name'); ?>" value="name" <?php echo $order == "name" ? ' checked="checked"' : ""; ?>/>
|
247 |
<input type="checkbox" name="<?php echo $this->get_field_name('case_sensitive'); ?>" id="<?php echo $this->get_field_id('case_sensitive'); ?>" <?php echo $case_sensitive === true ? ' checked="checked"' : ""; ?> />
|
248 |
<label for="<?php echo $this->get_field_id('case_sensitive'); ?>"><?php _e("Case sensitive", 'utcw'); ?></label><br/>
|
249 |
<br/>
|
250 |
+
<strong><label for="<?php echo $this->get_field_id('taxonomy'); ?>"><?php _e("Taxonomy:", 'utcw'); ?></label></strong><br/>
|
251 |
<select id="<?php echo $this->get_field_id('taxonomy'); ?>" name="<?php echo $this->get_field_name('taxonomy'); ?>">
|
252 |
<option value="post_tag" <?php echo $taxonomy == "post_tag" || strlen($taxonomy) == 0 ? 'selected="selected"' : ""?>><?php _e("Post Tags", 'utcw'); ?></option>
|
253 |
<option value="category" <?php echo $taxonomy == "category" ? 'selected="selected"' : ""?>><?php _e("Categories", 'utcw'); ?></option>
|
254 |
</select><br/>
|
255 |
<br/>
|
256 |
+
<strong><label for="<?php echo $this->get_field_id('minimum'); ?>"><?php _e("Minimum number of posts: ", 'utcw'); ?></label></strong>
|
257 |
+
<input type="number" name="<?php echo $this->get_field_name('minimum'); ?>" id="<?php echo $this->get_field_id('minimum'); ?>" value="<?php echo $minimum; ?>" /><br/>
|
258 |
<small><?php _e("Tags with fewer posts than this will be automatically excluded.", 'utcw'); ?></small><br/>
|
259 |
<br/>
|
260 |
+
<input type="radio" name="<?php echo $this->get_field_name('tags_list_type'); ?>" id="<?php echo $this->get_field_id('tags_list_type_include'); ?>" value="include" <?php echo $tags_list_type == "include" ? 'checked="checked" ' : ""; ?>/>
|
261 |
+
<label for="<?php echo $this->get_field_id('tags_list_type_include'); ?>"><?php _e("Include only ... ", 'utcw'); ?></label> <br/>
|
262 |
+
<input type="radio" name="<?php echo $this->get_field_name('tags_list_type'); ?>" id="<?php echo $this->get_field_id('tags_list_type_exclude'); ?>" value="exclude" <?php echo $tags_list_type == "exclude" ? 'checked="checked" ' : ""; ?>/>
|
263 |
+
<label for="<?php echo $this->get_field_id('tags_list_type_exclude'); ?>"><?php _e("Exclude ... ", 'utcw'); ?></label> <br/>
|
264 |
+
|
265 |
+
<label for="<?php echo $this->get_field_id('tags_list'); ?>"><?php _e("... these tags:", 'utcw'); ?></label><br/>
|
266 |
+
<input type="text" name="<?php echo $this->get_field_name('tags_list'); ?>" id="<?php echo $this->get_field_id('tags_list'); ?>" value="<?php echo implode(",", $tags_list); ?>" /><br/>
|
267 |
+
<small><?php _e("Choose either include or exclude above and enter a comma separated list of either the names or IDs of the tags you'd like to include/exclude.", 'utcw'); ?></small><br/>
|
268 |
</fieldset>
|
269 |
|
270 |
<fieldset class="utcw">
|
271 |
+
<legend><?php _e("Basic appearance", 'utcw'); ?></legend>
|
272 |
+
<strong><label for="<?php echo $this->get_field_id('title');?>"><?php _e("Title:", 'utcw') ?></label></strong><br/>
|
273 |
<input type="text" id="<?php echo $this->get_field_id('title');?>" name="<?php echo $this->get_field_name('title');?>" value="<?php echo strlen($title) > 0 ? $title : UTCW_DEFAULT_TITLE?>" /><br/>
|
274 |
<br/>
|
275 |
+
<strong><?php _e("Tag size (in px):", 'utcw'); ?></strong><br/>
|
276 |
<label for="<?php echo $this->get_field_id('size_from'); ?>"><?php _e("From", 'utcw'); ?></label>
|
277 |
+
<input type="number" name="<?php echo $this->get_field_name('size_from'); ?>" id="<?php echo $this->get_field_id('size_from'); ?>" size="3" value="<?php echo is_numeric($size_from) ? $size_from : UTCW_DEFAULT_SIZE_FROM?>" />
|
278 |
<label for="<?php echo $this->get_field_id('size_to'); ?>"><?php _e("to", 'utcw'); ?></label>
|
279 |
+
<input type="number" name="<?php echo $this->get_field_name('size_to'); ?>" id="<?php echo $this->get_field_id('size_to'); ?>" size="3" value="<?php echo is_numeric($size_to) ? $size_to : UTCW_DEFAULT_SIZE_TO?>" /><br/>
|
280 |
<br/>
|
281 |
+
<strong><label for="<?php echo $this->get_field_id('max'); ?>"><?php _e("Max tags:", 'utcw'); ?></label></strong><br/>
|
282 |
+
<input type="number" name="<?php echo $this->get_field_name('max'); ?>" id="<?php echo $this->get_field_id('max'); ?>" value="<?php echo is_numeric($max) ? $max : UTCW_DEFAULT_MAX?>" /><br/>
|
283 |
<br/>
|
284 |
+
<strong><?php _e("Coloring:", 'utcw') ?></strong><br/>
|
285 |
<input type="radio" name="<?php echo $this->get_field_name('color'); ?>" id="<?php echo $this->get_field_id('color_none'); ?>" value="none" <?php echo $color == "none" || empty($color) ? 'checked="checked"' : ""; ?> onclick="javascript:utcw_change()" />
|
286 |
<label for="<?php echo $this->get_field_id('color_none'); ?>"><?php _e("None", 'utcw'); ?></label><br/>
|
287 |
<input type="radio" name="<?php echo $this->get_field_name('color'); ?>" id="<?php echo $this->get_field_id('color_random'); ?>" value="random" <?php echo $color == "random" ? 'checked="checked"' : ""; ?> onclick="javascript:utcw_change()" />
|
298 |
<?php _e("to", 'utcw'); ?> <input type="text" size="7" name="<?php echo $this->get_field_name('color_span_to'); ?>"" id="<?php echo $this->get_field_id('color_span_to'); ?>" value="<?php echo $color_span_to?>" />
|
299 |
</div>
|
300 |
<br/>
|
301 |
+
</fieldset>
|
302 |
+
|
303 |
+
<fieldset class="utcw">
|
304 |
+
<legend><?php _e("Adv. appearance", "utcw") ?></legend>
|
305 |
+
<input type="checkbox" name="<?php echo $this->get_field_name('show_title') ?>" id="<?php echo $this->get_field_id('show_title') ?>" <?php echo $show_title === true || !isset($show_title) ? ' checked="checked"' : ''?> />
|
306 |
+
<label for="<?php echo $this->get_field_id('show_title') ?>" title="<?php _e("This is a title", "utcw") ?>"><?php _e("Show title (hover text)", "utcw") ?></label><br/>
|
307 |
+
<br/>
|
308 |
+
<strong><?php _e("Spacing (in px):", 'utcw'); ?></strong><br/>
|
309 |
<label for="<?php echo $this->get_field_id('letter_spacing'); ?>"><?php _e("Between letters:", 'utcw'); ?></label>
|
310 |
<input type="text" size="5" name="<?php echo $this->get_field_name('letter_spacing'); ?>" id="<?php echo $this->get_field_id?>" value="<?php echo strlen($letter_spacing) > 0 ? $letter_spacing : UTCW_DEFAULT_LETTER_SPACING?>" /><br/>
|
311 |
<label for="<?php echo $this->get_field_id('word_spacing'); ?>"><?php _e("Between words:", 'utcw'); ?></label>
|
312 |
<input type="text" size="5" name="<?php echo $this->get_field_name('word_spacing'); ?>" id="<?php echo $this->get_field_id('word_spacing'); ?>" value="<?php echo strlen($word_spacing) > 0 ? $word_spacing : UTCW_DEFAULT_WORD_SPACING?>" /><br/>
|
313 |
+
<label for="<?php echo $this->get_field_id('tag_spacing'); ?>"><?php _e("Between tags:", 'utcw') ; ?></label>
|
314 |
+
<input type="text" size="5" name="<?php echo $this->get_field_name('tag_spacing'); ?>" id="<?php echo $this->get_field_id('tag_spacing'); ?>" value="<?php echo strlen($tag_spacing) > 0 ? $tag_spacing : UTCW_DEFAULT_TAG_SPACING?>" /><br/>
|
315 |
<br/>
|
316 |
+
<strong><?php _e("Transform tags:", 'utcw'); ?></strong><br/>
|
317 |
<input type="radio" name="<?php echo $this->get_field_name('case'); ?>" id="<?php echo $this->get_field_id('text_transform_off'); ?>" value="off" <?php echo ($case == "off" || empty($case)) ? ' checked="checked"' : ""; ?> />
|
318 |
<label for="<?php echo $this->get_field_id('text_transform_off'); ?>"><?php _e("Off", 'utcw'); ?></label><br/>
|
319 |
<input type="radio" name="<?php echo $this->get_field_name('case'); ?>" id="<?php echo $this->get_field_id('text_transform_lowercase'); ?>" value="lowercase" <?php echo $case == "lowercase" ? ' checked="checked"' : ""; ?> />
|
321 |
<input type="radio" name="<?php echo $this->get_field_name('case'); ?>" id="<?php echo $this->get_field_id('text_transform_uppercase'); ?>" value="uppercase" <?php echo $case == "uppercase" ? ' checked="checked"' : ""; ?> />
|
322 |
<label for="<?php echo $this->get_field_id('text_transform_uppercase'); ?>"><?php _e("To uppercase", 'utcw'); ?></label><br/>
|
323 |
<input type="radio" name="<?php echo $this->get_field_name('case'); ?>" id="<?php echo $this->get_field_id('text_transform_capitalize'); ?>" value="capitalize" <?php echo $case == "capitalize" ? ' checked="checked"' : ""; ?> />
|
324 |
+
<label for="<?php echo $this->get_field_id('text_transform_capitalize'); ?>"><?php _e("Capitalize", 'utcw'); ?></label><br/>
|
325 |
</fieldset>
|
326 |
+
|
327 |
+
<fieldset class="utcw">
|
328 |
+
<legend><?php _e("Link CSS styles", "utcw") ?></legend>
|
329 |
+
<h3>Normal styles</h3>
|
330 |
+
<strong><?php _e("Underline", "utcw"); ?></strong><br/>
|
331 |
+
<input type="radio" name="<?php echo $this->get_field_name('link_underline') ?>" id="<?php echo $this->get_field_id('link_underline_yes') ?>" value="yes" <?php echo $link_underline == "yes" ? ' checked="checked"' : '' ?> />
|
332 |
+
<label for="<?php echo $this->get_field_id('link_underline_yes') ?>"><?php _e("Yes", "utcw") ?></label><br/>
|
333 |
+
<input type="radio" name="<?php echo $this->get_field_name('link_underline') ?>" id="<?php echo $this->get_field_id('link_underline_no') ?>" value="no" <?php echo $link_underline == "no" ? ' checked="checked"' : '' ?> />
|
334 |
+
<label for="<?php echo $this->get_field_id('link_underline_no') ?>"><?php _e("No", "utcw") ?></label><br/>
|
335 |
+
<input type="radio" name="<?php echo $this->get_field_name('link_underline') ?>" id="<?php echo $this->get_field_id('link_underline_default') ?>" value="default" <?php echo $link_underline == "default" || empty($link_underline) ? ' checked="checked"' : '' ?> />
|
336 |
+
<label for="<?php echo $this->get_field_id('link_underline_default') ?>"><?php _e("Theme default", "utcw") ?></label><br/>
|
337 |
+
<br/>
|
338 |
+
<strong><?php _e("Bold", "utcw"); ?></strong><br/>
|
339 |
+
<input type="radio" name="<?php echo $this->get_field_name('link_bold') ?>" id="<?php echo $this->get_field_id('link_bold_yes') ?>" value="yes" <?php echo $link_bold == "yes" ? ' checked="checked"' : '' ?> />
|
340 |
+
<label for="<?php echo $this->get_field_id('link_bold_yes') ?>"><?php _e("Yes", "utcw") ?></label><br/>
|
341 |
+
<input type="radio" name="<?php echo $this->get_field_name('link_bold') ?>" id="<?php echo $this->get_field_id('link_bold_no') ?>" value="no" <?php echo $link_bold == "no" ? ' checked="checked"' : '' ?> />
|
342 |
+
<label for="<?php echo $this->get_field_id('link_bold_no') ?>"><?php _e("No", "utcw") ?></label><br/>
|
343 |
+
<input type="radio" name="<?php echo $this->get_field_name('link_bold') ?>" id="<?php echo $this->get_field_id('link_bold_default') ?>" value="default" <?php echo $link_bold == "default" || empty($link_bold) ? ' checked="checked"' : '' ?> />
|
344 |
+
<label for="<?php echo $this->get_field_id('link_bold_default') ?>"><?php _e("Theme default", "utcw") ?></label><br/>
|
345 |
+
<br/>
|
346 |
+
<strong><?php _e("Italic", "utcw"); ?></strong><br/>
|
347 |
+
<input type="radio" name="<?php echo $this->get_field_name('link_italic') ?>" id="<?php echo $this->get_field_id('link_italic_yes') ?>" value="yes" <?php echo $link_italic == "yes" ? ' checked="checked"' : '' ?> />
|
348 |
+
<label for="<?php echo $this->get_field_id('link_italic_yes') ?>"><?php _e("Yes", "utcw") ?></label><br/>
|
349 |
+
<input type="radio" name="<?php echo $this->get_field_name('link_italic') ?>" id="<?php echo $this->get_field_id('link_italic_no') ?>" value="no" <?php echo $link_italic == "no" ? ' checked="checked"' : '' ?> />
|
350 |
+
<label for="<?php echo $this->get_field_id('link_italic_no') ?>"><?php _e("No", "utcw") ?></label><br/>
|
351 |
+
<input type="radio" name="<?php echo $this->get_field_name('link_italic') ?>" id="<?php echo $this->get_field_id('link_italic_default') ?>" value="default" <?php echo $link_italic == "default" || empty($link_italic) ? ' checked="checked"' : '' ?> />
|
352 |
+
<label for="<?php echo $this->get_field_id('link_italic_default') ?>"><?php _e("Theme default", "utcw") ?></label><br/>
|
353 |
+
<br/>
|
354 |
+
<strong><label for="<?php $this->get_field_id('link_bg_color') ?>"><?php _e("Background color (hex value):", "utcw"); ?></label></strong><br/>
|
355 |
+
<input type="text" name="<?php echo $this->get_field_name('link_bg_color') ?>" value="<?php echo $link_bg_color ?>" /><br/>
|
356 |
+
<br/>
|
357 |
+
<strong><?php _e("Border", "utcw"); ?></strong><br/>
|
358 |
+
<label for="<?php echo $this->get_field_id('link_border_style') ?>"><?php _e("Style: ", "utcw") ?></label><br/>
|
359 |
+
<select name="<?php echo $this->get_field_name('link_border_style') ?>" id="<?php echo $this->get_field_id('link_border_style') ?>">
|
360 |
+
<option value="none" <?php echo $link_border_style == "none" ? 'selected="selected"' : '' ?>><?php _e("None", "utcw") ?></option>
|
361 |
+
<option value="dotted" <?php echo $link_border_style == "dotted" ? 'selected="selected"' : '' ?>><?php _e("Dotted", "utcw") ?></option>
|
362 |
+
<option value="dashed" <?php echo $link_border_style == "dashed" ? 'selected="selected"' : '' ?>><?php _e("Dashed", "utcw") ?></option>
|
363 |
+
<option value="solid" <?php echo $link_border_style == "solid" ? 'selected="selected"' : '' ?>><?php _e("Solid", "utcw") ?></option>
|
364 |
+
<option value="double" <?php echo $link_border_style == "double" ? 'selected="selected"' : '' ?>><?php _e("Double", "utcw") ?></option>
|
365 |
+
<option value="groove" <?php echo $link_border_style == "groove" ? 'selected="selected"' : '' ?>><?php _e("Groove", "utcw") ?></option>
|
366 |
+
<option value="ridge" <?php echo $link_border_style == "rigde" ? 'selected="selected"' : '' ?>><?php _e("Ridge", "utcw") ?></option>
|
367 |
+
<option value="inset" <?php echo $link_border_style == "inset" ? 'selected="selected"' : '' ?>><?php _e("Inset", "utcw") ?></option>
|
368 |
+
<option value="outset" <?php echo $link_border_style == "outset" ? 'selected="selected"' : '' ?>><?php _e("Outset", "utcw") ?></option>
|
369 |
+
</select><br/>
|
370 |
+
<br/>
|
371 |
+
<label for="<?php echo $this->get_field_id("link_border_width", "utcw") ?>"><?php _e("Width (in px):", "utcw") ?></label><br/>
|
372 |
+
<input type="number" name="<?php echo $this->get_field_name("link_border_width") ?>" id="<?php echo $this->get_field_id("link_border_width") ?>" value="<?php echo $link_border_width ?>" /><br/>
|
373 |
+
<br/>
|
374 |
+
<label for="<?php echo $this->get_field_id("link_border_color", "utcw") ?>"><?php _e("Color (hex value): ", "utcw") ?></label><br/>
|
375 |
+
<input type="color" name="<?php echo $this->get_field_name("link_border_color") ?>" id="<?php echo $this->get_field_id("link_border_color") ?>" value="<?php echo $link_border_color ?>" /><br/>
|
376 |
+
|
377 |
+
<h3>Hover effects</h3>
|
378 |
+
<strong><?php _e("Underline", "utcw"); ?></strong><br/>
|
379 |
+
<input type="radio" name="<?php echo $this->get_field_name('hover_underline') ?>" id="<?php echo $this->get_field_id('hover_underline_yes') ?>" value="yes" <?php echo $hover_underline == "yes" ? ' checked="checked"' : '' ?> />
|
380 |
+
<label for="<?php echo $this->get_field_id('hover_underline_yes') ?>"><?php _e("Yes", "utcw") ?></label><br/>
|
381 |
+
<input type="radio" name="<?php echo $this->get_field_name('hover_underline') ?>" id="<?php echo $this->get_field_id('hover_underline_no') ?>" value="no" <?php echo $hover_underline == "no" ? ' checked="checked"' : '' ?> />
|
382 |
+
<label for="<?php echo $this->get_field_id('hover_underline_no') ?>"><?php _e("No", "utcw") ?></label><br/>
|
383 |
+
<input type="radio" name="<?php echo $this->get_field_name('hover_underline') ?>" id="<?php echo $this->get_field_id('hover_underline_default') ?>" value="default" <?php echo $hover_underline == "default" || empty($hover_underline) ? ' checked="checked"' : '' ?> />
|
384 |
+
<label for="<?php echo $this->get_field_id('hover_underline_default') ?>"><?php _e("Theme default", "utcw") ?></label><br/>
|
385 |
+
<br/>
|
386 |
+
<strong><?php _e("Bold", "utcw"); ?></strong><br/>
|
387 |
+
<input type="radio" name="<?php echo $this->get_field_name('hover_bold') ?>" id="<?php echo $this->get_field_id('hover_bold_yes') ?>" value="yes" <?php echo $hover_bold == "yes" ? ' checked="checked"' : '' ?> />
|
388 |
+
<label for="<?php echo $this->get_field_id('hover_bold_yes') ?>"><?php _e("Yes", "utcw") ?></label><br/>
|
389 |
+
<input type="radio" name="<?php echo $this->get_field_name('hover_bold') ?>" id="<?php echo $this->get_field_id('hover_bold_no') ?>" value="no" <?php echo $hover_bold == "no" ? ' checked="checked"' : '' ?> />
|
390 |
+
<label for="<?php echo $this->get_field_id('hover_bold_no') ?>"><?php _e("No", "utcw") ?></label><br/>
|
391 |
+
<input type="radio" name="<?php echo $this->get_field_name('hover_bold') ?>" id="<?php echo $this->get_field_id('hover_bold_default') ?>" value="default" <?php echo $hover_bold == "default" || empty($hover_bold) ? ' checked="checked"' : '' ?> />
|
392 |
+
<label for="<?php echo $this->get_field_id('hover_bold_default') ?>"><?php _e("Theme default", "utcw") ?></label><br/>
|
393 |
+
<br/>
|
394 |
+
<strong><?php _e("Italic", "utcw"); ?></strong><br/>
|
395 |
+
<input type="radio" name="<?php echo $this->get_field_name('hover_italic') ?>" id="<?php echo $this->get_field_id('hover_italic_yes') ?>" value="yes" <?php echo $hover_italic == "yes" ? ' checked="checked"' : '' ?> />
|
396 |
+
<label for="<?php echo $this->get_field_id('hover_italic_yes') ?>"><?php _e("Yes", "utcw") ?></label><br/>
|
397 |
+
<input type="radio" name="<?php echo $this->get_field_name('hover_italic') ?>" id="<?php echo $this->get_field_id('hover_italic_no') ?>" value="no" <?php echo $hover_italic == "no" ? ' checked="checked"' : '' ?> />
|
398 |
+
<label for="<?php echo $this->get_field_id('hover_italic_no') ?>"><?php _e("No", "utcw") ?></label><br/>
|
399 |
+
<input type="radio" name="<?php echo $this->get_field_name('hover_italic') ?>" id="<?php echo $this->get_field_id('hover_italic_default') ?>" value="default" <?php echo $hover_italic == "default" || empty($hover_italic) ? ' checked="checked"' : '' ?> />
|
400 |
+
<label for="<?php echo $this->get_field_id('hover_italic_default') ?>"><?php _e("Theme default", "utcw") ?></label><br/>
|
401 |
+
<br/>
|
402 |
+
<strong><label for="<?php $this->get_field_id('hover_bg_color') ?>"><?php _e("Background color (hex value):", "utcw"); ?></label></strong><br/>
|
403 |
+
<input type="text" name="<?php echo $this->get_field_name('hover_bg_color') ?>" value="<?php echo $hover_bg_color ?>" /><br/>
|
404 |
+
<br/>
|
405 |
+
<strong><?php _e("Border", "utcw"); ?></strong><br/>
|
406 |
+
<label for="<?php echo $this->get_field_id('hover_border_style') ?>"><?php _e("Style: ", "utcw") ?></label><br/>
|
407 |
+
<select name="<?php echo $this->get_field_name('hover_border_style') ?>" id="<?php echo $this->get_field_id('hover_border_style') ?>">
|
408 |
+
<option value="none" <?php echo $hover_border_style == "none" ? 'selected="selected"' : '' ?>><?php _e("None", "utcw") ?></option>
|
409 |
+
<option value="dotted" <?php echo $hover_border_style == "dotted" ? 'selected="selected"' : '' ?>><?php _e("Dotted", "utcw") ?></option>
|
410 |
+
<option value="dashed" <?php echo $hover_border_style == "dashed" ? 'selected="selected"' : '' ?>><?php _e("Dashed", "utcw") ?></option>
|
411 |
+
<option value="solid" <?php echo $hover_border_style == "solid" ? 'selected="selected"' : '' ?>><?php _e("Solid", "utcw") ?></option>
|
412 |
+
<option value="double" <?php echo $hover_border_style == "double" ? 'selected="selected"' : '' ?>><?php _e("Double", "utcw") ?></option>
|
413 |
+
<option value="groove" <?php echo $hover_border_style == "groove" ? 'selected="selected"' : '' ?>><?php _e("Groove", "utcw") ?></option>
|
414 |
+
<option value="ridge" <?php echo $hover_border_style == "rigde" ? 'selected="selected"' : '' ?>><?php _e("Ridge", "utcw") ?></option>
|
415 |
+
<option value="inset" <?php echo $hover_border_style == "inset" ? 'selected="selected"' : '' ?>><?php _e("Inset", "utcw") ?></option>
|
416 |
+
<option value="outset" <?php echo $hover_border_style == "outset" ? 'selected="selected"' : '' ?>><?php _e("Outset", "utcw") ?></option>
|
417 |
+
</select><br/>
|
418 |
+
<br/>
|
419 |
+
<label for="<?php echo $this->get_field_id("hover_border_width", "utcw") ?>"><?php _e("Width (in px):", "utcw") ?></label><br/>
|
420 |
+
<input type="number" name="<?php echo $this->get_field_name("hover_border_width") ?>" id="<?php echo $this->get_field_id("hover_border_width") ?>" value="<?php echo $hover_border_width ?>" /><br/>
|
421 |
+
<br/>
|
422 |
+
<label for="<?php echo $this->get_field_id("hover_border_color", "utcw") ?>"><?php _e("Color (hex value): ", "utcw") ?></label><br/>
|
423 |
+
<input type="color" name="<?php echo $this->get_field_name("hover_border_color") ?>" id="<?php echo $this->get_field_id("hover_border_color") ?>" value="<?php echo $hover_border_color ?>" /><br/>
|
424 |
+
|
425 |
+
</fieldset>
|
426 |
<?php
|
427 |
}
|
428 |
}
|
442 |
global $utcw_allowed_orders,
|
443 |
$utcw_allowed_taxonomys,
|
444 |
$utcw_allowed_colors,
|
445 |
+
$utcw_allowed_cases,
|
446 |
+
$utcw_allowed_tags_list_types,
|
447 |
+
$utcw_allowed_booleans,
|
448 |
+
$utcw_allowed_border_styles;
|
449 |
|
450 |
// Parse settings from $instance and set default values where empty or invalid
|
451 |
+
$title = strlen($title) > 0 ? $title : UTCW_DEFAULT_TITLE;
|
452 |
+
$size_from = is_numeric($size_from) ? $size_from : UTCW_DEFAULT_SIZE_FROM;
|
453 |
+
$size_to = is_numeric($size_to) ? $size_to : UTCW_DEFAULT_SIZE_TO;
|
454 |
+
$max = is_numeric($max) ? $max : UTCW_DEFAULT_MAX;
|
455 |
+
$reverse = is_bool($reverse) ? $reverse : UTCW_DEFAULT_REVERSE;
|
456 |
+
$minimum = is_numeric($minimum) ? $minimum : UTCW_DEFAULT_MINIMUM;
|
457 |
+
$authors = is_array($authors) ? $authors : array();
|
458 |
+
$tags_list = is_array($tags_list) ? $tags_list : array();
|
459 |
+
$color_set = is_array($color_set) ? $color_set : array();
|
460 |
+
$letter_spacing = is_numeric($letter_spacing) ? $letter_spacing . "px" : UTCW_DEFAULT_LETTER_SPACING;
|
461 |
+
$word_spacing = is_numeric($word_spacing) ? $word_spacing . "px" : UTCW_DEFAULT_WORD_SPACING;
|
462 |
+
$tag_spacing = is_numeric($tag_spacing) ? $tag_spacing . "px" : UTCW_DEFAULT_TAG_SPACING;
|
463 |
+
$color_span_from = is_string($color_span_from) ? $color_span_from : "";
|
464 |
+
$color_span_to = is_string($color_span_to) ? $color_span_to : "";
|
465 |
+
$case_sensitive = is_bool($case_sensitive) ? $case_sensitive : UTCW_DEFAULT_CASE_SENSITIVE;
|
466 |
+
$show_title = is_bool($show_title) ? $show_title : UTCW_DEFAULT_SHOW_TITLE;
|
467 |
+
$link_bg_color = is_string($link_bg_color) ? $link_bg_color : UTCW_DEFAULT_BG_COLOR;
|
468 |
+
$link_border_width = is_numeric($link_border_width) ? $link_border_width . "px" : UTCW_DEFAULT_LINK_BORDER_WIDTH;
|
469 |
+
$link_border_color = is_string($link_border_color) ? $link_border_color : UTCW_DEFAULT_LINK_BORDER_COLOR;
|
470 |
+
$hover_bg_color = is_string($hover_bg_color) ? $hover_bg_color : UTCW_DEFAULT_BG_COLOR;
|
471 |
+
$hover_border_width = is_numeric($hover_border_width) ? $hover_border_width . "px" : UTCW_DEFAULT_HOVER_BORDER_WIDTH;
|
472 |
+
$hover_border_color = is_string($hover_border_color) ? $hover_border_color : UTCW_DEFAULT_HOVER_BORDER_COLOR;
|
473 |
+
|
474 |
+
$order = in_array($order, $utcw_allowed_orders) ? $order : UTCW_DEFAULT_ORDER;
|
475 |
+
$taxonomy = in_array($taxonomy, $utcw_allowed_taxonomys) ? $taxonomy : UTCW_DEFAULT_TAXONOMY;
|
476 |
+
$color = in_array($color, $utcw_allowed_colors) ? $color : UTCW_DEFAULT_COLOR;
|
477 |
+
$case = in_array($case, $utcw_allowed_cases) ? $case : UTCW_DEFAULT_CASE;
|
478 |
+
$tags_list_type = in_array($tags_list_type, $utcw_allowed_tags_list_types) ? $tags_list_type : UTCW_DEFAULT_TAGS_LIST_TYPE;
|
479 |
+
$link_underline = in_array($link_underline, $utcw_allowed_booleans) ? $link_underline : UTCW_DEFAULT_LINK_UNDERLINE;
|
480 |
+
$link_bold = in_array($link_bold, $utcw_allowed_booleans) ? $link_bold : UTCW_DEFAULT_LINK_BOLD;
|
481 |
+
$link_italic = in_array($link_italic, $utcw_allowed_booleans) ? $link_italic : UTCW_DEFAULT_LINK_ITALIC;
|
482 |
+
$link_border_style = in_array($link_border_style, $utcw_allowed_border_styles) ? $link_border_style : UTCW_DEFAULT_LINK_BORDER_STYLE;
|
483 |
+
$hover_underline = in_array($hover_underline, $utcw_allowed_booleans) ? $hover_underline : UTCW_DEFAULT_HOVER_UNDERLINE;
|
484 |
+
$hover_bold = in_array($hover_bold, $utcw_allowed_booleans) ? $hover_bold : UTCW_DEFAULT_HOVER_BOLD;
|
485 |
+
$hover_italic = in_array($hover_italic, $utcw_allowed_booleans) ? $hover_italic : UTCW_DEFAULT_HOVER_ITALIC;
|
486 |
+
$hover_border_style = in_array($hover_border_style, $utcw_allowed_border_styles) ? $hover_border_style : UTCW_DEFAULT_HOVER_BORDER_STYLE;
|
487 |
+
|
488 |
// Fallback values
|
489 |
$counts = array();
|
490 |
$tag_array = array();
|
502 |
if (count($authors) > 0) {
|
503 |
$q .= "AND post_author IN (" . implode(",", $authors) . ") ";
|
504 |
}
|
505 |
+
if (count($tags_list) > 0) {
|
506 |
+
|
507 |
+
$tags_list_operator = ($tags_list_type == "include") ? "IN" : "NOT IN";
|
508 |
+
|
509 |
+
if (is_array_numeric($tags_list)) {
|
510 |
+
$q .= "AND t.term_id ". $tags_list_operator ." ('" . implode("', '", $tags_list) . "') ";
|
511 |
} else {
|
512 |
+
$q .= "AND t.name ". $tags_list_operator ." ('" . implode("', '", $tags_list) . "') ";
|
513 |
}
|
514 |
}
|
515 |
if (is_numeric($minimum)) {
|
662 |
echo $before_widget;
|
663 |
echo $before_title . $title . $after_title;
|
664 |
|
665 |
+
printf('<div class="widget_tag_cloud" style="letter-spacing:%s;word-spacing:%s;%s">', $letter_spacing, $word_spacing, $text_transform);
|
666 |
+
|
667 |
+
$hover_style = "";
|
668 |
+
$link_style = "";
|
669 |
+
|
670 |
+
if ($link_underline != "default") {
|
671 |
+
$link_style .= "text-decoration:" . ($link_underline == "yes" ? "underline !important;" : "none !important;");
|
672 |
+
}
|
673 |
+
if ($link_bold != "default") {
|
674 |
+
$link_style .= "font-weight:" . ($link_bold == "yes" ? "bold !important;" : "normal !important;");
|
675 |
+
}
|
676 |
+
if ($link_italic != "default") {
|
677 |
+
$link_style .= "font-style:" . ($link_italic == "yes" ? "italic !important;" : "normal !important;");
|
678 |
+
}
|
679 |
+
if ($link_bg_color != "transparent") {
|
680 |
+
$link_style .= sprintf("background-color:%s !important;", $link_bg_color);
|
681 |
+
}
|
682 |
+
if (strlen($link_border_style) > 0) {
|
683 |
+
$link_style .= sprintf("border-style:%s !important;", $link_border_style);
|
684 |
+
}
|
685 |
+
if (strlen($link_border_color) > 0) {
|
686 |
+
$link_style .= sprintf("border-color:%s !important;", $link_border_color);
|
687 |
+
}
|
688 |
+
if (strlen($link_border_width) > 0) {
|
689 |
+
$link_style .= sprintf("border-width:%s !important;", $link_border_width);
|
690 |
+
}
|
691 |
+
|
692 |
+
if ($hover_underline != "default") {
|
693 |
+
$hover_style .= "text-decoration:" . ($hover_underline == "yes" ? "underline !important;" : "none !important;");
|
694 |
+
}
|
695 |
+
if ($hover_bold != "default") {
|
696 |
+
$hover_style .= "font-weight:" . ($hover_bold == "yes" ? "bold !important;" : "normal !important;");
|
697 |
+
}
|
698 |
+
if ($hover_italic != "default") {
|
699 |
+
$hover_style .= "font-style:" . ($hover_italic == "yes" ? "italic !important;" : "normal !important;");
|
700 |
+
}
|
701 |
+
if ($hover_bg_color != "transparent") {
|
702 |
+
$hover_style .= sprintf("background-color:%s !important;", $hover_bg_color);
|
703 |
+
}
|
704 |
+
if (strlen($hover_border_style) > 0) {
|
705 |
+
$hover_style .= sprintf("border-style:%s !important;", $hover_border_style);
|
706 |
+
}
|
707 |
+
if (strlen($hover_border_color) > 0) {
|
708 |
+
$hover_style .= sprintf("border-color:%s !important;", $hover_border_color);
|
709 |
+
}
|
710 |
+
if (strlen($hover_border_width) > 0) {
|
711 |
+
$hover_style .= sprintf("border-width:%s !important;", $hover_border_width);
|
712 |
+
}
|
713 |
+
if ($tag_spacing != "none") {
|
714 |
+
$link_style .= sprintf("margin-right: %s !important;", $tag_spacing);
|
715 |
+
}
|
716 |
+
|
717 |
+
if (strlen($hover_style) > 0 || strlen($link_style)) {
|
718 |
+
printf('<style type="text/css">.utcw-tag-link{%s}.utcw-tag-link:hover{%s}</style>', $link_style, $hover_style);
|
719 |
+
}
|
720 |
+
|
721 |
foreach ($tag_array as $tag) {
|
722 |
extract($tag);
|
723 |
|
724 |
+
$link_title = $show_title === true ? sprintf('title="' . _n("%s topic", "%s topics", $count) . '"', $count) : "";
|
725 |
+
|
726 |
+
printf('<a class="utcw-tag-link tag-link-%s" href="%s" style="font-size:%spx;%s" %s>%s</a> ',
|
727 |
+
$term_id, $link, $size, strlen($color) > 0 ? "color:$color;" : "", $link_title, $name);
|
728 |
}
|
729 |
|
730 |
echo "</div>";
|
760 |
add_action('widgets_init', create_function('', 'return register_widget("UTCW");'));
|
761 |
|
762 |
//Register scripts and css with wordpress
|
763 |
+
wp_register_script('utcw-js', '/wp-content/plugins/ultimate-tag-cloud-widget/utcw.js', array('jquery'), "1.3", false);
|
764 |
+
wp_register_style('utcw-css', '/wp-content/plugins/ultimate-tag-cloud-widget/utcw.css', array(), "1.3", 'all');
|
765 |
|
766 |
/**
|
767 |
* Action handler for wordpress init used to attach scripts and styles
|
utcw.css
CHANGED
@@ -1,8 +1,15 @@
|
|
1 |
fieldset.utcw {
|
2 |
padding: 10px;
|
3 |
border: solid 1px #dfdfdf;
|
4 |
-
border-radius: 4px;
|
5 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
}
|
7 |
.utcw-hidden {
|
8 |
display:none;
|
@@ -10,3 +17,7 @@ fieldset.utcw {
|
|
10 |
div.widget_utcw {
|
11 |
word-wrap: break-word;
|
12 |
}
|
|
|
|
|
|
|
|
1 |
fieldset.utcw {
|
2 |
padding: 10px;
|
3 |
border: solid 1px #dfdfdf;
|
4 |
+
-moz-border-radius: 4px;
|
5 |
+
-webkit-border-radius: 4px;
|
6 |
+
-khtml-border-radius: 4px;
|
7 |
+
border-radius: 4px;
|
8 |
+
margin-bottom: 25px;
|
9 |
+
}
|
10 |
+
fieldset.utcw legend {
|
11 |
+
letter-spacing: 2px;
|
12 |
+
font-size: 16px;
|
13 |
}
|
14 |
.utcw-hidden {
|
15 |
display:none;
|
17 |
div.widget_utcw {
|
18 |
word-wrap: break-word;
|
19 |
}
|
20 |
+
|
21 |
+
.utcw .fullwidth {
|
22 |
+
width: 100%;
|
23 |
+
}
|