Ultimate Tag Cloud Widget - Version 1.3.6

Version Description

  • Added a setting for row spacing
  • Added a setting for post age
Download this release

Release Info

Developer exz
Plugin Icon wp plugin Ultimate Tag Cloud Widget
Version 1.3.6
Comparing to
See all releases

Code changes from version 1.3.5 to 1.3.6

Files changed (6) hide show
  1. language/utcw-sv_SE.mo +0 -0
  2. language/utcw-sv_SE.po +329 -107
  3. readme.txt +14 -2
  4. ultimate-tag-cloud-widget.php +745 -714
  5. utcw.css +16 -13
  6. utcw.js +9 -10
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-05-20 21:35+0100\n"
6
- "PO-Revision-Date: 2011-05-20 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"
@@ -23,7 +23,9 @@ msgstr ""
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/tags/1.3.3/ultimate-tag-cloud-widget.php:81
26
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:83
 
 
27
  msgid "Highly configurable tag cloud"
28
  msgstr "Ett mycket konfigurerbart taggmoln"
29
 
@@ -34,7 +36,9 @@ msgstr "Ett mycket konfigurerbart taggmoln"
34
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:61
35
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:63
36
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:82
37
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:84
 
 
38
  msgid "Ultimate Tag Cloud"
39
  msgstr "Ultimate Tag Cloud"
40
 
@@ -53,7 +57,9 @@ msgstr "%s ämnen"
53
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:176
54
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:170
55
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:225
56
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:231
 
 
57
  msgid "Data"
58
  msgstr "Data"
59
 
@@ -64,7 +70,9 @@ msgstr "Data"
64
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:177
65
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:171
66
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:226
67
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:232
 
 
68
  msgid "Authors:"
69
  msgstr "Författare:"
70
 
@@ -75,7 +83,9 @@ msgstr "Författare:"
75
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:183
76
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:177
77
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:232
78
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:238
 
 
79
  msgid "Order:"
80
  msgstr "Ordning:"
81
 
@@ -86,7 +96,9 @@ msgstr "Ordning:"
86
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:185
87
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:179
88
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:234
89
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:240
 
 
90
  msgid "Random"
91
  msgstr "Slumpvis"
92
 
@@ -102,7 +114,9 @@ msgstr "Alfabetisk"
102
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:195
103
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:189
104
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:244
105
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:250
 
 
106
  msgid "Count"
107
  msgstr "Antal"
108
 
@@ -113,7 +127,9 @@ msgstr "Antal"
113
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:197
114
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:191
115
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:246
116
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:252
 
 
117
  msgid "Reverse order"
118
  msgstr "Omvänd ordning"
119
 
@@ -124,7 +140,9 @@ msgstr "Omvänd ordning"
124
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:201
125
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:195
126
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:250
127
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:256
 
 
128
  msgid "Taxonomy:"
129
  msgstr "Taxonomi:"
130
 
@@ -135,7 +153,8 @@ msgstr "Taxonomi:"
135
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:203
136
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:197
137
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:252
138
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:258
 
139
  msgid "Post Tags"
140
  msgstr "Taggar"
141
 
@@ -146,7 +165,8 @@ msgstr "Taggar"
146
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:204
147
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:198
148
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:253
149
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:259
 
150
  msgid "Categories"
151
  msgstr "Kategorier"
152
 
@@ -174,7 +194,9 @@ msgstr "Utseende"
174
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:214
175
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:212
176
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:272
177
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:282
 
 
178
  msgid "Title:"
179
  msgstr "Titel"
180
 
@@ -185,7 +207,9 @@ msgstr "Titel"
185
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:217
186
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:215
187
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:275
188
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:285
 
 
189
  msgid "Tag size (in px):"
190
  msgstr "Taggstorlek (i px):"
191
 
@@ -203,8 +227,12 @@ msgstr "Taggstorlek (i px):"
203
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:237
204
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:276
205
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:297
206
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:286
207
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:307
 
 
 
 
208
  msgid "From"
209
  msgstr "Från"
210
 
@@ -222,8 +250,12 @@ msgstr "Från"
222
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:238
223
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:278
224
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:298
225
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:288
226
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:308
 
 
 
 
227
  msgid "to"
228
  msgstr "till"
229
 
@@ -234,7 +266,9 @@ msgstr "till"
234
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:223
235
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:221
236
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:281
237
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:291
 
 
238
  msgid "Max tags:"
239
  msgstr "Max antal taggar:"
240
 
@@ -245,7 +279,9 @@ msgstr "Max antal taggar:"
245
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:226
246
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:224
247
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:284
248
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:294
 
 
249
  msgid "Coloring:"
250
  msgstr "Färgläggning:"
251
 
@@ -258,9 +294,15 @@ msgstr "Färgläggning:"
258
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:286
259
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:360
260
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:408
261
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:296
262
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:370
263
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:418
 
 
 
 
 
 
264
  msgid "None"
265
  msgstr "Ingen"
266
 
@@ -271,7 +313,9 @@ msgstr "Ingen"
271
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:230
272
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:228
273
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:288
274
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:298
 
 
275
  msgid "Totally random"
276
  msgstr "Helt slumpat"
277
 
@@ -282,7 +326,9 @@ msgstr "Helt slumpat"
282
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:232
283
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:230
284
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:290
285
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:300
 
 
286
  msgid "Random from preset values"
287
  msgstr "Slumpat mellan färger"
288
 
@@ -293,7 +339,9 @@ msgstr "Slumpat mellan färger"
293
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:237
294
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:235
295
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:295
296
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:305
 
 
297
  msgid "Spanning between values"
298
  msgstr "Utspritt mellan två färger"
299
 
@@ -304,7 +352,9 @@ msgstr "Utspritt mellan två färger"
304
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:243
305
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:241
306
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:308
307
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:318
 
 
308
  msgid "Spacing (in px):"
309
  msgstr "Mellanrum (i px):"
310
 
@@ -315,7 +365,9 @@ msgstr "Mellanrum (i px):"
315
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:244
316
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:242
317
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:309
318
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:319
 
 
319
  msgid "Between letters:"
320
  msgstr "Mellan bokstäver:"
321
 
@@ -326,7 +378,9 @@ msgstr "Mellan bokstäver:"
326
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:246
327
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:244
328
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:311
329
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:321
 
 
330
  msgid "Between words:"
331
  msgstr "Mellan ord:"
332
 
@@ -337,7 +391,9 @@ msgstr "Mellan ord:"
337
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:249
338
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:247
339
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:316
340
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:326
 
 
341
  msgid "Transform tags:"
342
  msgstr "Omvandla taggar:"
343
 
@@ -348,7 +404,9 @@ msgstr "Omvandla taggar:"
348
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:251
349
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:249
350
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:318
351
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:328
 
 
352
  msgid "Off"
353
  msgstr "Inaktiverat"
354
 
@@ -359,7 +417,9 @@ msgstr "Inaktiverat"
359
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:253
360
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:251
361
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:320
362
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:330
 
 
363
  msgid "To lowercase"
364
  msgstr "Till gemener"
365
 
@@ -370,7 +430,9 @@ msgstr "Till gemener"
370
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:255
371
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:253
372
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:322
373
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:332
 
 
374
  msgid "To uppercase"
375
  msgstr "Till versaler"
376
 
@@ -381,7 +443,9 @@ msgstr "Till versaler"
381
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:257
382
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:255
383
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:324
384
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:334
 
 
385
  msgid "Capitalize"
386
  msgstr "Stor begynnelsebokstav"
387
 
@@ -390,7 +454,9 @@ msgstr "Stor begynnelsebokstav"
390
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:187
391
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:181
392
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:236
393
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:242
 
 
394
  msgid "By name"
395
  msgstr "Efter namn"
396
 
@@ -399,7 +465,9 @@ msgstr "Efter namn"
399
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:189
400
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:183
401
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:238
402
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:244
 
 
403
  msgid "By slug"
404
  msgstr "Efter slug"
405
 
@@ -408,7 +476,9 @@ msgstr "Efter slug"
408
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:191
409
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:185
410
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:240
411
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:246
 
 
412
  msgid "By id"
413
  msgstr "Efter id"
414
 
@@ -417,7 +487,9 @@ msgstr "Efter id"
417
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:193
418
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:187
419
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:242
420
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:248
 
 
421
  msgid "By color"
422
  msgstr "Efter färg"
423
 
@@ -426,7 +498,9 @@ msgstr "Efter färg"
426
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:199
427
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:193
428
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:248
429
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:254
 
 
430
  msgid "Case sensitive"
431
  msgstr "Skiftlägeskänsligt"
432
 
@@ -440,6 +514,8 @@ msgstr "Skriv antingen namn eller IDn på de taggar du vill exkludera"
440
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:28
441
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:28
442
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:28
 
 
443
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:28
444
  msgid "Tag Cloud"
445
  msgstr "Taggmoln"
@@ -447,20 +523,26 @@ msgstr "Taggmoln"
447
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:475
448
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:479
449
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:724
450
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:744
 
 
451
  #, php-format
452
  msgid "%s topic"
453
  msgstr "%s ämne"
454
 
455
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:201
456
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:256
457
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:266
 
 
458
  msgid "Minimum number of posts: "
459
  msgstr "Minsta antal inlägg:"
460
 
461
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:203
462
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:258
463
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:268
 
 
464
  msgid "Tags with fewer posts than this will be automatically excluded."
465
  msgstr "Taggar med färre inlägg än detta kommer automatiskt att exkluderas."
466
 
@@ -469,59 +551,83 @@ msgid "Exclude these tags:"
469
  msgstr "Exkludera dessa taggar:"
470
 
471
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:261
472
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:271
 
 
473
  msgid "Include only ... "
474
  msgstr "Inkludera endast ..."
475
 
476
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:263
477
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:273
 
 
478
  msgid "Exclude ... "
479
  msgstr "Exclude ..."
480
 
481
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:265
482
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:275
 
 
483
  msgid "... these tags:"
484
  msgstr "... dessa taggar:"
485
 
486
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:267
487
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:277
 
 
488
  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."
489
  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."
490
 
491
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:271
492
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:281
 
 
493
  msgid "Basic appearance"
494
  msgstr "Grundläggande utseende"
495
 
496
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:304
497
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:314
 
 
498
  msgid "Adv. appearance"
499
  msgstr "Avancerat utseende"
500
 
501
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:306
502
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:316
 
 
503
  msgid "This is a title"
504
  msgstr "Detta är en titel"
505
 
506
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:306
507
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:316
 
 
508
  msgid "Show title (hover text)"
509
  msgstr "Visa titel"
510
 
511
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:313
512
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:323
 
 
513
  msgid "Between tags:"
514
  msgstr "Mellan taggar:"
515
 
516
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:328
517
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:338
 
 
518
  msgid "Link CSS styles"
519
  msgstr "Länkars CSS-stil"
520
 
521
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:330
522
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:378
523
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:340
524
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:388
 
 
 
 
525
  msgid "Underline"
526
  msgstr "Understreck"
527
 
@@ -531,12 +637,24 @@ msgstr "Understreck"
531
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:380
532
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:388
533
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:396
534
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:342
535
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:350
536
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:358
537
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:390
538
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:398
539
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:406
 
 
 
 
 
 
 
 
 
 
 
 
540
  msgid "Yes"
541
  msgstr "Yes"
542
 
@@ -546,12 +664,24 @@ msgstr "Yes"
546
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:382
547
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:390
548
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:398
549
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:344
550
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:352
551
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:360
552
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:392
553
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:400
554
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:408
 
 
 
 
 
 
 
 
 
 
 
 
555
  msgid "No"
556
  msgstr "Nej"
557
 
@@ -561,133 +691,225 @@ msgstr "Nej"
561
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:384
562
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:392
563
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:400
564
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:346
565
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:354
566
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:362
567
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:394
568
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:402
569
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:410
 
 
 
 
 
 
 
 
 
 
 
 
570
  msgid "Theme default"
571
  msgstr "Följ temats standard"
572
 
573
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:338
574
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:386
575
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:348
576
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:396
 
 
 
 
577
  msgid "Bold"
578
  msgstr "Fetstilt"
579
 
580
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:346
581
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:394
582
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:356
583
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:404
 
 
 
 
584
  msgid "Italic"
585
  msgstr "Kursiv stil"
586
 
587
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:354
588
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:402
589
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:364
590
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:412
 
 
 
 
591
  msgid "Background color (hex value):"
592
  msgstr "Bakgrundsfärgen (hexadecimalt värde)"
593
 
594
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:357
595
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:405
596
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:367
597
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:415
 
 
 
 
598
  msgid "Border"
599
  msgstr "Kantlinje"
600
 
601
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:358
602
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:406
603
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:368
604
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:416
 
 
 
 
605
  msgid "Style: "
606
  msgstr "Stil:"
607
 
608
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:361
609
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:409
610
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:371
611
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:419
 
 
 
 
612
  msgid "Dotted"
613
  msgstr "Prickig"
614
 
615
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:362
616
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:410
617
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:372
618
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:420
 
 
 
 
619
  msgid "Dashed"
620
  msgstr "Streckad"
621
 
622
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:363
623
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:411
624
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:373
625
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:421
 
 
 
 
626
  msgid "Solid"
627
  msgstr "Solid"
628
 
629
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:364
630
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:412
631
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:374
632
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:422
 
 
 
 
633
  msgid "Double"
634
  msgstr "Dubbel"
635
 
636
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:365
637
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:413
638
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:375
639
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:423
 
 
 
 
640
  msgid "Groove"
641
  msgstr "Groovy"
642
 
643
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:366
644
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:414
645
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:376
646
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:424
 
 
 
 
647
  msgid "Ridge"
648
  msgstr "Räfflad"
649
 
650
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:367
651
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:415
652
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:377
653
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:425
 
 
 
 
654
  msgid "Inset"
655
  msgstr "Infälld"
656
 
657
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:368
658
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:416
659
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:378
660
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:426
 
 
 
 
661
  msgid "Outset"
662
  msgstr "Utfälld"
663
 
664
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:371
665
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:419
666
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:381
667
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:429
 
 
 
 
668
  msgid "Width (in px):"
669
  msgstr "Bredd (i px):"
670
 
671
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:374
672
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:422
673
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:384
674
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:432
 
 
 
 
675
  msgid "Color (hex value): "
676
  msgstr "Färg (hexadecimalt värde):"
677
 
678
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:262
 
 
679
  msgid "Include tags from pages"
680
  msgstr "Inkludera taggar från sidor"
681
 
682
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:263
 
 
683
  msgid "Tagging pages is not a native feature of WordPress, you can use this feature together with the <a href=\"http://wordpress.org/extend/plugins/page-tagger/\" target=\"_blank\">page tagger plugin</a>"
684
  msgstr "Att tagga sidor är inte en standardfunktion i WordPress, du kan använda denna funktion tillsammans med pluginen <a href=\"http://wordpress.org/extend/plugins/page-tagger/\" target=\"_blank\">page tagger</a>"
685
 
686
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:439
 
 
687
  msgid "Include debug output"
688
  msgstr "Inkludera felsökningsinformation"
689
 
690
- #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:440
 
 
691
  msgid "This will add a &lt;-- HTML comment --&gt; to the output with some debugging information, please use this information when troubleshooting. You can find the debugging information by using 'view source' in your browser when viewing the page and searching for 'Ultimate Tag Cloud Debug information'"
692
  msgstr "Detta kommer att lägga till en &lt;-- HTML kommentar --&gt; till utskriften med felsökningsinformation, vänligen använd denna information om problem skulle uppstå. Du kan hitta informationen genom att använda \"visa källa\" i din webbläsare när du besöker sidan, och söka efter 'Ultimate Tag Cloud Debug information'"
693
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  msgstr ""
3
  "Project-Id-Version: Ultimate Tag Cloud Widget\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2011-06-11 23:26+0100\n"
6
+ "PO-Revision-Date: 2011-06-11 23:27+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"
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/tags/1.3.3/ultimate-tag-cloud-widget.php:81
26
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:83
27
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:84
28
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:86
29
  msgid "Highly configurable tag cloud"
30
  msgstr "Ett mycket konfigurerbart taggmoln"
31
 
36
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:61
37
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:63
38
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:82
39
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:84
40
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:85
41
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:87
42
  msgid "Ultimate Tag Cloud"
43
  msgstr "Ultimate Tag Cloud"
44
 
57
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:176
58
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:170
59
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:225
60
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:231
61
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:232
62
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:238
63
  msgid "Data"
64
  msgstr "Data"
65
 
70
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:177
71
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:171
72
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:226
73
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:232
74
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:233
75
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:239
76
  msgid "Authors:"
77
  msgstr "Författare:"
78
 
83
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:183
84
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:177
85
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:232
86
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:238
87
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:239
88
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:245
89
  msgid "Order:"
90
  msgstr "Ordning:"
91
 
96
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:185
97
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:179
98
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:234
99
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:240
100
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:241
101
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:247
102
  msgid "Random"
103
  msgstr "Slumpvis"
104
 
114
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:195
115
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:189
116
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:244
117
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:250
118
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:251
119
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:257
120
  msgid "Count"
121
  msgstr "Antal"
122
 
127
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:197
128
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:191
129
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:246
130
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:252
131
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:253
132
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:259
133
  msgid "Reverse order"
134
  msgstr "Omvänd ordning"
135
 
140
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:201
141
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:195
142
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:250
143
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:256
144
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:257
145
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:263
146
  msgid "Taxonomy:"
147
  msgstr "Taxonomi:"
148
 
153
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:203
154
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:197
155
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:252
156
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:258
157
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:259
158
  msgid "Post Tags"
159
  msgstr "Taggar"
160
 
165
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:204
166
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:198
167
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:253
168
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:259
169
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:260
170
  msgid "Categories"
171
  msgstr "Kategorier"
172
 
194
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:214
195
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:212
196
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:272
197
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:282
198
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:283
199
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:294
200
  msgid "Title:"
201
  msgstr "Titel"
202
 
207
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:217
208
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:215
209
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:275
210
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:285
211
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:286
212
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:297
213
  msgid "Tag size (in px):"
214
  msgstr "Taggstorlek (i px):"
215
 
227
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:237
228
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:276
229
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:297
230
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:286
231
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:307
232
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:287
233
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:308
234
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:298
235
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:319
236
  msgid "From"
237
  msgstr "Från"
238
 
250
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:238
251
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:278
252
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:298
253
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:288
254
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:308
255
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:289
256
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:309
257
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:300
258
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:320
259
  msgid "to"
260
  msgstr "till"
261
 
266
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:223
267
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:221
268
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:281
269
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:291
270
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:292
271
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:303
272
  msgid "Max tags:"
273
  msgstr "Max antal taggar:"
274
 
279
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:226
280
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:224
281
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:284
282
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:294
283
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:295
284
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:306
285
  msgid "Coloring:"
286
  msgstr "Färgläggning:"
287
 
294
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:286
295
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:360
296
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:408
297
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:296
298
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:370
299
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:418
300
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:297
301
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:371
302
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:419
303
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:308
304
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:384
305
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:432
306
  msgid "None"
307
  msgstr "Ingen"
308
 
313
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:230
314
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:228
315
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:288
316
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:298
317
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:299
318
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:310
319
  msgid "Totally random"
320
  msgstr "Helt slumpat"
321
 
326
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:232
327
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:230
328
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:290
329
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:300
330
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:301
331
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:312
332
  msgid "Random from preset values"
333
  msgstr "Slumpat mellan färger"
334
 
339
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:237
340
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:235
341
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:295
342
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:305
343
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:306
344
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:317
345
  msgid "Spanning between values"
346
  msgstr "Utspritt mellan två färger"
347
 
352
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:243
353
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:241
354
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:308
355
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:318
356
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:319
357
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:330
358
  msgid "Spacing (in px):"
359
  msgstr "Mellanrum (i px):"
360
 
365
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:244
366
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:242
367
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:309
368
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:319
369
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:320
370
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:331
371
  msgid "Between letters:"
372
  msgstr "Mellan bokstäver:"
373
 
378
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:246
379
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:244
380
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:311
381
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:321
382
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:322
383
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:333
384
  msgid "Between words:"
385
  msgstr "Mellan ord:"
386
 
391
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:249
392
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:247
393
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:316
394
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:326
395
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:327
396
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:340
397
  msgid "Transform tags:"
398
  msgstr "Omvandla taggar:"
399
 
404
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:251
405
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:249
406
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:318
407
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:328
408
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:329
409
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:342
410
  msgid "Off"
411
  msgstr "Inaktiverat"
412
 
417
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:253
418
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:251
419
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:320
420
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:330
421
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:331
422
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:344
423
  msgid "To lowercase"
424
  msgstr "Till gemener"
425
 
430
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:255
431
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:253
432
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:322
433
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:332
434
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:333
435
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:346
436
  msgid "To uppercase"
437
  msgstr "Till versaler"
438
 
443
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:257
444
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:255
445
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:324
446
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:334
447
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:335
448
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:348
449
  msgid "Capitalize"
450
  msgstr "Stor begynnelsebokstav"
451
 
454
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:187
455
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:181
456
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:236
457
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:242
458
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:243
459
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:249
460
  msgid "By name"
461
  msgstr "Efter namn"
462
 
465
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:189
466
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:183
467
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:238
468
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:244
469
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:245
470
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:251
471
  msgid "By slug"
472
  msgstr "Efter slug"
473
 
476
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:191
477
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:185
478
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:240
479
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:246
480
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:247
481
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:253
482
  msgid "By id"
483
  msgstr "Efter id"
484
 
487
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:193
488
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:187
489
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:242
490
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:248
491
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:249
492
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:255
493
  msgid "By color"
494
  msgstr "Efter färg"
495
 
498
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:199
499
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:193
500
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:248
501
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:254
502
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:255
503
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:261
504
  msgid "Case sensitive"
505
  msgstr "Skiftlägeskänsligt"
506
 
514
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:28
515
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:28
516
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:28
517
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:28
518
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:28
519
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:28
520
  msgid "Tag Cloud"
521
  msgstr "Taggmoln"
523
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.1/ultimate-tag-cloud-widget.php:475
524
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:479
525
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:724
526
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:744
527
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:762
528
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:783
529
  #, php-format
530
  msgid "%s topic"
531
  msgstr "%s ämne"
532
 
533
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:201
534
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:256
535
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:266
536
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:267
537
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:274
538
  msgid "Minimum number of posts: "
539
  msgstr "Minsta antal inlägg:"
540
 
541
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.2/ultimate-tag-cloud-widget.php:203
542
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:258
543
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:268
544
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:269
545
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:276
546
  msgid "Tags with fewer posts than this will be automatically excluded."
547
  msgstr "Taggar med färre inlägg än detta kommer automatiskt att exkluderas."
548
 
551
  msgstr "Exkludera dessa taggar:"
552
 
553
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:261
554
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:271
555
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:272
556
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:283
557
  msgid "Include only ... "
558
  msgstr "Inkludera endast ..."
559
 
560
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:263
561
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:273
562
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:274
563
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:285
564
  msgid "Exclude ... "
565
  msgstr "Exclude ..."
566
 
567
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:265
568
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:275
569
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:276
570
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:287
571
  msgid "... these tags:"
572
  msgstr "... dessa taggar:"
573
 
574
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:267
575
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:277
576
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:278
577
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:289
578
  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."
579
  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."
580
 
581
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:271
582
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:281
583
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:282
584
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:293
585
  msgid "Basic appearance"
586
  msgstr "Grundläggande utseende"
587
 
588
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:304
589
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:314
590
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:315
591
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:326
592
  msgid "Adv. appearance"
593
  msgstr "Avancerat utseende"
594
 
595
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:306
596
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:316
597
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:317
598
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:328
599
  msgid "This is a title"
600
  msgstr "Detta är en titel"
601
 
602
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:306
603
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:316
604
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:317
605
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:328
606
  msgid "Show title (hover text)"
607
  msgstr "Visa titel"
608
 
609
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:313
610
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:323
611
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:324
612
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:335
613
  msgid "Between tags:"
614
  msgstr "Mellan taggar:"
615
 
616
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:328
617
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:338
618
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:339
619
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:352
620
  msgid "Link CSS styles"
621
  msgstr "Länkars CSS-stil"
622
 
623
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:330
624
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:378
625
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:340
626
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:388
627
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:341
628
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:389
629
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:354
630
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:402
631
  msgid "Underline"
632
  msgstr "Understreck"
633
 
637
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:380
638
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:388
639
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:396
640
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:342
641
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:350
642
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:358
643
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:390
644
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:398
645
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:406
646
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:343
647
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:351
648
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:359
649
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:391
650
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:399
651
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:407
652
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:356
653
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:364
654
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:372
655
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:404
656
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:412
657
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:420
658
  msgid "Yes"
659
  msgstr "Yes"
660
 
664
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:382
665
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:390
666
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:398
667
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:344
668
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:352
669
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:360
670
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:392
671
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:400
672
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:408
673
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:345
674
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:353
675
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:361
676
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:393
677
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:401
678
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:409
679
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:358
680
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:366
681
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:374
682
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:406
683
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:414
684
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:422
685
  msgid "No"
686
  msgstr "Nej"
687
 
691
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:384
692
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:392
693
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:400
694
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:346
695
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:354
696
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:362
697
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:394
698
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:402
699
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:410
700
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:347
701
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:355
702
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:363
703
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:395
704
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:403
705
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:411
706
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:360
707
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:368
708
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:376
709
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:408
710
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:416
711
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:424
712
  msgid "Theme default"
713
  msgstr "Följ temats standard"
714
 
715
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:338
716
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:386
717
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:348
718
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:396
719
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:349
720
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:397
721
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:362
722
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:410
723
  msgid "Bold"
724
  msgstr "Fetstilt"
725
 
726
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:346
727
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:394
728
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:356
729
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:404
730
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:357
731
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:405
732
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:370
733
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:418
734
  msgid "Italic"
735
  msgstr "Kursiv stil"
736
 
737
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:354
738
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:402
739
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:364
740
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:412
741
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:365
742
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:413
743
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:378
744
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:426
745
  msgid "Background color (hex value):"
746
  msgstr "Bakgrundsfärgen (hexadecimalt värde)"
747
 
748
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:357
749
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:405
750
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:367
751
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:415
752
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:368
753
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:416
754
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:381
755
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:429
756
  msgid "Border"
757
  msgstr "Kantlinje"
758
 
759
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:358
760
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:406
761
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:368
762
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:416
763
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:369
764
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:417
765
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:382
766
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:430
767
  msgid "Style: "
768
  msgstr "Stil:"
769
 
770
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:361
771
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:409
772
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:371
773
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:419
774
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:372
775
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:420
776
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:385
777
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:433
778
  msgid "Dotted"
779
  msgstr "Prickig"
780
 
781
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:362
782
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:410
783
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:372
784
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:420
785
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:373
786
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:421
787
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:386
788
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:434
789
  msgid "Dashed"
790
  msgstr "Streckad"
791
 
792
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:363
793
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:411
794
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:373
795
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:421
796
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:374
797
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:422
798
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:387
799
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:435
800
  msgid "Solid"
801
  msgstr "Solid"
802
 
803
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:364
804
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:412
805
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:374
806
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:422
807
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:375
808
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:423
809
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:388
810
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:436
811
  msgid "Double"
812
  msgstr "Dubbel"
813
 
814
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:365
815
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:413
816
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:375
817
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:423
818
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:376
819
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:424
820
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:389
821
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:437
822
  msgid "Groove"
823
  msgstr "Groovy"
824
 
825
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:366
826
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:414
827
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:376
828
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:424
829
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:377
830
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:425
831
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:390
832
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:438
833
  msgid "Ridge"
834
  msgstr "Räfflad"
835
 
836
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:367
837
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:415
838
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:377
839
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:425
840
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:378
841
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:426
842
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:391
843
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:439
844
  msgid "Inset"
845
  msgstr "Infälld"
846
 
847
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:368
848
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:416
849
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:378
850
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:426
851
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:379
852
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:427
853
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:392
854
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:440
855
  msgid "Outset"
856
  msgstr "Utfälld"
857
 
858
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:371
859
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:419
860
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:381
861
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:429
862
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:382
863
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:430
864
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:395
865
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:443
866
  msgid "Width (in px):"
867
  msgstr "Bredd (i px):"
868
 
869
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:374
870
  #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.3/ultimate-tag-cloud-widget.php:422
871
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:384
872
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:432
873
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:385
874
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:433
875
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:398
876
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:446
877
  msgid "Color (hex value): "
878
  msgstr "Färg (hexadecimalt värde):"
879
 
880
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:262
881
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:263
882
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:270
883
  msgid "Include tags from pages"
884
  msgstr "Inkludera taggar från sidor"
885
 
886
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:263
887
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:264
888
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:271
889
  msgid "Tagging pages is not a native feature of WordPress, you can use this feature together with the <a href=\"http://wordpress.org/extend/plugins/page-tagger/\" target=\"_blank\">page tagger plugin</a>"
890
  msgstr "Att tagga sidor är inte en standardfunktion i WordPress, du kan använda denna funktion tillsammans med pluginen <a href=\"http://wordpress.org/extend/plugins/page-tagger/\" target=\"_blank\">page tagger</a>"
891
 
892
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:439
893
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:440
894
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:452
895
  msgid "Include debug output"
896
  msgstr "Inkludera felsökningsinformation"
897
 
898
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.4/ultimate-tag-cloud-widget.php:440
899
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/tags/1.3.5/ultimate-tag-cloud-widget.php:441
900
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:453
901
  msgid "This will add a &lt;-- HTML comment --&gt; to the output with some debugging information, please use this information when troubleshooting. You can find the debugging information by using 'view source' in your browser when viewing the page and searching for 'Ultimate Tag Cloud Debug information'"
902
  msgstr "Detta kommer att lägga till en &lt;-- HTML kommentar --&gt; till utskriften med felsökningsinformation, vänligen använd denna information om problem skulle uppstå. Du kan hitta informationen genom att använda \"visa källa\" i din webbläsare när du besöker sidan, och söka efter 'Ultimate Tag Cloud Debug information'"
903
 
904
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:278
905
+ msgid "Posts max age:"
906
+ msgstr "Inläggens maxålder:"
907
+
908
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:280
909
+ msgid "The maximum number of days back to search for posts, zero means every post."
910
+ msgstr "Max antal dagar bakåt i tiden att söka efter inlägg, noll innebär alla inlägg."
911
+
912
+ #: /Users/rickard/serversites/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:337
913
+ msgid "Between rows:"
914
+ msgstr "Mellan rader:"
915
+
readme.txt CHANGED
@@ -3,7 +3,7 @@ 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.5
7
  Donate link: https://flattr.com/thing/112193/Ultimate-Tag-Cloud-Widget
8
 
9
  This plugin aims to be the most configurable tag cloud widget out there, able to suit all your wierd tag cloud needs.
@@ -18,10 +18,11 @@ This is the highly configurable tag cloud widget, current version supports the f
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
@@ -56,6 +57,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.5 =
60
 
61
  * Now also showing private posts when signed in.
@@ -102,6 +108,10 @@ This is a new plugin, haven't had any questions yet. If you have any, be sure to
102
 
103
  == Upgrade Notice ==
104
 
 
 
 
 
105
  = 1.3.5 =
106
 
107
  * Now also showing private posts when signed in.
@@ -165,11 +175,13 @@ Upon a request in the forums, you can now integrate the widget within your own t
165
  * tag_list (array of taxonomies, IDs or names to be included or excluded)
166
  * tag_list_type (include or exclude, defines how to handle the tag_list)
167
  * minimum (integer)
 
168
  * page_tags (boolean)
169
  * color_set (array of hex colors, like #fff or #ffffff)
170
  * letter_spacing (integer)
171
  * word_spacing (integer)
172
  * tag_spacing (integer)
 
173
  * color_span_from (hex color, like #fff or #ffffff)
174
  * color_span_to (hex color, dito)
175
  * case_sensitive (boolean)
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.6
7
  Donate link: https://flattr.com/thing/112193/Ultimate-Tag-Cloud-Widget
8
 
9
  This plugin aims to be the most configurable tag cloud widget out there, able to suit all your wierd tag cloud needs.
18
  * 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
+ * Number of days back to search for posts
22
  * Title
23
  * Size and color customization
24
  * Max amount of tags in your cloud
25
+ * Spacing between tags, letters, words and rows
26
  * Transform tags into lowercase, uppercase or Capitalize them
27
  * Can also show categories
28
  * Fully internationalized and translated into two languages
57
 
58
  == Changelog ==
59
 
60
+ = 1.3.6 =
61
+
62
+ * Added a setting for row spacing
63
+ * Added a setting for post age
64
+
65
  = 1.3.5 =
66
 
67
  * Now also showing private posts when signed in.
108
 
109
  == Upgrade Notice ==
110
 
111
+ = 1.3.6 =
112
+
113
+ * Added two new features; post age and row spacing
114
+
115
  = 1.3.5 =
116
 
117
  * Now also showing private posts when signed in.
175
  * tag_list (array of taxonomies, IDs or names to be included or excluded)
176
  * tag_list_type (include or exclude, defines how to handle the tag_list)
177
  * minimum (integer)
178
+ * days_old (integer)
179
  * page_tags (boolean)
180
  * color_set (array of hex colors, like #fff or #ffffff)
181
  * letter_spacing (integer)
182
  * word_spacing (integer)
183
  * tag_spacing (integer)
184
+ * line_height (integer)
185
  * color_span_from (hex color, like #fff or #ffffff)
186
  * color_span_to (hex color, dito)
187
  * case_sensitive (boolean)
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/ultimate-tag-cloud-widget/
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.5
7
  Author: Rickard Andersson
8
  Author URI: http://www.0x539.se
9
  License: GPLv2
@@ -37,7 +37,7 @@ DEFINE("UTCW_DEFAULT_LETTER_SPACING", "normal");
37
  DEFINE("UTCW_DEFAULT_WORD_SPACING", "normal");
38
  DEFINE("UTCW_DEFAULT_CASE", "off");
39
  DEFINE("UTCW_DEFAULT_CASE_SENSITIVE", false);
40
- 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");
@@ -57,10 +57,12 @@ DEFINE("UTCW_DEFAULT_HOVER_BORDER_COLOR", "none");
57
  DEFINE("UTCW_DEFAULT_TAG_SPACING", "auto");
58
  DEFINE("UTCW_DEFAULT_PAGE_TAGS", false);
59
  DEFINE("UTCW_DEFAULT_DEBUG", false);
 
 
60
 
61
  // Allowed values for miscellanious options in the widget
62
  $utcw_allowed_orders = array('random', 'name', 'slug', 'id', 'color', 'count');
63
- $utcw_allowed_taxonomys = array('post_tag', 'category');
64
  $utcw_allowed_colors = array('none', 'random', 'set', 'span');
65
  $utcw_allowed_cases = array('lowercase', 'uppercase', 'capitalize', 'off');
66
  $utcw_allowed_tags_list_types = array('exclude', 'include');
@@ -75,373 +77,383 @@ $utcw_allowed_border_styles = array('none', 'dotted', 'dashed', 'solid', 'doub
75
  * @todo Split functionality into different widgets, simple, advanced and content aware
76
  */
77
  class UTCW extends WP_Widget {
78
-
79
- /**
80
- * Constructor
81
- * @return void
82
- */
83
- function UTCW() {
84
- $options = array('description' => __("Highly configurable tag cloud", 'utcw'));
85
- parent::WP_Widget(false, __('Ultimate Tag Cloud', 'utcw'), $options);
86
- }
87
-
88
- /**
89
- * Action handler for the form in the admin panel
90
- * @param array $new_instance
91
- * @param array $old_instance
92
- * @retrn array
93
- */
94
- function update($new_instance, $old_instance) {
95
-
96
- global $utcw_allowed_orders,
97
- $utcw_allowed_taxonomys,
98
- $utcw_allowed_colors,
99
- $utcw_allowed_cases,
100
- $utcw_allowed_tags_list_types,
101
- $utcw_allowed_booleans,
102
- $utcw_allowed_border_styles;
103
-
104
-
105
- extract($new_instance);
106
-
107
- // Check all input values and set the default value if any value is invalid or empty
108
- $instance = $old_instance;
109
- $instance['title'] = strlen($title) > 0 ? apply_filters('widget_title', $title) : apply_filters('widget_title', UTCW_DEFAULT_TITLE);
110
- $instance['size_from'] = is_numeric($size_from) ? $size_from : UTCW_DEFAULT_SIZE_FROM;
111
- $instance['size_to'] = is_numeric($size_to) ? $size_to : UTCW_DEFAULT_SIZE_TO;
112
- $instance['max'] = is_numeric($max) ? $max : UTCW_DEFALUT_MAX;
113
- $instance['letter_spacing'] = is_numeric($letter_spacing) ? $letter_spacing : UTCW_DEFAULT_LETTER_SPACING;
114
- $instance['word_spacing'] = is_numeric($word_spacing) ? $word_spacing : UTCW_DEFAULT_WORD_SPACING;
115
- $instance['tag_spacing'] = is_numeric($tag_spacing) ? $tag_spacing : UTCW_DEFAULT_TAG_SPACING;
116
- $instance['minimum'] = is_numeric($minimum) ? $minimum : UTCW_DEFAULT_MINIMUM;
117
- $instance['hover_border_width'] = is_numeric($hover_border_width) ? $hover_border_width : UTCW_DEFAULT_HOVER_BORDER_WIDTH;
118
- $instance['link_border_width'] = is_numeric($link_border_width) ? $link_border_width : UTCW_DEFAULT_LINK_BORDER_WIDTH;
119
- $instance['reverse'] = ($reverse == "on");
120
- $instance['tags_list'] = strlen($tags_list) > 0 ? @explode(",", $tags_list) : array();
121
- $instance['color_set'] = strlen($color_set) > 0 ? @explode(",", $color_set) : array();
122
- $instance['authors'] = array();
123
- $instance['case_sensitive'] = ($case_sensitive == "on");
124
- $instance['page_tags'] = ($page_tags == "on");
125
- $instance['show_title'] = ($show_title == "on");
126
- $instance['debug'] = ($debug == "on");
127
-
128
- $instance['color_span_from'] = preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $color_span_from) > 0 ? $color_span_from : "";
129
- $instance['color_span_to'] = preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $color_span_to) > 0 ? $color_span_to : "";
130
- $instance['link_bg_color'] = preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $link_bg_color) > 0 ? $link_bg_color : "";
131
- $instance['link_border_color'] = preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $link_border_color) > 0 ? $link_border_color : "";
132
- $instance['hover_bg_color'] = preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $hover_bg_color) > 0 ? $hover_bg_color : "";
133
- $instance['hover_border_color'] = preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $hover_border_color) > 0 ? $hover_border_color : "";
134
-
135
- $instance['taxonomy'] = in_array($taxonomy, $utcw_allowed_taxonomys) ? $taxonomy : UTCW_DEFAULT_TAXONOMY;
136
- $instance['order'] = in_array($order, $utcw_allowed_orders) ? $order : UTCW_DEFAULT_ORDER;
137
- $instance['color'] = in_array($color, $utcw_allowed_colors) ? $color : UTCW_DEFAULT_COLOR;
138
- $instance['case'] = in_array($case, $utcw_allowed_cases) ? $case : UTCW_DEFAULT_CASE;
139
- $instance['tags_list_type'] = in_array($tags_list_type, $utcw_allowed_tags_list_types) ? $tags_list_type : UTCW_DEFAULT_TAGS_LIST_TYPE;
140
- $instance['link_underline'] = in_array($link_underline, $utcw_allowed_booleans) ? $link_underline : UTCW_DEFAULT_LINK_UNDERLINE;
141
- $instance['link_bold'] = in_array($link_bold, $utcw_allowed_booleans) ? $link_bold : UTCW_DEFAULT_LINK_BOLD;
142
- $instance['link_italic'] = in_array($link_italic, $utcw_allowed_booleans) ? $link_italic : UTCW_DEFAULT_LINK_ITALIC;
143
- $instance['link_border_style'] = in_array($link_border_style, $utcw_allowed_border_styles) ? $link_border_style : UTCW_DEFAULT_LINK_BORDER_STYLE;
144
- $instance['hover_underline'] = in_array($hover_underline, $utcw_allowed_booleans) ? $hover_underline : UTCW_DEFAULT_HOVER_UNDERLINE;
145
- $instance['hover_bold'] = in_array($hover_bold, $utcw_allowed_booleans) ? $hover_bold : UTCW_DEFAULT_HOVER_BOLD;
146
- $instance['hover_italic'] = in_array($hover_italic, $utcw_allowed_booleans) ? $hover_italic : UTCW_DEFAULT_HOVER_ITALIC;
147
- $instance['hover_border_style'] = in_array($hover_border_style, $utcw_allowed_border_styles) ? $hover_border_style : UTCW_DEFAULT_HOVER_BORDER_STYLE;
148
-
149
- // Only accept numeric authors (user ID)
150
- if (is_array($authors)) {
151
- foreach ($authors as $author) {
152
- if (is_numeric($author)) {
153
- $instance['authors'][] = $author;
154
- }
155
- }
156
- }
157
-
158
- // Remove spaces in the comma separated list
159
- foreach ($instance['tags_list'] as $key => $value) {
160
- $instance['tags_list'][$key] = trim($value);
161
- }
162
-
163
- // Only allow hexadecimal color values in the format #ffffff and #fff
164
- foreach ($instance['color_set'] as $key => $color) {
165
- if (preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $color) == 0) {
166
- unset($instance['color_set'][$key]);
167
- }
168
- }
169
-
170
- return $instance;
171
- }
172
-
173
- /**
174
- * Function for displaying the widget on the page
175
- * @param array $args
176
- * @param array $instance
177
- * @return void
178
- */
179
- function widget($args, $instance) {
180
- do_utcw(array_merge($instance, $args));
181
- }
182
-
183
- /**
184
- * Function for handling the widget control in admin panel
185
- * @param array $instance
186
- * @return void
187
- */
188
- function form($instance) {
189
-
190
- // Get stored preferences
191
- $title = esc_attr($instance['title']);
192
- $order = esc_attr($instance['order']);
193
- $size_from = esc_attr($instance['size_from']);
194
- $size_to = esc_attr($instance['size_to']);
195
- $max = esc_attr($instance['max']);
196
- $taxonomy = esc_attr($instance['taxonomy']);
197
- $color = esc_attr($instance['color']);
198
- $color_span_from = esc_attr($instance['color_span_from']);
199
- $color_span_to = esc_attr($instance['color_span_to']);
200
- $letter_spacing = esc_attr($instance['letter_spacing']);
201
- $word_spacing = esc_attr($instance['word_spacing']);
202
- $tag_spacing = esc_attr($instance['tag_spacing']);
203
- $case = esc_attr($instance['case']);
204
- $minimum = esc_attr($instance['minimum']);
205
- $tags_list = is_array($instance['tags_list']) ? $instance['tags_list'] : array();
206
- $tags_list_type = esc_attr($instance['tags_list_type']);
207
- $reverse = $instance['reverse'];
208
- $authors = is_array($instance['authors']) ? $instance['authors'] : array();
209
- $color_set = is_array($instance['color_set']) ? $instance['color_set'] : array();;
210
- $case_sensitive = $instance['case_sensitive'];
211
- $page_tags = $instance['page_tags'];
212
- $debug = $instance['debug'];
213
- $show_title = $instance['show_title'];
214
- $link_underline = $instance['link_underline'];
215
- $link_bold = $instance['link_bold'];
216
- $link_italic = $instance['link_italic'];
217
- $link_bg_color = esc_attr($instance['link_bg_color']);
218
- $link_border_width = esc_attr($instance['link_border_width']);
219
- $link_border_style = $instance['link_border_style'];
220
- $link_border_color = esc_attr($instance['link_border_color']);
221
- $hover_underline = $instance['hover_underline'];
222
- $hover_bold = $instance['hover_bold'];
223
- $hover_italic = $instance['hover_italic'];
224
- $hover_bg_color = esc_attr($instance['hover_bg_color']);
225
- $hover_border_width = esc_attr($instance['hover_border_width']);
226
- $hover_border_style = $instance['hover_border_style'];
227
- $hover_border_color = esc_attr($instance['hover_border_color']);
228
 
229
- // Content of the widget settings form
230
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
231
  <fieldset class="utcw">
232
  <legend><?php _e("Data", 'utcw'); ?></legend>
233
- <strong><?php _e("Authors:", 'utcw'); ?></strong><br/>
234
- <?php foreach (get_users_of_blog() as $user) : ?>
235
- <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"' : ""; ?> />
236
- <label for="<?php echo $this->get_field_id('author_' . $user->ID); ?>"><?php echo $user->user_login?></label><br/>
237
- <?php endforeach; ?>
238
- <br/>
239
- <strong><?php _e("Order:", 'utcw'); ?></strong><br/>
240
- <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" ' : ""; ?>/>
241
- <label for="<?php echo $this->get_field_id('order_random'); ?>"><?php _e("Random", 'utcw'); ?></label><br/>
242
- <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"' : ""; ?>/>
243
- <label for="<?php echo $this->get_field_id('order_name'); ?>"><?php _e("By name", 'utcw'); ?></label><br/>
244
- <input type="radio" name="<?php echo $this->get_field_name('order'); ?>" id="<?php echo $this->get_field_id('order_slug'); ?>" value="slug" <?php echo $order == "slug" ? ' checked="checked"' : ""; ?>/>
245
- <label for="<?php echo $this->get_field_id('order_slug'); ?>"><?php _e("By slug", 'utcw'); ?></label><br/>
246
- <input type="radio" name="<?php echo $this->get_field_name('order'); ?>" id="<?php echo $this->get_field_id('order_id'); ?>" value="id" <?php echo $order == "id" ? ' checked="checked"' : ""; ?>/>
247
- <label for="<?php echo $this->get_field_id('order_id'); ?>"><?php _e("By id", 'utcw'); ?></label><br/>
248
- <input type="radio" name="<?php echo $this->get_field_name('order'); ?>" id="<?php echo $this->get_field_id('order_color'); ?>" value="name" <?php echo $order == "color" ? ' checked="checked"' : ""; ?>/>
249
- <label for="<?php echo $this->get_field_id('order_color'); ?>"><?php _e("By color", 'utcw'); ?></label><br/>
250
- <input type="radio" name="<?php echo $this->get_field_name('order'); ?>" id="<?php echo $this->get_field_id('order_count'); ?>" value="count" <?php echo $order == "count" || strlen($order) == 0 ? ' checked="checked" ' : ""; ?>/>
251
- <label for="<?php echo $this->get_field_id('order_count'); ?>"><?php _e("Count", 'utcw'); ?></label><br/>
252
- <input type="checkbox" name="<?php echo $this->get_field_name('reverse'); ?>" id="<?php echo $this->get_field_id('reverse'); ?>" <?php echo $reverse === true ? ' checked="checked"' : ""; ?> />
253
- <label for="<?php echo $this->get_field_id('reverse'); ?>"><?php _e("Reverse order", 'utcw'); ?></label><br/>
254
- <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"' : ""; ?> />
255
- <label for="<?php echo $this->get_field_id('case_sensitive'); ?>"><?php _e("Case sensitive", 'utcw'); ?></label><br/>
256
- <br/>
257
- <strong><label for="<?php echo $this->get_field_id('taxonomy'); ?>"><?php _e("Taxonomy:", 'utcw'); ?></label></strong><br/>
258
- <select id="<?php echo $this->get_field_id('taxonomy'); ?>" name="<?php echo $this->get_field_name('taxonomy'); ?>">
259
- <option value="post_tag" <?php echo $taxonomy == "post_tag" || strlen($taxonomy) == 0 ? 'selected="selected"' : ""?>><?php _e("Post Tags", 'utcw'); ?></option>
260
- <option value="category" <?php echo $taxonomy == "category" ? 'selected="selected"' : ""?>><?php _e("Categories", 'utcw'); ?></option>
261
- </select><br/>
262
- <br/>
263
- <input type="checkbox" name="<?php echo $this->get_field_name('page_tags'); ?>" id="<?php echo $this->get_field_id('page_tags'); ?>" <?php echo $page_tags === true ? ' checked="checked"' : ""; ?> /><label for="<?php echo $this->get_field_id('page_tags'); ?>"><?php _e("Include tags from pages", 'utcw'); ?></label><br/>
264
- <small><?php _e('Tagging pages is not a native feature of WordPress, you can use this feature together with the <a href="http://wordpress.org/extend/plugins/page-tagger/" target="_blank">page tagger plugin</a>', 'utcw') ?></small>
265
- <br/>
266
- <br/>
267
- <strong><label for="<?php echo $this->get_field_id('minimum'); ?>"><?php _e("Minimum number of posts: ", 'utcw'); ?></label></strong>
268
- <input type="number" name="<?php echo $this->get_field_name('minimum'); ?>" id="<?php echo $this->get_field_id('minimum'); ?>" value="<?php echo $minimum; ?>" /><br/>
269
- <small><?php _e("Tags with fewer posts than this will be automatically excluded.", 'utcw'); ?></small><br/>
270
- <br/>
271
- <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" ' : ""; ?>/>
272
- <label for="<?php echo $this->get_field_id('tags_list_type_include'); ?>"><?php _e("Include only ... ", 'utcw'); ?></label> <br/>
273
- <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" ' : ""; ?>/>
274
- <label for="<?php echo $this->get_field_id('tags_list_type_exclude'); ?>"><?php _e("Exclude ... ", 'utcw'); ?></label> <br/>
275
-
276
- <label for="<?php echo $this->get_field_id('tags_list'); ?>"><?php _e("... these tags:", 'utcw'); ?></label><br/>
277
- <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/>
278
- <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/>
 
 
 
 
 
279
  </fieldset>
280
-
281
  <fieldset class="utcw">
282
- <legend><?php _e("Basic appearance", 'utcw'); ?></legend>
283
- <strong><label for="<?php echo $this->get_field_id('title');?>"><?php _e("Title:", 'utcw') ?></label></strong><br/>
284
- <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/>
285
- <br/>
286
- <strong><?php _e("Tag size (in px):", 'utcw'); ?></strong><br/>
287
- <label for="<?php echo $this->get_field_id('size_from'); ?>"><?php _e("From", 'utcw'); ?></label>
288
- <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?>" />
289
- <label for="<?php echo $this->get_field_id('size_to'); ?>"><?php _e("to", 'utcw'); ?></label>
290
- <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/>
291
- <br/>
292
- <strong><label for="<?php echo $this->get_field_id('max'); ?>"><?php _e("Max tags:", 'utcw'); ?></label></strong><br/>
293
- <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/>
294
- <br/>
295
- <strong><?php _e("Coloring:", 'utcw') ?></strong><br/>
296
- <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()" />
297
- <label for="<?php echo $this->get_field_id('color_none'); ?>"><?php _e("None", 'utcw'); ?></label><br/>
298
- <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()" />
299
- <label for="<?php echo $this->get_field_id('color_random'); ?>"><?php _e("Totally random", 'utcw'); ?></label><br/>
300
- <input type="radio" name="<?php echo $this->get_field_name('color'); ?>" id="<?php echo $this->get_field_id('color_set'); ?>" value="set" <?php echo $color == "set" ? 'checked="checked"' : ""; ?> onclick="javascript:utcw_change()" />
301
- <label for="<?php echo $this->get_field_id('color_set'); ?>"><?php _e("Random from preset values", 'utcw'); ?></label><br/>
302
- <div id="<?php echo $this->get_field_id('set_chooser'); ?>" <?php echo $color != "set" ? 'class="utcw-hidden"' : ""; ?>>
303
- <input type="text" name="<?php echo $this->get_field_name('color_set'); ?>" id="<?php echo $this->get_field_id('color_set_chooser'); ?>" value="<?php echo implode(",", $color_set) ?>" />
304
- </div>
305
- <input type="radio" name="<?php echo $this->get_field_name('color'); ?>" id="<?php echo $this->get_field_id('color_span'); ?>" value="span" <?php echo $color == "span" ? 'checked="checked"' : ""; ?> onclick="javascript:utcw_change()" />
306
- <label for="<?php echo $this->get_field_id('color_span'); ?>"><?php _e("Spanning between values", 'utcw'); ?></label><br/>
307
- <div id="<?php echo $this->get_field_id('span_chooser'); ?>" <?php echo $color != "span" ? 'class="utcw-hidden"' : ""; ?>>
308
- <?php _e("From", 'utcw'); ?> <input type="text" size="7" name="<?php echo $this->get_field_name('color_span_from'); ?>" id="<?php echo $this->get_field_id('color_span_from'); ?>" value="<?php echo $color_span_from?>" />
309
- <?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?>" />
310
- </div>
311
- <br/>
312
  </fieldset>
313
 
314
  <fieldset class="utcw">
315
- <legend><?php _e("Adv. appearance", "utcw") ?></legend>
316
- <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"' : ''?> />
317
- <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/>
318
- <br/>
319
- <strong><?php _e("Spacing (in px):", 'utcw'); ?></strong><br/>
320
- <label for="<?php echo $this->get_field_id('letter_spacing'); ?>"><?php _e("Between letters:", 'utcw'); ?></label>
321
- <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/>
322
- <label for="<?php echo $this->get_field_id('word_spacing'); ?>"><?php _e("Between words:", 'utcw'); ?></label>
323
- <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/>
324
- <label for="<?php echo $this->get_field_id('tag_spacing'); ?>"><?php _e("Between tags:", 'utcw') ; ?></label>
325
- <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/>
326
- <br/>
327
- <strong><?php _e("Transform tags:", 'utcw'); ?></strong><br/>
328
- <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"' : ""; ?> />
329
- <label for="<?php echo $this->get_field_id('text_transform_off'); ?>"><?php _e("Off", 'utcw'); ?></label><br/>
330
- <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"' : ""; ?> />
331
- <label for="<?php echo $this->get_field_id('text_transform_lowercase'); ?>"><?php _e("To lowercase", 'utcw'); ?></label><br/>
332
- <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"' : ""; ?> />
333
- <label for="<?php echo $this->get_field_id('text_transform_uppercase'); ?>"><?php _e("To uppercase", 'utcw'); ?></label><br/>
334
- <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"' : ""; ?> />
335
- <label for="<?php echo $this->get_field_id('text_transform_capitalize'); ?>"><?php _e("Capitalize", 'utcw'); ?></label><br/>
 
 
336
  </fieldset>
337
 
338
  <fieldset class="utcw">
339
- <legend><?php _e("Link CSS styles", "utcw") ?></legend>
340
- <h3>Normal styles</h3>
341
- <strong><?php _e("Underline", "utcw"); ?></strong><br/>
342
- <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"' : '' ?> />
343
- <label for="<?php echo $this->get_field_id('link_underline_yes') ?>"><?php _e("Yes", "utcw") ?></label><br/>
344
- <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"' : '' ?> />
345
- <label for="<?php echo $this->get_field_id('link_underline_no') ?>"><?php _e("No", "utcw") ?></label><br/>
346
- <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"' : '' ?> />
347
- <label for="<?php echo $this->get_field_id('link_underline_default') ?>"><?php _e("Theme default", "utcw") ?></label><br/>
348
- <br/>
349
- <strong><?php _e("Bold", "utcw"); ?></strong><br/>
350
- <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"' : '' ?> />
351
- <label for="<?php echo $this->get_field_id('link_bold_yes') ?>"><?php _e("Yes", "utcw") ?></label><br/>
352
- <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"' : '' ?> />
353
- <label for="<?php echo $this->get_field_id('link_bold_no') ?>"><?php _e("No", "utcw") ?></label><br/>
354
- <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"' : '' ?> />
355
- <label for="<?php echo $this->get_field_id('link_bold_default') ?>"><?php _e("Theme default", "utcw") ?></label><br/>
356
- <br/>
357
- <strong><?php _e("Italic", "utcw"); ?></strong><br/>
358
- <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"' : '' ?> />
359
- <label for="<?php echo $this->get_field_id('link_italic_yes') ?>"><?php _e("Yes", "utcw") ?></label><br/>
360
- <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"' : '' ?> />
361
- <label for="<?php echo $this->get_field_id('link_italic_no') ?>"><?php _e("No", "utcw") ?></label><br/>
362
- <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"' : '' ?> />
363
- <label for="<?php echo $this->get_field_id('link_italic_default') ?>"><?php _e("Theme default", "utcw") ?></label><br/>
364
- <br/>
365
- <strong><label for="<?php $this->get_field_id('link_bg_color') ?>"><?php _e("Background color (hex value):", "utcw"); ?></label></strong><br/>
366
- <input type="text" name="<?php echo $this->get_field_name('link_bg_color') ?>" value="<?php echo $link_bg_color ?>" /><br/>
367
- <br/>
368
- <strong><?php _e("Border", "utcw"); ?></strong><br/>
369
- <label for="<?php echo $this->get_field_id('link_border_style') ?>"><?php _e("Style: ", "utcw") ?></label><br/>
370
- <select name="<?php echo $this->get_field_name('link_border_style') ?>" id="<?php echo $this->get_field_id('link_border_style') ?>">
371
- <option value="none" <?php echo $link_border_style == "none" ? 'selected="selected"' : '' ?>><?php _e("None", "utcw") ?></option>
372
- <option value="dotted" <?php echo $link_border_style == "dotted" ? 'selected="selected"' : '' ?>><?php _e("Dotted", "utcw") ?></option>
373
- <option value="dashed" <?php echo $link_border_style == "dashed" ? 'selected="selected"' : '' ?>><?php _e("Dashed", "utcw") ?></option>
374
- <option value="solid" <?php echo $link_border_style == "solid" ? 'selected="selected"' : '' ?>><?php _e("Solid", "utcw") ?></option>
375
- <option value="double" <?php echo $link_border_style == "double" ? 'selected="selected"' : '' ?>><?php _e("Double", "utcw") ?></option>
376
- <option value="groove" <?php echo $link_border_style == "groove" ? 'selected="selected"' : '' ?>><?php _e("Groove", "utcw") ?></option>
377
- <option value="ridge" <?php echo $link_border_style == "rigde" ? 'selected="selected"' : '' ?>><?php _e("Ridge", "utcw") ?></option>
378
- <option value="inset" <?php echo $link_border_style == "inset" ? 'selected="selected"' : '' ?>><?php _e("Inset", "utcw") ?></option>
379
- <option value="outset" <?php echo $link_border_style == "outset" ? 'selected="selected"' : '' ?>><?php _e("Outset", "utcw") ?></option>
380
- </select><br/>
381
- <br/>
382
- <label for="<?php echo $this->get_field_id("link_border_width", "utcw") ?>"><?php _e("Width (in px):", "utcw") ?></label><br/>
383
- <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/>
384
- <br/>
385
- <label for="<?php echo $this->get_field_id("link_border_color", "utcw") ?>"><?php _e("Color (hex value): ", "utcw") ?></label><br/>
386
- <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/>
387
-
388
- <h3>Hover effects</h3>
389
- <strong><?php _e("Underline", "utcw"); ?></strong><br/>
390
- <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"' : '' ?> />
391
- <label for="<?php echo $this->get_field_id('hover_underline_yes') ?>"><?php _e("Yes", "utcw") ?></label><br/>
392
- <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"' : '' ?> />
393
- <label for="<?php echo $this->get_field_id('hover_underline_no') ?>"><?php _e("No", "utcw") ?></label><br/>
394
- <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"' : '' ?> />
395
- <label for="<?php echo $this->get_field_id('hover_underline_default') ?>"><?php _e("Theme default", "utcw") ?></label><br/>
396
- <br/>
397
- <strong><?php _e("Bold", "utcw"); ?></strong><br/>
398
- <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"' : '' ?> />
399
- <label for="<?php echo $this->get_field_id('hover_bold_yes') ?>"><?php _e("Yes", "utcw") ?></label><br/>
400
- <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"' : '' ?> />
401
- <label for="<?php echo $this->get_field_id('hover_bold_no') ?>"><?php _e("No", "utcw") ?></label><br/>
402
- <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"' : '' ?> />
403
- <label for="<?php echo $this->get_field_id('hover_bold_default') ?>"><?php _e("Theme default", "utcw") ?></label><br/>
404
- <br/>
405
- <strong><?php _e("Italic", "utcw"); ?></strong><br/>
406
- <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"' : '' ?> />
407
- <label for="<?php echo $this->get_field_id('hover_italic_yes') ?>"><?php _e("Yes", "utcw") ?></label><br/>
408
- <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"' : '' ?> />
409
- <label for="<?php echo $this->get_field_id('hover_italic_no') ?>"><?php _e("No", "utcw") ?></label><br/>
410
- <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"' : '' ?> />
411
- <label for="<?php echo $this->get_field_id('hover_italic_default') ?>"><?php _e("Theme default", "utcw") ?></label><br/>
412
- <br/>
413
- <strong><label for="<?php $this->get_field_id('hover_bg_color') ?>"><?php _e("Background color (hex value):", "utcw"); ?></label></strong><br/>
414
- <input type="text" name="<?php echo $this->get_field_name('hover_bg_color') ?>" value="<?php echo $hover_bg_color ?>" /><br/>
415
- <br/>
416
- <strong><?php _e("Border", "utcw"); ?></strong><br/>
417
- <label for="<?php echo $this->get_field_id('hover_border_style') ?>"><?php _e("Style: ", "utcw") ?></label><br/>
418
- <select name="<?php echo $this->get_field_name('hover_border_style') ?>" id="<?php echo $this->get_field_id('hover_border_style') ?>">
419
- <option value="none" <?php echo $hover_border_style == "none" ? 'selected="selected"' : '' ?>><?php _e("None", "utcw") ?></option>
420
- <option value="dotted" <?php echo $hover_border_style == "dotted" ? 'selected="selected"' : '' ?>><?php _e("Dotted", "utcw") ?></option>
421
- <option value="dashed" <?php echo $hover_border_style == "dashed" ? 'selected="selected"' : '' ?>><?php _e("Dashed", "utcw") ?></option>
422
- <option value="solid" <?php echo $hover_border_style == "solid" ? 'selected="selected"' : '' ?>><?php _e("Solid", "utcw") ?></option>
423
- <option value="double" <?php echo $hover_border_style == "double" ? 'selected="selected"' : '' ?>><?php _e("Double", "utcw") ?></option>
424
- <option value="groove" <?php echo $hover_border_style == "groove" ? 'selected="selected"' : '' ?>><?php _e("Groove", "utcw") ?></option>
425
- <option value="ridge" <?php echo $hover_border_style == "rigde" ? 'selected="selected"' : '' ?>><?php _e("Ridge", "utcw") ?></option>
426
- <option value="inset" <?php echo $hover_border_style == "inset" ? 'selected="selected"' : '' ?>><?php _e("Inset", "utcw") ?></option>
427
- <option value="outset" <?php echo $hover_border_style == "outset" ? 'selected="selected"' : '' ?>><?php _e("Outset", "utcw") ?></option>
428
- </select><br/>
429
- <br/>
430
- <label for="<?php echo $this->get_field_id("hover_border_width", "utcw") ?>"><?php _e("Width (in px):", "utcw") ?></label><br/>
431
- <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/>
432
- <br/>
433
- <label for="<?php echo $this->get_field_id("hover_border_color", "utcw") ?>"><?php _e("Color (hex value): ", "utcw") ?></label><br/>
434
- <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/>
435
-
436
  </fieldset>
437
  <fieldset class="utcw">
438
  <legend>Advanced</legend>
439
  <input type="checkbox" name="<?php echo $this->get_field_name('debug') ?>" id="<?php echo $this->get_field_id('debug') ?>" <?php echo ($debug === true) ? 'checked="checked"' : '' ?> />
440
- <label for="<?php echo $this->get_field_id('debug') ?>"><?php _e("Include debug output")?></label><br/>
441
  <small><?php _e("This will add a &lt;-- HTML comment --&gt; to the output with some debugging information, please use this information when troubleshooting. You can find the debugging information by using 'view source' in your browser when viewing the page and searching for 'Ultimate Tag Cloud Debug information'", 'utcw')?></small>
442
  </fieldset>
443
  <?php
444
- }
445
  }
446
 
447
  /**
@@ -449,332 +461,341 @@ class UTCW extends WP_Widget {
449
  * @param array $args An array with widget settings. See {@link http://wordpress.org/extend/plugins/ultimate-tag-cloud-widget/other_notes/} for details on which options you can set.
450
  * @return void
451
  */
452
-
453
  function do_utcw($args) {
454
 
455
- global $wpdb;
456
-
457
- extract($args);
458
-
459
- global $utcw_allowed_orders,
460
- $utcw_allowed_taxonomys,
461
- $utcw_allowed_colors,
462
- $utcw_allowed_cases,
463
- $utcw_allowed_tags_list_types,
464
- $utcw_allowed_booleans,
465
- $utcw_allowed_border_styles;
466
-
467
- // Parse settings from $instance and set default values where empty or invalid
468
- $title = strlen($title) > 0 ? $title : UTCW_DEFAULT_TITLE;
469
- $size_from = is_numeric($size_from) ? $size_from : UTCW_DEFAULT_SIZE_FROM;
470
- $size_to = is_numeric($size_to) ? $size_to : UTCW_DEFAULT_SIZE_TO;
471
- $max = is_numeric($max) ? $max : UTCW_DEFAULT_MAX;
472
- $reverse = is_bool($reverse) ? $reverse : UTCW_DEFAULT_REVERSE;
473
- $minimum = is_numeric($minimum) ? $minimum : UTCW_DEFAULT_MINIMUM;
474
- $authors = is_array($authors) ? $authors : array();
475
- $tags_list = is_array($tags_list) ? $tags_list : array();
476
- $color_set = is_array($color_set) ? $color_set : array();
477
- $letter_spacing = is_numeric($letter_spacing) ? $letter_spacing . "px" : UTCW_DEFAULT_LETTER_SPACING;
478
- $word_spacing = is_numeric($word_spacing) ? $word_spacing . "px" : UTCW_DEFAULT_WORD_SPACING;
479
- $tag_spacing = is_numeric($tag_spacing) ? $tag_spacing . "px" : UTCW_DEFAULT_TAG_SPACING;
480
- $color_span_from = is_string($color_span_from) ? $color_span_from : "";
481
- $color_span_to = is_string($color_span_to) ? $color_span_to : "";
482
- $case_sensitive = is_bool($case_sensitive) ? $case_sensitive : UTCW_DEFAULT_CASE_SENSITIVE;
483
- $page_tags = is_bool($page_tags) ? $page_tags : UTCW_DEFAULT_PAGE_TAGS;
484
- $show_title = is_bool($show_title) ? $show_title : UTCW_DEFAULT_SHOW_TITLE;
485
- $link_bg_color = is_string($link_bg_color) ? $link_bg_color : UTCW_DEFAULT_BG_COLOR;
486
- $link_border_width = is_numeric($link_border_width) ? $link_border_width . "px" : UTCW_DEFAULT_LINK_BORDER_WIDTH;
487
- $link_border_color = is_string($link_border_color) ? $link_border_color : UTCW_DEFAULT_LINK_BORDER_COLOR;
488
- $hover_bg_color = is_string($hover_bg_color) ? $hover_bg_color : UTCW_DEFAULT_BG_COLOR;
489
- $hover_border_width = is_numeric($hover_border_width) ? $hover_border_width . "px" : UTCW_DEFAULT_HOVER_BORDER_WIDTH;
490
- $hover_border_color = is_string($hover_border_color) ? $hover_border_color : UTCW_DEFAULT_HOVER_BORDER_COLOR;
491
-
492
- $order = in_array($order, $utcw_allowed_orders) ? $order : UTCW_DEFAULT_ORDER;
493
- $taxonomy = in_array($taxonomy, $utcw_allowed_taxonomys) ? $taxonomy : UTCW_DEFAULT_TAXONOMY;
494
- $color = in_array($color, $utcw_allowed_colors) ? $color : UTCW_DEFAULT_COLOR;
495
- $case = in_array($case, $utcw_allowed_cases) ? $case : UTCW_DEFAULT_CASE;
496
- $tags_list_type = in_array($tags_list_type, $utcw_allowed_tags_list_types) ? $tags_list_type : UTCW_DEFAULT_TAGS_LIST_TYPE;
497
- $link_underline = in_array($link_underline, $utcw_allowed_booleans) ? $link_underline : UTCW_DEFAULT_LINK_UNDERLINE;
498
- $link_bold = in_array($link_bold, $utcw_allowed_booleans) ? $link_bold : UTCW_DEFAULT_LINK_BOLD;
499
- $link_italic = in_array($link_italic, $utcw_allowed_booleans) ? $link_italic : UTCW_DEFAULT_LINK_ITALIC;
500
- $link_border_style = in_array($link_border_style, $utcw_allowed_border_styles) ? $link_border_style : UTCW_DEFAULT_LINK_BORDER_STYLE;
501
- $hover_underline = in_array($hover_underline, $utcw_allowed_booleans) ? $hover_underline : UTCW_DEFAULT_HOVER_UNDERLINE;
502
- $hover_bold = in_array($hover_bold, $utcw_allowed_booleans) ? $hover_bold : UTCW_DEFAULT_HOVER_BOLD;
503
- $hover_italic = in_array($hover_italic, $utcw_allowed_booleans) ? $hover_italic : UTCW_DEFAULT_HOVER_ITALIC;
504
- $hover_border_style = in_array($hover_border_style, $utcw_allowed_border_styles) ? $hover_border_style : UTCW_DEFAULT_HOVER_BORDER_STYLE;
505
-
506
- // Fallback values
507
- $counts = array();
508
- $tag_array = array();
509
-
510
- // Build SQL query
511
- $sql[] = "SELECT t.term_id, t.name, t.slug, COUNT(tr.term_taxonomy_id) AS `count`";
512
- $sql[] = "FROM `$wpdb->posts` AS p";
513
- $sql[] = "LEFT JOIN `$wpdb->term_relationships` AS tr ON tr.object_id = p.ID";
514
- $sql[] = "LEFT JOIN `$wpdb->term_taxonomy` AS tt ON tt.term_taxonomy_id = tr.term_taxonomy_id";
515
- $sql[] = "LEFT JOIN `$wpdb->terms` AS t ON t.term_id = tt.term_id";
516
- $sql[] = "WHERE tt.taxonomy = '$taxonomy'";
517
-
518
- // Setting post_type directive
519
- if ($page_tags === true) {
520
- $sql[] = "AND (post_type = 'post' OR post_type = 'page')";
521
- } else {
522
- $sql[] = "AND post_type = 'post'";
523
- }
524
-
525
- // Setting post status directive
526
- if (is_user_logged_in() === true) {
527
- $sql[] = "AND (post_status = 'publish' OR post_status = 'private')";
528
- } else {
529
- $sql[] = "AND post_status = 'publish'";
530
- }
531
-
532
- // Setting post author directive
533
- if (count($authors) > 0) {
534
- $sql[] = "AND post_author IN (" . implode(",", $authors) . ")";
535
- }
536
-
537
- // Setting include or exclude directive
538
- if (count($tags_list) > 0) {
539
-
540
- $tags_list_operator = ($tags_list_type == "include") ? "IN" : "NOT IN";
541
-
542
- if (is_array_numeric($tags_list)) {
543
- $sql[] = "AND t.term_id ". $tags_list_operator ." ('" . implode("', '", $tags_list) . "')";
544
- } else {
545
- $sql[] = "AND t.name ". $tags_list_operator ." ('" . implode("', '", $tags_list) . "')";
546
- }
547
- }
548
-
549
- // Setting minimum post count directive
550
- if (is_numeric($minimum)) {
551
- $sql[] = "GROUP BY tr.term_taxonomy_id HAVING count >= $minimum";
552
- } else {
553
- $sql[] = "GROUP BY tr.term_taxonomy_id";
554
- }
555
-
556
- $sql[] = "ORDER BY count DESC";
557
- $sql[] = "LIMIT $max";
558
-
559
- $query = implode("\n", $sql);
560
-
561
- $tag_data = $wpdb->get_results($query);
562
-
563
- if (count($tag_data) > 0) {
564
-
565
- // Extract counts and create an array to work with
566
- foreach ($tag_data as $tag) {
567
- $counts[] = $tag->count;
568
- $tag_array[] = array(
569
- 'term_id' => $tag->term_id,
570
- 'count' => $tag->count,
571
- 'slug' => $tag->slug,
572
- 'name' => $tag->name,
573
- 'link' => get_term_link(intval($tag->term_id), $taxonomy),
574
- 'color' => ""
575
- );
576
- }
577
-
578
- // Highest and lowest values
579
- $min_count = min($counts);
580
- $max_count = max($counts);
581
-
582
- // Get the step size
583
- $font_step = calc_step($min_count, $max_count, $size_from, $size_to);
584
-
585
- // Calculate sizes for all tags
586
- foreach ($tag_array as $key => $tag) {
587
- $tag_array[$key]['size'] = $size_from + ( ( $tag['count'] - $min_count ) * $font_step );
588
- }
589
-
590
- // Check the coloring preference, default is none
591
- switch ($color) {
592
-
593
- // Just get an randomized value, who would ever use this?!
594
- case "random":
595
- foreach ($tag_array as $key => $tag) {
596
- $tag_array[$key]['color'] = sprintf("#%s%s%s", dechex(rand() % 255), dechex(rand() % 255), dechex(rand() % 255));
597
- }
598
- break;
599
-
600
- // Select a random value from the preset colors
601
- case "set":
602
- if (is_array($color_set) && count($color_set) > 0) {
603
- foreach ($tag_array as $key => $tag) {
604
- $tag_array[$key]['color'] = $color_set[ array_rand($color_set) ];
605
- }
606
- }
607
- break;
608
-
609
- // Calculate colors in a span between two values
610
- case "span":
611
-
612
- // Check the color format, #fff or #fffff
613
- if (strlen($color_span_from) == 4) {
614
- $red_from = hexdec(sprintf("%s%s", $color_span_from[1], $color_span_from[1]));
615
- $green_from = hexdec(sprintf("%s%s", $color_span_from[2], $color_span_from[2]));
616
- $blue_from = hexdec(sprintf("%s%s", $color_span_from[3], $color_span_from[3]));
617
- } else {
618
- $red_from = hexdec(substr($color_span_from, 1, 2));
619
- $green_from = hexdec(substr($color_span_from, 3, 2));
620
- $blue_from = hexdec(substr($color_span_from, 5, 2));
621
- }
622
- if (strlen($color_span_to) == 4) {
623
- $red_to = hexdec(sprintf("%s%s", $color_span_to[1], $color_span_to[1]));
624
- $green_to = hexdec(sprintf("%s%s", $color_span_to[2], $color_span_to[2]));
625
- $blue_to = hexdec(sprintf("%s%s", $color_span_to[3], $color_span_to[3]));
626
- } else {
627
- $red_to = hexdec(substr($color_span_to, 1, 2));
628
- $green_to = hexdec(substr($color_span_to, 3, 2));
629
- $blue_to = hexdec(substr($color_span_to, 5, 2));
630
- }
631
-
632
- // Calculate steps for all the colors.
633
- $red_step = calc_step($min_count, $max_count, $red_from, $red_to);
634
- $green_step = calc_step($min_count, $max_count, $green_from, $green_to);
635
- $blue_step = calc_step($min_count, $max_count, $blue_from, $blue_to);
636
-
637
- // Iterate all tags and calculate their color
638
- foreach ($tag_array as $key => $tag) {
639
- $red = round($red_from + ( ( $tag['count'] - $min_count ) * $red_step ));
640
- $green = round($green_from + ( ( $tag['count'] - $min_count ) * $green_step ));
641
- $blue = round($blue_from + ( ( $tag['count'] - $min_count ) * $blue_step ));
642
-
643
- $tag_array[$key]['color'] = sprintf("rgb(%s,%s,%s)", $red, $green, $blue);
644
- }
645
- break;
646
- }
647
-
648
- // Check the ordering preference, default is name
649
- switch ($order) {
650
- case "random":
651
- shuffle($tag_array);
652
- break;
653
-
654
- case "count":
655
- usort($tag_array, 'utcw_cmp_count');
656
- break;
657
-
658
- case "slug";
659
- usort($tag_array, $case_sensitive === true ? 'utcw_cmp_slug' : 'utcw_icmp_slug');
660
- break;
661
-
662
- case "id":
663
- usort($tag_array, 'utcw_cmp_id');
664
- break;
665
-
666
- case "color":
667
- usort($tag_array, 'utcw_cmp_color');
668
- break;
669
-
670
- case "name":
671
- default:
672
- usort($tag_array, $case_sensitive === true ? 'utcw_cmp_name' : 'utcw_icmp_name');
673
- break;
674
- }
675
 
676
- // Reverse the list if the user prefers it that way. Reversing an random sorted result seems correct.
677
- if ($reverse === true) {
678
- $tag_array = array_reverse($tag_array);
679
- }
680
- }
681
-
682
- switch ($case) {
683
- case 'uppercase':
684
- $text_transform = 'text-transform: uppercase;';
685
- break;
686
-
687
- case 'lowercase':
688
- $text_transform = 'text-transform: lowercase;';
689
- break;
690
-
691
- case 'capitalize':
692
- $text_transform = 'text-transform: capitalize;';
693
- break;
694
-
695
- default:
696
- $text_transform = '';
697
- }
698
-
699
- // Print the tag cloud content
700
- echo $before_widget;
701
- echo $before_title . $title . $after_title;
702
-
703
- printf('<div class="widget_tag_cloud" style="letter-spacing:%s;word-spacing:%s;%s">', $letter_spacing, $word_spacing, $text_transform);
704
-
705
- $hover_style = "";
706
- $link_style = "";
707
-
708
- if ($link_underline != "default") {
709
- $link_style .= "text-decoration:" . ($link_underline == "yes" ? "underline !important;" : "none !important;");
710
- }
711
- if ($link_bold != "default") {
712
- $link_style .= "font-weight:" . ($link_bold == "yes" ? "bold !important;" : "normal !important;");
713
- }
714
- if ($link_italic != "default") {
715
- $link_style .= "font-style:" . ($link_italic == "yes" ? "italic !important;" : "normal !important;");
716
- }
717
- if ($link_bg_color != "transparent") {
718
- $link_style .= sprintf("background-color:%s !important;", $link_bg_color);
719
- }
720
- if (strlen($link_border_style) > 0) {
721
- $link_style .= sprintf("border-style:%s !important;", $link_border_style);
722
- }
723
- if (strlen($link_border_color) > 0) {
724
- $link_style .= sprintf("border-color:%s !important;", $link_border_color);
725
- }
726
- if (strlen($link_border_width) > 0) {
727
- $link_style .= sprintf("border-width:%s !important;", $link_border_width);
728
- }
729
-
730
- if ($hover_underline != "default") {
731
- $hover_style .= "text-decoration:" . ($hover_underline == "yes" ? "underline !important;" : "none !important;");
732
- }
733
- if ($hover_bold != "default") {
734
- $hover_style .= "font-weight:" . ($hover_bold == "yes" ? "bold !important;" : "normal !important;");
735
- }
736
- if ($hover_italic != "default") {
737
- $hover_style .= "font-style:" . ($hover_italic == "yes" ? "italic !important;" : "normal !important;");
738
- }
739
- if ($hover_bg_color != "transparent") {
740
- $hover_style .= sprintf("background-color:%s !important;", $hover_bg_color);
741
- }
742
- if (strlen($hover_border_style) > 0) {
743
- $hover_style .= sprintf("border-style:%s !important;", $hover_border_style);
744
- }
745
- if (strlen($hover_border_color) > 0) {
746
- $hover_style .= sprintf("border-color:%s !important;", $hover_border_color);
747
- }
748
- if (strlen($hover_border_width) > 0) {
749
- $hover_style .= sprintf("border-width:%s !important;", $hover_border_width);
750
- }
751
- if ($tag_spacing != "none") {
752
- $link_style .= sprintf("margin-right: %s !important;", $tag_spacing);
753
- }
754
-
755
- if (strlen($hover_style) > 0 || strlen($link_style)) {
756
- printf('<style type="text/css">.utcw-tag-link{%s}.utcw-tag-link:hover{%s}</style>', $link_style, $hover_style);
757
- }
758
-
759
- foreach ($tag_array as $tag) {
760
- extract($tag);
761
-
762
- $link_title = $show_title === true ? sprintf('title="' . _n("%s topic", "%s topics", $count) . '"', $count) : "";
763
-
764
- printf('<a class="utcw-tag-link tag-link-%s" href="%s" style="font-size:%spx;%s" %s>%s</a> ',
765
- $term_id, $link, $size, strlen($color) > 0 ? "color:$color;" : "", $link_title, $name);
766
- }
767
-
768
- echo "</div>";
769
-
770
- if ($debug === true) {
771
- echo "<!-- Ultimate Tag Cloud Debug information: "; var_dump($args);
772
- echo "\n\n SQL Query:" . $query;
773
- echo "\n\n Tag Data: "; var_dump($tag_data);
774
- echo "-->";
775
- }
776
-
777
- echo $after_widget;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
778
  }
779
 
780
  /**
@@ -786,23 +807,24 @@ function do_utcw($args) {
786
  * @return integer
787
  */
788
  function calc_step($min, $max, $from, $to) {
789
-
790
- // Thank you wordpress for this
791
- $spread = $max - $min;
792
- if ( $spread <= 0 )
793
- $spread = 1;
794
- $font_spread = $to - $from;
795
- if ( $font_spread < 0 && $negative === false)
796
- $font_spread = 1;
797
- $step = $font_spread / $spread;
798
-
799
- return $step;
800
  }
801
 
802
  load_plugin_textdomain('utcw', false, '/ultimate-tag-cloud-widget/language/');
803
 
804
  // Register widget with wordpress
805
  add_action('widgets_init', create_function('', 'return register_widget("UTCW");'));
 
806
 
807
  //Register scripts and css with wordpress
808
  wp_register_script('utcw-js', '/wp-content/plugins/ultimate-tag-cloud-widget/utcw.js', array('jquery'), "1.3", false);
@@ -810,11 +832,11 @@ wp_register_style('utcw-css', '/wp-content/plugins/ultimate-tag-cloud-widget/utc
810
 
811
  /**
812
  * Action handler for wordpress init used to attach scripts and styles
813
- * @return void
814
  */
815
  function utcw_init() {
816
- wp_enqueue_script('utcw-js');
817
- wp_enqueue_style('utcw-css');
818
  }
819
  add_action('init', 'utcw_init');
820
 
@@ -823,54 +845,63 @@ add_action('init', 'utcw_init');
823
  * Compare functions
824
  */
825
  function utcw_cmp_count($a, $b) {
826
- if ($a['count'] == $b['count']) {
827
- return 0;
828
- } else {
829
- return ($a['count'] < $b['count']) ? -1 : 1;
830
- }
831
  }
832
 
833
  function utcw_icmp_name($a, $b) {
834
- return strcasecmp($a['name'], $b['name']);
835
  }
836
 
837
  function utcw_cmp_name($a, $b) {
838
- return strcmp($a['name'], $b['name']);
839
  }
840
 
841
  function utcw_icmp_slug($a, $b) {
842
- return strcasecmp($a['slug'], $b['slug']);
843
  }
844
 
845
  function utcw_cmp_slug($a, $b) {
846
- return strcmp($a['slug'], $b['slug']);
847
  }
848
 
849
  function utcw_cmp_id($a, $b) {
850
- if ($a['term_id'] == $b['term_id']) {
851
- return 0;
852
- } else {
853
- return ($a['term_id'] < $b['term_id']) ? -1 : 1;
854
- }
855
  }
856
 
857
  function utcw_cmp_color($a, $b) {
858
- return strcasecmp($a['color'], $b['color']);
859
  }
860
 
861
  /**
862
  * Function for checking if every item within an array is a numeric value
863
- * @param arrau $array
864
  * @return boolean
865
  */
866
  function is_array_numeric($array) {
867
-
868
- foreach ($array as $item) {
869
- if (!is_numeric($item)) {
870
- return false;
871
- }
872
- }
873
-
874
- return true;
875
-
 
 
 
 
 
 
 
 
 
876
  }
3
  Plugin Name: Ultimate tag cloud widget
4
  Plugin URI: http://www.0x539.se/wordpress/ultimate-tag-cloud-widget/
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.6
7
  Author: Rickard Andersson
8
  Author URI: http://www.0x539.se
9
  License: GPLv2
37
  DEFINE("UTCW_DEFAULT_WORD_SPACING", "normal");
38
  DEFINE("UTCW_DEFAULT_CASE", "off");
39
  DEFINE("UTCW_DEFAULT_CASE_SENSITIVE", false);
40
+ DEFINE("UTCW_DEFAULT_MINIMUM", 1);
41
  DEFINE("UTCW_DEFAULT_TAGS_LIST_TYPE", "exclude");
42
  DEFINE("UTCW_DEFAULT_SHOW_TITLE", true);
43
  DEFINE("UTCW_DEFAULT_LINK_UNDERLINE", "default");
57
  DEFINE("UTCW_DEFAULT_TAG_SPACING", "auto");
58
  DEFINE("UTCW_DEFAULT_PAGE_TAGS", false);
59
  DEFINE("UTCW_DEFAULT_DEBUG", false);
60
+ DEFINE("UTCW_DEFAULT_DAYS_OLD", 0);
61
+ DEFINE("UTCW_DEFAULT_LINE_HEIGHT", "inherit");
62
 
63
  // Allowed values for miscellanious options in the widget
64
  $utcw_allowed_orders = array('random', 'name', 'slug', 'id', 'color', 'count');
65
+ $utcw_allowed_taxonomies = array(); // Will be set dynamically at load
66
  $utcw_allowed_colors = array('none', 'random', 'set', 'span');
67
  $utcw_allowed_cases = array('lowercase', 'uppercase', 'capitalize', 'off');
68
  $utcw_allowed_tags_list_types = array('exclude', 'include');
77
  * @todo Split functionality into different widgets, simple, advanced and content aware
78
  */
79
  class UTCW extends WP_Widget {
80
+
81
+ /**
82
+ * Constructor
83
+ * @return void
84
+ */
85
+ function UTCW() {
86
+ $options = array('description' => __("Highly configurable tag cloud", 'utcw'));
87
+ parent::WP_Widget(false, __('Ultimate Tag Cloud', 'utcw'), $options);
88
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
 
90
+ /**
91
+ * Action handler for the form in the admin panel
92
+ * @param array $new_instance
93
+ * @param array $old_instance
94
+ * @retrn array
95
+ */
96
+ function update($new_instance, $old_instance) {
97
+
98
+ global $utcw_allowed_orders,
99
+ $utcw_allowed_taxonomies,
100
+ $utcw_allowed_colors,
101
+ $utcw_allowed_cases,
102
+ $utcw_allowed_tags_list_types,
103
+ $utcw_allowed_booleans,
104
+ $utcw_allowed_border_styles;
105
+
106
+
107
+ extract($new_instance);
108
+
109
+ // Check all input values and set the default value if any value is invalid or empty
110
+ $instance = $old_instance;
111
+ $instance['title'] = strlen($title) > 0 ? apply_filters('widget_title', $title) : apply_filters('widget_title', UTCW_DEFAULT_TITLE);
112
+ $instance['size_from'] = is_numeric($size_from) ? $size_from : UTCW_DEFAULT_SIZE_FROM;
113
+ $instance['size_to'] = is_numeric($size_to) ? $size_to : UTCW_DEFAULT_SIZE_TO;
114
+ $instance['max'] = is_numeric($max) ? $max : UTCW_DEFALUT_MAX;
115
+ $instance['letter_spacing'] = is_numeric($letter_spacing) ? $letter_spacing : UTCW_DEFAULT_LETTER_SPACING;
116
+ $instance['word_spacing'] = is_numeric($word_spacing) ? $word_spacing : UTCW_DEFAULT_WORD_SPACING;
117
+ $instance['tag_spacing'] = is_numeric($tag_spacing) ? $tag_spacing : UTCW_DEFAULT_TAG_SPACING;
118
+ $instance['line_height'] = is_numeric($line_height) ? $line_height : UTCW_DEFAULT_LINE_HEIGHT;
119
+ $instance['minimum'] = is_numeric($minimum) ? $minimum : UTCW_DEFAULT_MINIMUM;
120
+ $instance['hover_border_width'] = is_numeric($hover_border_width) ? $hover_border_width : UTCW_DEFAULT_HOVER_BORDER_WIDTH;
121
+ $instance['link_border_width'] = is_numeric($link_border_width) ? $link_border_width : UTCW_DEFAULT_LINK_BORDER_WIDTH;
122
+ $instance['days_old'] = is_numeric($days_old) ? $days_old : UTCW_DEFAULT_DAYS_OLD;
123
+ $instance['reverse'] = ($reverse == "on");
124
+ $instance['tags_list'] = strlen($tags_list) > 0 ? @explode(",", $tags_list) : array();
125
+ $instance['color_set'] = strlen($color_set) > 0 ? @explode(",", $color_set) : array();
126
+ $instance['authors'] = array();
127
+ $instance['case_sensitive'] = ($case_sensitive == "on");
128
+ $instance['page_tags'] = ($page_tags == "on");
129
+ $instance['show_title'] = ($show_title == "on");
130
+ $instance['debug'] = ($debug == "on");
131
+
132
+ $instance['color_span_from'] = preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $color_span_from) > 0 ? $color_span_from : "";
133
+ $instance['color_span_to'] = preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $color_span_to) > 0 ? $color_span_to : "";
134
+ $instance['link_bg_color'] = preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $link_bg_color) > 0 ? $link_bg_color : "";
135
+ $instance['link_border_color'] = preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $link_border_color) > 0 ? $link_border_color : "";
136
+ $instance['hover_bg_color'] = preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $hover_bg_color) > 0 ? $hover_bg_color : "";
137
+ $instance['hover_border_color'] = preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $hover_border_color) > 0 ? $hover_border_color : "";
138
+
139
+ $instance['taxonomy'] = in_array($taxonomy, $utcw_allowed_taxonomies) ? $taxonomy : UTCW_DEFAULT_TAXONOMY;
140
+ $instance['order'] = in_array($order, $utcw_allowed_orders) ? $order : UTCW_DEFAULT_ORDER;
141
+ $instance['color'] = in_array($color, $utcw_allowed_colors) ? $color : UTCW_DEFAULT_COLOR;
142
+ $instance['case'] = in_array($case, $utcw_allowed_cases) ? $case : UTCW_DEFAULT_CASE;
143
+ $instance['tags_list_type'] = in_array($tags_list_type, $utcw_allowed_tags_list_types) ? $tags_list_type : UTCW_DEFAULT_TAGS_LIST_TYPE;
144
+ $instance['link_underline'] = in_array($link_underline, $utcw_allowed_booleans) ? $link_underline : UTCW_DEFAULT_LINK_UNDERLINE;
145
+ $instance['link_bold'] = in_array($link_bold, $utcw_allowed_booleans) ? $link_bold : UTCW_DEFAULT_LINK_BOLD;
146
+ $instance['link_italic'] = in_array($link_italic, $utcw_allowed_booleans) ? $link_italic : UTCW_DEFAULT_LINK_ITALIC;
147
+ $instance['link_border_style'] = in_array($link_border_style, $utcw_allowed_border_styles) ? $link_border_style : UTCW_DEFAULT_LINK_BORDER_STYLE;
148
+ $instance['hover_underline'] = in_array($hover_underline, $utcw_allowed_booleans) ? $hover_underline : UTCW_DEFAULT_HOVER_UNDERLINE;
149
+ $instance['hover_bold'] = in_array($hover_bold, $utcw_allowed_booleans) ? $hover_bold : UTCW_DEFAULT_HOVER_BOLD;
150
+ $instance['hover_italic'] = in_array($hover_italic, $utcw_allowed_booleans) ? $hover_italic : UTCW_DEFAULT_HOVER_ITALIC;
151
+ $instance['hover_border_style'] = in_array($hover_border_style, $utcw_allowed_border_styles) ? $hover_border_style : UTCW_DEFAULT_HOVER_BORDER_STYLE;
152
+
153
+ // Only accept numeric authors (user ID)
154
+ if (is_array($authors)) {
155
+ foreach ($authors as $author) {
156
+ if (is_numeric($author)) {
157
+ $instance['authors'][] = $author;
158
+ }
159
+ }
160
+ }
161
+
162
+ // Remove spaces in the comma separated list
163
+ foreach ($instance['tags_list'] as $key => $value) {
164
+ $instance['tags_list'][$key] = trim($value);
165
+ }
166
+
167
+ // Only allow hexadecimal color values in the format #ffffff and #fff
168
+ foreach ($instance['color_set'] as $key => $color) {
169
+ if (preg_match('/#([a-f0-9]{6}|[a-f0-9]{3})/i', $color) == 0) {
170
+ unset($instance['color_set'][$key]);
171
+ }
172
+ }
173
+
174
+ return $instance;
175
+ }
176
+
177
+ /**
178
+ * Function for displaying the widget on the page
179
+ * @param array $args
180
+ * @param array $instance
181
+ * @return void
182
+ */
183
+ function widget($args, $instance) {
184
+ do_utcw(array_merge($instance, $args));
185
+ }
186
+
187
+ /**
188
+ * Function for handling the widget control in admin panel
189
+ * @param array $instance
190
+ * @return void
191
+ */
192
+ function form($instance) {
193
+
194
+ // Get stored preferences
195
+ $title = esc_attr($instance['title']);
196
+ $order = esc_attr($instance['order']);
197
+ $size_from = esc_attr($instance['size_from']);
198
+ $size_to = esc_attr($instance['size_to']);
199
+ $max = esc_attr($instance['max']);
200
+ $taxonomy = esc_attr($instance['taxonomy']);
201
+ $color = esc_attr($instance['color']);
202
+ $color_span_from = esc_attr($instance['color_span_from']);
203
+ $color_span_to = esc_attr($instance['color_span_to']);
204
+ $letter_spacing = esc_attr($instance['letter_spacing']);
205
+ $word_spacing = esc_attr($instance['word_spacing']);
206
+ $tag_spacing = esc_attr($instance['tag_spacing']);
207
+ $case = esc_attr($instance['case']);
208
+ $minimum = esc_attr($instance['minimum']);
209
+ $tags_list = is_array($instance['tags_list']) ? $instance['tags_list'] : array();
210
+ $tags_list_type = esc_attr($instance['tags_list_type']);
211
+ $reverse = $instance['reverse'];
212
+ $authors = is_array($instance['authors']) ? $instance['authors'] : array();
213
+ $color_set = is_array($instance['color_set']) ? $instance['color_set'] : array();;
214
+ $case_sensitive = $instance['case_sensitive'];
215
+ $page_tags = $instance['page_tags'];
216
+ $debug = $instance['debug'];
217
+ $show_title = $instance['show_title'];
218
+ $link_underline = $instance['link_underline'];
219
+ $link_bold = $instance['link_bold'];
220
+ $link_italic = $instance['link_italic'];
221
+ $link_bg_color = esc_attr($instance['link_bg_color']);
222
+ $link_border_width = esc_attr($instance['link_border_width']);
223
+ $link_border_style = $instance['link_border_style'];
224
+ $link_border_color = esc_attr($instance['link_border_color']);
225
+ $hover_underline = $instance['hover_underline'];
226
+ $hover_bold = $instance['hover_bold'];
227
+ $hover_italic = $instance['hover_italic'];
228
+ $hover_bg_color = esc_attr($instance['hover_bg_color']);
229
+ $hover_border_width = esc_attr($instance['hover_border_width']);
230
+ $hover_border_style = $instance['hover_border_style'];
231
+ $hover_border_color = esc_attr($instance['hover_border_color']);
232
+ $days_old = esc_attr($instance['days_old']);
233
+ $line_height = esc_attr($instance['line_height']);
234
+
235
+ // Content of the widget settings form
236
+ ?>
237
  <fieldset class="utcw">
238
  <legend><?php _e("Data", 'utcw'); ?></legend>
239
+ <strong><?php _e("Authors:", 'utcw'); ?></strong><br/>
240
+ <?php foreach (get_users_of_blog() as $user) : ?>
241
+ <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"' : ""; ?> />
242
+ <label for="<?php echo $this->get_field_id('author_' . $user->ID); ?>"><?php echo $user->user_login?></label><br/>
243
+ <?php endforeach; ?>
244
+ <br/>
245
+ <strong><?php _e("Order:", 'utcw'); ?></strong><br/>
246
+ <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" ' : ""; ?>/>
247
+ <label for="<?php echo $this->get_field_id('order_random'); ?>"><?php _e("Random", 'utcw'); ?></label><br/>
248
+ <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"' : ""; ?>/>
249
+ <label for="<?php echo $this->get_field_id('order_name'); ?>"><?php _e("By name", 'utcw'); ?></label><br/>
250
+ <input type="radio" name="<?php echo $this->get_field_name('order'); ?>" id="<?php echo $this->get_field_id('order_slug'); ?>" value="slug" <?php echo $order == "slug" ? ' checked="checked"' : ""; ?>/>
251
+ <label for="<?php echo $this->get_field_id('order_slug'); ?>"><?php _e("By slug", 'utcw'); ?></label><br/>
252
+ <input type="radio" name="<?php echo $this->get_field_name('order'); ?>" id="<?php echo $this->get_field_id('order_id'); ?>" value="id" <?php echo $order == "id" ? ' checked="checked"' : ""; ?>/>
253
+ <label for="<?php echo $this->get_field_id('order_id'); ?>"><?php _e("By id", 'utcw'); ?></label><br/>
254
+ <input type="radio" name="<?php echo $this->get_field_name('order'); ?>" id="<?php echo $this->get_field_id('order_color'); ?>" value="name" <?php echo $order == "color" ? ' checked="checked"' : ""; ?>/>
255
+ <label for="<?php echo $this->get_field_id('order_color'); ?>"><?php _e("By color", 'utcw'); ?></label><br/>
256
+ <input type="radio" name="<?php echo $this->get_field_name('order'); ?>" id="<?php echo $this->get_field_id('order_count'); ?>" value="count" <?php echo $order == "count" || strlen($order) == 0 ? ' checked="checked" ' : ""; ?>/>
257
+ <label for="<?php echo $this->get_field_id('order_count'); ?>"><?php _e("Count", 'utcw'); ?></label><br/>
258
+ <input type="checkbox" name="<?php echo $this->get_field_name('reverse'); ?>" id="<?php echo $this->get_field_id('reverse'); ?>" <?php echo $reverse === true ? ' checked="checked"' : ""; ?> />
259
+ <label for="<?php echo $this->get_field_id('reverse'); ?>"><?php _e("Reverse order", 'utcw'); ?></label><br/>
260
+ <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"' : ""; ?> />
261
+ <label for="<?php echo $this->get_field_id('case_sensitive'); ?>"><?php _e("Case sensitive", 'utcw'); ?></label><br/>
262
+ <br/>
263
+ <strong><label for="<?php echo $this->get_field_id('taxonomy'); ?>"><?php _e("Taxonomy:", 'utcw'); ?></label></strong><br/>
264
+ <select id="<?php echo $this->get_field_id('taxonomy'); ?>" name="<?php echo $this->get_field_name('taxonomy'); ?>">
265
+ <?php foreach (get_object_taxonomies("post") as $t) : $data = get_taxonomy( $t ); ?>
266
+ <option value="<?php echo $t ?>" <?php echo $taxonomy == $t ? 'selected="selected"' : ""?>><?php echo $data->labels->name ?></option>
267
+ <?php endforeach; ?>
268
+ </select><br/>
269
+ <br/>
270
+ <input type="checkbox" name="<?php echo $this->get_field_name('page_tags'); ?>" id="<?php echo $this->get_field_id('page_tags'); ?>" <?php echo $page_tags === true ? ' checked="checked"' : ""; ?> /><label for="<?php echo $this->get_field_id('page_tags'); ?>"><?php _e("Include tags from pages", 'utcw'); ?></label><br/>
271
+ <small><?php _e('Tagging pages is not a native feature of WordPress, you can use this feature together with the <a href="http://wordpress.org/extend/plugins/page-tagger/" target="_blank">page tagger plugin</a>', 'utcw') ?></small>
272
+ <br/>
273
+ <br/>
274
+ <strong><label for="<?php echo $this->get_field_id('minimum'); ?>"><?php _e("Minimum number of posts: ", 'utcw'); ?></label></strong>
275
+ <input type="number" name="<?php echo $this->get_field_name('minimum'); ?>" id="<?php echo $this->get_field_id('minimum'); ?>" value="<?php echo $minimum; ?>" /><br/>
276
+ <small><?php _e("Tags with fewer posts than this will be automatically excluded.", 'utcw'); ?></small><br/>
277
+ <br/>
278
+ <strong><label for="<?php echo $this->get_field_id('days_old'); ?>"><?php _e("Posts max age:", 'utcw')?></label></strong>
279
+ <input type="number" name="<?php echo $this->get_field_name('days_old') ?>" id="<?php echo $this->get_field_id('days_old') ?>" value="<?php echo $days_old; ?>" /><br/>
280
+ <small><?php _e("The maximum number of days back to search for posts, zero means every post.", 'utcw')?></small><br/>
281
+ <br/>
282
+ <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" ' : ""; ?>/>
283
+ <label for="<?php echo $this->get_field_id('tags_list_type_include'); ?>"><?php _e("Include only ... ", 'utcw'); ?></label> <br/>
284
+ <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" ' : ""; ?>/>
285
+ <label for="<?php echo $this->get_field_id('tags_list_type_exclude'); ?>"><?php _e("Exclude ... ", 'utcw'); ?></label> <br/>
286
+
287
+ <label for="<?php echo $this->get_field_id('tags_list'); ?>"><?php _e("... these tags:", 'utcw'); ?></label><br/>
288
+ <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/>
289
+ <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/>
290
  </fieldset>
291
+
292
  <fieldset class="utcw">
293
+ <legend><?php _e("Basic appearance", 'utcw'); ?></legend>
294
+ <strong><label for="<?php echo $this->get_field_id('title');?>"><?php _e("Title:", 'utcw') ?></label></strong><br/>
295
+ <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/>
296
+ <br/>
297
+ <strong><?php _e("Tag size (in px):", 'utcw'); ?></strong><br/>
298
+ <label for="<?php echo $this->get_field_id('size_from'); ?>"><?php _e("From", 'utcw'); ?></label>
299
+ <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?>" />
300
+ <label for="<?php echo $this->get_field_id('size_to'); ?>"><?php _e("to", 'utcw'); ?></label>
301
+ <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/>
302
+ <br/>
303
+ <strong><label for="<?php echo $this->get_field_id('max'); ?>"><?php _e("Max tags:", 'utcw'); ?></label></strong><br/>
304
+ <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/>
305
+ <br/>
306
+ <strong><?php _e("Coloring:", 'utcw') ?></strong><br/>
307
+ <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()" />
308
+ <label for="<?php echo $this->get_field_id('color_none'); ?>"><?php _e("None", 'utcw'); ?></label><br/>
309
+ <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()" />
310
+ <label for="<?php echo $this->get_field_id('color_random'); ?>"><?php _e("Totally random", 'utcw'); ?></label><br/>
311
+ <input type="radio" name="<?php echo $this->get_field_name('color'); ?>" id="<?php echo $this->get_field_id('color_set'); ?>" value="set" <?php echo $color == "set" ? 'checked="checked"' : ""; ?> onclick="javascript:utcw_change()" />
312
+ <label for="<?php echo $this->get_field_id('color_set'); ?>"><?php _e("Random from preset values", 'utcw'); ?></label><br/>
313
+ <div id="<?php echo $this->get_field_id('set_chooser'); ?>" <?php echo $color != "set" ? 'class="utcw-hidden"' : ""; ?>>
314
+ <input type="text" name="<?php echo $this->get_field_name('color_set'); ?>" id="<?php echo $this->get_field_id('color_set_chooser'); ?>" value="<?php echo implode(",", $color_set) ?>" />
315
+ </div>
316
+ <input type="radio" name="<?php echo $this->get_field_name('color'); ?>" id="<?php echo $this->get_field_id('color_span'); ?>" value="span" <?php echo $color == "span" ? 'checked="checked"' : ""; ?> onclick="javascript:utcw_change()" />
317
+ <label for="<?php echo $this->get_field_id('color_span'); ?>"><?php _e("Spanning between values", 'utcw'); ?></label><br/>
318
+ <div id="<?php echo $this->get_field_id('span_chooser'); ?>" <?php echo $color != "span" ? 'class="utcw-hidden"' : ""; ?>>
319
+ <?php _e("From", 'utcw'); ?> <input type="text" size="7" name="<?php echo $this->get_field_name('color_span_from'); ?>" id="<?php echo $this->get_field_id('color_span_from'); ?>" value="<?php echo $color_span_from?>" />
320
+ <?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?>" />
321
+ </div>
322
+ <br/>
323
  </fieldset>
324
 
325
  <fieldset class="utcw">
326
+ <legend><?php _e("Adv. appearance", "utcw") ?></legend>
327
+ <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"' : ''?> />
328
+ <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/>
329
+ <br/>
330
+ <strong><?php _e("Spacing (in px):", 'utcw'); ?></strong><br/>
331
+ <label class="two-col" for="<?php echo $this->get_field_id('letter_spacing'); ?>"><?php _e("Between letters:", 'utcw'); ?></label>
332
+ <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/>
333
+ <label class="two-col" for="<?php echo $this->get_field_id('word_spacing'); ?>"><?php _e("Between words:", 'utcw'); ?></label>
334
+ <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/>
335
+ <label class="two-col" for="<?php echo $this->get_field_id('tag_spacing'); ?>"><?php _e("Between tags:", 'utcw'); ?></label>
336
+ <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/>
337
+ <label class="two-col" for="<?php echo $this->get_field_id('line_height'); ?>"><?php _e("Between rows:", 'utcw'); ?></label>
338
+ <input type="text" size="5" name="<?php echo $this->get_field_name('line_height'); ?>" id="<?php echo $this->get_field_id('line_height'); ?>" value="<?php echo strlen($line_height) > 0 ? $line_height : UTCW_DEFAULT_LINE_HEIGHT ?>" /><br/>
339
+ <br/>
340
+ <strong><?php _e("Transform tags:", 'utcw'); ?></strong><br/>
341
+ <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"' : ""; ?> />
342
+ <label for="<?php echo $this->get_field_id('text_transform_off'); ?>"><?php _e("Off", 'utcw'); ?></label><br/>
343
+ <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"' : ""; ?> />
344
+ <label for="<?php echo $this->get_field_id('text_transform_lowercase'); ?>"><?php _e("To lowercase", 'utcw'); ?></label><br/>
345
+ <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"' : ""; ?> />
346
+ <label for="<?php echo $this->get_field_id('text_transform_uppercase'); ?>"><?php _e("To uppercase", 'utcw'); ?></label><br/>
347
+ <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"' : ""; ?> />
348
+ <label for="<?php echo $this->get_field_id('text_transform_capitalize'); ?>"><?php _e("Capitalize", 'utcw'); ?></label><br/>
349
  </fieldset>
350
 
351
  <fieldset class="utcw">
352
+ <legend><?php _e("Link CSS styles", "utcw") ?></legend>
353
+ <h3>Normal styles</h3>
354
+ <strong><?php _e("Underline", "utcw"); ?></strong><br/>
355
+ <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"' : '' ?> />
356
+ <label for="<?php echo $this->get_field_id('link_underline_yes') ?>"><?php _e("Yes", "utcw") ?></label><br/>
357
+ <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"' : '' ?> />
358
+ <label for="<?php echo $this->get_field_id('link_underline_no') ?>"><?php _e("No", "utcw") ?></label><br/>
359
+ <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"' : '' ?> />
360
+ <label for="<?php echo $this->get_field_id('link_underline_default') ?>"><?php _e("Theme default", "utcw") ?></label><br/>
361
+ <br/>
362
+ <strong><?php _e("Bold", "utcw"); ?></strong><br/>
363
+ <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"' : '' ?> />
364
+ <label for="<?php echo $this->get_field_id('link_bold_yes') ?>"><?php _e("Yes", "utcw") ?></label><br/>
365
+ <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"' : '' ?> />
366
+ <label for="<?php echo $this->get_field_id('link_bold_no') ?>"><?php _e("No", "utcw") ?></label><br/>
367
+ <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"' : '' ?> />
368
+ <label for="<?php echo $this->get_field_id('link_bold_default') ?>"><?php _e("Theme default", "utcw") ?></label><br/>
369
+ <br/>
370
+ <strong><?php _e("Italic", "utcw"); ?></strong><br/>
371
+ <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"' : '' ?> />
372
+ <label for="<?php echo $this->get_field_id('link_italic_yes') ?>"><?php _e("Yes", "utcw") ?></label><br/>
373
+ <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"' : '' ?> />
374
+ <label for="<?php echo $this->get_field_id('link_italic_no') ?>"><?php _e("No", "utcw") ?></label><br/>
375
+ <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"' : '' ?> />
376
+ <label for="<?php echo $this->get_field_id('link_italic_default') ?>"><?php _e("Theme default", "utcw") ?></label><br/>
377
+ <br/>
378
+ <strong><label for="<?php $this->get_field_id('link_bg_color') ?>"><?php _e("Background color (hex value):", "utcw"); ?></label></strong><br/>
379
+ <input type="text" name="<?php echo $this->get_field_name('link_bg_color') ?>" value="<?php echo $link_bg_color ?>" /><br/>
380
+ <br/>
381
+ <strong><?php _e("Border", "utcw"); ?></strong><br/>
382
+ <label for="<?php echo $this->get_field_id('link_border_style') ?>"><?php _e("Style: ", "utcw") ?></label><br/>
383
+ <select name="<?php echo $this->get_field_name('link_border_style') ?>" id="<?php echo $this->get_field_id('link_border_style') ?>">
384
+ <option value="none" <?php echo $link_border_style == "none" ? 'selected="selected"' : '' ?>><?php _e("None", "utcw") ?></option>
385
+ <option value="dotted" <?php echo $link_border_style == "dotted" ? 'selected="selected"' : '' ?>><?php _e("Dotted", "utcw") ?></option>
386
+ <option value="dashed" <?php echo $link_border_style == "dashed" ? 'selected="selected"' : '' ?>><?php _e("Dashed", "utcw") ?></option>
387
+ <option value="solid" <?php echo $link_border_style == "solid" ? 'selected="selected"' : '' ?>><?php _e("Solid", "utcw") ?></option>
388
+ <option value="double" <?php echo $link_border_style == "double" ? 'selected="selected"' : '' ?>><?php _e("Double", "utcw") ?></option>
389
+ <option value="groove" <?php echo $link_border_style == "groove" ? 'selected="selected"' : '' ?>><?php _e("Groove", "utcw") ?></option>
390
+ <option value="ridge" <?php echo $link_border_style == "rigde" ? 'selected="selected"' : '' ?>><?php _e("Ridge", "utcw") ?></option>
391
+ <option value="inset" <?php echo $link_border_style == "inset" ? 'selected="selected"' : '' ?>><?php _e("Inset", "utcw") ?></option>
392
+ <option value="outset" <?php echo $link_border_style == "outset" ? 'selected="selected"' : '' ?>><?php _e("Outset", "utcw") ?></option>
393
+ </select><br/>
394
+ <br/>
395
+ <label for="<?php echo $this->get_field_id("link_border_width", "utcw") ?>"><?php _e("Width (in px):", "utcw") ?></label><br/>
396
+ <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/>
397
+ <br/>
398
+ <label for="<?php echo $this->get_field_id("link_border_color", "utcw") ?>"><?php _e("Color (hex value): ", "utcw") ?></label><br/>
399
+ <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/>
400
+
401
+ <h3>Hover effects</h3>
402
+ <strong><?php _e("Underline", "utcw"); ?></strong><br/>
403
+ <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"' : '' ?> />
404
+ <label for="<?php echo $this->get_field_id('hover_underline_yes') ?>"><?php _e("Yes", "utcw") ?></label><br/>
405
+ <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"' : '' ?> />
406
+ <label for="<?php echo $this->get_field_id('hover_underline_no') ?>"><?php _e("No", "utcw") ?></label><br/>
407
+ <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"' : '' ?> />
408
+ <label for="<?php echo $this->get_field_id('hover_underline_default') ?>"><?php _e("Theme default", "utcw") ?></label><br/>
409
+ <br/>
410
+ <strong><?php _e("Bold", "utcw"); ?></strong><br/>
411
+ <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"' : '' ?> />
412
+ <label for="<?php echo $this->get_field_id('hover_bold_yes') ?>"><?php _e("Yes", "utcw") ?></label><br/>
413
+ <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"' : '' ?> />
414
+ <label for="<?php echo $this->get_field_id('hover_bold_no') ?>"><?php _e("No", "utcw") ?></label><br/>
415
+ <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"' : '' ?> />
416
+ <label for="<?php echo $this->get_field_id('hover_bold_default') ?>"><?php _e("Theme default", "utcw") ?></label><br/>
417
+ <br/>
418
+ <strong><?php _e("Italic", "utcw"); ?></strong><br/>
419
+ <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"' : '' ?> />
420
+ <label for="<?php echo $this->get_field_id('hover_italic_yes') ?>"><?php _e("Yes", "utcw") ?></label><br/>
421
+ <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"' : '' ?> />
422
+ <label for="<?php echo $this->get_field_id('hover_italic_no') ?>"><?php _e("No", "utcw") ?></label><br/>
423
+ <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"' : '' ?> />
424
+ <label for="<?php echo $this->get_field_id('hover_italic_default') ?>"><?php _e("Theme default", "utcw") ?></label><br/>
425
+ <br/>
426
+ <strong><label for="<?php $this->get_field_id('hover_bg_color') ?>"><?php _e("Background color (hex value):", "utcw"); ?></label></strong><br/>
427
+ <input type="text" name="<?php echo $this->get_field_name('hover_bg_color') ?>" value="<?php echo $hover_bg_color ?>" /><br/>
428
+ <br/>
429
+ <strong><?php _e("Border", "utcw"); ?></strong><br/>
430
+ <label for="<?php echo $this->get_field_id('hover_border_style') ?>"><?php _e("Style: ", "utcw") ?></label><br/>
431
+ <select name="<?php echo $this->get_field_name('hover_border_style') ?>" id="<?php echo $this->get_field_id('hover_border_style') ?>">
432
+ <option value="none" <?php echo $hover_border_style == "none" ? 'selected="selected"' : '' ?>><?php _e("None", "utcw") ?></option>
433
+ <option value="dotted" <?php echo $hover_border_style == "dotted" ? 'selected="selected"' : '' ?>><?php _e("Dotted", "utcw") ?></option>
434
+ <option value="dashed" <?php echo $hover_border_style == "dashed" ? 'selected="selected"' : '' ?>><?php _e("Dashed", "utcw") ?></option>
435
+ <option value="solid" <?php echo $hover_border_style == "solid" ? 'selected="selected"' : '' ?>><?php _e("Solid", "utcw") ?></option>
436
+ <option value="double" <?php echo $hover_border_style == "double" ? 'selected="selected"' : '' ?>><?php _e("Double", "utcw") ?></option>
437
+ <option value="groove" <?php echo $hover_border_style == "groove" ? 'selected="selected"' : '' ?>><?php _e("Groove", "utcw") ?></option>
438
+ <option value="ridge" <?php echo $hover_border_style == "rigde" ? 'selected="selected"' : '' ?>><?php _e("Ridge", "utcw") ?></option>
439
+ <option value="inset" <?php echo $hover_border_style == "inset" ? 'selected="selected"' : '' ?>><?php _e("Inset", "utcw") ?></option>
440
+ <option value="outset" <?php echo $hover_border_style == "outset" ? 'selected="selected"' : '' ?>><?php _e("Outset", "utcw") ?></option>
441
+ </select><br/>
442
+ <br/>
443
+ <label for="<?php echo $this->get_field_id("hover_border_width", "utcw") ?>"><?php _e("Width (in px):", "utcw") ?></label><br/>
444
+ <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/>
445
+ <br/>
446
+ <label for="<?php echo $this->get_field_id("hover_border_color", "utcw") ?>"><?php _e("Color (hex value): ", "utcw") ?></label><br/>
447
+ <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/>
 
448
  </fieldset>
449
  <fieldset class="utcw">
450
  <legend>Advanced</legend>
451
  <input type="checkbox" name="<?php echo $this->get_field_name('debug') ?>" id="<?php echo $this->get_field_id('debug') ?>" <?php echo ($debug === true) ? 'checked="checked"' : '' ?> />
452
+ <label for="<?php echo $this->get_field_id('debug') ?>"><?php _e("Include debug output", 'utcw')?></label><br/>
453
  <small><?php _e("This will add a &lt;-- HTML comment --&gt; to the output with some debugging information, please use this information when troubleshooting. You can find the debugging information by using 'view source' in your browser when viewing the page and searching for 'Ultimate Tag Cloud Debug information'", 'utcw')?></small>
454
  </fieldset>
455
  <?php
456
+ }
457
  }
458
 
459
  /**
461
  * @param array $args An array with widget settings. See {@link http://wordpress.org/extend/plugins/ultimate-tag-cloud-widget/other_notes/} for details on which options you can set.
462
  * @return void
463
  */
 
464
  function do_utcw($args) {
465
 
466
+ global $wpdb;
467
+
468
+ extract($args);
469
+
470
+ global $utcw_allowed_orders,
471
+ $utcw_allowed_taxonomies,
472
+ $utcw_allowed_colors,
473
+ $utcw_allowed_cases,
474
+ $utcw_allowed_tags_list_types,
475
+ $utcw_allowed_booleans,
476
+ $utcw_allowed_border_styles;
477
+
478
+ // Parse settings from $instance and set default values where empty or invalid
479
+ $title = strlen($title) > 0 ? $title : UTCW_DEFAULT_TITLE;
480
+ $size_from = is_numeric($size_from) ? $size_from : UTCW_DEFAULT_SIZE_FROM;
481
+ $size_to = is_numeric($size_to) ? $size_to : UTCW_DEFAULT_SIZE_TO;
482
+ $max = is_numeric($max) ? $max : UTCW_DEFAULT_MAX;
483
+ $reverse = is_bool($reverse) ? $reverse : UTCW_DEFAULT_REVERSE;
484
+ $minimum = is_numeric($minimum) ? $minimum : UTCW_DEFAULT_MINIMUM;
485
+ $authors = is_array($authors) ? $authors : array();
486
+ $tags_list = is_array($tags_list) ? $tags_list : array();
487
+ $color_set = is_array($color_set) ? $color_set : array();
488
+ $letter_spacing = is_numeric($letter_spacing) ? $letter_spacing . "px" : UTCW_DEFAULT_LETTER_SPACING;
489
+ $word_spacing = is_numeric($word_spacing) ? $word_spacing . "px" : UTCW_DEFAULT_WORD_SPACING;
490
+ $tag_spacing = is_numeric($tag_spacing) ? $tag_spacing . "px" : UTCW_DEFAULT_TAG_SPACING;
491
+ $color_span_from = is_string($color_span_from) ? $color_span_from : "";
492
+ $color_span_to = is_string($color_span_to) ? $color_span_to : "";
493
+ $case_sensitive = is_bool($case_sensitive) ? $case_sensitive : UTCW_DEFAULT_CASE_SENSITIVE;
494
+ $page_tags = is_bool($page_tags) ? $page_tags : UTCW_DEFAULT_PAGE_TAGS;
495
+ $show_title = is_bool($show_title) ? $show_title : UTCW_DEFAULT_SHOW_TITLE;
496
+ $link_bg_color = is_string($link_bg_color) ? $link_bg_color : UTCW_DEFAULT_BG_COLOR;
497
+ $link_border_width = is_numeric($link_border_width) ? $link_border_width . "px" : UTCW_DEFAULT_LINK_BORDER_WIDTH;
498
+ $link_border_color = is_string($link_border_color) ? $link_border_color : UTCW_DEFAULT_LINK_BORDER_COLOR;
499
+ $hover_bg_color = is_string($hover_bg_color) ? $hover_bg_color : UTCW_DEFAULT_BG_COLOR;
500
+ $hover_border_width = is_numeric($hover_border_width) ? $hover_border_width . "px" : UTCW_DEFAULT_HOVER_BORDER_WIDTH;
501
+ $hover_border_color = is_string($hover_border_color) ? $hover_border_color : UTCW_DEFAULT_HOVER_BORDER_COLOR;
502
+ $days_old = is_numeric($days_old) ? $days_old : UTCW_DEFAULT_DAYS_OLD;
503
+ $line_height = is_numeric($line_height) ? $line_height : UTCW_DEFAULT_LINE_HEIGHT;
504
+
505
+ $order = in_array($order, $utcw_allowed_orders) ? $order : UTCW_DEFAULT_ORDER;
506
+ $taxonomy = in_array($taxonomy, $utcw_allowed_taxonomies) ? $taxonomy : UTCW_DEFAULT_TAXONOMY;
507
+ $color = in_array($color, $utcw_allowed_colors) ? $color : UTCW_DEFAULT_COLOR;
508
+ $case = in_array($case, $utcw_allowed_cases) ? $case : UTCW_DEFAULT_CASE;
509
+ $tags_list_type = in_array($tags_list_type, $utcw_allowed_tags_list_types) ? $tags_list_type : UTCW_DEFAULT_TAGS_LIST_TYPE;
510
+ $link_underline = in_array($link_underline, $utcw_allowed_booleans) ? $link_underline : UTCW_DEFAULT_LINK_UNDERLINE;
511
+ $link_bold = in_array($link_bold, $utcw_allowed_booleans) ? $link_bold : UTCW_DEFAULT_LINK_BOLD;
512
+ $link_italic = in_array($link_italic, $utcw_allowed_booleans) ? $link_italic : UTCW_DEFAULT_LINK_ITALIC;
513
+ $link_border_style = in_array($link_border_style, $utcw_allowed_border_styles) ? $link_border_style : UTCW_DEFAULT_LINK_BORDER_STYLE;
514
+ $hover_underline = in_array($hover_underline, $utcw_allowed_booleans) ? $hover_underline : UTCW_DEFAULT_HOVER_UNDERLINE;
515
+ $hover_bold = in_array($hover_bold, $utcw_allowed_booleans) ? $hover_bold : UTCW_DEFAULT_HOVER_BOLD;
516
+ $hover_italic = in_array($hover_italic, $utcw_allowed_booleans) ? $hover_italic : UTCW_DEFAULT_HOVER_ITALIC;
517
+ $hover_border_style = in_array($hover_border_style, $utcw_allowed_border_styles) ? $hover_border_style : UTCW_DEFAULT_HOVER_BORDER_STYLE;
518
+
519
+ // Fallback values
520
+ $counts = array();
521
+ $tag_array = array();
522
+
523
+ // Build SQL query
524
+ $sql[] = "SELECT t.term_id, t.name, t.slug, COUNT(tr.term_taxonomy_id) AS `count`";
525
+ $sql[] = "FROM `$wpdb->posts` AS p";
526
+ $sql[] = "LEFT JOIN `$wpdb->term_relationships` AS tr ON tr.object_id = p.ID";
527
+ $sql[] = "LEFT JOIN `$wpdb->term_taxonomy` AS tt ON tt.term_taxonomy_id = tr.term_taxonomy_id";
528
+ $sql[] = "LEFT JOIN `$wpdb->terms` AS t ON t.term_id = tt.term_id";
529
+ $sql[] = "WHERE tt.taxonomy = '$taxonomy'";
530
+
531
+ // Setting post_type directive
532
+ if ($page_tags === true) {
533
+ $sql[] = "AND (post_type = 'post' OR post_type = 'page')";
534
+ } else {
535
+ $sql[] = "AND post_type = 'post'";
536
+ }
537
+
538
+ // Setting post status directive
539
+ if (is_user_logged_in() === true) {
540
+ $sql[] = "AND (post_status = 'publish' OR post_status = 'private')";
541
+ } else {
542
+ $sql[] = "AND post_status = 'publish'";
543
+ }
544
+
545
+ // Setting post author directive
546
+ if (count($authors) > 0) {
547
+ $sql[] = "AND post_author IN (" . implode(",", $authors) . ")";
548
+ }
549
+
550
+ // Setting include or exclude directive
551
+ if (count($tags_list) > 0) {
552
+
553
+ $tags_list_operator = ($tags_list_type == "include") ? "IN" : "NOT IN";
554
+
555
+ if (is_array_numeric($tags_list)) {
556
+ $sql[] = "AND t.term_id ". $tags_list_operator ." ('" . implode("', '", $tags_list) . "')";
557
+ } else {
558
+ $sql[] = "AND t.name ". $tags_list_operator ." ('" . implode("', '", $tags_list) . "')";
559
+ }
560
+ }
561
+
562
+ // Setting to only include posts newer then a
563
+ if (is_numeric($days_old) && $days_old > 0) {
564
+ $sql[] = "AND post_date > '" . date("Y-m-d", strtotime("-" . $days_old . " days") ) . "'";
565
+ }
566
+
567
+ // Setting minimum post count directive
568
+ if (is_numeric($minimum)) {
569
+ $sql[] = "GROUP BY tr.term_taxonomy_id HAVING count >= $minimum";
570
+ } else {
571
+ $sql[] = "GROUP BY tr.term_taxonomy_id";
572
+ }
573
+
574
+ $sql[] = "ORDER BY count DESC";
575
+ $sql[] = "LIMIT $max";
576
+
577
+ $query = implode("\n", $sql);
578
+
579
+ $tag_data = $wpdb->get_results($query);
580
+
581
+ if (count($tag_data) > 0) {
582
+
583
+ // Extract counts and create an array to work with
584
+ foreach ($tag_data as $tag) {
585
+ $counts[] = $tag->count;
586
+ $tag_array[] = array(
587
+ 'term_id' => $tag->term_id,
588
+ 'count' => $tag->count,
589
+ 'slug' => $tag->slug,
590
+ 'name' => $tag->name,
591
+ 'link' => get_term_link(intval($tag->term_id), $taxonomy),
592
+ 'color' => ""
593
+ );
594
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
595
 
596
+ // Highest and lowest values
597
+ $min_count = min($counts);
598
+ $max_count = max($counts);
599
+
600
+ // Get the step size
601
+ $font_step = calc_step($min_count, $max_count, $size_from, $size_to);
602
+
603
+ // Calculate sizes for all tags
604
+ foreach ($tag_array as $key => $tag) {
605
+ $tag_array[$key]['size'] = $size_from + ( ( $tag['count'] - $min_count ) * $font_step );
606
+ }
607
+
608
+ // Check the coloring preference, default is none
609
+ switch ($color) {
610
+
611
+ // Just get an randomized value, who would ever use this?!
612
+ case "random":
613
+ foreach ($tag_array as $key => $tag) {
614
+ $tag_array[$key]['color'] = sprintf("#%s%s%s", dechex(rand() % 255), dechex(rand() % 255), dechex(rand() % 255));
615
+ }
616
+ break;
617
+
618
+ // Select a random value from the preset colors
619
+ case "set":
620
+ if (is_array($color_set) && count($color_set) > 0) {
621
+ foreach ($tag_array as $key => $tag) {
622
+ $tag_array[$key]['color'] = $color_set[ array_rand($color_set) ];
623
+ }
624
+ }
625
+ break;
626
+
627
+ // Calculate colors in a span between two values
628
+ case "span":
629
+
630
+ // Check the color format, #fff or #fffff
631
+ if (strlen($color_span_from) == 4) {
632
+ $red_from = hexdec(sprintf("%s%s", $color_span_from[1], $color_span_from[1]));
633
+ $green_from = hexdec(sprintf("%s%s", $color_span_from[2], $color_span_from[2]));
634
+ $blue_from = hexdec(sprintf("%s%s", $color_span_from[3], $color_span_from[3]));
635
+ } else {
636
+ $red_from = hexdec(substr($color_span_from, 1, 2));
637
+ $green_from = hexdec(substr($color_span_from, 3, 2));
638
+ $blue_from = hexdec(substr($color_span_from, 5, 2));
639
+ }
640
+ if (strlen($color_span_to) == 4) {
641
+ $red_to = hexdec(sprintf("%s%s", $color_span_to[1], $color_span_to[1]));
642
+ $green_to = hexdec(sprintf("%s%s", $color_span_to[2], $color_span_to[2]));
643
+ $blue_to = hexdec(sprintf("%s%s", $color_span_to[3], $color_span_to[3]));
644
+ } else {
645
+ $red_to = hexdec(substr($color_span_to, 1, 2));
646
+ $green_to = hexdec(substr($color_span_to, 3, 2));
647
+ $blue_to = hexdec(substr($color_span_to, 5, 2));
648
+ }
649
+
650
+ // Calculate steps for all the colors.
651
+ $red_step = calc_step($min_count, $max_count, $red_from, $red_to);
652
+ $green_step = calc_step($min_count, $max_count, $green_from, $green_to);
653
+ $blue_step = calc_step($min_count, $max_count, $blue_from, $blue_to);
654
+
655
+ // Iterate all tags and calculate their color
656
+ foreach ($tag_array as $key => $tag) {
657
+ $red = round($red_from + ( ( $tag['count'] - $min_count ) * $red_step ));
658
+ $green = round($green_from + ( ( $tag['count'] - $min_count ) * $green_step ));
659
+ $blue = round($blue_from + ( ( $tag['count'] - $min_count ) * $blue_step ));
660
+
661
+ $tag_array[$key]['color'] = sprintf("rgb(%s,%s,%s)", $red, $green, $blue);
662
+ }
663
+ break;
664
+ }
665
+
666
+ // Check the ordering preference, default is name
667
+ switch ($order) {
668
+ case "random":
669
+ shuffle($tag_array);
670
+ break;
671
+
672
+ case "count":
673
+ usort($tag_array, 'utcw_cmp_count');
674
+ break;
675
+
676
+ case "slug";
677
+ usort($tag_array, $case_sensitive === true ? 'utcw_cmp_slug' : 'utcw_icmp_slug');
678
+ break;
679
+
680
+ case "id":
681
+ usort($tag_array, 'utcw_cmp_id');
682
+ break;
683
+
684
+ case "color":
685
+ usort($tag_array, 'utcw_cmp_color');
686
+ break;
687
+
688
+ case "name":
689
+ default:
690
+ usort($tag_array, $case_sensitive === true ? 'utcw_cmp_name' : 'utcw_icmp_name');
691
+ break;
692
+ }
693
+
694
+ // Reverse the list if the user prefers it that way. Reversing an random sorted result seems correct.
695
+ if ($reverse === true) {
696
+ $tag_array = array_reverse($tag_array);
697
+ }
698
+ }
699
+
700
+ switch ($case) {
701
+ case 'uppercase':
702
+ $text_transform = 'text-transform: uppercase;';
703
+ break;
704
+
705
+ case 'lowercase':
706
+ $text_transform = 'text-transform: lowercase;';
707
+ break;
708
+
709
+ case 'capitalize':
710
+ $text_transform = 'text-transform: capitalize;';
711
+ break;
712
+
713
+ default:
714
+ $text_transform = '';
715
+ }
716
+
717
+ // Print the tag cloud content
718
+ echo $before_widget;
719
+ echo $before_title . $title . $after_title;
720
+
721
+ printf('<div class="widget_tag_cloud" style="letter-spacing:%s;word-spacing:%s;%s">', $letter_spacing, $word_spacing, $text_transform);
722
+
723
+ $hover_style = "";
724
+ $link_style = "";
725
+
726
+ if ($link_underline != "default") {
727
+ $link_style .= "text-decoration:" . ($link_underline == "yes" ? "underline !important;" : "none !important;");
728
+ }
729
+ if ($link_bold != "default") {
730
+ $link_style .= "font-weight:" . ($link_bold == "yes" ? "bold !important;" : "normal !important;");
731
+ }
732
+ if ($link_italic != "default") {
733
+ $link_style .= "font-style:" . ($link_italic == "yes" ? "italic !important;" : "normal !important;");
734
+ }
735
+ if ($link_bg_color != "transparent") {
736
+ $link_style .= sprintf("background-color:%s !important;", $link_bg_color);
737
+ }
738
+ if (strlen($link_border_style) > 0) {
739
+ $link_style .= sprintf("border-style:%s !important;", $link_border_style);
740
+ }
741
+ if (strlen($link_border_color) > 0) {
742
+ $link_style .= sprintf("border-color:%s !important;", $link_border_color);
743
+ }
744
+ if (strlen($link_border_width) > 0) {
745
+ $link_style .= sprintf("border-width:%s !important;", $link_border_width);
746
+ }
747
+
748
+ if ($hover_underline != "default") {
749
+ $hover_style .= "text-decoration:" . ($hover_underline == "yes" ? "underline !important;" : "none !important;");
750
+ }
751
+ if ($hover_bold != "default") {
752
+ $hover_style .= "font-weight:" . ($hover_bold == "yes" ? "bold !important;" : "normal !important;");
753
+ }
754
+ if ($hover_italic != "default") {
755
+ $hover_style .= "font-style:" . ($hover_italic == "yes" ? "italic !important;" : "normal !important;");
756
+ }
757
+ if ($hover_bg_color != "transparent") {
758
+ $hover_style .= sprintf("background-color:%s !important;", $hover_bg_color);
759
+ }
760
+ if (strlen($hover_border_style) > 0) {
761
+ $hover_style .= sprintf("border-style:%s !important;", $hover_border_style);
762
+ }
763
+ if (strlen($hover_border_color) > 0) {
764
+ $hover_style .= sprintf("border-color:%s !important;", $hover_border_color);
765
+ }
766
+ if (strlen($hover_border_width) > 0) {
767
+ $hover_style .= sprintf("border-width:%s !important;", $hover_border_width);
768
+ }
769
+ if (is_numeric($tag_spacing)) {
770
+ $link_style .= sprintf("margin-right: %s !important;", $tag_spacing);
771
+ }
772
+ if (is_numeric($line_height)) {
773
+ $link_style .= sprintf("line-height: %spx !important;", $line_height);
774
+ }
775
+
776
+ if (strlen($hover_style) > 0 || strlen($link_style)) {
777
+ printf('<style type="text/css">.utcw-tag-link{%s}.utcw-tag-link:hover{%s}</style>', $link_style, $hover_style);
778
+ }
779
+
780
+ foreach ($tag_array as $tag) {
781
+ extract($tag);
782
+
783
+ $link_title = $show_title === true ? sprintf('title="' . _n("%s topic", "%s topics", $count) . '"', $count) : "";
784
+
785
+ printf('<a class="utcw-tag-link tag-link-%s" href="%s" style="font-size:%spx;%s" %s>%s</a> ',
786
+ $term_id, $link, $size, strlen($color) > 0 ? "color:$color;" : "", $link_title, $name);
787
+ }
788
+
789
+ echo "</div>";
790
+
791
+ if ($debug === true) {
792
+ echo "<!-- Ultimate Tag Cloud Debug information: "; var_dump($args);
793
+ echo "\n\n SQL Query:" . $query;
794
+ echo "\n\n Tag Data: "; var_dump($tag_data);
795
+ echo "-->";
796
+ }
797
+
798
+ echo $after_widget;
799
  }
800
 
801
  /**
807
  * @return integer
808
  */
809
  function calc_step($min, $max, $from, $to) {
810
+
811
+ // Thank you wordpress for this
812
+ $spread = $max - $min;
813
+ if ( $spread <= 0 )
814
+ $spread = 1;
815
+ $font_spread = $to - $from;
816
+ if ( $font_spread < 0 && $negative === false)
817
+ $font_spread = 1;
818
+ $step = $font_spread / $spread;
819
+
820
+ return $step;
821
  }
822
 
823
  load_plugin_textdomain('utcw', false, '/ultimate-tag-cloud-widget/language/');
824
 
825
  // Register widget with wordpress
826
  add_action('widgets_init', create_function('', 'return register_widget("UTCW");'));
827
+ add_action('wp_loaded', 'utcw_wp_loaded');
828
 
829
  //Register scripts and css with wordpress
830
  wp_register_script('utcw-js', '/wp-content/plugins/ultimate-tag-cloud-widget/utcw.js', array('jquery'), "1.3", false);
832
 
833
  /**
834
  * Action handler for wordpress init used to attach scripts and styles
835
+ * @return void
836
  */
837
  function utcw_init() {
838
+ wp_enqueue_script('utcw-js');
839
+ wp_enqueue_style('utcw-css');
840
  }
841
  add_action('init', 'utcw_init');
842
 
845
  * Compare functions
846
  */
847
  function utcw_cmp_count($a, $b) {
848
+ if ($a['count'] == $b['count']) {
849
+ return 0;
850
+ } else {
851
+ return ($a['count'] < $b['count']) ? -1 : 1;
852
+ }
853
  }
854
 
855
  function utcw_icmp_name($a, $b) {
856
+ return strcasecmp($a['name'], $b['name']);
857
  }
858
 
859
  function utcw_cmp_name($a, $b) {
860
+ return strcmp($a['name'], $b['name']);
861
  }
862
 
863
  function utcw_icmp_slug($a, $b) {
864
+ return strcasecmp($a['slug'], $b['slug']);
865
  }
866
 
867
  function utcw_cmp_slug($a, $b) {
868
+ return strcmp($a['slug'], $b['slug']);
869
  }
870
 
871
  function utcw_cmp_id($a, $b) {
872
+ if ($a['term_id'] == $b['term_id']) {
873
+ return 0;
874
+ } else {
875
+ return ($a['term_id'] < $b['term_id']) ? -1 : 1;
876
+ }
877
  }
878
 
879
  function utcw_cmp_color($a, $b) {
880
+ return strcasecmp($a['color'], $b['color']);
881
  }
882
 
883
  /**
884
  * Function for checking if every item within an array is a numeric value
885
+ * @param array $array
886
  * @return boolean
887
  */
888
  function is_array_numeric($array) {
889
+
890
+ foreach ($array as $item) {
891
+ if (!is_numeric($item)) {
892
+ return false;
893
+ }
894
+ }
895
+
896
+ return true;
897
+ }
898
+
899
+ /**
900
+ * Function to get the list of custom taxonomies
901
+ * @return void
902
+ */
903
+ function utcw_wp_loaded() {
904
+ global $utcw_allowed_taxonomies;
905
+
906
+ $utcw_allowed_taxonomies = get_object_taxonomies("post");
907
  }
utcw.css CHANGED
@@ -1,23 +1,26 @@
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;
16
  }
17
  div.widget_utcw {
18
- word-wrap: break-word;
19
  }
20
-
21
  .utcw .fullwidth {
22
- width: 100%;
 
 
 
 
23
  }
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;
16
  }
17
  div.widget_utcw {
18
+ word-wrap: break-word;
19
  }
 
20
  .utcw .fullwidth {
21
+ width: 100%;
22
+ }
23
+ fieldset.utcw label.two-col {
24
+ width: 120px;
25
+ display: inline-block;
26
  }
utcw.js CHANGED
@@ -1,15 +1,14 @@
1
  jQuery(document).ready(function() {
2
 
3
- jQuery("input[id$=-color_none], input[id$=-color_random], input[id$=-color_set], input[id$=-color_span]").live('click', function() {
4
 
5
- jQuery("div[id$='set_chooser']").addClass('utcw-hidden');
6
- jQuery("div[id$='span_chooser']").addClass('utcw-hidden');
7
 
8
- if (jQuery(this).val() == 'set') {
9
- jQuery("div[id$='set_chooser']").removeClass('utcw-hidden');
10
- } else if (jQuery(this).val() == 'span') {
11
- jQuery("div[id$='span_chooser']").removeClass('utcw-hidden');
12
- }
13
-
14
- })
15
  });
1
  jQuery(document).ready(function() {
2
 
3
+ jQuery("input[id$=-color_none], input[id$=-color_random], input[id$=-color_set], input[id$=-color_span]").live('click', function() {
4
 
5
+ jQuery("div[id$='set_chooser']").addClass('utcw-hidden');
6
+ jQuery("div[id$='span_chooser']").addClass('utcw-hidden');
7
 
8
+ if (jQuery(this).val() == 'set') {
9
+ jQuery("div[id$='set_chooser']").removeClass('utcw-hidden');
10
+ } else if (jQuery(this).val() == 'span') {
11
+ jQuery("div[id$='span_chooser']").removeClass('utcw-hidden');
12
+ }
13
+ })
 
14
  });