Google Language Translator - Version 5.0.21

Version Description

Download this release

Release Info

Developer rm2773
Plugin Icon wp plugin Google Language Translator
Version 5.0.21
Comparing to
See all releases

Code changes from version 5.0.20 to 5.0.21

css/style.css CHANGED
@@ -1,2792 +1,2948 @@
1
- #glt-footer,
2
- #glt-footer #google_language_translator {
3
- display:none !important;
4
- }
5
-
6
- .box-right {
7
- clear:right;
8
- }
9
-
10
- a.wp-studio-logo:focus,
11
- a.wp-helpdesk-logo:focus {
12
- box-shadow:none !important;
13
- -webkit-box-shadow:none !important;
14
- -moz-box-shadow:none !important;
15
- }
16
-
17
- .goog-te-gadget-simple {
18
- margin:4px 0;
19
- }
20
-
21
- select.goog-te-combo {
22
- width:143px !important;
23
- background:#fff;
24
- box-shadow:none !important;
25
- -moz-box-shadow:none !important;
26
- -webkit-box-shadow:none !important;
27
- padding:3px !important;
28
- height:auto !important;
29
- border:1px solid lightgray !important;
30
- border-radius:0px !important;
31
- -webkit-border-radius:0px;
32
- -moz-border-radius:0px !important;
33
- -o-border-radius:0px !important;
34
- }
35
-
36
- #flags {
37
- overflow:hidden;
38
- }
39
-
40
- #flags ul {
41
- margin:0;
42
- }
43
-
44
- #flags li {
45
- float:left !important;
46
- margin-bottom:0 !important;
47
- padding:0 !important;
48
- border:none !important;
49
- list-style:none !important;
50
- content:none !important;
51
- }
52
-
53
- #flags li:before {
54
- content:none !important;
55
- border:none !important;
56
- background:none !important;
57
- }
58
-
59
- #flags a,
60
- .tool-container .tool-items a {
61
- cursor:pointer;
62
- }
63
-
64
- #flags.size24 a {
65
- width:24px !important;
66
- height:18px !important;
67
- }
68
-
69
- #flags.size22 a {
70
- width:22px !important;
71
- height:17px !important;
72
- }
73
-
74
- #flags.size20 a {
75
- width:20px !important;
76
- height:14px !important;
77
- }
78
-
79
- #flags.size18 a {
80
- width:18px !important;
81
- height:14px !important;
82
- }
83
-
84
- #flags.size16 a {
85
- width:16px !important;
86
- height:12px !important;
87
- }
88
-
89
- .tool-container .tool-items a {
90
- display:inline-block;
91
- margin:3px 5px 3px;
92
- width:24px !important;
93
- height:18px !important;
94
- }
95
-
96
- .goog-te-gadget {
97
- color:#444;
98
- font-size:11px;
99
- font-family:"Arial",sans,sans-serif;
100
- }
101
-
102
- .goog-te-gadget img {
103
- vertical-align:middle;
104
- }
105
-
106
- select.goog-te-combo:focus {
107
- box-shadow:none !important;
108
- -moz-box-shadow:none !important;
109
- -webkit-box-shadow:none !important;
110
- }
111
-
112
- .metabox-holder {
113
- width:65%;
114
- float:left;
115
- }
116
-
117
- .metabox-holder h2 {
118
- margin-bottom:18px;
119
- }
120
-
121
- .submit {
122
- padding:0px;
123
- }
124
-
125
- .form-table th {
126
- width:50%;
127
- }
128
-
129
- td.advanced {
130
- padding-top:0px;
131
- padding-bottom:0px;
132
- }
133
-
134
- p.hello {
135
- font-size:12px;
136
- color:darkgray;
137
- }
138
-
139
- .flag{
140
- padding:1px 0;
141
- }
142
-
143
- a.nturl {
144
- cursor:pointer;
145
- }
146
-
147
- .flag img,
148
- .alt_flag img{
149
- border:0px !important;
150
- margin-top:2px !important;
151
- padding:0px !important;
152
- }
153
-
154
- .attribution {
155
- width:152px;
156
- line-height:1em;
157
- margin-top:4px;
158
- }
159
-
160
- span.goog-branding {
161
- font-size: 11px;
162
- font-family: arial;
163
- color: rgb(102, 102, 102);
164
- white-space: nowrap;
165
- padding-top: 4px;
166
- text-align: left;
167
- width: 150px;
168
- margin-top: 2px;
169
- left:170px;
170
- z-index: 9999;
171
- float: right;
172
- }
173
-
174
- .goog-logo-link,
175
- .goog-logo-link:link,
176
- .goog-logo-link:visited,
177
- .goog-logo-link:hover,
178
- .goog-logo-link:active {
179
- font-size: 12px;
180
- font-weight: bold;
181
- color: rgb(68, 68, 68);
182
- text-decoration: none;
183
- line-height:0.8em;
184
- }
185
-
186
- span.goog-branding img {
187
- float: left;
188
- margin:0px;
189
- width: 37px;
190
-
191
- }
192
-
193
- span.vertical-translator {
194
- position:auto;
195
- float:none !important;
196
- font-size: 11px;
197
- font-family: arial;
198
- color: rgb(102, 102, 102);
199
- white-space: nowrap;
200
- vertical-align: middle;
201
- padding-top: 4px;
202
- text-align: left;
203
- width: 150px;
204
- margin-top: 2px;
205
- right: -50px;
206
- z-index: 9999;
207
- }
208
-
209
- .tool-container .tool-items .flag img {
210
- width:24px !important;
211
- height:24px !important;
212
- margin-top:1px !important;
213
- }
214
-
215
- .tool-items .flag {
216
- padding:0px !important;
217
- }
218
-
219
- .tool-container {
220
- line-height:1;
221
- }
222
-
223
- #footer-instance {
224
- display:none !important;
225
- }
226
-
227
- code {
228
- border:1px solid lightgray;
229
- }
230
-
231
- /* Individual flag backgrounds (22px) */
232
-
233
- #flags.size22 a[title="Afrikaans"],
234
- .tool-container .tool-items a[title="Afrikaans"] {
235
- background:url('../images/flags22.png') -1px -3px no-repeat;
236
- }
237
-
238
- #flags.size22 a[title="Albanian"],
239
- .tool-container .tool-items a[title="Albanian"] {
240
- background:url('../images/flags22.png') -30px -3px no-repeat;
241
- }
242
-
243
- #flags.size22 a[title="Amharic"],
244
- .tool-container .tool-items a[title="Amharic"] {
245
- background:url('../images/flags22.png') -1px -467px no-repeat;
246
- }
247
-
248
- #flags.size22 a[title="Arabic"],
249
- .tool-container .tool-items a[title="Arabic"] {
250
- background:url('../images/flags22.png') -59px -3px no-repeat;
251
- }
252
-
253
- #flags.size22 a[title="Armenian"],
254
- .tool-container .tool-items a[title="Armenian"] {
255
- background:url('../images/flags22.png') -88px -3px no-repeat;
256
- }
257
-
258
- #flags.size22 a[title="Azerbaijani"],
259
- .tool-container .tool-items a[title="Azerbaijani"] {
260
- background:url('../images/flags22.png') -117px -3px no-repeat;
261
- }
262
-
263
- #flags.size22 a[title="Basque"],
264
- .tool-container .tool-items a[title="Basque"] {
265
- background:url('../images/flags22.png') -146px -3px no-repeat;
266
- }
267
-
268
- #flags.size22 a[title="Belarusian"],
269
- .tool-container .tool-items a[title="Belarusian"] {
270
- background:url('../images/flags22.png') -1px -32px no-repeat;
271
- }
272
-
273
- #flags.size22 a[title="Bengali"],
274
- .tool-container .tool-items a[title="Bengali"] {
275
- background:url('../images/flags22.png') -30px -32px no-repeat;
276
- }
277
-
278
- #flags.size22 a[title="Bosnian"],
279
- .tool-container .tool-items a[title="Bosnian"] {
280
- background:url('../images/flags22.png') -59px -32px no-repeat;
281
- }
282
-
283
- #flags.size22 a[title="Bulgarian"],
284
- .tool-container .tool-items a[title="Bulgarian"] {
285
- background:url('../images/flags22.png') -88px -32px no-repeat;
286
- }
287
-
288
- #flags.size22 a[title="Catalan"],
289
- .tool-container .tool-items a[title="Catalan"] {
290
- background:url('../images/flags22.png') -117px -32px no-repeat;
291
- }
292
-
293
- #flags.size22 a[title="Cebuano"],
294
- .tool-container .tool-items a[title="Cebuano"] {
295
- background:url('../images/flags22.png') -146px -32px no-repeat;
296
- }
297
-
298
- #flags.size22 a[title="Chichewa"],
299
- .tool-container .tool-items a[title="Chichewa"] {
300
- background:url('../images/flags22.png') -88px -409px no-repeat;
301
- }
302
-
303
- #flags.size22 a[title="Chinese"],
304
- .tool-container .tool-items a[title="Chinese"] {
305
- background:url('../images/flags22.png') -1px -61px no-repeat;
306
- }
307
-
308
- #flags.size22 a[title="Chinese(Traditional)"],
309
- .tool-container .tool-items a[title="Chinese(Traditional)"] {
310
- background:url('../images/flags22.png') -30px -61px no-repeat;
311
- }
312
-
313
- #flags.size22 a[title="Corsican"],
314
- .tool-container .tool-items a[title="Corsican"] {
315
- background:url('../images/flags22.png') -117px -90px no-repeat;
316
- }
317
-
318
- #flags.size22 a[title="Croatian"],
319
- .tool-container .tool-items a[title="Croatian"] {
320
- background:url('../images/flags22.png') -59px -61px no-repeat;
321
- }
322
-
323
- #flags.size22 a[title="Czech"],
324
- .tool-container .tool-items a[title="Czech"] {
325
- background:url('../images/flags22.png') -88px -61px no-repeat;
326
- }
327
-
328
- #flags.size22 a[title="Danish"],
329
- .tool-container .tool-items a[title="Danish"] {
330
- background:url('../images/flags22.png') -117px -61px no-repeat;
331
- }
332
-
333
- #flags.size22 a[title="Dutch"],
334
- .tool-container .tool-items a[title="Dutch"] {
335
- background:url('../images/flags22.png') -146px -61px no-repeat;
336
- }
337
-
338
- #flags.size22 a[title="English"],
339
- .tool-container .tool-items a[title="English"] {
340
- background:url('../images/flags22.png') -88px -351px no-repeat;
341
- }
342
-
343
- #flags.size22 a.united-states[title="English"] {
344
- background:url('../images/flags22.png') -117px -351px no-repeat;
345
- }
346
-
347
- #flags.size22 a.canada[title="English"] {
348
- background:url('../images/flags22.png') -88px -438px no-repeat;
349
- }
350
-
351
- #flags.size22 a[title="Esperanto"],
352
- .tool-container .tool-items a[title="Esperanto"] {
353
- background:url('../images/flags22.png') -1px -90px no-repeat;
354
- }
355
-
356
- #flags.size22 a[title="Estonian"],
357
- .tool-container .tool-items a[title="Estonian"] {
358
- background:url('../images/flags22.png') -30px -90px no-repeat;
359
- }
360
-
361
- #flags.size22 a[title="Filipino"],
362
- .tool-container .tool-items a[title="Filipino"] {
363
- background:url('../images/flags22.png') -59px -90px no-repeat;
364
- }
365
-
366
- #flags.size22 a[title="Finnish"],
367
- .tool-container .tool-items a[title="Finnish"] {
368
- background:url('../images/flags22.png') -88px -90px no-repeat;
369
- }
370
-
371
- #flags.size22 a[title="French"],
372
- .tool-container .tool-items a[title="French"] {
373
- background:url('../images/flags22.png') -117px -90px no-repeat;
374
- }
375
-
376
- #flags.size22 a[title="Frisian"],
377
- .tool-container .tool-items a[title="Frisian"] {
378
- background:url('../images/flags22.png') -146px -61px no-repeat;
379
- }
380
-
381
- #flags.size22 a[title="Galician"],
382
- .tool-container .tool-items a[title="Galician"] {
383
- background:url('../images/flags22.png') -146px -90px no-repeat;
384
- }
385
-
386
- #flags.size22 a[title="Georgian"],
387
- .tool-container .tool-items a[title="Georgian"] {
388
- background:url('../images/flags22.png') -1px -119px no-repeat;
389
- }
390
-
391
- #flags.size22 a[title="German"],
392
- .tool-container .tool-items a[title="German"] {
393
- background:url('../images/flags22.png') -30px -119px no-repeat;
394
- }
395
-
396
- #flags.size22 a[title="Greek"],
397
- .tool-container .tool-items a[title="Greek"] {
398
- background:url('../images/flags22.png') -59px -119px no-repeat;
399
- }
400
-
401
- #flags.size22 a[title="Gujarati"],
402
- .tool-container .tool-items a[title="Gujarati"] {
403
- background:url('../images/flags22.png') -88px -119px no-repeat;
404
- }
405
-
406
- #flags.size22 a[title="Haitian"],
407
- .tool-container .tool-items a[title="Haitian"] {
408
- background:url('../images/flags22.png') -117px -119px no-repeat;
409
- }
410
-
411
- #flags.size22 a[title="Hausa"],
412
- .tool-container .tool-items a[title="Hausa"] {
413
- background:url('../images/flags22.png') -146px -119px no-repeat;
414
- }
415
-
416
- #flags.size22 a[title="Hebrew"],
417
- .tool-container .tool-items a[title="Hebrew"] {
418
- background:url('../images/flags22.png') -1px -148px no-repeat;
419
- }
420
-
421
- #flags.size22 a[title="Hindi"],
422
- .tool-container .tool-items a[title="Hindi"] {
423
- background:url('../images/flags22.png') -30px -148px no-repeat;
424
- }
425
-
426
- #flags.size22 a[title="Hmong"],
427
- .tool-container .tool-items a[title="Hmong"] {
428
- background:url('../images/flags22.png') -59px -148px no-repeat;
429
- }
430
-
431
- #flags.size22 a[title="Hungarian"],
432
- .tool-container .tool-items a[title="Hungarian"] {
433
- background:url('../images/flags22.png') -88px -148px no-repeat;
434
- }
435
-
436
- #flags.size22 a[title="Icelandic"],
437
- .tool-container .tool-items a[title="Icelandic"] {
438
- background:url('../images/flags22.png') -117px -148px no-repeat;
439
- }
440
-
441
- #flags.size22 a[title="Igbo"],
442
- .tool-container .tool-items a[title="Igbo"] {
443
- background:url('../images/flags22.png') -146px -148px no-repeat;
444
- }
445
-
446
- #flags.size22 a[title="Indonesian"],
447
- .tool-container .tool-items a[title="Indonesian"] {
448
- background:url('../images/flags22.png') -1px -177px no-repeat;
449
- }
450
-
451
- #flags.size22 a[title="Irish"],
452
- .tool-container .tool-items a[title="Irish"] {
453
- background:url('../images/flags22.png') -30px -177px no-repeat;
454
- }
455
-
456
- #flags.size22 a[title="Italian"],
457
- .tool-container .tool-items a[title="Italian"] {
458
- background:url('../images/flags22.png') -59px -177px no-repeat;
459
- }
460
-
461
- #flags.size22 a[title="Japanese"],
462
- .tool-container .tool-items a[title="Japanese"] {
463
- background:url('../images/flags22.png') -88px -177px no-repeat;
464
- }
465
-
466
- #flags.size22 a[title="Javanese"],
467
- .tool-container .tool-items a[title="Javanese"] {
468
- background:url('../images/flags22.png') -117px -177px no-repeat;
469
- }
470
-
471
- #flags.size22 a[title="Kannada"],
472
- .tool-container .tool-items a[title="Kannada"] {
473
- background:url('../images/flags22.png') -146px -177px no-repeat;
474
- }
475
-
476
- #flags.size22 a[title="Kazakh"],
477
- .tool-container .tool-items a[title="Kazakh"] {
478
- background:url('../images/flags22.png') -1px -409px no-repeat;
479
- }
480
-
481
- #flags.size22 a[title="Khmer"],
482
- .tool-container .tool-items a[title="Khmer"] {
483
- background:url('../images/flags22.png') -1px -206px no-repeat;
484
- }
485
-
486
- #flags.size22 a[title="Korean"],
487
- .tool-container .tool-items a[title="Korean"] {
488
- background:url('../images/flags22.png') -30px -206px no-repeat;
489
- }
490
-
491
- #flags.size22 a[title="Lao"],
492
- .tool-container .tool-items a[title="Lao"] {
493
- background:url('../images/flags22.png') -59px -206px no-repeat;
494
- }
495
-
496
- #flags.size22 a[title="Latin"],
497
- .tool-container .tool-items a[title="Latin"] {
498
- background:url('../images/flags22.png') -88px -206px no-repeat;
499
- }
500
-
501
- #flags.size22 a[title="Latvian"],
502
- .tool-container .tool-items a[title="Latvian"] {
503
- background:url('../images/flags22.png') -117px -206px no-repeat;
504
- }
505
-
506
- #flags.size22 a[title="Lithuanian"],
507
- .tool-container .tool-items a[title="Lithuanian"] {
508
- background:url('../images/flags22.png') -146px -206px no-repeat;
509
- }
510
-
511
- #flags.size22 a[title="Macedonian"],
512
- .tool-container .tool-items a[title="Macedonian"] {
513
- background:url('../images/flags22.png') -1px -235px no-repeat;
514
- }
515
-
516
- #flags.size22 a[title="Malagasy"],
517
- .tool-container .tool-items a[title="Malagasy"] {
518
- background:url('../images/flags22.png') -59px -409px no-repeat;
519
- }
520
-
521
- #flags.size22 a[title="Malay"],
522
- .tool-container .tool-items a[title="Malay"] {
523
- background:url('../images/flags22.png') -30px -235px no-repeat;
524
- }
525
-
526
- #flags.size22 a[title="Malayalam"],
527
- .tool-container .tool-items a[title="Malayalam"] {
528
- background:url('../images/flags22.png') -117px -409px no-repeat;
529
- }
530
-
531
- #flags.size22 a[title="Maltese"],
532
- .tool-container .tool-items a[title="Maltese"] {
533
- background:url('../images/flags22.png') -59px -235px no-repeat;
534
- }
535
-
536
- #flags.size22 a[title="Maori"],
537
- .tool-container .tool-items a[title="Maori"] {
538
- background:url('../images/flags22.png') -88px -235px no-repeat;
539
- }
540
-
541
- #flags.size22 a[title="Marathi"],
542
- .tool-container .tool-items a[title="Marathi"] {
543
- background:url('../images/flags22.png') -117px -235px no-repeat;
544
- }
545
-
546
- #flags.size22 a[title="Mongolian"],
547
- .tool-container .tool-items a[title="Mongolian"] {
548
- background:url('../images/flags22.png') -146px -235px no-repeat;
549
- }
550
-
551
- #flags.size22 a[title="Myanmar(Burmese)"],
552
- .tool-container .tool-items a[title="Myanmar(Burmese)"] {
553
- background:url('../images/flags22.png') -146px -409px no-repeat;
554
- }
555
-
556
- #flags.size22 a[title="Nepali"],
557
- .tool-container .tool-items a[title="Nepali"] {
558
- background:url('../images/flags22.png') -1px -264px no-repeat;
559
- }
560
-
561
- #flags.size22 a[title="Norwegian"],
562
- .tool-container .tool-items a[title="Norwegian"] {
563
- background:url('../images/flags22.png') -30px -264px no-repeat;
564
- }
565
-
566
- #flags.size22 a[title="Persian"],
567
- .tool-container .tool-items a[title="Persian"] {
568
- background:url('../images/flags22.png') -59px -264px no-repeat;
569
- }
570
-
571
- #flags.size22 a[title="Polish"],
572
- .tool-container .tool-items a[title="Polish"] {
573
- background:url('../images/flags22.png') -88px -264px no-repeat;
574
- }
575
-
576
- #flags.size22 a[title="Portuguese"],
577
- .tool-container .tool-items a[title="Portuguese"] {
578
- background:url('../images/flags22.png') -117px -264px no-repeat;
579
- }
580
-
581
- #flags.size22 a.brazil[title="Portuguese"] {
582
- background:url('../images/flags22.png') -146px -438px no-repeat;
583
- }
584
-
585
- #flags.size22 a[title="Punjabi"],
586
- .tool-container .tool-items a[title="Punjabi"] {
587
- background:url('../images/flags22.png') -146px -264px no-repeat;
588
- }
589
-
590
- #flags.size22 a[title="Romanian"],
591
- .tool-container .tool-items a[title="Romanian"] {
592
- background:url('../images/flags22.png') -1px -293px no-repeat;
593
- }
594
-
595
- #flags.size22 a[title="Russian"],
596
- .tool-container .tool-items a[title="Russian"] {
597
- background:url('../images/flags22.png') -30px -293px no-repeat;
598
- }
599
-
600
- #flags.size22 a[title="Samoan"],
601
- .tool-container .tool-items a[title="Samoan"] {
602
- background:url('../images/flags22.png') -30px -467px no-repeat;
603
- }
604
-
605
- #flags.size22 a[title="Scots Gaelic"],
606
- .tool-container .tool-items a[title="Scots Gaelic"] {
607
- background:url('../images/flags22.png') -59px -467px no-repeat;
608
- }
609
-
610
- #flags.size22 a[title="Serbian"],
611
- .tool-container .tool-items a[title="Serbian"] {
612
- background:url('../images/flags22.png') -59px -293px no-repeat;
613
- }
614
-
615
- #flags.size22 a[title="Sesotho"],
616
- .tool-container .tool-items a[title="Sesotho"] {
617
- background:url('../images/flags22.png') -30px -409px no-repeat;
618
- }
619
-
620
- #flags.size22 a[title="Sindhi"],
621
- .tool-container .tool-items a[title="Sindhi"] {
622
- background:url('../images/flags22.png') -146px -351px no-repeat;
623
- }
624
-
625
- #flags.size22 a[title="Sinhala"],
626
- .tool-container .tool-items a[title="Sinhala"] {
627
- background:url('../images/flags22.png') -1px -438px no-repeat;
628
- }
629
-
630
- #flags.size22 a[title="Slovak"],
631
- .tool-container .tool-items a[title="Slovak"] {
632
- background:url('../images/flags22.png') -88px -293px no-repeat;
633
- }
634
-
635
- #flags.size22 a[title="Slovenian"],
636
- .tool-container .tool-items a[title="Slovenian"] {
637
- background:url('../images/flags22.png') -117px -293px no-repeat;
638
- }
639
-
640
- #flags.size22 a[title="Somali"],
641
- .tool-container .tool-items a[title="Somali"] {
642
- background:url('../images/flags22.png') -146px -293px no-repeat;
643
- }
644
-
645
- #flags.size22 a[title="Spanish"],
646
- .tool-container .tool-items a[title="Spanish"] {
647
- background:url('../images/flags22.png') -1px -322px no-repeat;
648
- }
649
-
650
- #flags.size22 a.mexico[title="Spanish"] {
651
- background:url('../images/flags22.png') -117px -438px no-repeat;
652
- }
653
-
654
- #flags.size22 a[title="Sundanese"],
655
- .tool-container .tool-items a[title="Sundanese"] {
656
- background:url('../images/flags22.png') -146px -380px no-repeat;
657
- }
658
-
659
- #flags.size22 a[title="Swahili"],
660
- .tool-container .tool-items a[title="Swahili"] {
661
- background:url('../images/flags22.png') -30px -322px no-repeat;
662
- }
663
-
664
- #flags.size22 a[title="Swedish"],
665
- .tool-container .tool-items a[title="Swedish"] {
666
- background:url('../images/flags22.png') -59px -322px no-repeat;
667
- }
668
-
669
- #flags.size22 a[title="Tajik"],
670
- .tool-container .tool-items a[title="Tajik"] {
671
- background:url('../images/flags22.png') -30px -438px no-repeat;
672
- }
673
-
674
- #flags.size22 a[title="Tamil"],
675
- .tool-container .tool-items a[title="Tamil"] {
676
- background:url('../images/flags22.png') -88px -322px no-repeat;
677
- }
678
-
679
- #flags.size22 a[title="Telugu"],
680
- .tool-container .tool-items a[title="Telugu"] {
681
- background:url('../images/flags22.png') -117px -322px no-repeat;
682
- }
683
-
684
- #flags.size22 a[title="Thai"],
685
- .tool-container .tool-items a[title="Thai"] {
686
- background:url('../images/flags22.png') -146px -322px no-repeat;
687
- }
688
-
689
- #flags.size22 a[title="Turkish"],
690
- .tool-container .tool-items a[title="Turkish"] {
691
- background:url('../images/flags22.png') -30px -351px no-repeat;
692
- }
693
-
694
- #flags.size22 a[title="Ukranian"],
695
- .tool-container .tool-items a[title="Ukranian"] {
696
- background:url('../images/flags22.png') -59px -351px no-repeat;
697
- }
698
-
699
- #flags.size22 a[title="Uzbek"],
700
- .tool-container .tool-items a[title="Uzbek"] {
701
- background:url('../images/flags22.png') -59px -438px no-repeat;
702
- }
703
-
704
- #flags.size22 a[title="Urdu"],
705
- .tool-container .tool-items a[title="Urdu"] {
706
- background:url('../images/flags22.png') -146px -351px no-repeat;
707
- }
708
-
709
- #flags.size22 a[title="Vietnamese"],
710
- .tool-container .tool-items a[title="Vietnamese"] {
711
- background:url('../images/flags22.png') -1px -380px no-repeat;
712
- }
713
-
714
- #flags.size22 a[title="Welsh"],
715
- .tool-container .tool-items a[title="Welsh"] {
716
- background:url('../images/flags22.png') -30px -380px no-repeat;
717
- }
718
-
719
- #flags.size22 a[title="Xhosa"],
720
- .tool-container .tool-items a[title="Xhosa"] {
721
- background:url('../images/flags22.png') -1px -3px no-repeat;
722
- }
723
-
724
- #flags.size22 a[title="Yiddish"],
725
- .tool-container .tool-items a[title="Yiddish"] {
726
- background:url('../images/flags22.png') -59px -380px no-repeat;
727
- }
728
-
729
- #flags.size22 a[title="Yoruba"],
730
- .tool-container .tool-items a[title="Yoruba"] {
731
- background:url('../images/flags22.png') -88px -380px no-repeat;
732
- }
733
-
734
- #flags.size22 a[title="Zulu"],
735
- .tool-container .tool-items a[title="Zulu"] {
736
- background:url('../images/flags22.png') -117px -380px no-repeat;
737
- }
738
-
739
- /* Individual flag backgrounds (18px) */
740
-
741
- #flags.size18 a[title="Afrikaans"],
742
- .tool-container .tool-items a[title="Afrikaans"] {
743
- background:url('../images/flags18.png') -2px -4px no-repeat;
744
- }
745
-
746
- #flags.size18 a[title="Albanian"],
747
- .tool-container .tool-items a[title="Albanian"] {
748
- background:url('../images/flags18.png') -31px -4px no-repeat;
749
- }
750
-
751
- #flags.size18 a[title="Amharic"],
752
- .tool-container .tool-items a[title="Amharic"] {
753
- background:url('../images/flags18.png') -2px -468px no-repeat;
754
- }
755
-
756
- #flags.size18 a[title="Arabic"],
757
- .tool-container .tool-items a[title="Arabic"] {
758
- background:url('../images/flags18.png') -60px -4px no-repeat;
759
- }
760
-
761
- #flags.size18 a[title="Armenian"],
762
- .tool-container .tool-items a[title="Armenian"] {
763
- background:url('../images/flags18.png') -89px -4px no-repeat;
764
- }
765
-
766
- #flags.size18 a[title="Azerbaijani"],
767
- .tool-container .tool-items a[title="Azerbaijani"] {
768
- background:url('../images/flags18.png') -118px -4px no-repeat;
769
- }
770
-
771
- #flags.size18 a[title="Basque"],
772
- .tool-container .tool-items a[title="Basque"] {
773
- background:url('../images/flags18.png') -147px -4px no-repeat;
774
- }
775
-
776
- #flags.size18 a[title="Belarusian"],
777
- .tool-container .tool-items a[title="Belarusian"] {
778
- background:url('../images/flags18.png') -2px -33px no-repeat;
779
- }
780
-
781
- #flags.size18 a[title="Bengali"],
782
- .tool-container .tool-items a[title="Bengali"] {
783
- background:url('../images/flags18.png') -31px -33px no-repeat;
784
- }
785
-
786
- #flags.size18 a[title="Bosnian"],
787
- .tool-container .tool-items a[title="Bosnian"] {
788
- background:url('../images/flags18.png') -60px -33px no-repeat;
789
- }
790
-
791
- #flags.size18 a[title="Bulgarian"],
792
- .tool-container .tool-items a[title="Bulgarian"] {
793
- background:url('../images/flags18.png') -89px -33px no-repeat;
794
- }
795
-
796
- #flags.size18 a[title="Catalan"],
797
- .tool-container .tool-items a[title="Catalan"] {
798
- background:url('../images/flags18.png') -118px -33px no-repeat;
799
- }
800
-
801
- #flags.size18 a[title="Cebuano"],
802
- .tool-container .tool-items a[title="Cebuano"] {
803
- background:url('../images/flags18.png') -147px -33px no-repeat;
804
- }
805
-
806
- #flags.size18 a[title="Chichewa"],
807
- .tool-container .tool-items a[title="Chichewa"] {
808
- background:url('../images/flags18.png') -89px -410px no-repeat;
809
- }
810
-
811
- #flags.size18 a[title="Chinese"],
812
- .tool-container .tool-items a[title="Chinese"] {
813
- background:url('../images/flags18.png') -2px -62px no-repeat;
814
- }
815
-
816
- #flags.size18 a[title="Chinese(Traditional)"],
817
- .tool-container .tool-items a[title="Chinese(Traditional)"] {
818
- background:url('../images/flags18.png') -31px -62px no-repeat;
819
- }
820
-
821
- #flags.size18 a[title="Corsican"],
822
- .tool-container .tool-items a[title="Corsican"] {
823
- background:url('../images/flags18.png') -118px -91px no-repeat;
824
- }
825
-
826
- #flags.size18 a[title="Croatian"],
827
- .tool-container .tool-items a[title="Croatian"] {
828
- background:url('../images/flags18.png') -60px -62px no-repeat;
829
- }
830
-
831
- #flags.size18 a[title="Czech"],
832
- .tool-container .tool-items a[title="Czech"] {
833
- background:url('../images/flags18.png') -89px -62px no-repeat;
834
- }
835
-
836
- #flags.size18 a[title="Danish"],
837
- .tool-container .tool-items a[title="Danish"] {
838
- background:url('../images/flags18.png') -118px -62px no-repeat;
839
- }
840
-
841
- #flags.size18 a[title="Dutch"],
842
- .tool-container .tool-items a[title="Dutch"] {
843
- background:url('../images/flags18.png') -147px -62px no-repeat;
844
- }
845
-
846
- #flags.size18 a[title="English"],
847
- .tool-container .tool-items a[title="English"] {
848
- background:url('../images/flags18.png') -89px -352px no-repeat;
849
- }
850
-
851
- #flags.size18 a.united-states[title="English"] {
852
- background:url('../images/flags18.png') -118px -352px no-repeat;
853
- }
854
-
855
- #flags.size18 a.canada[title="English"] {
856
- background:url('../images/flags18.png') -89px -439px no-repeat;
857
- }
858
-
859
- #flags.size18 a[title="Esperanto"],
860
- .tool-container .tool-items a[title="Esperanto"] {
861
- background:url('../images/flags18.png') -2px -91px no-repeat;
862
- }
863
-
864
- #flags.size18 a[title="Estonian"],
865
- .tool-container .tool-items a[title="Estonian"] {
866
- background:url('../images/flags18.png') -31px -91px no-repeat;
867
- }
868
-
869
- #flags.size18 a[title="Filipino"],
870
- .tool-container .tool-items a[title="Filipino"] {
871
- background:url('../images/flags18.png') -60px -91px no-repeat;
872
- }
873
-
874
- #flags.size18 a[title="Finnish"],
875
- .tool-container .tool-items a[title="Finnish"] {
876
- background:url('../images/flags18.png') -89px -91px no-repeat;
877
- }
878
-
879
- #flags.size18 a[title="French"],
880
- .tool-container .tool-items a[title="French"] {
881
- background:url('../images/flags18.png') -118px -91px no-repeat;
882
- }
883
-
884
- #flags.size18 a[title="Frisian"],
885
- .tool-container .tool-items a[title="Frisian"] {
886
- background:url('../images/flags18.png') -147px -62px no-repeat;
887
- }
888
-
889
- #flags.size18 a[title="Galician"],
890
- .tool-container .tool-items a[title="Galician"] {
891
- background:url('../images/flags18.png') -147px -91px no-repeat;
892
- }
893
-
894
- #flags.size18 a[title="Georgian"],
895
- .tool-container .tool-items a[title="Georgian"] {
896
- background:url('../images/flags18.png') -2px -120px no-repeat;
897
- }
898
-
899
- #flags.size18 a[title="German"],
900
- .tool-container .tool-items a[title="German"] {
901
- background:url('../images/flags18.png') -31px -120px no-repeat;
902
- }
903
-
904
- #flags.size18 a[title="Greek"],
905
- .tool-container .tool-items a[title="Greek"] {
906
- background:url('../images/flags18.png') -60px -120px no-repeat;
907
- }
908
-
909
- #flags.size18 a[title="Gujarati"],
910
- .tool-container .tool-items a[title="Gujarati"] {
911
- background:url('../images/flags18.png') -89px -120px no-repeat;
912
- }
913
-
914
- #flags.size18 a[title="Haitian"],
915
- .tool-container .tool-items a[title="Haitian"] {
916
- background:url('../images/flags18.png') -118px -120px no-repeat;
917
- }
918
-
919
- #flags.size18 a[title="Hausa"],
920
- .tool-container .tool-items a[title="Hausa"] {
921
- background:url('../images/flags18.png') -147px -120px no-repeat;
922
- }
923
-
924
- #flags.size18 a[title="Hebrew"],
925
- .tool-container .tool-items a[title="Hebrew"] {
926
- background:url('../images/flags18.png') -2px -149px no-repeat;
927
- }
928
-
929
- #flags.size18 a[title="Hindi"],
930
- .tool-container .tool-items a[title="Hindi"] {
931
- background:url('../images/flags18.png') -31px -149px no-repeat;
932
- }
933
-
934
- #flags.size18 a[title="Hmong"],
935
- .tool-container .tool-items a[title="Hmong"] {
936
- background:url('../images/flags18.png') -60px -149px no-repeat;
937
- }
938
-
939
- #flags.size18 a[title="Hungarian"],
940
- .tool-container .tool-items a[title="Hungarian"] {
941
- background:url('../images/flags18.png') -89px -149px no-repeat;
942
- }
943
-
944
- #flags.size18 a[title="Icelandic"],
945
- .tool-container .tool-items a[title="Icelandic"] {
946
- background:url('../images/flags18.png') -118px -149px no-repeat;
947
- }
948
-
949
- #flags.size18 a[title="Igbo"],
950
- .tool-container .tool-items a[title="Igbo"] {
951
- background:url('../images/flags18.png') -147px -149px no-repeat;
952
- }
953
-
954
- #flags.size18 a[title="Indonesian"],
955
- .tool-container .tool-items a[title="Indonesian"] {
956
- background:url('../images/flags18.png') -2px -178px no-repeat;
957
- }
958
-
959
- #flags.size18 a[title="Irish"],
960
- .tool-container .tool-items a[title="Irish"] {
961
- background:url('../images/flags18.png') -31px -178px no-repeat;
962
- }
963
-
964
- #flags.size18 a[title="Italian"],
965
- .tool-container .tool-items a[title="Italian"] {
966
- background:url('../images/flags18.png') -60px -178px no-repeat;
967
- }
968
-
969
- #flags.size18 a[title="Japanese"],
970
- .tool-container .tool-items a[title="Japanese"] {
971
- background:url('../images/flags18.png') -89px -178px no-repeat;
972
- }
973
-
974
- #flags.size18 a[title="Javanese"],
975
- .tool-container .tool-items a[title="Javanese"] {
976
- background:url('../images/flags18.png') -118px -178px no-repeat;
977
- }
978
-
979
- #flags.size18 a[title="Kannada"],
980
- .tool-container .tool-items a[title="Kannada"] {
981
- background:url('../images/flags18.png') -147px -178px no-repeat;
982
- }
983
-
984
- #flags.size18 a[title="Kazakh"],
985
- .tool-container .tool-items a[title="Kazakh"] {
986
- background:url('../images/flags18.png') -2px -410px no-repeat;
987
- }
988
-
989
- #flags.size18 a[title="Khmer"],
990
- .tool-container .tool-items a[title="Khmer"] {
991
- background:url('../images/flags18.png') -2px -207px no-repeat;
992
- }
993
-
994
- #flags.size18 a[title="Korean"],
995
- .tool-container .tool-items a[title="Korean"] {
996
- background:url('../images/flags18.png') -31px -207px no-repeat;
997
- }
998
-
999
- #flags.size18 a[title="Lao"],
1000
- .tool-container .tool-items a[title="Lao"] {
1001
- background:url('../images/flags18.png') -60px -207px no-repeat;
1002
- }
1003
-
1004
- #flags.size18 a[title="Latin"],
1005
- .tool-container .tool-items a[title="Latin"] {
1006
- background:url('../images/flags18.png') -89px -207px no-repeat;
1007
- }
1008
-
1009
- #flags.size18 a[title="Latvian"],
1010
- .tool-container .tool-items a[title="Latvian"] {
1011
- background:url('../images/flags18.png') -118px -207px no-repeat;
1012
- }
1013
-
1014
- #flags.size18 a[title="Lithuanian"],
1015
- .tool-container .tool-items a[title="Lithuanian"] {
1016
- background:url('../images/flags18.png') -147px -207px no-repeat;
1017
- }
1018
-
1019
- #flags.size18 a[title="Macedonian"],
1020
- .tool-container .tool-items a[title="Macedonian"] {
1021
- background:url('../images/flags18.png') -2px -236px no-repeat;
1022
- }
1023
-
1024
- #flags.size18 a[title="Malagasy"],
1025
- .tool-container .tool-items a[title="Malagasy"] {
1026
- background:url('../images/flags18.png') -60px -410px no-repeat;
1027
- }
1028
-
1029
- #flags.size18 a[title="Malay"],
1030
- .tool-container .tool-items a[title="Malay"] {
1031
- background:url('../images/flags18.png') -31px -236px no-repeat;
1032
- }
1033
-
1034
- #flags.size18 a[title="Malayalam"],
1035
- .tool-container .tool-items a[title="Malayalam"] {
1036
- background:url('../images/flags18.png') -118px -410px no-repeat;
1037
- }
1038
-
1039
- #flags.size18 a[title="Maltese"],
1040
- .tool-container .tool-items a[title="Maltese"] {
1041
- background:url('../images/flags18.png') -60px -236px no-repeat;
1042
- }
1043
-
1044
- #flags.size18 a[title="Maori"],
1045
- .tool-container .tool-items a[title="Maori"] {
1046
- background:url('../images/flags18.png') -89px -236px no-repeat;
1047
- }
1048
-
1049
- #flags.size18 a[title="Marathi"],
1050
- .tool-container .tool-items a[title="Marathi"] {
1051
- background:url('../images/flags18.png') -118px -236px no-repeat;
1052
- }
1053
-
1054
- #flags.size18 a[title="Mongolian"],
1055
- .tool-container .tool-items a[title="Mongolian"] {
1056
- background:url('../images/flags18.png') -147px -236px no-repeat;
1057
- }
1058
-
1059
- #flags.size18 a[title="Myanmar(Burmese)"],
1060
- .tool-container .tool-items a[title="Myanmar(Burmese)"] {
1061
- background:url('../images/flags18.png') -147px -410px no-repeat;
1062
- }
1063
-
1064
- #flags.size18 a[title="Nepali"],
1065
- .tool-container .tool-items a[title="Nepali"] {
1066
- background:url('../images/flags18.png') -2px -265px no-repeat;
1067
- }
1068
-
1069
- #flags.size18 a[title="Norwegian"],
1070
- .tool-container .tool-items a[title="Norwegian"] {
1071
- background:url('../images/flags18.png') -31px -265px no-repeat;
1072
- }
1073
-
1074
- #flags.size18 a[title="Persian"],
1075
- .tool-container .tool-items a[title="Persian"] {
1076
- background:url('../images/flags18.png') -60px -265px no-repeat;
1077
- }
1078
-
1079
- #flags.size18 a[title="Polish"],
1080
- .tool-container .tool-items a[title="Polish"] {
1081
- background:url('../images/flags18.png') -89px -265px no-repeat;
1082
- }
1083
-
1084
- #flags.size18 a[title="Portuguese"],
1085
- .tool-container .tool-items a[title="Portuguese"] {
1086
- background:url('../images/flags18.png') -118px -265px no-repeat;
1087
- }
1088
-
1089
- #flags.size18 a.brazil[title="Portuguese"] {
1090
- background:url('../images/flags18.png') -147px -439px no-repeat;
1091
- }
1092
-
1093
- #flags.size18 a[title="Punjabi"],
1094
- .tool-container .tool-items a[title="Punjabi"] {
1095
- background:url('../images/flags18.png') -147px -265px no-repeat;
1096
- }
1097
-
1098
- #flags.size18 a[title="Romanian"],
1099
- .tool-container .tool-items a[title="Romanian"] {
1100
- background:url('../images/flags18.png') -2px -294px no-repeat;
1101
- }
1102
-
1103
- #flags.size18 a[title="Russian"],
1104
- .tool-container .tool-items a[title="Russian"] {
1105
- background:url('../images/flags18.png') -31px -294px no-repeat;
1106
- }
1107
-
1108
- #flags.size18 a[title="Samoan"],
1109
- .tool-container .tool-items a[title="Samoan"] {
1110
- background:url('../images/flags18.png') -31px -468px no-repeat;
1111
- }
1112
-
1113
- #flags.size18 a[title="Scots Gaelic"],
1114
- .tool-container .tool-items a[title="Scots Gaelic"] {
1115
- background:url('../images/flags18.png') -60px -468px no-repeat;
1116
- }
1117
-
1118
- #flags.size18 a[title="Serbian"],
1119
- .tool-container .tool-items a[title="Serbian"] {
1120
- background:url('../images/flags18.png') -60px -294px no-repeat;
1121
- }
1122
-
1123
- #flags.size18 a[title="Sesotho"],
1124
- .tool-container .tool-items a[title="Sesotho"] {
1125
- background:url('../images/flags18.png') -31px -410px no-repeat;
1126
- }
1127
-
1128
- #flags.size18 a[title="Sindhi"],
1129
- .tool-container .tool-items a[title="Sindhi"] {
1130
- background:url('../images/flags18.png') -147px -352px no-repeat;
1131
- }
1132
-
1133
- #flags.size18 a[title="Sinhala"],
1134
- .tool-container .tool-items a[title="Sinhala"] {
1135
- background:url('../images/flags18.png') -2px -439px no-repeat;
1136
- }
1137
-
1138
- #flags.size18 a[title="Slovak"],
1139
- .tool-container .tool-items a[title="Slovak"] {
1140
- background:url('../images/flags18.png') -89px -294px no-repeat;
1141
- }
1142
-
1143
- #flags.size18 a[title="Slovenian"],
1144
- .tool-container .tool-items a[title="Slovenian"] {
1145
- background:url('../images/flags18.png') -118px -294px no-repeat;
1146
- }
1147
-
1148
- #flags.size18 a[title="Somali"],
1149
- .tool-container .tool-items a[title="Somali"] {
1150
- background:url('../images/flags18.png') -147px -294px no-repeat;
1151
- }
1152
-
1153
- #flags.size18 a[title="Spanish"],
1154
- .tool-container .tool-items a[title="Spanish"] {
1155
- background:url('../images/flags18.png') -2px -323px no-repeat;
1156
- }
1157
-
1158
- #flags.size18 a.mexico[title="Spanish"] {
1159
- background:url('../images/flags18.png') -118px -439px no-repeat;
1160
- }
1161
-
1162
- #flags.size18 a[title="Sundanese"],
1163
- .tool-container .tool-items a[title="Sundanese"] {
1164
- background:url('../images/flags18.png') -147px -381px no-repeat;
1165
- }
1166
-
1167
- #flags.size18 a[title="Swahili"],
1168
- .tool-container .tool-items a[title="Swahili"] {
1169
- background:url('../images/flags18.png') -31px -323px no-repeat;
1170
- }
1171
-
1172
- #flags.size18 a[title="Swedish"],
1173
- .tool-container .tool-items a[title="Swedish"] {
1174
- background:url('../images/flags18.png') -60px -323px no-repeat;
1175
- }
1176
-
1177
- #flags.size18 a[title="Tajik"],
1178
- .tool-container .tool-items a[title="Tajik"] {
1179
- background:url('../images/flags18.png') -31px -439px no-repeat;
1180
- }
1181
-
1182
- #flags.size18 a[title="Tamil"],
1183
- .tool-container .tool-items a[title="Tamil"] {
1184
- background:url('../images/flags18.png') -89px -323px no-repeat;
1185
- }
1186
-
1187
- #flags.size18 a[title="Telugu"],
1188
- .tool-container .tool-items a[title="Telugu"] {
1189
- background:url('../images/flags18.png') -118px -323px no-repeat;
1190
- }
1191
-
1192
- #flags.size18 a[title="Thai"],
1193
- .tool-container .tool-items a[title="Thai"] {
1194
- background:url('../images/flags18.png') -147px -323px no-repeat;
1195
- }
1196
-
1197
- #flags.size18 a[title="Turkish"],
1198
- .tool-container .tool-items a[title="Turkish"] {
1199
- background:url('../images/flags18.png') -31px -352px no-repeat;
1200
- }
1201
-
1202
- #flags.size18 a[title="Ukranian"],
1203
- .tool-container .tool-items a[title="Ukranian"] {
1204
- background:url('../images/flags18.png') -60px -352px no-repeat;
1205
- }
1206
-
1207
- #flags.size18 a[title="Urdu"],
1208
- .tool-container .tool-items a[title="Urdu"] {
1209
- background:url('../images/flags18.png') -147px -352px no-repeat;
1210
- }
1211
-
1212
- #flags.size18 a[title="Uzbek"],
1213
- .tool-container .tool-items a[title="Uzbek"] {
1214
- background:url('../images/flags18.png') -60px -439px no-repeat;
1215
- }
1216
-
1217
- #flags.size18 a[title="Vietnamese"],
1218
- .tool-container .tool-items a[title="Vietnamese"] {
1219
- background:url('../images/flags18.png') -2px -381px no-repeat;
1220
- }
1221
-
1222
- #flags.size18 a[title="Welsh"],
1223
- .tool-container .tool-items a[title="Welsh"] {
1224
- background:url('../images/flags18.png') -31px -381px no-repeat;
1225
- }
1226
-
1227
- #flags.size18 a[title="Xhosa"],
1228
- .tool-container .tool-items a[title="Xhosa"] {
1229
- background:url('../images/flags18.png') -2px -4px no-repeat;
1230
- }
1231
-
1232
- #flags.size18 a[title="Yiddish"],
1233
- .tool-container .tool-items a[title="Yiddish"] {
1234
- background:url('../images/flags18.png') -60px -381px no-repeat;
1235
- }
1236
-
1237
- #flags.size18 a[title="Yoruba"],
1238
- .tool-container .tool-items a[title="Yoruba"] {
1239
- background:url('../images/flags18.png') -89px -381px no-repeat;
1240
- }
1241
-
1242
- #flags.size18 a[title="Zulu"],
1243
- .tool-container .tool-items a[title="Zulu"] {
1244
- background:url('../images/flags18.png') -118px -381px no-repeat;
1245
- }
1246
-
1247
- /* Individual flag backgrounds (20px) */
1248
-
1249
- #flags.size20 a[title="Afrikaans"],
1250
- .tool-container .tool-items a[title="Afrikaans"] {
1251
- background:url('../images/flags20.png') -2px -4px no-repeat;
1252
- }
1253
-
1254
- #flags.size20 a[title="Albanian"],
1255
- .tool-container .tool-items a[title="Albanian"] {
1256
- background:url('../images/flags20.png') -31px -4px no-repeat;
1257
- }
1258
-
1259
- #flags.size20 a[title="Amharic"],
1260
- .tool-container .tool-items a[title="Amharic"] {
1261
- background:url('../images/flags20.png') -2px -468px no-repeat;
1262
- }
1263
-
1264
- #flags.size20 a[title="Arabic"],
1265
- .tool-container .tool-items a[title="Arabic"] {
1266
- background:url('../images/flags20.png') -60px -4px no-repeat;
1267
- }
1268
-
1269
- #flags.size20 a[title="Armenian"],
1270
- .tool-container .tool-items a[title="Armenian"] {
1271
- background:url('../images/flags20.png') -89px -4px no-repeat;
1272
- }
1273
-
1274
- #flags.size20 a[title="Azerbaijani"],
1275
- .tool-container .tool-items a[title="Azerbaijani"] {
1276
- background:url('../images/flags20.png') -118px -4px no-repeat;
1277
- }
1278
-
1279
- #flags.size20 a[title="Basque"],
1280
- .tool-container .tool-items a[title="Basque"] {
1281
- background:url('../images/flags20.png') -147px -4px no-repeat;
1282
- }
1283
-
1284
- #flags.size20 a[title="Belarusian"],
1285
- .tool-container .tool-items a[title="Belarusian"] {
1286
- background:url('../images/flags20.png') -2px -33px no-repeat;
1287
- }
1288
-
1289
- #flags.size20 a[title="Bengali"],
1290
- .tool-container .tool-items a[title="Bengali"] {
1291
- background:url('../images/flags20.png') -31px -33px no-repeat;
1292
- }
1293
-
1294
- #flags.size20 a[title="Bosnian"],
1295
- .tool-container .tool-items a[title="Bosnian"] {
1296
- background:url('../images/flags20.png') -60px -33px no-repeat;
1297
- }
1298
-
1299
- #flags.size20 a[title="Bulgarian"],
1300
- .tool-container .tool-items a[title="Bulgarian"] {
1301
- background:url('../images/flags20.png') -89px -33px no-repeat;
1302
- }
1303
-
1304
- #flags.size20 a[title="Catalan"],
1305
- .tool-container .tool-items a[title="Catalan"] {
1306
- background:url('../images/flags20.png') -118px -33px no-repeat;
1307
- }
1308
-
1309
- #flags.size20 a[title="Cebuano"],
1310
- .tool-container .tool-items a[title="Cebuano"] {
1311
- background:url('../images/flags20.png') -147px -33px no-repeat;
1312
- }
1313
-
1314
- #flags.size20 a[title="Chichewa"],
1315
- .tool-container .tool-items a[title="Chichewa"] {
1316
- background:url('../images/flags20.png') -89px -410px no-repeat;
1317
- }
1318
-
1319
- #flags.size20 a[title="Chinese"],
1320
- .tool-container .tool-items a[title="Chinese"] {
1321
- background:url('../images/flags20.png') -2px -62px no-repeat;
1322
- }
1323
-
1324
- #flags.size20 a[title="Chinese(Traditional)"],
1325
- .tool-container .tool-items a[title="Chinese(Traditional)"] {
1326
- background:url('../images/flags20.png') -31px -62px no-repeat;
1327
- }
1328
-
1329
- #flags.size20 a[title="Corsican"],
1330
- .tool-container .tool-items a[title="Corsican"] {
1331
- background:url('../images/flags20.png') -118px -91px no-repeat;
1332
- }
1333
-
1334
- #flags.size20 a[title="Croatian"],
1335
- .tool-container .tool-items a[title="Croatian"] {
1336
- background:url('../images/flags20.png') -60px -62px no-repeat;
1337
- }
1338
-
1339
- #flags.size20 a[title="Czech"],
1340
- .tool-container .tool-items a[title="Czech"] {
1341
- background:url('../images/flags20.png') -89px -62px no-repeat;
1342
- }
1343
-
1344
- #flags.size20 a[title="Danish"],
1345
- .tool-container .tool-items a[title="Danish"] {
1346
- background:url('../images/flags20.png') -118px -62px no-repeat;
1347
- }
1348
-
1349
- #flags.size20 a[title="Dutch"],
1350
- .tool-container .tool-items a[title="Dutch"] {
1351
- background:url('../images/flags20.png') -147px -62px no-repeat;
1352
- }
1353
-
1354
- #flags.size20 a[title="English"],
1355
- .tool-container .tool-items a[title="English"] {
1356
- background:url('../images/flags20.png') -89px -352px no-repeat;
1357
- }
1358
-
1359
- #flags.size20 a.united-states[title="English"] {
1360
- background:url('../images/flags20.png') -118px -352px no-repeat;
1361
- }
1362
-
1363
- #flags.size20 a.canada[title="English"] {
1364
- background:url('../images/flags20.png') -89px -439px no-repeat;
1365
- }
1366
-
1367
- #flags.size20 a[title="Esperanto"],
1368
- .tool-container .tool-items a[title="Esperanto"] {
1369
- background:url('../images/flags20.png') -2px -91px no-repeat;
1370
- }
1371
-
1372
- #flags.size20 a[title="Estonian"],
1373
- .tool-container .tool-items a[title="Estonian"] {
1374
- background:url('../images/flags20.png') -31px -91px no-repeat;
1375
- }
1376
-
1377
- #flags.size20 a[title="Filipino"],
1378
- .tool-container .tool-items a[title="Filipino"] {
1379
- background:url('../images/flags20.png') -60px -91px no-repeat;
1380
- }
1381
-
1382
- #flags.size20 a[title="Finnish"],
1383
- .tool-container .tool-items a[title="Finnish"] {
1384
- background:url('../images/flags20.png') -89px -91px no-repeat;
1385
- }
1386
-
1387
- #flags.size20 a[title="French"],
1388
- .tool-container .tool-items a[title="French"] {
1389
- background:url('../images/flags20.png') -118px -91px no-repeat;
1390
- }
1391
-
1392
- #flags.size20 a[title="Frisian"],
1393
- .tool-container .tool-items a[title="Frisian"] {
1394
- background:url('../images/flags20.png') -147px -62px no-repeat;
1395
- }
1396
-
1397
- #flags.size20 a[title="Galician"],
1398
- .tool-container .tool-items a[title="Galician"] {
1399
- background:url('../images/flags20.png') -147px -91px no-repeat;
1400
- }
1401
-
1402
- #flags.size20 a[title="Georgian"],
1403
- .tool-container .tool-items a[title="Georgian"] {
1404
- background:url('../images/flags20.png') -2px -120px no-repeat;
1405
- }
1406
-
1407
- #flags.size20 a[title="German"],
1408
- .tool-container .tool-items a[title="German"] {
1409
- background:url('../images/flags20.png') -31px -120px no-repeat;
1410
- }
1411
-
1412
- #flags.size20 a[title="Greek"],
1413
- .tool-container .tool-items a[title="Greek"] {
1414
- background:url('../images/flags20.png') -60px -120px no-repeat;
1415
- }
1416
-
1417
- #flags.size20 a[title="Gujarati"],
1418
- .tool-container .tool-items a[title="Gujarati"] {
1419
- background:url('../images/flags20.png') -89px -120px no-repeat;
1420
- }
1421
-
1422
- #flags.size20 a[title="Haitian"],
1423
- .tool-container .tool-items a[title="Haitian"] {
1424
- background:url('../images/flags20.png') -118px -120px no-repeat;
1425
- }
1426
-
1427
- #flags.size20 a[title="Hausa"],
1428
- .tool-container .tool-items a[title="Hausa"] {
1429
- background:url('../images/flags20.png') -147px -120px no-repeat;
1430
- }
1431
-
1432
- #flags.size20 a[title="Hebrew"],
1433
- .tool-container .tool-items a[title="Hebrew"] {
1434
- background:url('../images/flags20.png') -2px -149px no-repeat;
1435
- }
1436
-
1437
- #flags.size20 a[title="Hindi"],
1438
- .tool-container .tool-items a[title="Hindi"] {
1439
- background:url('../images/flags20.png') -31px -149px no-repeat;
1440
- }
1441
-
1442
- #flags.size20 a[title="Hmong"],
1443
- .tool-container .tool-items a[title="Hmong"] {
1444
- background:url('../images/flags20.png') -60px -149px no-repeat;
1445
- }
1446
-
1447
- #flags.size20 a[title="Hungarian"],
1448
- .tool-container .tool-items a[title="Hungarian"] {
1449
- background:url('../images/flags20.png') -89px -149px no-repeat;
1450
- }
1451
-
1452
- #flags.size20 a[title="Icelandic"],
1453
- .tool-container .tool-items a[title="Icelandic"] {
1454
- background:url('../images/flags20.png') -118px -149px no-repeat;
1455
- }
1456
-
1457
- #flags.size20 a[title="Igbo"],
1458
- .tool-container .tool-items a[title="Igbo"] {
1459
- background:url('../images/flags20.png') -147px -149px no-repeat;
1460
- }
1461
-
1462
- #flags.size20 a[title="Indonesian"],
1463
- .tool-container .tool-items a[title="Indonesian"] {
1464
- background:url('../images/flags20.png') -2px -178px no-repeat;
1465
- }
1466
-
1467
- #flags.size20 a[title="Irish"],
1468
- .tool-container .tool-items a[title="Irish"] {
1469
- background:url('../images/flags20.png') -31px -178px no-repeat;
1470
- }
1471
-
1472
- #flags.size20 a[title="Italian"],
1473
- .tool-container .tool-items a[title="Italian"] {
1474
- background:url('../images/flags20.png') -60px -178px no-repeat;
1475
- }
1476
-
1477
- #flags.size20 a[title="Japanese"],
1478
- .tool-container .tool-items a[title="Japanese"] {
1479
- background:url('../images/flags20.png') -89px -178px no-repeat;
1480
- }
1481
-
1482
- #flags.size20 a[title="Javanese"],
1483
- .tool-container .tool-items a[title="Javanese"] {
1484
- background:url('../images/flags20.png') -118px -178px no-repeat;
1485
- }
1486
-
1487
- #flags.size20 a[title="Kannada"],
1488
- .tool-container .tool-items a[title="Kannada"] {
1489
- background:url('../images/flags20.png') -147px -178px no-repeat;
1490
- }
1491
-
1492
- #flags.size20 a[title="Kazakh"],
1493
- .tool-container .tool-items a[title="Kazakh"] {
1494
- background:url('../images/flags20.png') -2px -410px no-repeat;
1495
- }
1496
-
1497
- #flags.size20 a[title="Khmer"],
1498
- .tool-container .tool-items a[title="Khmer"] {
1499
- background:url('../images/flags20.png') -2px -207px no-repeat;
1500
- }
1501
-
1502
- #flags.size20 a[title="Korean"],
1503
- .tool-container .tool-items a[title="Korean"] {
1504
- background:url('../images/flags20.png') -31px -207px no-repeat;
1505
- }
1506
-
1507
- #flags.size20 a[title="Lao"],
1508
- .tool-container .tool-items a[title="Lao"] {
1509
- background:url('../images/flags20.png') -60px -207px no-repeat;
1510
- }
1511
-
1512
- #flags.size20 a[title="Latin"],
1513
- .tool-container .tool-items a[title="Latin"] {
1514
- background:url('../images/flags20.png') -89px -207px no-repeat;
1515
- }
1516
-
1517
- #flags.size20 a[title="Latvian"],
1518
- .tool-container .tool-items a[title="Latvian"] {
1519
- background:url('../images/flags20.png') -118px -207px no-repeat;
1520
- }
1521
-
1522
- #flags.size20 a[title="Lithuanian"],
1523
- .tool-container .tool-items a[title="Lithuanian"] {
1524
- background:url('../images/flags20.png') -147px -207px no-repeat;
1525
- }
1526
-
1527
- #flags.size20 a[title="Macedonian"],
1528
- .tool-container .tool-items a[title="Macedonian"] {
1529
- background:url('../images/flags20.png') -2px -236px no-repeat;
1530
- }
1531
-
1532
- #flags.size20 a[title="Malagasy"],
1533
- .tool-container .tool-items a[title="Malagasy"] {
1534
- background:url('../images/flags20.png') -60px -410px no-repeat;
1535
- }
1536
-
1537
- #flags.size20 a[title="Malay"],
1538
- .tool-container .tool-items a[title="Malay"] {
1539
- background:url('../images/flags20.png') -31px -236px no-repeat;
1540
- }
1541
-
1542
- #flags.size20 a[title="Maltese"],
1543
- .tool-container .tool-items a[title="Maltese"] {
1544
- background:url('../images/flags20.png') -60px -236px no-repeat;
1545
- }
1546
-
1547
- #flags.size20 a[title="Malayalam"],
1548
- .tool-container .tool-items a[title="Malayalam"] {
1549
- background:url('../images/flags20.png') -118px -410px no-repeat;
1550
- }
1551
-
1552
- #flags.size20 a[title="Maori"],
1553
- .tool-container .tool-items a[title="Maori"] {
1554
- background:url('../images/flags20.png') -89px -236px no-repeat;
1555
- }
1556
-
1557
- #flags.size20 a[title="Marathi"],
1558
- .tool-container .tool-items a[title="Marathi"] {
1559
- background:url('../images/flags20.png') -118px -236px no-repeat;
1560
- }
1561
-
1562
- #flags.size20 a[title="Mongolian"],
1563
- .tool-container .tool-items a[title="Mongolian"] {
1564
- background:url('../images/flags20.png') -147px -236px no-repeat;
1565
- }
1566
-
1567
- #flags.size20 a[title="Myanmar(Burmese)"],
1568
- .tool-container .tool-items a[title="Myanmar(Burmese)"] {
1569
- background:url('../images/flags20.png') -147px -410px no-repeat;
1570
- }
1571
-
1572
- #flags.size20 a[title="Nepali"],
1573
- .tool-container .tool-items a[title="Nepali"] {
1574
- background:url('../images/flags20.png') -2px -265px no-repeat;
1575
- }
1576
-
1577
- #flags.size20 a[title="Norwegian"],
1578
- .tool-container .tool-items a[title="Norwegian"] {
1579
- background:url('../images/flags20.png') -31px -265px no-repeat;
1580
- }
1581
-
1582
- #flags.size20 a[title="Persian"],
1583
- .tool-container .tool-items a[title="Persian"] {
1584
- background:url('../images/flags20.png') -60px -265px no-repeat;
1585
- }
1586
-
1587
- #flags.size20 a[title="Polish"],
1588
- .tool-container .tool-items a[title="Polish"] {
1589
- background:url('../images/flags20.png') -89px -265px no-repeat;
1590
- }
1591
-
1592
- #flags.size20 a[title="Portuguese"],
1593
- .tool-container .tool-items a[title="Portuguese"] {
1594
- background:url('../images/flags20.png') -118px -265px no-repeat;
1595
- }
1596
-
1597
- #flags.size20 a.brazil[title="Portuguese"] {
1598
- background:url('../images/flags20.png') -147px -439px no-repeat;
1599
- }
1600
-
1601
- #flags.size20 a[title="Punjabi"],
1602
- .tool-container .tool-items a[title="Punjabi"] {
1603
- background:url('../images/flags20.png') -147px -265px no-repeat;
1604
- }
1605
-
1606
- #flags.size20 a[title="Romanian"],
1607
- .tool-container .tool-items a[title="Romanian"] {
1608
- background:url('../images/flags20.png') -2px -294px no-repeat;
1609
- }
1610
-
1611
- #flags.size20 a[title="Russian"],
1612
- .tool-container .tool-items a[title="Russian"] {
1613
- background:url('../images/flags20.png') -31px -294px no-repeat;
1614
- }
1615
-
1616
- #flags.size20 a[title="Samoan"],
1617
- .tool-container .tool-items a[title="Samoan"] {
1618
- background:url('../images/flags20.png') -31px -468px no-repeat;
1619
- }
1620
-
1621
- #flags.size20 a[title="Scots Gaelic"],
1622
- .tool-container .tool-items a[title="Scots Gaelic"] {
1623
- background:url('../images/flags20.png') -60px -468px no-repeat;
1624
- }
1625
-
1626
- #flags.size20 a[title="Serbian"],
1627
- .tool-container .tool-items a[title="Serbian"] {
1628
- background:url('../images/flags20.png') -60px -294px no-repeat;
1629
- }
1630
-
1631
- #flags.size20 a[title="Sesotho"],
1632
- .tool-container .tool-items a[title="Sesotho"] {
1633
- background:url('../images/flags20.png') -31px -410px no-repeat;
1634
- }
1635
-
1636
- #flags.size20 a[title="Sindhi"],
1637
- .tool-container .tool-items a[title="Sindhi"] {
1638
- background:url('../images/flags20.png') -147px -352px no-repeat;
1639
- }
1640
-
1641
- #flags.size20 a[title="Sinhala"],
1642
- .tool-container .tool-items a[title="Sinhala"] {
1643
- background:url('../images/flags20.png') -2px -439px no-repeat;
1644
- }
1645
-
1646
- #flags.size20 a[title="Slovak"],
1647
- .tool-container .tool-items a[title="Slovak"] {
1648
- background:url('../images/flags20.png') -89px -294px no-repeat;
1649
- }
1650
-
1651
- #flags.size20 a[title="Slovenian"],
1652
- .tool-container .tool-items a[title="Slovenian"] {
1653
- background:url('../images/flags20.png') -118px -294px no-repeat;
1654
- }
1655
-
1656
- #flags.size20 a[title="Somali"],
1657
- .tool-container .tool-items a[title="Somali"] {
1658
- background:url('../images/flags20.png') -147px -294px no-repeat;
1659
- }
1660
-
1661
- #flags.size20 a[title="Spanish"],
1662
- .tool-container .tool-items a[title="Spanish"] {
1663
- background:url('../images/flags20.png') -2px -323px no-repeat;
1664
- }
1665
-
1666
- #flags.size20 a.mexico[title="Spanish"] {
1667
- background:url('../images/flags20.png') -118px -439px no-repeat;
1668
- }
1669
-
1670
- #flags.size20 a[title="Sundanese"],
1671
- .tool-container .tool-items a[title="Sundanese"] {
1672
- background:url('../images/flags20.png') -147px -381px no-repeat;
1673
- }
1674
-
1675
- #flags.size20 a[title="Swahili"],
1676
- .tool-container .tool-items a[title="Swahili"] {
1677
- background:url('../images/flags20.png') -31px -323px no-repeat;
1678
- }
1679
-
1680
- #flags.size20 a[title="Swedish"],
1681
- .tool-container .tool-items a[title="Swedish"] {
1682
- background:url('../images/flags20.png') -60px -323px no-repeat;
1683
- }
1684
-
1685
- #flags.size20 a[title="Tajik"],
1686
- .tool-container .tool-items a[title="Tajik"] {
1687
- background:url('../images/flags20.png') -31px -439px no-repeat;
1688
- }
1689
-
1690
- #flags.size20 a[title="Tamil"],
1691
- .tool-container .tool-items a[title="Tamil"] {
1692
- background:url('../images/flags20.png') -89px -323px no-repeat;
1693
- }
1694
-
1695
- #flags.size20 a[title="Telugu"],
1696
- .tool-container .tool-items a[title="Telugu"] {
1697
- background:url('../images/flags20.png') -118px -323px no-repeat;
1698
- }
1699
-
1700
- #flags.size20 a[title="Thai"],
1701
- .tool-container .tool-items a[title="Thai"] {
1702
- background:url('../images/flags20.png') -147px -323px no-repeat;
1703
- }
1704
-
1705
- #flags.size20 a[title="Turkish"],
1706
- .tool-container .tool-items a[title="Turkish"] {
1707
- background:url('../images/flags20.png') -31px -352px no-repeat;
1708
- }
1709
-
1710
- #flags.size20 a[title="Ukranian"],
1711
- .tool-container .tool-items a[title="Ukranian"] {
1712
- background:url('../images/flags20.png') -60px -352px no-repeat;
1713
- }
1714
-
1715
- #flags.size20 a[title="Urdu"],
1716
- .tool-container .tool-items a[title="Urdu"] {
1717
- background:url('../images/flags20.png') -147px -352px no-repeat;
1718
- }
1719
-
1720
- #flags.size20 a[title="Uzbek"],
1721
- .tool-container .tool-items a[title="Uzbek"] {
1722
- background:url('../images/flags20.png') -60px -439px no-repeat;
1723
- }
1724
-
1725
- #flags.size20 a[title="Vietnamese"],
1726
- .tool-container .tool-items a[title="Vietnamese"] {
1727
- background:url('../images/flags20.png') -2px -381px no-repeat;
1728
- }
1729
-
1730
- #flags.size20 a[title="Welsh"],
1731
- .tool-container .tool-items a[title="Welsh"] {
1732
- background:url('../images/flags20.png') -31px -381px no-repeat;
1733
- }
1734
-
1735
- #flags.size20 a[title="Xhosa"],
1736
- .tool-container .tool-items a[title="Xhosa"] {
1737
- background:url('../images/flags20.png') -2px -4px no-repeat;
1738
- }
1739
-
1740
- #flags.size20 a[title="Yiddish"],
1741
- .tool-container .tool-items a[title="Yiddish"] {
1742
- background:url('../images/flags20.png') -60px -381px no-repeat;
1743
- }
1744
-
1745
- #flags.size20 a[title="Yoruba"],
1746
- .tool-container .tool-items a[title="Yoruba"] {
1747
- background:url('../images/flags20.png') -89px -381px no-repeat;
1748
- }
1749
-
1750
- #flags.size20 a[title="Zulu"],
1751
- .tool-container .tool-items a[title="Zulu"] {
1752
- background:url('../images/flags20.png') -118px -381px no-repeat;
1753
- }
1754
-
1755
- /* Individual flag backgrounds (16px) */
1756
-
1757
- #flags.size16 a[title="Afrikaans"],
1758
- .tool-container .tool-items a[title="Afrikaans"] {
1759
- background:url('../images/flags16.png') -4px -5px no-repeat;
1760
- }
1761
-
1762
- #flags.size16 a[title="Albanian"],
1763
- .tool-container .tool-items a[title="Albanian"] {
1764
- background:url('../images/flags16.png') -33px -5px no-repeat;
1765
- }
1766
-
1767
- #flags.size16 a[title="Amharic"],
1768
- .tool-container .tool-items a[title="Amharic"] {
1769
- background:url('../images/flags16.png') -4px -469px no-repeat;
1770
- }
1771
-
1772
- #flags.size16 a[title="Arabic"],
1773
- .tool-container .tool-items a[title="Arabic"] {
1774
- background:url('../images/flags16.png') -62px -5px no-repeat;
1775
- }
1776
-
1777
- #flags.size16 a[title="Armenian"],
1778
- .tool-container .tool-items a[title="Armenian"] {
1779
- background:url('../images/flags16.png') -91px -5px no-repeat;
1780
- }
1781
-
1782
- #flags.size16 a[title="Azerbaijani"],
1783
- .tool-container .tool-items a[title="Azerbaijani"] {
1784
- background:url('../images/flags16.png') -120px -5px no-repeat;
1785
- }
1786
-
1787
- #flags.size16 a[title="Basque"],
1788
- .tool-container .tool-items a[title="Basque"] {
1789
- background:url('../images/flags16.png') -149px -5px no-repeat;
1790
- }
1791
-
1792
- #flags.size16 a[title="Belarusian"],
1793
- .tool-container .tool-items a[title="Belarusian"] {
1794
- background:url('../images/flags16.png') -4px -34px no-repeat;
1795
- }
1796
-
1797
- #flags.size16 a[title="Bengali"],
1798
- .tool-container .tool-items a[title="Bengali"] {
1799
- background:url('../images/flags16.png') -33px -34px no-repeat;
1800
- }
1801
-
1802
- #flags.size16 a[title="Bosnian"],
1803
- .tool-container .tool-items a[title="Bosnian"] {
1804
- background:url('../images/flags16.png') -62px -34px no-repeat;
1805
- }
1806
-
1807
- #flags.size16 a[title="Bulgarian"],
1808
- .tool-container .tool-items a[title="Bulgarian"] {
1809
- background:url('../images/flags16.png') -91px -34px no-repeat;
1810
- }
1811
-
1812
- #flags.size16 a[title="Catalan"],
1813
- .tool-container .tool-items a[title="Catalan"] {
1814
- background:url('../images/flags16.png') -120px -34px no-repeat;
1815
- }
1816
-
1817
- #flags.size16 a[title="Cebuano"],
1818
- .tool-container .tool-items a[title="Cebuano"] {
1819
- background:url('../images/flags16.png') -149px -34px no-repeat;
1820
- }
1821
-
1822
- #flags.size16 a[title="Chichewa"],
1823
- .tool-container .tool-items a[title="Chichewa"] {
1824
- background:url('../images/flags16.png') -91px -411px no-repeat;
1825
- }
1826
-
1827
- #flags.size16 a[title="Chinese"],
1828
- .tool-container .tool-items a[title="Chinese"] {
1829
- background:url('../images/flags16.png') -4px -63px no-repeat;
1830
- }
1831
-
1832
- #flags.size16 a[title="Chinese(Traditional)"],
1833
- .tool-container .tool-items a[title="Chinese(Traditional)"] {
1834
- background:url('../images/flags16.png') -33px -63px no-repeat;
1835
- }
1836
-
1837
- #flags.size16 a[title="Corsican"],
1838
- .tool-container .tool-items a[title="Corsican"] {
1839
- background:url('../images/flags16.png') -120px -92px no-repeat;
1840
- }
1841
-
1842
- #flags.size16 a[title="Croatian"],
1843
- .tool-container .tool-items a[title="Croatian"] {
1844
- background:url('../images/flags16.png') -62px -63px no-repeat;
1845
- }
1846
-
1847
- #flags.size16 a[title="Czech"],
1848
- .tool-container .tool-items a[title="Czech"] {
1849
- background:url('../images/flags16.png') -91px -63px no-repeat;
1850
- }
1851
-
1852
- #flags.size16 a[title="Danish"],
1853
- .tool-container .tool-items a[title="Danish"] {
1854
- background:url('../images/flags16.png') -120px -63px no-repeat;
1855
- }
1856
-
1857
- #flags.size16 a[title="Dutch"],
1858
- .tool-container .tool-items a[title="Dutch"] {
1859
- background:url('../images/flags16.png') -149px -63px no-repeat;
1860
- }
1861
-
1862
- #flags.size16 a[title="English"],
1863
- .tool-container .tool-items a[title="English"] {
1864
- background:url('../images/flags16.png') -91px -353px no-repeat;
1865
- }
1866
-
1867
- #flags.size16 a.united-states[title="English"] {
1868
- background:url('../images/flags16.png') -120px -353px no-repeat;
1869
- }
1870
-
1871
- #flags.size16 a.canada[title="English"] {
1872
- background:url('../images/flags16.png') -91px -440px no-repeat;
1873
- }
1874
-
1875
- #flags.size16 a[title="Esperanto"],
1876
- .tool-container .tool-items a[title="Esperanto"] {
1877
- background:url('../images/flags16.png') -4px -92px no-repeat;
1878
- }
1879
-
1880
- #flags.size16 a[title="Estonian"],
1881
- .tool-container .tool-items a[title="Estonian"] {
1882
- background:url('../images/flags16.png') -33px -92px no-repeat;
1883
- }
1884
-
1885
- #flags.size16 a[title="Filipino"],
1886
- .tool-container .tool-items a[title="Filipino"] {
1887
- background:url('../images/flags16.png') -62px -92px no-repeat;
1888
- }
1889
-
1890
- #flags.size16 a[title="Finnish"],
1891
- .tool-container .tool-items a[title="Finnish"] {
1892
- background:url('../images/flags16.png') -91px -92px no-repeat;
1893
- }
1894
-
1895
- #flags.size16 a[title="French"],
1896
- .tool-container .tool-items a[title="French"] {
1897
- background:url('../images/flags16.png') -120px -92px no-repeat;
1898
- }
1899
-
1900
- #flags.size16 a[title="Frisian"],
1901
- .tool-container .tool-items a[title="Frisian"] {
1902
- background:url('../images/flags16.png') -149px -63px no-repeat;
1903
- }
1904
-
1905
- #flags.size16 a[title="Galician"],
1906
- .tool-container .tool-items a[title="Galician"] {
1907
- background:url('../images/flags16.png') -149px -92px no-repeat;
1908
- }
1909
-
1910
- #flags.size16 a[title="Georgian"],
1911
- .tool-container .tool-items a[title="Georgian"] {
1912
- background:url('../images/flags16.png') -4px -121px no-repeat;
1913
- }
1914
-
1915
- #flags.size16 a[title="German"],
1916
- .tool-container .tool-items a[title="German"] {
1917
- background:url('../images/flags16.png') -33px -121px no-repeat;
1918
- }
1919
-
1920
- #flags.size16 a[title="Greek"],
1921
- .tool-container .tool-items a[title="Greek"] {
1922
- background:url('../images/flags16.png') -62px -121px no-repeat;
1923
- }
1924
-
1925
- #flags.size16 a[title="Gujarati"],
1926
- .tool-container .tool-items a[title="Gujarati"] {
1927
- background:url('../images/flags16.png') -91px -121px no-repeat;
1928
- }
1929
-
1930
- #flags.size16 a[title="Haitian"],
1931
- .tool-container .tool-items a[title="Haitian"] {
1932
- background:url('../images/flags16.png') -120px -121px no-repeat;
1933
- }
1934
-
1935
- #flags.size16 a[title="Hausa"],
1936
- .tool-container .tool-items a[title="Hausa"] {
1937
- background:url('../images/flags16.png') -149px -121px no-repeat;
1938
- }
1939
-
1940
- #flags.size16 a[title="Hebrew"],
1941
- .tool-container .tool-items a[title="Hebrew"] {
1942
- background:url('../images/flags16.png') -4px -150px no-repeat;
1943
- }
1944
-
1945
- #flags.size16 a[title="Hindi"],
1946
- .tool-container .tool-items a[title="Hindi"] {
1947
- background:url('../images/flags16.png') -33px -150px no-repeat;
1948
- }
1949
-
1950
- #flags.size16 a[title="Hmong"],
1951
- .tool-container .tool-items a[title="Hmong"] {
1952
- background:url('../images/flags16.png') -62px -150px no-repeat;
1953
- }
1954
-
1955
- #flags.size16 a[title="Hungarian"],
1956
- .tool-container .tool-items a[title="Hungarian"] {
1957
- background:url('../images/flags16.png') -91px -150px no-repeat;
1958
- }
1959
-
1960
- #flags.size16 a[title="Icelandic"],
1961
- .tool-container .tool-items a[title="Icelandic"] {
1962
- background:url('../images/flags16.png') -120px -150px no-repeat;
1963
- }
1964
-
1965
- #flags.size16 a[title="Igbo"],
1966
- .tool-container .tool-items a[title="Igbo"] {
1967
- background:url('../images/flags16.png') -149px -150px no-repeat;
1968
- }
1969
-
1970
- #flags.size16 a[title="Indonesian"],
1971
- .tool-container .tool-items a[title="Indonesian"] {
1972
- background:url('../images/flags16.png') -4px -179px no-repeat;
1973
- }
1974
-
1975
- #flags.size16 a[title="Irish"],
1976
- .tool-container .tool-items a[title="Irish"] {
1977
- background:url('../images/flags16.png') -33px -179px no-repeat;
1978
- }
1979
-
1980
- #flags.size16 a[title="Italian"],
1981
- .tool-container .tool-items a[title="Italian"] {
1982
- background:url('../images/flags16.png') -62px -179px no-repeat;
1983
- }
1984
-
1985
- #flags.size16 a[title="Japanese"],
1986
- .tool-container .tool-items a[title="Japanese"] {
1987
- background:url('../images/flags16.png') -91px -179px no-repeat;
1988
- }
1989
-
1990
- #flags.size16 a[title="Javanese"],
1991
- .tool-container .tool-items a[title="Javanese"] {
1992
- background:url('../images/flags16.png') -120px -179px no-repeat;
1993
- }
1994
-
1995
- #flags.size16 a[title="Kannada"],
1996
- .tool-container .tool-items a[title="Kannada"] {
1997
- background:url('../images/flags16.png') -149px -179px no-repeat;
1998
- }
1999
-
2000
- #flags.size16 a[title="Kazakh"],
2001
- .tool-container .tool-items a[title="Kazakh"] {
2002
- background:url('../images/flags16.png') -4px -411px no-repeat;
2003
- }
2004
-
2005
- #flags.size16 a[title="Khmer"],
2006
- .tool-container .tool-items a[title="Khmer"] {
2007
- background:url('../images/flags16.png') -4px -208px no-repeat;
2008
- }
2009
-
2010
- #flags.size16 a[title="Korean"],
2011
- .tool-container .tool-items a[title="Korean"] {
2012
- background:url('../images/flags16.png') -33px -208px no-repeat;
2013
- }
2014
-
2015
- #flags.size16 a[title="Lao"],
2016
- .tool-container .tool-items a[title="Lao"] {
2017
- background:url('../images/flags16.png') -62px -208px no-repeat;
2018
- }
2019
-
2020
- #flags.size16 a[title="Latin"],
2021
- .tool-container .tool-items a[title="Latin"] {
2022
- background:url('../images/flags16.png') -91px -208px no-repeat;
2023
- }
2024
-
2025
- #flags.size16 a[title="Latvian"],
2026
- .tool-container .tool-items a[title="Latvian"] {
2027
- background:url('../images/flags16.png') -120px -208px no-repeat;
2028
- }
2029
-
2030
- #flags.size16 a[title="Lithuanian"],
2031
- .tool-container .tool-items a[title="Lithuanian"] {
2032
- background:url('../images/flags16.png') -149px -208px no-repeat;
2033
- }
2034
-
2035
- #flags.size16 a[title="Macedonian"],
2036
- .tool-container .tool-items a[title="Macedonian"] {
2037
- background:url('../images/flags16.png') -4px -237px no-repeat;
2038
- }
2039
-
2040
- #flags.size16 a[title="Malay"],
2041
- .tool-container .tool-items a[title="Malay"] {
2042
- background:url('../images/flags16.png') -33px -237px no-repeat;
2043
- }
2044
-
2045
- #flags.size16 a[title="Malagasy"],
2046
- .tool-container .tool-items a[title="Malagasy"] {
2047
- background:url('../images/flags16.png') -62px -411px no-repeat;
2048
- }
2049
-
2050
- #flags.size16 a[title="Malayalam"],
2051
- .tool-container .tool-items a[title="Malayalam"] {
2052
- background:url('../images/flags16.png') -120px -411px no-repeat;
2053
- }
2054
-
2055
- #flags.size16 a[title="Maltese"],
2056
- .tool-container .tool-items a[title="Maltese"] {
2057
- background:url('../images/flags16.png') -62px -237px no-repeat;
2058
- }
2059
-
2060
- #flags.size16 a[title="Maori"],
2061
- .tool-container .tool-items a[title="Maori"] {
2062
- background:url('../images/flags16.png') -91px -237px no-repeat;
2063
- }
2064
-
2065
- #flags.size16 a[title="Marathi"],
2066
- .tool-container .tool-items a[title="Marathi"] {
2067
- background:url('../images/flags16.png') -120px -237px no-repeat;
2068
- }
2069
-
2070
- #flags.size16 a[title="Mongolian"],
2071
- .tool-container .tool-items a[title="Mongolian"] {
2072
- background:url('../images/flags16.png') -149px -237px no-repeat;
2073
- }
2074
-
2075
- #flags.size16 a[title="Myanmar(Burmese)"],
2076
- .tool-container .tool-items a[title="Myanmar(Burmese)"] {
2077
- background:url('../images/flags16.png') -149px -411px no-repeat;
2078
- }
2079
-
2080
- #flags.size16 a[title="Nepali"],
2081
- .tool-container .tool-items a[title="Nepali"] {
2082
- background:url('../images/flags16.png') -4px -266px no-repeat;
2083
- }
2084
-
2085
- #flags.size16 a[title="Norwegian"],
2086
- .tool-container .tool-items a[title="Norwegian"] {
2087
- background:url('../images/flags16.png') -33px -266px no-repeat;
2088
- }
2089
-
2090
- #flags.size16 a[title="Persian"],
2091
- .tool-container .tool-items a[title="Persian"] {
2092
- background:url('../images/flags16.png') -62px -266px no-repeat;
2093
- }
2094
-
2095
- #flags.size16 a[title="Polish"],
2096
- .tool-container .tool-items a[title="Polish"] {
2097
- background:url('../images/flags16.png') -91px -266px no-repeat;
2098
- }
2099
-
2100
- #flags.size16 a[title="Portuguese"],
2101
- .tool-container .tool-items a[title="Portuguese"] {
2102
- background:url('../images/flags16.png') -120px -266px no-repeat;
2103
- }
2104
-
2105
- #flags.size16 a.brazil[title="Portuguese"] {
2106
- background:url('../images/flags16.png') -149px -440px no-repeat;
2107
- }
2108
-
2109
- #flags.size16 a[title="Punjabi"],
2110
- .tool-container .tool-items a[title="Punjabi"] {
2111
- background:url('../images/flags16.png') -149px -266px no-repeat;
2112
- }
2113
-
2114
- #flags.size16 a[title="Romanian"],
2115
- .tool-container .tool-items a[title="Romanian"] {
2116
- background:url('../images/flags16.png') -4px -295px no-repeat;
2117
- }
2118
-
2119
- #flags.size16 a[title="Russian"],
2120
- .tool-container .tool-items a[title="Russian"] {
2121
- background:url('../images/flags16.png') -33px -295px no-repeat;
2122
- }
2123
-
2124
- #flags.size16 a[title="Samoan"],
2125
- .tool-container .tool-items a[title="Samoan"] {
2126
- background:url('../images/flags16.png') -33px -469px no-repeat;
2127
- }
2128
-
2129
- #flags.size16 a[title="Scots Gaelic"],
2130
- .tool-container .tool-items a[title="Scots Gaelic"] {
2131
- background:url('../images/flags16.png') -62px -469px no-repeat;
2132
- }
2133
-
2134
- #flags.size16 a[title="Serbian"],
2135
- .tool-container .tool-items a[title="Serbian"] {
2136
- background:url('../images/flags16.png') -62px -295px no-repeat;
2137
- }
2138
-
2139
- #flags.size16 a[title="Sesotho"],
2140
- .tool-container .tool-items a[title="Sesotho"] {
2141
- background:url('../images/flags16.png') -33px -411px no-repeat;
2142
- }
2143
-
2144
- #flags.size16 a[title="Sindhi"],
2145
- .tool-container .tool-items a[title="Sindhi"] {
2146
- background:url('../images/flags16.png') -149px -353px no-repeat;
2147
- }
2148
-
2149
- #flags.size16 a[title="Sinhala"],
2150
- .tool-container .tool-items a[title="Sinhala"] {
2151
- background:url('../images/flags16.png') -4px -440px no-repeat;
2152
- }
2153
-
2154
- #flags.size16 a[title="Slovak"],
2155
- .tool-container .tool-items a[title="Slovak"] {
2156
- background:url('../images/flags16.png') -91px -295px no-repeat;
2157
- }
2158
-
2159
- #flags.size16 a[title="Slovenian"],
2160
- .tool-container .tool-items a[title="Slovenian"] {
2161
- background:url('../images/flags16.png') -120px -295px no-repeat;
2162
- }
2163
-
2164
- #flags.size16 a[title="Somali"],
2165
- .tool-container .tool-items a[title="Somali"] {
2166
- background:url('../images/flags16.png') -149px -295px no-repeat;
2167
- }
2168
-
2169
- #flags.size16 a[title="Spanish"],
2170
- .tool-container .tool-items a[title="Spanish"] {
2171
- background:url('../images/flags16.png') -4px -324px no-repeat;
2172
- }
2173
-
2174
- #flags.size16 a.mexico[title="Spanish"] {
2175
- background:url('../images/flags16.png') -120px -440px no-repeat;
2176
- }
2177
-
2178
- #flags.size16 a[title="Swahili"],
2179
- .tool-container .tool-items a[title="Swahili"] {
2180
- background:url('../images/flags16.png') -33px -324px no-repeat;
2181
- }
2182
-
2183
- #flags.size16 a[title="Swedish"],
2184
- .tool-container .tool-items a[title="Swedish"] {
2185
- background:url('../images/flags16.png') -62px -324px no-repeat;
2186
- }
2187
-
2188
- #flags.size16 a[title="Sundanese"],
2189
- .tool-container .tool-items a[title="Sundanese"] {
2190
- background:url('../images/flags16.png') -149px -382px no-repeat;
2191
- }
2192
-
2193
- #flags.size16 a[title="Tajik"],
2194
- .tool-container .tool-items a[title="Tajik"] {
2195
- background:url('../images/flags16.png') -33px -440px no-repeat;
2196
- }
2197
-
2198
- #flags.size16 a[title="Tamil"],
2199
- .tool-container .tool-items a[title="Tamil"] {
2200
- background:url('../images/flags16.png') -91px -324px no-repeat;
2201
- }
2202
-
2203
- #flags.size16 a[title="Telugu"],
2204
- .tool-container .tool-items a[title="Telugu"] {
2205
- background:url('../images/flags16.png') -120px -324px no-repeat;
2206
- }
2207
-
2208
- #flags.size16 a[title="Thai"],
2209
- .tool-container .tool-items a[title="Thai"] {
2210
- background:url('../images/flags16.png') -149px -324px no-repeat;
2211
- }
2212
-
2213
- #flags.size16 a[title="Turkish"],
2214
- .tool-container .tool-items a[title="Turkish"] {
2215
- background:url('../images/flags16.png') -33px -353px no-repeat;
2216
- }
2217
-
2218
- #flags.size16 a[title="Ukranian"],
2219
- .tool-container .tool-items a[title="Ukranian"] {
2220
- background:url('../images/flags16.png') -62px -353px no-repeat;
2221
- }
2222
-
2223
- #flags.size16 a[title="Urdu"],
2224
- .tool-container .tool-items a[title="Urdu"] {
2225
- background:url('../images/flags16.png') -149px -353px no-repeat;
2226
- }
2227
-
2228
- #flags.size16 a[title="Uzbek"],
2229
- .tool-container .tool-items a[title="Uzbek"] {
2230
- background:url('../images/flags16.png') -62px -440px no-repeat;
2231
- }
2232
-
2233
- #flags.size16 a[title="Vietnamese"],
2234
- .tool-container .tool-items a[title="Vietnamese"] {
2235
- background:url('../images/flags16.png') -4px -382px no-repeat;
2236
- }
2237
-
2238
- #flags.size16 a[title="Welsh"],
2239
- .tool-container .tool-items a[title="Welsh"] {
2240
- background:url('../images/flags16.png') -33px -382px no-repeat;
2241
- }
2242
-
2243
- #flags.size16 a[title="Xhosa"],
2244
- .tool-container .tool-items a[title="Xhosa"] {
2245
- background:url('../images/flags16.png') -4px -5px no-repeat;
2246
- }
2247
-
2248
- #flags.size16 a[title="Yiddish"],
2249
- .tool-container .tool-items a[title="Yiddish"] {
2250
- background:url('../images/flags16.png') -62px -382px no-repeat;
2251
- }
2252
-
2253
- #flags.size16 a[title="Yoruba"],
2254
- .tool-container .tool-items a[title="Yoruba"] {
2255
- background:url('../images/flags16.png') -91px -382px no-repeat;
2256
- }
2257
-
2258
- #flags.size16 a[title="Zulu"],
2259
- .tool-container .tool-items a[title="Zulu"] {
2260
- background:url('../images/flags16.png') -120px -382px no-repeat;
2261
- }
2262
-
2263
- /* Individual flag backgrounds (24px) */
2264
-
2265
- #flags.size24 a[title="Afrikaans"],
2266
- .tool-container .tool-items a[title="Afrikaans"] {
2267
- background:url('../images/flags.png') 0 -3px no-repeat;
2268
- }
2269
-
2270
- #flags.size24 a[title="Albanian"],
2271
- .tool-container .tool-items a[title="Albanian"] {
2272
- background:url('../images/flags.png') -29px -3px no-repeat;
2273
- }
2274
-
2275
- #flags.size24 a[title="Amharic"],
2276
- .tool-container .tool-items a[title="Amharic"] {
2277
- background:url('../images/flags.png') 0 -467px no-repeat;
2278
- }
2279
-
2280
- #flags.size24 a[title="Arabic"],
2281
- .tool-container .tool-items a[title="Arabic"] {
2282
- background:url('../images/flags.png') -58px -3px no-repeat;
2283
- }
2284
-
2285
- #flags.size24 a[title="Armenian"],
2286
- .tool-container .tool-items a[title="Armenian"] {
2287
- background:url('../images/flags.png') -87px -3px no-repeat;
2288
- }
2289
-
2290
- #flags.size24 a[title="Azerbaijani"],
2291
- .tool-container .tool-items a[title="Azerbaijani"] {
2292
- background:url('../images/flags.png') -116px -3px no-repeat;
2293
- }
2294
-
2295
- #flags.size24 a[title="Basque"],
2296
- .tool-container .tool-items a[title="Basque"] {
2297
- background:url('../images/flags.png') -145px -3px no-repeat;
2298
- }
2299
-
2300
- #flags.size24 a[title="Belarusian"],
2301
- .tool-container .tool-items a[title="Belarusian"] {
2302
- background:url('../images/flags.png') 0 -32px no-repeat;
2303
- }
2304
-
2305
- #flags.size24 a[title="Bengali"],
2306
- .tool-container .tool-items a[title="Bengali"] {
2307
- background:url('../images/flags.png') -29px -32px no-repeat;
2308
- }
2309
-
2310
- #flags.size24 a[title="Bosnian"],
2311
- .tool-container .tool-items a[title="Bosnian"] {
2312
- background:url('../images/flags.png') -58px -32px no-repeat;
2313
- }
2314
-
2315
- #flags.size24 a[title="Bulgarian"],
2316
- .tool-container .tool-items a[title="Bulgarian"] {
2317
- background:url('../images/flags.png') -87px -32px no-repeat;
2318
- }
2319
-
2320
- #flags.size24 a[title="Catalan"],
2321
- .tool-container .tool-items a[title="Catalan"] {
2322
- background:url('../images/flags.png') -116px -32px no-repeat;
2323
- }
2324
-
2325
- #flags.size24 a[title="Cebuano"],
2326
- .tool-container .tool-items a[title="Cebuano"] {
2327
- background:url('../images/flags.png') -145px -32px no-repeat;
2328
- }
2329
-
2330
- #flags.size24 a[title="Chichewa"],
2331
- .tool-container .tool-items a[title="Chichewa"] {
2332
- background:url('../images/flags.png') -87px -409px no-repeat;
2333
- }
2334
-
2335
- #flags.size24 a[title="Chinese"],
2336
- .tool-container .tool-items a[title="Chinese"] {
2337
- background:url('../images/flags.png') 0 -61px no-repeat;
2338
- }
2339
-
2340
- #flags.size24 a[title="Chinese(Traditional)"],
2341
- .tool-container .tool-items a[title="Chinese(Traditional)"] {
2342
- background:url('../images/flags.png') -29px -61px no-repeat;
2343
- }
2344
-
2345
- #flags.size24 a[title="Corsican"],
2346
- .tool-container .tool-items a[title="Corsican"] {
2347
- background:url('../images/flags.png') -116px -90px no-repeat;
2348
- }
2349
-
2350
- #flags.size24 a[title="Croatian"],
2351
- .tool-container .tool-items a[title="Croatian"] {
2352
- background:url('../images/flags.png') -58px -61px no-repeat;
2353
- }
2354
-
2355
- #flags.size24 a[title="Czech"],
2356
- .tool-container .tool-items a[title="Czech"] {
2357
- background:url('../images/flags.png') -87px -61px no-repeat;
2358
- }
2359
-
2360
- #flags.size24 a[title="Danish"],
2361
- .tool-container .tool-items a[title="Danish"] {
2362
- background:url('../images/flags.png') -116px -61px no-repeat;
2363
- }
2364
-
2365
- #flags.size24 a[title="Dutch"],
2366
- .tool-container .tool-items a[title="Dutch"] {
2367
- background:url('../images/flags.png') -145px -61px no-repeat;
2368
- }
2369
-
2370
- #flags.size24 a[title="English"],
2371
- .tool-container .tool-items a[title="English"] {
2372
- background:url('../images/flags.png') -87px -351px no-repeat;
2373
- }
2374
-
2375
- #flags.size24 a.united-states[title="English"],
2376
- .tool-container a.united-states[title="English"] {
2377
- background:url('../images/flags.png') -116px -351px no-repeat !important;
2378
- }
2379
-
2380
- #flags.size24 a.canada[title="English"],
2381
- .tool-container a.canada[title="English"] {
2382
- background:url('../images/flags.png') -87px -438px no-repeat !important;
2383
- }
2384
-
2385
- #flags.size24 a[title="Esperanto"],
2386
- .tool-container .tool-items a[title="Esperanto"] {
2387
- background:url('../images/flags.png') 0 -90px no-repeat;
2388
- }
2389
-
2390
- #flags.size24 a[title="Estonian"],
2391
- .tool-container .tool-items a[title="Estonian"] {
2392
- background:url('../images/flags.png') -29px -90px no-repeat;
2393
- }
2394
-
2395
- #flags.size24 a[title="Filipino"],
2396
- .tool-container .tool-items a[title="Filipino"] {
2397
- background:url('../images/flags.png') -58px -90px no-repeat;
2398
- }
2399
-
2400
- #flags.size24 a[title="Finnish"],
2401
- .tool-container .tool-items a[title="Finnish"] {
2402
- background:url('../images/flags.png') -87px -90px no-repeat;
2403
- }
2404
-
2405
- #flags.size24 a[title="French"],
2406
- .tool-container .tool-items a[title="French"] {
2407
- background:url('../images/flags.png') -116px -90px no-repeat;
2408
- }
2409
-
2410
- #flags.size24 a[title="Frisian"],
2411
- .tool-container .tool-items a[title="Frisian"] {
2412
- background:url('../images/flags.png') -145px -61px no-repeat;
2413
- }
2414
-
2415
- #flags.size24 a[title="Galician"],
2416
- .tool-container .tool-items a[title="Galician"] {
2417
- background:url('../images/flags.png') -145px -90px no-repeat;
2418
- }
2419
-
2420
- #flags.size24 a[title="Georgian"],
2421
- .tool-container .tool-items a[title="Georgian"] {
2422
- background:url('../images/flags.png') 0 -119px no-repeat;
2423
- }
2424
-
2425
- #flags.size24 a[title="German"],
2426
- .tool-container .tool-items a[title="German"] {
2427
- background:url('../images/flags.png') -29px -119px no-repeat;
2428
- }
2429
-
2430
- #flags.size24 a[title="Greek"],
2431
- .tool-container .tool-items a[title="Greek"] {
2432
- background:url('../images/flags.png') -58px -119px no-repeat;
2433
- }
2434
-
2435
- #flags.size24 a[title="Gujarati"],
2436
- .tool-container .tool-items a[title="Gujarati"] {
2437
- background:url('../images/flags.png') -87px -119px no-repeat;
2438
- }
2439
-
2440
- #flags.size24 a[title="Haitian"],
2441
- .tool-container .tool-items a[title="Haitian"] {
2442
- background:url('../images/flags.png') -116px -119px no-repeat;
2443
- }
2444
-
2445
- #flags.size24 a[title="Hausa"],
2446
- .tool-container .tool-items a[title="Hausa"] {
2447
- background:url('../images/flags.png') -145px -119px no-repeat;
2448
- }
2449
-
2450
- #flags.size24 a[title="Hebrew"],
2451
- .tool-container .tool-items a[title="Hebrew"] {
2452
- background:url('../images/flags.png') 0 -148px no-repeat;
2453
- }
2454
-
2455
- #flags.size24 a[title="Hindi"],
2456
- .tool-container .tool-items a[title="Hindi"] {
2457
- background:url('../images/flags.png') -29px -148px no-repeat;
2458
- }
2459
-
2460
- #flags.size24 a[title="Hmong"],
2461
- .tool-container .tool-items a[title="Hmong"] {
2462
- background:url('../images/flags.png') -58px -148px no-repeat;
2463
- }
2464
-
2465
- #flags.size24 a[title="Hungarian"],
2466
- .tool-container .tool-items a[title="Hungarian"] {
2467
- background:url('../images/flags.png') -87px -148px no-repeat;
2468
- }
2469
-
2470
- #flags.size24 a[title="Icelandic"],
2471
- .tool-container .tool-items a[title="Icelandic"] {
2472
- background:url('../images/flags.png') -116px -148px no-repeat;
2473
- }
2474
-
2475
- #flags.size24 a[title="Igbo"],
2476
- .tool-container .tool-items a[title="Igbo"] {
2477
- background:url('../images/flags.png') -145px -148px no-repeat;
2478
- }
2479
-
2480
- #flags.size24 a[title="Indonesian"],
2481
- .tool-container .tool-items a[title="Indonesian"] {
2482
- background:url('../images/flags.png') 0 -177px no-repeat;
2483
- }
2484
-
2485
- #flags.size24 a[title="Irish"],
2486
- .tool-container .tool-items a[title="Irish"] {
2487
- background:url('../images/flags.png') -29px -177px no-repeat;
2488
- }
2489
-
2490
- #flags.size24 a[title="Italian"],
2491
- .tool-container .tool-items a[title="Italian"] {
2492
- background:url('../images/flags.png') -58px -177px no-repeat;
2493
- }
2494
-
2495
- #flags.size24 a[title="Japanese"],
2496
- .tool-container .tool-items a[title="Japanese"] {
2497
- background:url('../images/flags.png') -87px -177px no-repeat;
2498
- }
2499
-
2500
- #flags.size24 a[title="Javanese"],
2501
- .tool-container .tool-items a[title="Javanese"] {
2502
- background:url('../images/flags.png') -116px -177px no-repeat;
2503
- }
2504
-
2505
- #flags.size24 a[title="Kannada"],
2506
- .tool-container .tool-items a[title="Kannada"] {
2507
- background:url('../images/flags.png') -145px -177px no-repeat;
2508
- }
2509
-
2510
- #flags.size24 a[title="Kazakh"],
2511
- .tool-container .tool-items a[title="Kazakh"] {
2512
- background:url('../images/flags.png') 0 -409px no-repeat;
2513
- }
2514
-
2515
- #flags.size24 a[title="Khmer"],
2516
- .tool-container .tool-items a[title="Khmer"] {
2517
- background:url('../images/flags.png') 0 -206px no-repeat;
2518
- }
2519
-
2520
- #flags.size24 a[title="Korean"],
2521
- .tool-container .tool-items a[title="Korean"] {
2522
- background:url('../images/flags.png') -29px -206px no-repeat;
2523
- }
2524
-
2525
- #flags.size24 a[title="Lao"],
2526
- .tool-container .tool-items a[title="Lao"] {
2527
- background:url('../images/flags.png') -58px -206px no-repeat;
2528
- }
2529
-
2530
- #flags.size24 a[title="Latin"],
2531
- .tool-container .tool-items a[title="Latin"] {
2532
- background:url('../images/flags.png') -87px -206px no-repeat;
2533
- }
2534
-
2535
- #flags.size24 a[title="Latvian"],
2536
- .tool-container .tool-items a[title="Latvian"] {
2537
- background:url('../images/flags.png') -116px -206px no-repeat;
2538
- }
2539
-
2540
- #flags.size24 a[title="Lithuanian"],
2541
- .tool-container .tool-items a[title="Lithuanian"] {
2542
- background:url('../images/flags.png') -145px -206px no-repeat;
2543
- }
2544
-
2545
- #flags.size24 a[title="Macedonian"],
2546
- .tool-container .tool-items a[title="Macedonian"] {
2547
- background:url('../images/flags.png') 0 -235px no-repeat;
2548
- }
2549
-
2550
- #flags.size24 a[title="Malagasy"],
2551
- .tool-container .tool-items a[title="Malagasy"] {
2552
- background:url('../images/flags.png') -58px -409px no-repeat;
2553
- }
2554
-
2555
- #flags.size24 a[title="Malay"],
2556
- .tool-container .tool-items a[title="Malay"] {
2557
- background:url('../images/flags.png') -29px -235px no-repeat;
2558
- }
2559
-
2560
- #flags.size24 a[title="Malayalam"],
2561
- .tool-container .tool-items a[title="Malayalam"] {
2562
- background:url('../images/flags.png') -116px -409px no-repeat;
2563
- }
2564
-
2565
- #flags.size24 a[title="Maltese"],
2566
- .tool-container .tool-items a[title="Maltese"] {
2567
- background:url('../images/flags.png') -58px -235px no-repeat;
2568
- }
2569
-
2570
- #flags.size24 a[title="Maori"],
2571
- .tool-container .tool-items a[title="Maori"] {
2572
- background:url('../images/flags.png') -87px -235px no-repeat;
2573
- }
2574
-
2575
- #flags.size24 a[title="Marathi"],
2576
- .tool-container .tool-items a[title="Marathi"] {
2577
- background:url('../images/flags.png') -116px -235px no-repeat;
2578
- }
2579
-
2580
- #flags.size24 a[title="Mongolian"],
2581
- .tool-container .tool-items a[title="Mongolian"] {
2582
- background:url('../images/flags.png') -145px -235px no-repeat;
2583
- }
2584
-
2585
- #flags.size24 a[title="Myanmar(Burmese)"],
2586
- .tool-container .tool-items a[title="Myanmar(Burmese)"] {
2587
- background:url('../images/flags.png') -145px -409px no-repeat;
2588
- }
2589
-
2590
- #flags.size24 a[title="Nepali"],
2591
- .tool-container .tool-items a[title="Nepali"] {
2592
- background:url('../images/flags.png') 0 -264px no-repeat;
2593
- }
2594
-
2595
- #flags.size24 a[title="Norwegian"],
2596
- .tool-container .tool-items a[title="Norwegian"] {
2597
- background:url('../images/flags.png') -29px -264px no-repeat;
2598
- }
2599
-
2600
- #flags.size24 a[title="Persian"],
2601
- .tool-container .tool-items a[title="Persian"] {
2602
- background:url('../images/flags.png') -58px -264px no-repeat;
2603
- }
2604
-
2605
- #flags.size24 a[title="Polish"],
2606
- .tool-container .tool-items a[title="Polish"] {
2607
- background:url('../images/flags.png') -87px -264px no-repeat;
2608
- }
2609
-
2610
- #flags.size24 a[title="Portuguese"],
2611
- .tool-container .tool-items a[title="Portuguese"] {
2612
- background:url('../images/flags.png') -116px -264px no-repeat;
2613
- }
2614
-
2615
- #flags.size24 a.brazil[title="Portuguese"],
2616
- .tool-container a.brazil[title="Portuguese"] {
2617
- background:url('../images/flags.png') -145px -438px no-repeat !important;
2618
- }
2619
-
2620
- #flags.size24 a[title="Punjabi"],
2621
- .tool-container .tool-items a[title="Punjabi"] {
2622
- background:url('../images/flags.png') -145px -264px no-repeat;
2623
- }
2624
-
2625
- #flags.size24 a[title="Romanian"],
2626
- .tool-container .tool-items a[title="Romanian"] {
2627
- background:url('../images/flags.png') 0 -293px no-repeat;
2628
- }
2629
-
2630
- #flags.size24 a[title="Russian"],
2631
- .tool-container .tool-items a[title="Russian"] {
2632
- background:url('../images/flags.png') -29px -293px no-repeat;
2633
- }
2634
-
2635
- #flags.size24 a[title="Samoan"],
2636
- .tool-container .tool-items a[title="Samoan"] {
2637
- background:url('../images/flags.png') -29px -467px no-repeat;
2638
- }
2639
-
2640
- #flags.size24 a[title="Scots Gaelic"],
2641
- .tool-container .tool-items a[title="Scots Gaelic"] {
2642
- background:url('../images/flags.png') -58px -467px no-repeat;
2643
- }
2644
-
2645
- #flags.size24 a[title="Serbian"],
2646
- .tool-container .tool-items a[title="Serbian"] {
2647
- background:url('../images/flags.png') -58px -293px no-repeat;
2648
- }
2649
-
2650
- #flags.size24 a[title="Sesotho"],
2651
- .tool-container .tool-items a[title="Sesotho"] {
2652
- background:url('../images/flags.png') -29px -409px no-repeat;
2653
- }
2654
-
2655
- #flags.size24 a[title="Sindhi"],
2656
- .tool-container .tool-items a[title="Sindhi"] {
2657
- background:url('../images/flags.png') -145px -351px no-repeat;
2658
- }
2659
-
2660
- #flags.size24 a[title="Sinhala"],
2661
- .tool-container .tool-items a[title="Sinhala"] {
2662
- background:url('../images/flags.png') 0px -438px no-repeat;
2663
- }
2664
-
2665
- #flags.size24 a[title="Slovak"],
2666
- .tool-container .tool-items a[title="Slovak"] {
2667
- background:url('../images/flags.png') -87px -293px no-repeat;
2668
- }
2669
-
2670
- #flags.size24 a[title="Slovenian"],
2671
- .tool-container .tool-items a[title="Slovenian"] {
2672
- background:url('../images/flags.png') -116px -293px no-repeat;
2673
- }
2674
-
2675
- #flags.size24 a[title="Somali"],
2676
- .tool-container .tool-items a[title="Somali"] {
2677
- background:url('../images/flags.png') -145px -293px no-repeat;
2678
- }
2679
-
2680
- #flags.size24 a[title="Spanish"],
2681
- .tool-container .tool-items a[title="Spanish"] {
2682
- background:url('../images/flags.png') 0 -322px no-repeat;
2683
- }
2684
-
2685
- #flags.size24 a.mexico[title="Spanish"],
2686
- .tool-container a.mexico[title="Spanish"] {
2687
- background:url('../images/flags.png') -116px -438px no-repeat !important;
2688
- }
2689
-
2690
- #flags.size24 a[title="Sundanese"],
2691
- .tool-container .tool-items a[title="Sundanese"] {
2692
- background:url('../images/flags.png') -145px -380px no-repeat;
2693
- }
2694
-
2695
- #flags.size24 a[title="Swahili"],
2696
- .tool-container .tool-items a[title="Swahili"] {
2697
- background:url('../images/flags.png') -29px -322px no-repeat;
2698
- }
2699
-
2700
- #flags.size24 a[title="Swedish"],
2701
- .tool-container .tool-items a[title="Swedish"] {
2702
- background:url('../images/flags.png') -58px -322px no-repeat;
2703
- }
2704
-
2705
- #flags.size24 a[title="Tajik"],
2706
- .tool-container .tool-items a[title="Tajik"] {
2707
- background:url('../images/flags.png') -29px -438px no-repeat;
2708
- }
2709
-
2710
- #flags.size24 a[title="Tamil"],
2711
- .tool-container .tool-items a[title="Tamil"] {
2712
- background:url('../images/flags.png') -87px -322px no-repeat;
2713
- }
2714
-
2715
- #flags.size24 a[title="Telugu"],
2716
- .tool-container .tool-items a[title="Telugu"] {
2717
- background:url('../images/flags.png') -116px -322px no-repeat;
2718
- }
2719
-
2720
- #flags.size24 a[title="Thai"],
2721
- .tool-container .tool-items a[title="Thai"] {
2722
- background:url('../images/flags.png') -145px -322px no-repeat;
2723
- }
2724
-
2725
- #flags.size24 a[title="Turkish"],
2726
- .tool-container .tool-items a[title="Turkish"] {
2727
- background:url('../images/flags.png') -29px -351px no-repeat;
2728
- }
2729
-
2730
- #flags.size24 a[title="Ukranian"],
2731
- .tool-container .tool-items a[title="Ukranian"] {
2732
- background:url('../images/flags.png') -58px -351px no-repeat;
2733
- }
2734
-
2735
- #flags.size24 a[title="Urdu"],
2736
- .tool-container .tool-items a[title="Urdu"] {
2737
- background:url('../images/flags.png') -145px -351px no-repeat;
2738
- }
2739
-
2740
- #flags.size24 a[title="Uzbek"],
2741
- .tool-container .tool-items a[title="Uzbek"] {
2742
- background:url('../images/flags.png') -58px -438px no-repeat;
2743
- }
2744
-
2745
- #flags.size24 a[title="Vietnamese"],
2746
- .tool-container .tool-items a[title="Vietnamese"] {
2747
- background:url('../images/flags.png') 0 -380px no-repeat;
2748
- }
2749
-
2750
- #flags.size24 a[title="Welsh"],
2751
- .tool-container .tool-items a[title="Welsh"] {
2752
- background:url('../images/flags.png') -29px -380px no-repeat;
2753
- }
2754
-
2755
- #flags.size24 a[title="Xhosa"],
2756
- .tool-container .tool-items a[title="Xhosa"] {
2757
- background:url('../images/flags.png') 0 -3px no-repeat;
2758
- }
2759
-
2760
- #flags.size24 a[title="Yiddish"],
2761
- .tool-container .tool-items a[title="Yiddish"] {
2762
- background:url('../images/flags.png') -58px -380px no-repeat;
2763
- }
2764
-
2765
- #flags.size24 a[title="Yoruba"],
2766
- .tool-container .tool-items a[title="Yoruba"] {
2767
- background:url('../images/flags.png') -87px -380px no-repeat;
2768
- }
2769
-
2770
- #flags.size24 a[title="Zulu"],
2771
- .tool-container .tool-items a[title="Zulu"] {
2772
- background:url('../images/flags.png') -116px -380px no-repeat;
2773
- }
2774
-
2775
- /* Some Dashboard mobile styles */
2776
-
2777
- @media only screen and (max-width:767px) {
2778
- .metabox-holder {
2779
- float:none !important;
2780
- width:100% !important;
2781
- }
2782
-
2783
- .flagdisplay {
2784
- float:none !important;
2785
- width:100% !important;
2786
- }
2787
-
2788
- .flagdisplay div {
2789
- margin-bottom:10px;
2790
- }
2791
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2792
  } /* End 568px */
1
+ #glt-footer,
2
+ #glt-footer #google_language_translator {
3
+ display:none !important;
4
+ }
5
+
6
+ .box-right {
7
+ clear:right;
8
+ }
9
+
10
+ a.wp-studio-logo:focus,
11
+ a.wp-helpdesk-logo:focus {
12
+ box-shadow:none !important;
13
+ -webkit-box-shadow:none !important;
14
+ -moz-box-shadow:none !important;
15
+ }
16
+
17
+ .goog-te-gadget-simple {
18
+ margin:4px 0;
19
+ }
20
+
21
+ select.goog-te-combo {
22
+ width:143px !important;
23
+ background:#fff;
24
+ box-shadow:none !important;
25
+ -moz-box-shadow:none !important;
26
+ -webkit-box-shadow:none !important;
27
+ padding:3px !important;
28
+ height:auto !important;
29
+ border:1px solid lightgray !important;
30
+ border-radius:0px !important;
31
+ -webkit-border-radius:0px;
32
+ -moz-border-radius:0px !important;
33
+ -o-border-radius:0px !important;
34
+ }
35
+
36
+ #flags {
37
+ overflow:hidden;
38
+ }
39
+
40
+ #flags ul {
41
+ margin:0;
42
+ }
43
+
44
+ #flags li {
45
+ float:left !important;
46
+ margin-bottom:0 !important;
47
+ padding:0 !important;
48
+ border:none !important;
49
+ list-style:none !important;
50
+ content:none !important;
51
+ }
52
+
53
+ #flags li:before {
54
+ content:none !important;
55
+ border:none !important;
56
+ background:none !important;
57
+ }
58
+
59
+ #flags a,
60
+ .tool-container .tool-items a {
61
+ cursor:pointer;
62
+ }
63
+
64
+ #flags.size24 a {
65
+ width:24px !important;
66
+ height:18px !important;
67
+ }
68
+
69
+ #flags.size22 a {
70
+ width:22px !important;
71
+ height:17px !important;
72
+ }
73
+
74
+ #flags.size20 a {
75
+ width:20px !important;
76
+ height:14px !important;
77
+ }
78
+
79
+ #flags.size18 a {
80
+ width:18px !important;
81
+ height:14px !important;
82
+ }
83
+
84
+ #flags.size16 a {
85
+ width:16px !important;
86
+ height:12px !important;
87
+ }
88
+
89
+ .tool-container .tool-items a {
90
+ display:inline-block;
91
+ margin:3px 5px 3px;
92
+ width:24px !important;
93
+ height:18px !important;
94
+ }
95
+
96
+ .goog-te-gadget {
97
+ color:#444;
98
+ font-size:11px;
99
+ font-family:"Arial",sans,sans-serif;
100
+ }
101
+
102
+ .goog-te-gadget img {
103
+ vertical-align:middle;
104
+ }
105
+
106
+ select.goog-te-combo:focus {
107
+ box-shadow:none !important;
108
+ -moz-box-shadow:none !important;
109
+ -webkit-box-shadow:none !important;
110
+ }
111
+
112
+ .metabox-holder {
113
+ width:65%;
114
+ float:left;
115
+ }
116
+
117
+ .metabox-holder h2 {
118
+ margin-bottom:18px;
119
+ }
120
+
121
+ .submit {
122
+ padding:0px;
123
+ }
124
+
125
+ .form-table th {
126
+ width:50%;
127
+ }
128
+
129
+ td.advanced {
130
+ padding-top:0px;
131
+ padding-bottom:0px;
132
+ }
133
+
134
+ p.hello {
135
+ font-size:12px;
136
+ color:darkgray;
137
+ }
138
+
139
+ .flag{
140
+ padding:1px 0;
141
+ }
142
+
143
+ a.nturl {
144
+ cursor:pointer;
145
+ }
146
+
147
+ .flag img,
148
+ .alt_flag img{
149
+ border:0px !important;
150
+ margin-top:2px !important;
151
+ padding:0px !important;
152
+ }
153
+
154
+ .attribution {
155
+ width:152px;
156
+ line-height:1em;
157
+ margin-top:4px;
158
+ }
159
+
160
+ span.goog-branding {
161
+ font-size: 11px;
162
+ font-family: arial;
163
+ color: rgb(102, 102, 102);
164
+ white-space: nowrap;
165
+ padding-top: 4px;
166
+ text-align: left;
167
+ width: 150px;
168
+ margin-top: 2px;
169
+ left:170px;
170
+ z-index: 9999;
171
+ float: right;
172
+ }
173
+
174
+ .goog-logo-link,
175
+ .goog-logo-link:link,
176
+ .goog-logo-link:visited,
177
+ .goog-logo-link:hover,
178
+ .goog-logo-link:active {
179
+ font-size: 12px;
180
+ font-weight: bold;
181
+ color: rgb(68, 68, 68);
182
+ text-decoration: none;
183
+ line-height:0.8em;
184
+ }
185
+
186
+ span.goog-branding img {
187
+ float: left;
188
+ margin:0px;
189
+ width: 37px;
190
+
191
+ }
192
+
193
+ span.vertical-translator {
194
+ position:auto;
195
+ float:none !important;
196
+ font-size: 11px;
197
+ font-family: arial;
198
+ color: rgb(102, 102, 102);
199
+ white-space: nowrap;
200
+ vertical-align: middle;
201
+ padding-top: 4px;
202
+ text-align: left;
203
+ width: 150px;
204
+ margin-top: 2px;
205
+ right: -50px;
206
+ z-index: 9999;
207
+ }
208
+
209
+ .tool-container .tool-items .flag img {
210
+ width:24px !important;
211
+ height:24px !important;
212
+ margin-top:1px !important;
213
+ }
214
+
215
+ .tool-items .flag {
216
+ padding:0px !important;
217
+ }
218
+
219
+ .tool-container {
220
+ line-height:1;
221
+ }
222
+
223
+ #footer-instance {
224
+ display:none !important;
225
+ }
226
+
227
+ code {
228
+ border:1px solid lightgray;
229
+ }
230
+
231
+ /* Individual flag backgrounds (22px) */
232
+
233
+ #flags.size22 a[title="Afrikaans"],
234
+ .tool-container .tool-items a[title="Afrikaans"] {
235
+ background:url('../images/flags22.png') -1px -3px no-repeat;
236
+ }
237
+
238
+ #flags.size22 a[title="Albanian"],
239
+ .tool-container .tool-items a[title="Albanian"] {
240
+ background:url('../images/flags22.png') -30px -3px no-repeat;
241
+ }
242
+
243
+ #flags.size22 a[title="Amharic"],
244
+ .tool-container .tool-items a[title="Amharic"] {
245
+ background:url('../images/flags22.png') -1px -467px no-repeat;
246
+ }
247
+
248
+ #flags.size22 a[title="Arabic"],
249
+ .tool-container .tool-items a[title="Arabic"] {
250
+ background:url('../images/flags22.png') -59px -3px no-repeat;
251
+ }
252
+
253
+ #flags.size22 a[title="Armenian"],
254
+ .tool-container .tool-items a[title="Armenian"] {
255
+ background:url('../images/flags22.png') -88px -3px no-repeat;
256
+ }
257
+
258
+ #flags.size22 a[title="Azerbaijani"],
259
+ .tool-container .tool-items a[title="Azerbaijani"] {
260
+ background:url('../images/flags22.png') -117px -3px no-repeat;
261
+ }
262
+
263
+ #flags.size22 a[title="Basque"],
264
+ .tool-container .tool-items a[title="Basque"] {
265
+ background:url('../images/flags22.png') -146px -3px no-repeat;
266
+ }
267
+
268
+ #flags.size22 a[title="Belarusian"],
269
+ .tool-container .tool-items a[title="Belarusian"] {
270
+ background:url('../images/flags22.png') -1px -32px no-repeat;
271
+ }
272
+
273
+ #flags.size22 a[title="Bengali"],
274
+ .tool-container .tool-items a[title="Bengali"] {
275
+ background:url('../images/flags22.png') -30px -32px no-repeat;
276
+ }
277
+
278
+ #flags.size22 a[title="Bosnian"],
279
+ .tool-container .tool-items a[title="Bosnian"] {
280
+ background:url('../images/flags22.png') -59px -32px no-repeat;
281
+ }
282
+
283
+ #flags.size22 a[title="Bulgarian"],
284
+ .tool-container .tool-items a[title="Bulgarian"] {
285
+ background:url('../images/flags22.png') -88px -32px no-repeat;
286
+ }
287
+
288
+ #flags.size22 a[title="Catalan"],
289
+ .tool-container .tool-items a[title="Catalan"] {
290
+ background:url('../images/flags22.png') -117px -32px no-repeat;
291
+ }
292
+
293
+ #flags.size22 a[title="Cebuano"],
294
+ .tool-container .tool-items a[title="Cebuano"] {
295
+ background:url('../images/flags22.png') -146px -32px no-repeat;
296
+ }
297
+
298
+ #flags.size22 a[title="Chichewa"],
299
+ .tool-container .tool-items a[title="Chichewa"] {
300
+ background:url('../images/flags22.png') -88px -409px no-repeat;
301
+ }
302
+
303
+ #flags.size22 a[title="Chinese"],
304
+ .tool-container .tool-items a[title="Chinese"] {
305
+ background:url('../images/flags22.png') -1px -61px no-repeat;
306
+ }
307
+
308
+ #flags.size22 a[title="Chinese(Traditional)"],
309
+ .tool-container .tool-items a[title="Chinese(Traditional)"] {
310
+ background:url('../images/flags22.png') -30px -61px no-repeat;
311
+ }
312
+
313
+ #flags.size22 a[title="Corsican"],
314
+ .tool-container .tool-items a[title="Corsican"] {
315
+ background:url('../images/flags22.png') -117px -90px no-repeat;
316
+ }
317
+
318
+ #flags.size22 a[title="Croatian"],
319
+ .tool-container .tool-items a[title="Croatian"] {
320
+ background:url('../images/flags22.png') -59px -61px no-repeat;
321
+ }
322
+
323
+ #flags.size22 a[title="Czech"],
324
+ .tool-container .tool-items a[title="Czech"] {
325
+ background:url('../images/flags22.png') -88px -61px no-repeat;
326
+ }
327
+
328
+ #flags.size22 a[title="Danish"],
329
+ .tool-container .tool-items a[title="Danish"] {
330
+ background:url('../images/flags22.png') -117px -61px no-repeat;
331
+ }
332
+
333
+ #flags.size22 a[title="Dutch"],
334
+ .tool-container .tool-items a[title="Dutch"] {
335
+ background:url('../images/flags22.png') -146px -61px no-repeat;
336
+ }
337
+
338
+ #flags.size22 a[title="English"],
339
+ .tool-container .tool-items a[title="English"] {
340
+ background:url('../images/flags22.png') -88px -351px no-repeat;
341
+ }
342
+
343
+ #flags.size22 a.united-states[title="English"] {
344
+ background:url('../images/flags22.png') -117px -351px no-repeat;
345
+ }
346
+
347
+ #flags.size22 a.canada[title="English"] {
348
+ background:url('../images/flags22.png') -88px -438px no-repeat;
349
+ }
350
+
351
+ #flags.size22 a[title="Esperanto"],
352
+ .tool-container .tool-items a[title="Esperanto"] {
353
+ background:url('../images/flags22.png') -1px -90px no-repeat;
354
+ }
355
+
356
+ #flags.size22 a[title="Estonian"],
357
+ .tool-container .tool-items a[title="Estonian"] {
358
+ background:url('../images/flags22.png') -30px -90px no-repeat;
359
+ }
360
+
361
+ #flags.size22 a[title="Filipino"],
362
+ .tool-container .tool-items a[title="Filipino"] {
363
+ background:url('../images/flags22.png') -59px -90px no-repeat;
364
+ }
365
+
366
+ #flags.size22 a[title="Finnish"],
367
+ .tool-container .tool-items a[title="Finnish"] {
368
+ background:url('../images/flags22.png') -88px -90px no-repeat;
369
+ }
370
+
371
+ #flags.size22 a[title="French"],
372
+ .tool-container .tool-items a[title="French"] {
373
+ background:url('../images/flags22.png') -117px -90px no-repeat;
374
+ }
375
+
376
+ #flags.size22 a[title="Frisian"],
377
+ .tool-container .tool-items a[title="Frisian"] {
378
+ background:url('../images/flags22.png') -146px -61px no-repeat;
379
+ }
380
+
381
+ #flags.size22 a[title="Galician"],
382
+ .tool-container .tool-items a[title="Galician"] {
383
+ background:url('../images/flags22.png') -146px -90px no-repeat;
384
+ }
385
+
386
+ #flags.size22 a[title="Georgian"],
387
+ .tool-container .tool-items a[title="Georgian"] {
388
+ background:url('../images/flags22.png') -1px -119px no-repeat;
389
+ }
390
+
391
+ #flags.size22 a[title="German"],
392
+ .tool-container .tool-items a[title="German"] {
393
+ background:url('../images/flags22.png') -30px -119px no-repeat;
394
+ }
395
+
396
+ #flags.size22 a[title="Greek"],
397
+ .tool-container .tool-items a[title="Greek"] {
398
+ background:url('../images/flags22.png') -59px -119px no-repeat;
399
+ }
400
+
401
+ #flags.size22 a[title="Gujarati"],
402
+ .tool-container .tool-items a[title="Gujarati"] {
403
+ background:url('../images/flags22.png') -88px -119px no-repeat;
404
+ }
405
+
406
+ #flags.size22 a[title="Haitian"],
407
+ .tool-container .tool-items a[title="Haitian"] {
408
+ background:url('../images/flags22.png') -117px -119px no-repeat;
409
+ }
410
+
411
+ #flags.size22 a[title="Hausa"],
412
+ .tool-container .tool-items a[title="Hausa"] {
413
+ background:url('../images/flags22.png') -146px -119px no-repeat;
414
+ }
415
+
416
+ #flags.size22 a[title="Hebrew"],
417
+ .tool-container .tool-items a[title="Hebrew"] {
418
+ background:url('../images/flags22.png') -1px -148px no-repeat;
419
+ }
420
+
421
+ #flags.size22 a[title="Hindi"],
422
+ .tool-container .tool-items a[title="Hindi"] {
423
+ background:url('../images/flags22.png') -30px -148px no-repeat;
424
+ }
425
+
426
+ #flags.size22 a[title="Hmong"],
427
+ .tool-container .tool-items a[title="Hmong"] {
428
+ background:url('../images/flags22.png') -59px -148px no-repeat;
429
+ }
430
+
431
+ #flags.size22 a[title="Hungarian"],
432
+ .tool-container .tool-items a[title="Hungarian"] {
433
+ background:url('../images/flags22.png') -88px -148px no-repeat;
434
+ }
435
+
436
+ #flags.size22 a[title="Hawaiian"],
437
+ .tool-container .tool-items a[title="Hawaiian"] {
438
+ background:url('../images/flags22.png') -88px -467px no-repeat;
439
+ }
440
+
441
+ #flags.size22 a[title="Icelandic"],
442
+ .tool-container .tool-items a[title="Icelandic"] {
443
+ background:url('../images/flags22.png') -117px -148px no-repeat;
444
+ }
445
+
446
+ #flags.size22 a[title="Igbo"],
447
+ .tool-container .tool-items a[title="Igbo"] {
448
+ background:url('../images/flags22.png') -146px -148px no-repeat;
449
+ }
450
+
451
+ #flags.size22 a[title="Indonesian"],
452
+ .tool-container .tool-items a[title="Indonesian"] {
453
+ background:url('../images/flags22.png') -1px -177px no-repeat;
454
+ }
455
+
456
+ #flags.size22 a[title="Irish"],
457
+ .tool-container .tool-items a[title="Irish"] {
458
+ background:url('../images/flags22.png') -30px -177px no-repeat;
459
+ }
460
+
461
+ #flags.size22 a[title="Italian"],
462
+ .tool-container .tool-items a[title="Italian"] {
463
+ background:url('../images/flags22.png') -59px -177px no-repeat;
464
+ }
465
+
466
+ #flags.size22 a[title="Japanese"],
467
+ .tool-container .tool-items a[title="Japanese"] {
468
+ background:url('../images/flags22.png') -88px -177px no-repeat;
469
+ }
470
+
471
+ #flags.size22 a[title="Javanese"],
472
+ .tool-container .tool-items a[title="Javanese"] {
473
+ background:url('../images/flags22.png') -117px -177px no-repeat;
474
+ }
475
+
476
+ #flags.size22 a[title="Kannada"],
477
+ .tool-container .tool-items a[title="Kannada"] {
478
+ background:url('../images/flags22.png') -146px -177px no-repeat;
479
+ }
480
+
481
+ #flags.size22 a[title="Kazakh"],
482
+ .tool-container .tool-items a[title="Kazakh"] {
483
+ background:url('../images/flags22.png') -1px -409px no-repeat;
484
+ }
485
+
486
+ #flags.size22 a[title="Khmer"],
487
+ .tool-container .tool-items a[title="Khmer"] {
488
+ background:url('../images/flags22.png') -1px -206px no-repeat;
489
+ }
490
+
491
+ #flags.size22 a[title="Kurdish"],
492
+ .tool-container .tool-items a[title="Kurdish"] {
493
+ background:url('../images/flags22.png') -117px -467px no-repeat;
494
+ }
495
+
496
+ #flags.size22 a[title="Korean"],
497
+ .tool-container .tool-items a[title="Korean"] {
498
+ background:url('../images/flags22.png') -30px -206px no-repeat;
499
+ }
500
+
501
+ #flags.size22 a[title="Kyrgyz"],
502
+ .tool-container .tool-items a[title="Kyrgyz"] {
503
+ background:url('../images/flags22.png') -146px -467px no-repeat;
504
+ }
505
+
506
+ #flags.size22 a[title="Lao"],
507
+ .tool-container .tool-items a[title="Lao"] {
508
+ background:url('../images/flags22.png') -59px -206px no-repeat;
509
+ }
510
+
511
+ #flags.size22 a[title="Latin"],
512
+ .tool-container .tool-items a[title="Latin"] {
513
+ background:url('../images/flags22.png') -88px -206px no-repeat;
514
+ }
515
+
516
+ #flags.size22 a[title="Latvian"],
517
+ .tool-container .tool-items a[title="Latvian"] {
518
+ background:url('../images/flags22.png') -117px -206px no-repeat;
519
+ }
520
+
521
+ #flags.size22 a[title="Lithuanian"],
522
+ .tool-container .tool-items a[title="Lithuanian"] {
523
+ background:url('../images/flags22.png') -146px -206px no-repeat;
524
+ }
525
+
526
+ #flags.size22 a[title="Luxembourgish"],
527
+ .tool-container .tool-items a[title="Luxembourgish"] {
528
+ background:url('../images/flags22.png') -1px -496px no-repeat;
529
+ }
530
+
531
+ #flags.size22 a[title="Macedonian"],
532
+ .tool-container .tool-items a[title="Macedonian"] {
533
+ background:url('../images/flags22.png') -1px -235px no-repeat;
534
+ }
535
+
536
+ #flags.size22 a[title="Malagasy"],
537
+ .tool-container .tool-items a[title="Malagasy"] {
538
+ background:url('../images/flags22.png') -59px -409px no-repeat;
539
+ }
540
+
541
+ #flags.size22 a[title="Malay"],
542
+ .tool-container .tool-items a[title="Malay"] {
543
+ background:url('../images/flags22.png') -30px -235px no-repeat;
544
+ }
545
+
546
+ #flags.size22 a[title="Malayalam"],
547
+ .tool-container .tool-items a[title="Malayalam"] {
548
+ background:url('../images/flags22.png') -117px -409px no-repeat;
549
+ }
550
+
551
+ #flags.size22 a[title="Maltese"],
552
+ .tool-container .tool-items a[title="Maltese"] {
553
+ background:url('../images/flags22.png') -59px -235px no-repeat;
554
+ }
555
+
556
+ #flags.size22 a[title="Maori"],
557
+ .tool-container .tool-items a[title="Maori"] {
558
+ background:url('../images/flags22.png') -88px -235px no-repeat;
559
+ }
560
+
561
+ #flags.size22 a[title="Marathi"],
562
+ .tool-container .tool-items a[title="Marathi"] {
563
+ background:url('../images/flags22.png') -117px -235px no-repeat;
564
+ }
565
+
566
+ #flags.size22 a[title="Mongolian"],
567
+ .tool-container .tool-items a[title="Mongolian"] {
568
+ background:url('../images/flags22.png') -146px -235px no-repeat;
569
+ }
570
+
571
+ #flags.size22 a[title="Myanmar(Burmese)"],
572
+ .tool-container .tool-items a[title="Myanmar(Burmese)"] {
573
+ background:url('../images/flags22.png') -146px -409px no-repeat;
574
+ }
575
+
576
+ #flags.size22 a[title="Nepali"],
577
+ .tool-container .tool-items a[title="Nepali"] {
578
+ background:url('../images/flags22.png') -1px -264px no-repeat;
579
+ }
580
+
581
+ #flags.size22 a[title="Norwegian"],
582
+ .tool-container .tool-items a[title="Norwegian"] {
583
+ background:url('../images/flags22.png') -30px -264px no-repeat;
584
+ }
585
+
586
+ #flags.size22 a[title="Pashto"],
587
+ .tool-container .tool-items a[title="Pashto"] {
588
+ background:url('../images/flags22.png') -30px -496px no-repeat;
589
+ }
590
+
591
+ #flags.size22 a[title="Persian"],
592
+ .tool-container .tool-items a[title="Persian"] {
593
+ background:url('../images/flags22.png') -59px -264px no-repeat;
594
+ }
595
+
596
+ #flags.size22 a[title="Polish"],
597
+ .tool-container .tool-items a[title="Polish"] {
598
+ background:url('../images/flags22.png') -88px -264px no-repeat;
599
+ }
600
+
601
+ #flags.size22 a[title="Portuguese"],
602
+ .tool-container .tool-items a[title="Portuguese"] {
603
+ background:url('../images/flags22.png') -117px -264px no-repeat;
604
+ }
605
+
606
+ #flags.size22 a.brazil[title="Portuguese"] {
607
+ background:url('../images/flags22.png') -146px -438px no-repeat;
608
+ }
609
+
610
+ #flags.size22 a[title="Punjabi"],
611
+ .tool-container .tool-items a[title="Punjabi"] {
612
+ background:url('../images/flags22.png') -146px -264px no-repeat;
613
+ }
614
+
615
+ #flags.size22 a[title="Romanian"],
616
+ .tool-container .tool-items a[title="Romanian"] {
617
+ background:url('../images/flags22.png') -1px -293px no-repeat;
618
+ }
619
+
620
+ #flags.size22 a[title="Russian"],
621
+ .tool-container .tool-items a[title="Russian"] {
622
+ background:url('../images/flags22.png') -30px -293px no-repeat;
623
+ }
624
+
625
+ #flags.size22 a[title="Samoan"],
626
+ .tool-container .tool-items a[title="Samoan"] {
627
+ background:url('../images/flags22.png') -30px -467px no-repeat;
628
+ }
629
+
630
+ #flags.size22 a[title="Scottish Gaelic"],
631
+ .tool-container .tool-items a[title="Scottish Gaelic"] {
632
+ background:url('../images/flags22.png') -59px -467px no-repeat;
633
+ }
634
+
635
+ #flags.size22 a[title="Serbian"],
636
+ .tool-container .tool-items a[title="Serbian"] {
637
+ background:url('../images/flags22.png') -59px -293px no-repeat;
638
+ }
639
+
640
+ #flags.size22 a[title="Sesotho"],
641
+ .tool-container .tool-items a[title="Sesotho"] {
642
+ background:url('../images/flags22.png') -30px -409px no-repeat;
643
+ }
644
+
645
+ #flags.size22 a[title="Sindhi"],
646
+ .tool-container .tool-items a[title="Sindhi"] {
647
+ background:url('../images/flags22.png') -146px -351px no-repeat;
648
+ }
649
+
650
+ #flags.size22 a[title="Sinhala"],
651
+ .tool-container .tool-items a[title="Sinhala"] {
652
+ background:url('../images/flags22.png') -1px -438px no-repeat;
653
+ }
654
+
655
+ #flags.size22 a[title="Shona"],
656
+ .tool-container .tool-items a[title="Shona"] {
657
+ background:url('../images/flags22.png') -59px -496px no-repeat;
658
+ }
659
+
660
+ #flags.size22 a[title="Slovak"],
661
+ .tool-container .tool-items a[title="Slovak"] {
662
+ background:url('../images/flags22.png') -88px -293px no-repeat;
663
+ }
664
+
665
+ #flags.size22 a[title="Slovenian"],
666
+ .tool-container .tool-items a[title="Slovenian"] {
667
+ background:url('../images/flags22.png') -117px -293px no-repeat;
668
+ }
669
+
670
+ #flags.size22 a[title="Somali"],
671
+ .tool-container .tool-items a[title="Somali"] {
672
+ background:url('../images/flags22.png') -146px -293px no-repeat;
673
+ }
674
+
675
+ #flags.size22 a[title="Spanish"],
676
+ .tool-container .tool-items a[title="Spanish"] {
677
+ background:url('../images/flags22.png') -1px -322px no-repeat;
678
+ }
679
+
680
+ #flags.size22 a.mexico[title="Spanish"] {
681
+ background:url('../images/flags22.png') -117px -438px no-repeat;
682
+ }
683
+
684
+ #flags.size22 a[title="Sundanese"],
685
+ .tool-container .tool-items a[title="Sundanese"] {
686
+ background:url('../images/flags22.png') -146px -380px no-repeat;
687
+ }
688
+
689
+ #flags.size22 a[title="Swahili"],
690
+ .tool-container .tool-items a[title="Swahili"] {
691
+ background:url('../images/flags22.png') -30px -322px no-repeat;
692
+ }
693
+
694
+ #flags.size22 a[title="Swedish"],
695
+ .tool-container .tool-items a[title="Swedish"] {
696
+ background:url('../images/flags22.png') -59px -322px no-repeat;
697
+ }
698
+
699
+ #flags.size22 a[title="Tajik"],
700
+ .tool-container .tool-items a[title="Tajik"] {
701
+ background:url('../images/flags22.png') -30px -438px no-repeat;
702
+ }
703
+
704
+ #flags.size22 a[title="Tamil"],
705
+ .tool-container .tool-items a[title="Tamil"] {
706
+ background:url('../images/flags22.png') -88px -322px no-repeat;
707
+ }
708
+
709
+ #flags.size22 a[title="Telugu"],
710
+ .tool-container .tool-items a[title="Telugu"] {
711
+ background:url('../images/flags22.png') -117px -322px no-repeat;
712
+ }
713
+
714
+ #flags.size22 a[title="Thai"],
715
+ .tool-container .tool-items a[title="Thai"] {
716
+ background:url('../images/flags22.png') -146px -322px no-repeat;
717
+ }
718
+
719
+ #flags.size22 a[title="Turkish"],
720
+ .tool-container .tool-items a[title="Turkish"] {
721
+ background:url('../images/flags22.png') -30px -351px no-repeat;
722
+ }
723
+
724
+ #flags.size22 a[title="Ukranian"],
725
+ .tool-container .tool-items a[title="Ukranian"] {
726
+ background:url('../images/flags22.png') -59px -351px no-repeat;
727
+ }
728
+
729
+ #flags.size22 a[title="Uzbek"],
730
+ .tool-container .tool-items a[title="Uzbek"] {
731
+ background:url('../images/flags22.png') -59px -438px no-repeat;
732
+ }
733
+
734
+ #flags.size22 a[title="Urdu"],
735
+ .tool-container .tool-items a[title="Urdu"] {
736
+ background:url('../images/flags22.png') -146px -351px no-repeat;
737
+ }
738
+
739
+ #flags.size22 a[title="Vietnamese"],
740
+ .tool-container .tool-items a[title="Vietnamese"] {
741
+ background:url('../images/flags22.png') -1px -380px no-repeat;
742
+ }
743
+
744
+ #flags.size22 a[title="Welsh"],
745
+ .tool-container .tool-items a[title="Welsh"] {
746
+ background:url('../images/flags22.png') -30px -380px no-repeat;
747
+ }
748
+
749
+ #flags.size22 a[title="Xhosa"],
750
+ .tool-container .tool-items a[title="Xhosa"] {
751
+ background:url('../images/flags22.png') -1px -3px no-repeat;
752
+ }
753
+
754
+ #flags.size22 a[title="Yiddish"],
755
+ .tool-container .tool-items a[title="Yiddish"] {
756
+ background:url('../images/flags22.png') -59px -380px no-repeat;
757
+ }
758
+
759
+ #flags.size22 a[title="Yoruba"],
760
+ .tool-container .tool-items a[title="Yoruba"] {
761
+ background:url('../images/flags22.png') -88px -380px no-repeat;
762
+ }
763
+
764
+ #flags.size22 a[title="Zulu"],
765
+ .tool-container .tool-items a[title="Zulu"] {
766
+ background:url('../images/flags22.png') -117px -380px no-repeat;
767
+ }
768
+
769
+ /* Individual flag backgrounds (18px) */
770
+
771
+ #flags.size18 a[title="Afrikaans"],
772
+ .tool-container .tool-items a[title="Afrikaans"] {
773
+ background:url('../images/flags18.png') -2px -4px no-repeat;
774
+ }
775
+
776
+ #flags.size18 a[title="Albanian"],
777
+ .tool-container .tool-items a[title="Albanian"] {
778
+ background:url('../images/flags18.png') -31px -4px no-repeat;
779
+ }
780
+
781
+ #flags.size18 a[title="Amharic"],
782
+ .tool-container .tool-items a[title="Amharic"] {
783
+ background:url('../images/flags18.png') -2px -468px no-repeat;
784
+ }
785
+
786
+ #flags.size18 a[title="Arabic"],
787
+ .tool-container .tool-items a[title="Arabic"] {
788
+ background:url('../images/flags18.png') -60px -4px no-repeat;
789
+ }
790
+
791
+ #flags.size18 a[title="Armenian"],
792
+ .tool-container .tool-items a[title="Armenian"] {
793
+ background:url('../images/flags18.png') -89px -4px no-repeat;
794
+ }
795
+
796
+ #flags.size18 a[title="Azerbaijani"],
797
+ .tool-container .tool-items a[title="Azerbaijani"] {
798
+ background:url('../images/flags18.png') -118px -4px no-repeat;
799
+ }
800
+
801
+ #flags.size18 a[title="Basque"],
802
+ .tool-container .tool-items a[title="Basque"] {
803
+ background:url('../images/flags18.png') -147px -4px no-repeat;
804
+ }
805
+
806
+ #flags.size18 a[title="Belarusian"],
807
+ .tool-container .tool-items a[title="Belarusian"] {
808
+ background:url('../images/flags18.png') -2px -33px no-repeat;
809
+ }
810
+
811
+ #flags.size18 a[title="Bengali"],
812
+ .tool-container .tool-items a[title="Bengali"] {
813
+ background:url('../images/flags18.png') -31px -33px no-repeat;
814
+ }
815
+
816
+ #flags.size18 a[title="Bosnian"],
817
+ .tool-container .tool-items a[title="Bosnian"] {
818
+ background:url('../images/flags18.png') -60px -33px no-repeat;
819
+ }
820
+
821
+ #flags.size18 a[title="Bulgarian"],
822
+ .tool-container .tool-items a[title="Bulgarian"] {
823
+ background:url('../images/flags18.png') -89px -33px no-repeat;
824
+ }
825
+
826
+ #flags.size18 a[title="Catalan"],
827
+ .tool-container .tool-items a[title="Catalan"] {
828
+ background:url('../images/flags18.png') -118px -33px no-repeat;
829
+ }
830
+
831
+ #flags.size18 a[title="Cebuano"],
832
+ .tool-container .tool-items a[title="Cebuano"] {
833
+ background:url('../images/flags18.png') -147px -33px no-repeat;
834
+ }
835
+
836
+ #flags.size18 a[title="Chichewa"],
837
+ .tool-container .tool-items a[title="Chichewa"] {
838
+ background:url('../images/flags18.png') -89px -410px no-repeat;
839
+ }
840
+
841
+ #flags.size18 a[title="Chinese"],
842
+ .tool-container .tool-items a[title="Chinese"] {
843
+ background:url('../images/flags18.png') -2px -62px no-repeat;
844
+ }
845
+
846
+ #flags.size18 a[title="Chinese(Traditional)"],
847
+ .tool-container .tool-items a[title="Chinese(Traditional)"] {
848
+ background:url('../images/flags18.png') -31px -62px no-repeat;
849
+ }
850
+
851
+ #flags.size18 a[title="Corsican"],
852
+ .tool-container .tool-items a[title="Corsican"] {
853
+ background:url('../images/flags18.png') -118px -91px no-repeat;
854
+ }
855
+
856
+ #flags.size18 a[title="Croatian"],
857
+ .tool-container .tool-items a[title="Croatian"] {
858
+ background:url('../images/flags18.png') -60px -62px no-repeat;
859
+ }
860
+
861
+ #flags.size18 a[title="Czech"],
862
+ .tool-container .tool-items a[title="Czech"] {
863
+ background:url('../images/flags18.png') -89px -62px no-repeat;
864
+ }
865
+
866
+ #flags.size18 a[title="Danish"],
867
+ .tool-container .tool-items a[title="Danish"] {
868
+ background:url('../images/flags18.png') -118px -62px no-repeat;
869
+ }
870
+
871
+ #flags.size18 a[title="Dutch"],
872
+ .tool-container .tool-items a[title="Dutch"] {
873
+ background:url('../images/flags18.png') -147px -62px no-repeat;
874
+ }
875
+
876
+ #flags.size18 a[title="English"],
877
+ .tool-container .tool-items a[title="English"] {
878
+ background:url('../images/flags18.png') -89px -352px no-repeat;
879
+ }
880
+
881
+ #flags.size18 a.united-states[title="English"] {
882
+ background:url('../images/flags18.png') -118px -352px no-repeat;
883
+ }
884
+
885
+ #flags.size18 a.canada[title="English"] {
886
+ background:url('../images/flags18.png') -89px -439px no-repeat;
887
+ }
888
+
889
+ #flags.size18 a[title="Esperanto"],
890
+ .tool-container .tool-items a[title="Esperanto"] {
891
+ background:url('../images/flags18.png') -2px -91px no-repeat;
892
+ }
893
+
894
+ #flags.size18 a[title="Estonian"],
895
+ .tool-container .tool-items a[title="Estonian"] {
896
+ background:url('../images/flags18.png') -31px -91px no-repeat;
897
+ }
898
+
899
+ #flags.size18 a[title="Filipino"],
900
+ .tool-container .tool-items a[title="Filipino"] {
901
+ background:url('../images/flags18.png') -60px -91px no-repeat;
902
+ }
903
+
904
+ #flags.size18 a[title="Finnish"],
905
+ .tool-container .tool-items a[title="Finnish"] {
906
+ background:url('../images/flags18.png') -89px -91px no-repeat;
907
+ }
908
+
909
+ #flags.size18 a[title="French"],
910
+ .tool-container .tool-items a[title="French"] {
911
+ background:url('../images/flags18.png') -118px -91px no-repeat;
912
+ }
913
+
914
+ #flags.size18 a[title="Frisian"],
915
+ .tool-container .tool-items a[title="Frisian"] {
916
+ background:url('../images/flags18.png') -147px -62px no-repeat;
917
+ }
918
+
919
+ #flags.size18 a[title="Galician"],
920
+ .tool-container .tool-items a[title="Galician"] {
921
+ background:url('../images/flags18.png') -147px -91px no-repeat;
922
+ }
923
+
924
+ #flags.size18 a[title="Georgian"],
925
+ .tool-container .tool-items a[title="Georgian"] {
926
+ background:url('../images/flags18.png') -2px -120px no-repeat;
927
+ }
928
+
929
+ #flags.size18 a[title="German"],
930
+ .tool-container .tool-items a[title="German"] {
931
+ background:url('../images/flags18.png') -31px -120px no-repeat;
932
+ }
933
+
934
+ #flags.size18 a[title="Greek"],
935
+ .tool-container .tool-items a[title="Greek"] {
936
+ background:url('../images/flags18.png') -60px -120px no-repeat;
937
+ }
938
+
939
+ #flags.size18 a[title="Gujarati"],
940
+ .tool-container .tool-items a[title="Gujarati"] {
941
+ background:url('../images/flags18.png') -89px -120px no-repeat;
942
+ }
943
+
944
+ #flags.size18 a[title="Haitian"],
945
+ .tool-container .tool-items a[title="Haitian"] {
946
+ background:url('../images/flags18.png') -118px -120px no-repeat;
947
+ }
948
+
949
+ #flags.size18 a[title="Hausa"],
950
+ .tool-container .tool-items a[title="Hausa"] {
951
+ background:url('../images/flags18.png') -147px -120px no-repeat;
952
+ }
953
+
954
+ #flags.size18 a[title="Hebrew"],
955
+ .tool-container .tool-items a[title="Hebrew"] {
956
+ background:url('../images/flags18.png') -2px -149px no-repeat;
957
+ }
958
+
959
+ #flags.size18 a[title="Hindi"],
960
+ .tool-container .tool-items a[title="Hindi"] {
961
+ background:url('../images/flags18.png') -31px -149px no-repeat;
962
+ }
963
+
964
+ #flags.size18 a[title="Hmong"],
965
+ .tool-container .tool-items a[title="Hmong"] {
966
+ background:url('../images/flags18.png') -60px -149px no-repeat;
967
+ }
968
+
969
+ #flags.size18 a[title="Hungarian"],
970
+ .tool-container .tool-items a[title="Hungarian"] {
971
+ background:url('../images/flags18.png') -89px -149px no-repeat;
972
+ }
973
+
974
+ #flags.size18 a[title="Hawaiian"],
975
+ .tool-container .tool-items a[title="Hawaiian"] {
976
+ background:url('../images/flags18.png') -89px -468px no-repeat;
977
+ }
978
+
979
+ #flags.size18 a[title="Icelandic"],
980
+ .tool-container .tool-items a[title="Icelandic"] {
981
+ background:url('../images/flags18.png') -118px -149px no-repeat;
982
+ }
983
+
984
+ #flags.size18 a[title="Igbo"],
985
+ .tool-container .tool-items a[title="Igbo"] {
986
+ background:url('../images/flags18.png') -147px -149px no-repeat;
987
+ }
988
+
989
+ #flags.size18 a[title="Indonesian"],
990
+ .tool-container .tool-items a[title="Indonesian"] {
991
+ background:url('../images/flags18.png') -2px -178px no-repeat;
992
+ }
993
+
994
+ #flags.size18 a[title="Irish"],
995
+ .tool-container .tool-items a[title="Irish"] {
996
+ background:url('../images/flags18.png') -31px -178px no-repeat;
997
+ }
998
+
999
+ #flags.size18 a[title="Italian"],
1000
+ .tool-container .tool-items a[title="Italian"] {
1001
+ background:url('../images/flags18.png') -60px -178px no-repeat;
1002
+ }
1003
+
1004
+ #flags.size18 a[title="Japanese"],
1005
+ .tool-container .tool-items a[title="Japanese"] {
1006
+ background:url('../images/flags18.png') -89px -178px no-repeat;
1007
+ }
1008
+
1009
+ #flags.size18 a[title="Javanese"],
1010
+ .tool-container .tool-items a[title="Javanese"] {
1011
+ background:url('../images/flags18.png') -118px -178px no-repeat;
1012
+ }
1013
+
1014
+ #flags.size18 a[title="Kannada"],
1015
+ .tool-container .tool-items a[title="Kannada"] {
1016
+ background:url('../images/flags18.png') -147px -178px no-repeat;
1017
+ }
1018
+
1019
+ #flags.size18 a[title="Kazakh"],
1020
+ .tool-container .tool-items a[title="Kazakh"] {
1021
+ background:url('../images/flags18.png') -2px -410px no-repeat;
1022
+ }
1023
+
1024
+ #flags.size18 a[title="Khmer"],
1025
+ .tool-container .tool-items a[title="Khmer"] {
1026
+ background:url('../images/flags18.png') -2px -207px no-repeat;
1027
+ }
1028
+
1029
+ #flags.size18 a[title="Korean"],
1030
+ .tool-container .tool-items a[title="Korean"] {
1031
+ background:url('../images/flags18.png') -31px -207px no-repeat;
1032
+ }
1033
+
1034
+ #flags.size18 a[title="Kurdish"],
1035
+ .tool-container .tool-items a[title="Kurdish"] {
1036
+ background:url('../images/flags18.png') -118px -468px no-repeat;
1037
+ }
1038
+
1039
+ #flags.size18 a[title="Kyrgyz"],
1040
+ .tool-container .tool-items a[title="Kyrgyz"] {
1041
+ background:url('../images/flags18.png') -147px -468px no-repeat;
1042
+ }
1043
+
1044
+ #flags.size18 a[title="Lao"],
1045
+ .tool-container .tool-items a[title="Lao"] {
1046
+ background:url('../images/flags18.png') -60px -207px no-repeat;
1047
+ }
1048
+
1049
+ #flags.size18 a[title="Latin"],
1050
+ .tool-container .tool-items a[title="Latin"] {
1051
+ background:url('../images/flags18.png') -89px -207px no-repeat;
1052
+ }
1053
+
1054
+ #flags.size18 a[title="Latvian"],
1055
+ .tool-container .tool-items a[title="Latvian"] {
1056
+ background:url('../images/flags18.png') -118px -207px no-repeat;
1057
+ }
1058
+
1059
+ #flags.size18 a[title="Lithuanian"],
1060
+ .tool-container .tool-items a[title="Lithuanian"] {
1061
+ background:url('../images/flags18.png') -147px -207px no-repeat;
1062
+ }
1063
+
1064
+ #flags.size18 a[title="Luxembourgish"],
1065
+ .tool-container .tool-items a[title="Luxembourgish"] {
1066
+ background:url('../images/flags18.png') -2px -496px no-repeat;
1067
+ }
1068
+
1069
+ #flags.size18 a[title="Macedonian"],
1070
+ .tool-container .tool-items a[title="Macedonian"] {
1071
+ background:url('../images/flags18.png') -2px -236px no-repeat;
1072
+ }
1073
+
1074
+ #flags.size18 a[title="Malagasy"],
1075
+ .tool-container .tool-items a[title="Malagasy"] {
1076
+ background:url('../images/flags18.png') -60px -410px no-repeat;
1077
+ }
1078
+
1079
+ #flags.size18 a[title="Malay"],
1080
+ .tool-container .tool-items a[title="Malay"] {
1081
+ background:url('../images/flags18.png') -31px -236px no-repeat;
1082
+ }
1083
+
1084
+ #flags.size18 a[title="Malayalam"],
1085
+ .tool-container .tool-items a[title="Malayalam"] {
1086
+ background:url('../images/flags18.png') -118px -410px no-repeat;
1087
+ }
1088
+
1089
+ #flags.size18 a[title="Maltese"],
1090
+ .tool-container .tool-items a[title="Maltese"] {
1091
+ background:url('../images/flags18.png') -60px -236px no-repeat;
1092
+ }
1093
+
1094
+ #flags.size18 a[title="Maori"],
1095
+ .tool-container .tool-items a[title="Maori"] {
1096
+ background:url('../images/flags18.png') -89px -236px no-repeat;
1097
+ }
1098
+
1099
+ #flags.size18 a[title="Marathi"],
1100
+ .tool-container .tool-items a[title="Marathi"] {
1101
+ background:url('../images/flags18.png') -118px -236px no-repeat;
1102
+ }
1103
+
1104
+ #flags.size18 a[title="Mongolian"],
1105
+ .tool-container .tool-items a[title="Mongolian"] {
1106
+ background:url('../images/flags18.png') -147px -236px no-repeat;
1107
+ }
1108
+
1109
+ #flags.size18 a[title="Myanmar(Burmese)"],
1110
+ .tool-container .tool-items a[title="Myanmar(Burmese)"] {
1111
+ background:url('../images/flags18.png') -147px -410px no-repeat;
1112
+ }
1113
+
1114
+ #flags.size18 a[title="Nepali"],
1115
+ .tool-container .tool-items a[title="Nepali"] {
1116
+ background:url('../images/flags18.png') -2px -265px no-repeat;
1117
+ }
1118
+
1119
+ #flags.size18 a[title="Norwegian"],
1120
+ .tool-container .tool-items a[title="Norwegian"] {
1121
+ background:url('../images/flags18.png') -31px -265px no-repeat;
1122
+ }
1123
+
1124
+ #flags.size18 a[title="Pashto"],
1125
+ .tool-container .tool-items a[title="Pashto"] {
1126
+ background:url('../images/flags18.png') -31px -496px no-repeat;
1127
+ }
1128
+
1129
+ #flags.size18 a[title="Persian"],
1130
+ .tool-container .tool-items a[title="Persian"] {
1131
+ background:url('../images/flags18.png') -60px -265px no-repeat;
1132
+ }
1133
+
1134
+ #flags.size18 a[title="Polish"],
1135
+ .tool-container .tool-items a[title="Polish"] {
1136
+ background:url('../images/flags18.png') -89px -265px no-repeat;
1137
+ }
1138
+
1139
+ #flags.size18 a[title="Portuguese"],
1140
+ .tool-container .tool-items a[title="Portuguese"] {
1141
+ background:url('../images/flags18.png') -118px -265px no-repeat;
1142
+ }
1143
+
1144
+ #flags.size18 a.brazil[title="Portuguese"] {
1145
+ background:url('../images/flags18.png') -147px -439px no-repeat;
1146
+ }
1147
+
1148
+ #flags.size18 a[title="Punjabi"],
1149
+ .tool-container .tool-items a[title="Punjabi"] {
1150
+ background:url('../images/flags18.png') -147px -265px no-repeat;
1151
+ }
1152
+
1153
+ #flags.size18 a[title="Romanian"],
1154
+ .tool-container .tool-items a[title="Romanian"] {
1155
+ background:url('../images/flags18.png') -2px -294px no-repeat;
1156
+ }
1157
+
1158
+ #flags.size18 a[title="Russian"],
1159
+ .tool-container .tool-items a[title="Russian"] {
1160
+ background:url('../images/flags18.png') -31px -294px no-repeat;
1161
+ }
1162
+
1163
+ #flags.size18 a[title="Samoan"],
1164
+ .tool-container .tool-items a[title="Samoan"] {
1165
+ background:url('../images/flags18.png') -31px -468px no-repeat;
1166
+ }
1167
+
1168
+ #flags.size18 a[title="Scottish Gaelic"],
1169
+ .tool-container .tool-items a[title="Scottish Gaelic"] {
1170
+ background:url('../images/flags18.png') -60px -468px no-repeat;
1171
+ }
1172
+
1173
+ #flags.size18 a[title="Serbian"],
1174
+ .tool-container .tool-items a[title="Serbian"] {
1175
+ background:url('../images/flags18.png') -60px -294px no-repeat;
1176
+ }
1177
+
1178
+ #flags.size18 a[title="Sesotho"],
1179
+ .tool-container .tool-items a[title="Sesotho"] {
1180
+ background:url('../images/flags18.png') -31px -410px no-repeat;
1181
+ }
1182
+
1183
+ #flags.size18 a[title="Shona"],
1184
+ .tool-container .tool-items a[title="Shona"] {
1185
+ background:url('../images/flags18.png') -60px -496px no-repeat;
1186
+ }
1187
+
1188
+ #flags.size18 a[title="Sindhi"],
1189
+ .tool-container .tool-items a[title="Sindhi"] {
1190
+ background:url('../images/flags18.png') -147px -352px no-repeat;
1191
+ }
1192
+
1193
+ #flags.size18 a[title="Sinhala"],
1194
+ .tool-container .tool-items a[title="Sinhala"] {
1195
+ background:url('../images/flags18.png') -2px -439px no-repeat;
1196
+ }
1197
+
1198
+ #flags.size18 a[title="Slovak"],
1199
+ .tool-container .tool-items a[title="Slovak"] {
1200
+ background:url('../images/flags18.png') -89px -294px no-repeat;
1201
+ }
1202
+
1203
+ #flags.size18 a[title="Slovenian"],
1204
+ .tool-container .tool-items a[title="Slovenian"] {
1205
+ background:url('../images/flags18.png') -118px -294px no-repeat;
1206
+ }
1207
+
1208
+ #flags.size18 a[title="Somali"],
1209
+ .tool-container .tool-items a[title="Somali"] {
1210
+ background:url('../images/flags18.png') -147px -294px no-repeat;
1211
+ }
1212
+
1213
+ #flags.size18 a[title="Spanish"],
1214
+ .tool-container .tool-items a[title="Spanish"] {
1215
+ background:url('../images/flags18.png') -2px -323px no-repeat;
1216
+ }
1217
+
1218
+ #flags.size18 a.mexico[title="Spanish"] {
1219
+ background:url('../images/flags18.png') -118px -439px no-repeat;
1220
+ }
1221
+
1222
+ #flags.size18 a[title="Sundanese"],
1223
+ .tool-container .tool-items a[title="Sundanese"] {
1224
+ background:url('../images/flags18.png') -147px -381px no-repeat;
1225
+ }
1226
+
1227
+ #flags.size18 a[title="Swahili"],
1228
+ .tool-container .tool-items a[title="Swahili"] {
1229
+ background:url('../images/flags18.png') -31px -323px no-repeat;
1230
+ }
1231
+
1232
+ #flags.size18 a[title="Swedish"],
1233
+ .tool-container .tool-items a[title="Swedish"] {
1234
+ background:url('../images/flags18.png') -60px -323px no-repeat;
1235
+ }
1236
+
1237
+ #flags.size18 a[title="Tajik"],
1238
+ .tool-container .tool-items a[title="Tajik"] {
1239
+ background:url('../images/flags18.png') -31px -439px no-repeat;
1240
+ }
1241
+
1242
+ #flags.size18 a[title="Tamil"],
1243
+ .tool-container .tool-items a[title="Tamil"] {
1244
+ background:url('../images/flags18.png') -89px -323px no-repeat;
1245
+ }
1246
+
1247
+ #flags.size18 a[title="Telugu"],
1248
+ .tool-container .tool-items a[title="Telugu"] {
1249
+ background:url('../images/flags18.png') -118px -323px no-repeat;
1250
+ }
1251
+
1252
+ #flags.size18 a[title="Thai"],
1253
+ .tool-container .tool-items a[title="Thai"] {
1254
+ background:url('../images/flags18.png') -147px -323px no-repeat;
1255
+ }
1256
+
1257
+ #flags.size18 a[title="Turkish"],
1258
+ .tool-container .tool-items a[title="Turkish"] {
1259
+ background:url('../images/flags18.png') -31px -352px no-repeat;
1260
+ }
1261
+
1262
+ #flags.size18 a[title="Ukranian"],
1263
+ .tool-container .tool-items a[title="Ukranian"] {
1264
+ background:url('../images/flags18.png') -60px -352px no-repeat;
1265
+ }
1266
+
1267
+ #flags.size18 a[title="Urdu"],
1268
+ .tool-container .tool-items a[title="Urdu"] {
1269
+ background:url('../images/flags18.png') -147px -352px no-repeat;
1270
+ }
1271
+
1272
+ #flags.size18 a[title="Uzbek"],
1273
+ .tool-container .tool-items a[title="Uzbek"] {
1274
+ background:url('../images/flags18.png') -60px -439px no-repeat;
1275
+ }
1276
+
1277
+ #flags.size18 a[title="Vietnamese"],
1278
+ .tool-container .tool-items a[title="Vietnamese"] {
1279
+ background:url('../images/flags18.png') -2px -381px no-repeat;
1280
+ }
1281
+
1282
+ #flags.size18 a[title="Welsh"],
1283
+ .tool-container .tool-items a[title="Welsh"] {
1284
+ background:url('../images/flags18.png') -31px -381px no-repeat;
1285
+ }
1286
+
1287
+ #flags.size18 a[title="Xhosa"],
1288
+ .tool-container .tool-items a[title="Xhosa"] {
1289
+ background:url('../images/flags18.png') -2px -4px no-repeat;
1290
+ }
1291
+
1292
+ #flags.size18 a[title="Yiddish"],
1293
+ .tool-container .tool-items a[title="Yiddish"] {
1294
+ background:url('../images/flags18.png') -60px -381px no-repeat;
1295
+ }
1296
+
1297
+ #flags.size18 a[title="Yoruba"],
1298
+ .tool-container .tool-items a[title="Yoruba"] {
1299
+ background:url('../images/flags18.png') -89px -381px no-repeat;
1300
+ }
1301
+
1302
+ #flags.size18 a[title="Zulu"],
1303
+ .tool-container .tool-items a[title="Zulu"] {
1304
+ background:url('../images/flags18.png') -118px -381px no-repeat;
1305
+ }
1306
+
1307
+ /* Individual flag backgrounds (20px) */
1308
+
1309
+ #flags.size20 a[title="Afrikaans"],
1310
+ .tool-container .tool-items a[title="Afrikaans"] {
1311
+ background:url('../images/flags20.png') -2px -4px no-repeat;
1312
+ }
1313
+
1314
+ #flags.size20 a[title="Albanian"],
1315
+ .tool-container .tool-items a[title="Albanian"] {
1316
+ background:url('../images/flags20.png') -31px -4px no-repeat;
1317
+ }
1318
+
1319
+ #flags.size20 a[title="Amharic"],
1320
+ .tool-container .tool-items a[title="Amharic"] {
1321
+ background:url('../images/flags20.png') -2px -468px no-repeat;
1322
+ }
1323
+
1324
+ #flags.size20 a[title="Arabic"],
1325
+ .tool-container .tool-items a[title="Arabic"] {
1326
+ background:url('../images/flags20.png') -60px -4px no-repeat;
1327
+ }
1328
+
1329
+ #flags.size20 a[title="Armenian"],
1330
+ .tool-container .tool-items a[title="Armenian"] {
1331
+ background:url('../images/flags20.png') -89px -4px no-repeat;
1332
+ }
1333
+
1334
+ #flags.size20 a[title="Azerbaijani"],
1335
+ .tool-container .tool-items a[title="Azerbaijani"] {
1336
+ background:url('../images/flags20.png') -118px -4px no-repeat;
1337
+ }
1338
+
1339
+ #flags.size20 a[title="Basque"],
1340
+ .tool-container .tool-items a[title="Basque"] {
1341
+ background:url('../images/flags20.png') -147px -4px no-repeat;
1342
+ }
1343
+
1344
+ #flags.size20 a[title="Belarusian"],
1345
+ .tool-container .tool-items a[title="Belarusian"] {
1346
+ background:url('../images/flags20.png') -2px -33px no-repeat;
1347
+ }
1348
+
1349
+ #flags.size20 a[title="Bengali"],
1350
+ .tool-container .tool-items a[title="Bengali"] {
1351
+ background:url('../images/flags20.png') -31px -33px no-repeat;
1352
+ }
1353
+
1354
+ #flags.size20 a[title="Bosnian"],
1355
+ .tool-container .tool-items a[title="Bosnian"] {
1356
+ background:url('../images/flags20.png') -60px -33px no-repeat;
1357
+ }
1358
+
1359
+ #flags.size20 a[title="Bulgarian"],
1360
+ .tool-container .tool-items a[title="Bulgarian"] {
1361
+ background:url('../images/flags20.png') -89px -33px no-repeat;
1362
+ }
1363
+
1364
+ #flags.size20 a[title="Catalan"],
1365
+ .tool-container .tool-items a[title="Catalan"] {
1366
+ background:url('../images/flags20.png') -118px -33px no-repeat;
1367
+ }
1368
+
1369
+ #flags.size20 a[title="Cebuano"],
1370
+ .tool-container .tool-items a[title="Cebuano"] {
1371
+ background:url('../images/flags20.png') -147px -33px no-repeat;
1372
+ }
1373
+
1374
+ #flags.size20 a[title="Chichewa"],
1375
+ .tool-container .tool-items a[title="Chichewa"] {
1376
+ background:url('../images/flags20.png') -89px -410px no-repeat;
1377
+ }
1378
+
1379
+ #flags.size20 a[title="Chinese"],
1380
+ .tool-container .tool-items a[title="Chinese"] {
1381
+ background:url('../images/flags20.png') -2px -62px no-repeat;
1382
+ }
1383
+
1384
+ #flags.size20 a[title="Chinese(Traditional)"],
1385
+ .tool-container .tool-items a[title="Chinese(Traditional)"] {
1386
+ background:url('../images/flags20.png') -31px -62px no-repeat;
1387
+ }
1388
+
1389
+ #flags.size20 a[title="Corsican"],
1390
+ .tool-container .tool-items a[title="Corsican"] {
1391
+ background:url('../images/flags20.png') -118px -91px no-repeat;
1392
+ }
1393
+
1394
+ #flags.size20 a[title="Croatian"],
1395
+ .tool-container .tool-items a[title="Croatian"] {
1396
+ background:url('../images/flags20.png') -60px -62px no-repeat;
1397
+ }
1398
+
1399
+ #flags.size20 a[title="Czech"],
1400
+ .tool-container .tool-items a[title="Czech"] {
1401
+ background:url('../images/flags20.png') -89px -62px no-repeat;
1402
+ }
1403
+
1404
+ #flags.size20 a[title="Danish"],
1405
+ .tool-container .tool-items a[title="Danish"] {
1406
+ background:url('../images/flags20.png') -118px -62px no-repeat;
1407
+ }
1408
+
1409
+ #flags.size20 a[title="Dutch"],
1410
+ .tool-container .tool-items a[title="Dutch"] {
1411
+ background:url('../images/flags20.png') -147px -62px no-repeat;
1412
+ }
1413
+
1414
+ #flags.size20 a[title="English"],
1415
+ .tool-container .tool-items a[title="English"] {
1416
+ background:url('../images/flags20.png') -89px -352px no-repeat;
1417
+ }
1418
+
1419
+ #flags.size20 a.united-states[title="English"] {
1420
+ background:url('../images/flags20.png') -118px -352px no-repeat;
1421
+ }
1422
+
1423
+ #flags.size20 a.canada[title="English"] {
1424
+ background:url('../images/flags20.png') -89px -439px no-repeat;
1425
+ }
1426
+
1427
+ #flags.size20 a[title="Esperanto"],
1428
+ .tool-container .tool-items a[title="Esperanto"] {
1429
+ background:url('../images/flags20.png') -2px -91px no-repeat;
1430
+ }
1431
+
1432
+ #flags.size20 a[title="Estonian"],
1433
+ .tool-container .tool-items a[title="Estonian"] {
1434
+ background:url('../images/flags20.png') -31px -91px no-repeat;
1435
+ }
1436
+
1437
+ #flags.size20 a[title="Filipino"],
1438
+ .tool-container .tool-items a[title="Filipino"] {
1439
+ background:url('../images/flags20.png') -60px -91px no-repeat;
1440
+ }
1441
+
1442
+ #flags.size20 a[title="Finnish"],
1443
+ .tool-container .tool-items a[title="Finnish"] {
1444
+ background:url('../images/flags20.png') -89px -91px no-repeat;
1445
+ }
1446
+
1447
+ #flags.size20 a[title="French"],
1448
+ .tool-container .tool-items a[title="French"] {
1449
+ background:url('../images/flags20.png') -118px -91px no-repeat;
1450
+ }
1451
+
1452
+ #flags.size20 a[title="Frisian"],
1453
+ .tool-container .tool-items a[title="Frisian"] {
1454
+ background:url('../images/flags20.png') -147px -62px no-repeat;
1455
+ }
1456
+
1457
+ #flags.size20 a[title="Galician"],
1458
+ .tool-container .tool-items a[title="Galician"] {
1459
+ background:url('../images/flags20.png') -147px -91px no-repeat;
1460
+ }
1461
+
1462
+ #flags.size20 a[title="Georgian"],
1463
+ .tool-container .tool-items a[title="Georgian"] {
1464
+ background:url('../images/flags20.png') -2px -120px no-repeat;
1465
+ }
1466
+
1467
+ #flags.size20 a[title="German"],
1468
+ .tool-container .tool-items a[title="German"] {
1469
+ background:url('../images/flags20.png') -31px -120px no-repeat;
1470
+ }
1471
+
1472
+ #flags.size20 a[title="Greek"],
1473
+ .tool-container .tool-items a[title="Greek"] {
1474
+ background:url('../images/flags20.png') -60px -120px no-repeat;
1475
+ }
1476
+
1477
+ #flags.size20 a[title="Gujarati"],
1478
+ .tool-container .tool-items a[title="Gujarati"] {
1479
+ background:url('../images/flags20.png') -89px -120px no-repeat;
1480
+ }
1481
+
1482
+ #flags.size20 a[title="Haitian"],
1483
+ .tool-container .tool-items a[title="Haitian"] {
1484
+ background:url('../images/flags20.png') -118px -120px no-repeat;
1485
+ }
1486
+
1487
+ #flags.size20 a[title="Hausa"],
1488
+ .tool-container .tool-items a[title="Hausa"] {
1489
+ background:url('../images/flags20.png') -147px -120px no-repeat;
1490
+ }
1491
+
1492
+ #flags.size20 a[title="Hebrew"],
1493
+ .tool-container .tool-items a[title="Hebrew"] {
1494
+ background:url('../images/flags20.png') -2px -149px no-repeat;
1495
+ }
1496
+
1497
+ #flags.size20 a[title="Hindi"],
1498
+ .tool-container .tool-items a[title="Hindi"] {
1499
+ background:url('../images/flags20.png') -31px -149px no-repeat;
1500
+ }
1501
+
1502
+ #flags.size20 a[title="Hmong"],
1503
+ .tool-container .tool-items a[title="Hmong"] {
1504
+ background:url('../images/flags20.png') -60px -149px no-repeat;
1505
+ }
1506
+
1507
+ #flags.size20 a[title="Hungarian"],
1508
+ .tool-container .tool-items a[title="Hungarian"] {
1509
+ background:url('../images/flags20.png') -89px -149px no-repeat;
1510
+ }
1511
+
1512
+ #flags.size20 a[title="Hawaiian"],
1513
+ .tool-container .tool-items a[title="Hawaiian"] {
1514
+ background:url('../images/flags20.png') -89px -468px no-repeat;
1515
+ }
1516
+
1517
+ #flags.size20 a[title="Icelandic"],
1518
+ .tool-container .tool-items a[title="Icelandic"] {
1519
+ background:url('../images/flags20.png') -118px -149px no-repeat;
1520
+ }
1521
+
1522
+ #flags.size20 a[title="Igbo"],
1523
+ .tool-container .tool-items a[title="Igbo"] {
1524
+ background:url('../images/flags20.png') -147px -149px no-repeat;
1525
+ }
1526
+
1527
+ #flags.size20 a[title="Indonesian"],
1528
+ .tool-container .tool-items a[title="Indonesian"] {
1529
+ background:url('../images/flags20.png') -2px -178px no-repeat;
1530
+ }
1531
+
1532
+ #flags.size20 a[title="Irish"],
1533
+ .tool-container .tool-items a[title="Irish"] {
1534
+ background:url('../images/flags20.png') -31px -178px no-repeat;
1535
+ }
1536
+
1537
+ #flags.size20 a[title="Italian"],
1538
+ .tool-container .tool-items a[title="Italian"] {
1539
+ background:url('../images/flags20.png') -60px -178px no-repeat;
1540
+ }
1541
+
1542
+ #flags.size20 a[title="Japanese"],
1543
+ .tool-container .tool-items a[title="Japanese"] {
1544
+ background:url('../images/flags20.png') -89px -178px no-repeat;
1545
+ }
1546
+
1547
+ #flags.size20 a[title="Javanese"],
1548
+ .tool-container .tool-items a[title="Javanese"] {
1549
+ background:url('../images/flags20.png') -118px -178px no-repeat;
1550
+ }
1551
+
1552
+ #flags.size20 a[title="Kannada"],
1553
+ .tool-container .tool-items a[title="Kannada"] {
1554
+ background:url('../images/flags20.png') -147px -178px no-repeat;
1555
+ }
1556
+
1557
+ #flags.size20 a[title="Kazakh"],
1558
+ .tool-container .tool-items a[title="Kazakh"] {
1559
+ background:url('../images/flags20.png') -2px -410px no-repeat;
1560
+ }
1561
+
1562
+ #flags.size20 a[title="Khmer"],
1563
+ .tool-container .tool-items a[title="Khmer"] {
1564
+ background:url('../images/flags20.png') -2px -207px no-repeat;
1565
+ }
1566
+
1567
+ #flags.size20 a[title="Korean"],
1568
+ .tool-container .tool-items a[title="Korean"] {
1569
+ background:url('../images/flags20.png') -31px -207px no-repeat;
1570
+ }
1571
+
1572
+ #flags.size20 a[title="Kurdish"],
1573
+ .tool-container .tool-items a[title="Kurdish"] {
1574
+ background:url('../images/flags20.png') -118px -468px no-repeat;
1575
+ }
1576
+
1577
+ #flags.size20 a[title="Kyrgyz"],
1578
+ .tool-container .tool-items a[title="Kyrgyz"] {
1579
+ background:url('../images/flags20.png') -147px -468px no-repeat;
1580
+ }
1581
+
1582
+ #flags.size20 a[title="Lao"],
1583
+ .tool-container .tool-items a[title="Lao"] {
1584
+ background:url('../images/flags20.png') -60px -207px no-repeat;
1585
+ }
1586
+
1587
+ #flags.size20 a[title="Latin"],
1588
+ .tool-container .tool-items a[title="Latin"] {
1589
+ background:url('../images/flags20.png') -89px -207px no-repeat;
1590
+ }
1591
+
1592
+ #flags.size20 a[title="Latvian"],
1593
+ .tool-container .tool-items a[title="Latvian"] {
1594
+ background:url('../images/flags20.png') -118px -207px no-repeat;
1595
+ }
1596
+
1597
+ #flags.size20 a[title="Lithuanian"],
1598
+ .tool-container .tool-items a[title="Lithuanian"] {
1599
+ background:url('../images/flags20.png') -147px -207px no-repeat;
1600
+ }
1601
+
1602
+ #flags.size20 a[title="Luxembourgish"],
1603
+ .tool-container .tool-items a[title="Luxembourgish"] {
1604
+ background:url('../images/flags20.png') -2px -497px no-repeat;
1605
+ }
1606
+
1607
+ #flags.size20 a[title="Macedonian"],
1608
+ .tool-container .tool-items a[title="Macedonian"] {
1609
+ background:url('../images/flags20.png') -2px -236px no-repeat;
1610
+ }
1611
+
1612
+ #flags.size20 a[title="Malagasy"],
1613
+ .tool-container .tool-items a[title="Malagasy"] {
1614
+ background:url('../images/flags20.png') -60px -410px no-repeat;
1615
+ }
1616
+
1617
+ #flags.size20 a[title="Malay"],
1618
+ .tool-container .tool-items a[title="Malay"] {
1619
+ background:url('../images/flags20.png') -31px -236px no-repeat;
1620
+ }
1621
+
1622
+ #flags.size20 a[title="Maltese"],
1623
+ .tool-container .tool-items a[title="Maltese"] {
1624
+ background:url('../images/flags20.png') -60px -236px no-repeat;
1625
+ }
1626
+
1627
+ #flags.size20 a[title="Malayalam"],
1628
+ .tool-container .tool-items a[title="Malayalam"] {
1629
+ background:url('../images/flags20.png') -118px -410px no-repeat;
1630
+ }
1631
+
1632
+ #flags.size20 a[title="Maori"],
1633
+ .tool-container .tool-items a[title="Maori"] {
1634
+ background:url('../images/flags20.png') -89px -236px no-repeat;
1635
+ }
1636
+
1637
+ #flags.size20 a[title="Marathi"],
1638
+ .tool-container .tool-items a[title="Marathi"] {
1639
+ background:url('../images/flags20.png') -118px -236px no-repeat;
1640
+ }
1641
+
1642
+ #flags.size20 a[title="Mongolian"],
1643
+ .tool-container .tool-items a[title="Mongolian"] {
1644
+ background:url('../images/flags20.png') -147px -236px no-repeat;
1645
+ }
1646
+
1647
+ #flags.size20 a[title="Myanmar(Burmese)"],
1648
+ .tool-container .tool-items a[title="Myanmar(Burmese)"] {
1649
+ background:url('../images/flags20.png') -147px -410px no-repeat;
1650
+ }
1651
+
1652
+ #flags.size20 a[title="Nepali"],
1653
+ .tool-container .tool-items a[title="Nepali"] {
1654
+ background:url('../images/flags20.png') -2px -265px no-repeat;
1655
+ }
1656
+
1657
+ #flags.size20 a[title="Norwegian"],
1658
+ .tool-container .tool-items a[title="Norwegian"] {
1659
+ background:url('../images/flags20.png') -31px -265px no-repeat;
1660
+ }
1661
+
1662
+ #flags.size20 a[title="Pashto"],
1663
+ .tool-container .tool-items a[title="Pashto"] {
1664
+ background:url('../images/flags20.png') -31px -497px no-repeat;
1665
+ }
1666
+
1667
+ #flags.size20 a[title="Persian"],
1668
+ .tool-container .tool-items a[title="Persian"] {
1669
+ background:url('../images/flags20.png') -60px -265px no-repeat;
1670
+ }
1671
+
1672
+ #flags.size20 a[title="Polish"],
1673
+ .tool-container .tool-items a[title="Polish"] {
1674
+ background:url('../images/flags20.png') -89px -265px no-repeat;
1675
+ }
1676
+
1677
+ #flags.size20 a[title="Portuguese"],
1678
+ .tool-container .tool-items a[title="Portuguese"] {
1679
+ background:url('../images/flags20.png') -118px -265px no-repeat;
1680
+ }
1681
+
1682
+ #flags.size20 a.brazil[title="Portuguese"] {
1683
+ background:url('../images/flags20.png') -147px -439px no-repeat;
1684
+ }
1685
+
1686
+ #flags.size20 a[title="Punjabi"],
1687
+ .tool-container .tool-items a[title="Punjabi"] {
1688
+ background:url('../images/flags20.png') -147px -265px no-repeat;
1689
+ }
1690
+
1691
+ #flags.size20 a[title="Romanian"],
1692
+ .tool-container .tool-items a[title="Romanian"] {
1693
+ background:url('../images/flags20.png') -2px -294px no-repeat;
1694
+ }
1695
+
1696
+ #flags.size20 a[title="Russian"],
1697
+ .tool-container .tool-items a[title="Russian"] {
1698
+ background:url('../images/flags20.png') -31px -294px no-repeat;
1699
+ }
1700
+
1701
+ #flags.size20 a[title="Samoan"],
1702
+ .tool-container .tool-items a[title="Samoan"] {
1703
+ background:url('../images/flags20.png') -31px -468px no-repeat;
1704
+ }
1705
+
1706
+ #flags.size20 a[title="Scottish Gaelic"],
1707
+ .tool-container .tool-items a[title="Scottish Gaelic"] {
1708
+ background:url('../images/flags20.png') -60px -468px no-repeat;
1709
+ }
1710
+
1711
+ #flags.size20 a[title="Serbian"],
1712
+ .tool-container .tool-items a[title="Serbian"] {
1713
+ background:url('../images/flags20.png') -60px -294px no-repeat;
1714
+ }
1715
+
1716
+ #flags.size20 a[title="Sesotho"],
1717
+ .tool-container .tool-items a[title="Sesotho"] {
1718
+ background:url('../images/flags20.png') -31px -410px no-repeat;
1719
+ }
1720
+
1721
+ #flags.size20 a[title="Shona"],
1722
+ .tool-container .tool-items a[title="Shona"] {
1723
+ background:url('../images/flags20.png') -60px -497px no-repeat;
1724
+ }
1725
+
1726
+ #flags.size20 a[title="Sindhi"],
1727
+ .tool-container .tool-items a[title="Sindhi"] {
1728
+ background:url('../images/flags20.png') -147px -352px no-repeat;
1729
+ }
1730
+
1731
+ #flags.size20 a[title="Sinhala"],
1732
+ .tool-container .tool-items a[title="Sinhala"] {
1733
+ background:url('../images/flags20.png') -2px -439px no-repeat;
1734
+ }
1735
+
1736
+ #flags.size20 a[title="Slovak"],
1737
+ .tool-container .tool-items a[title="Slovak"] {
1738
+ background:url('../images/flags20.png') -89px -294px no-repeat;
1739
+ }
1740
+
1741
+ #flags.size20 a[title="Slovenian"],
1742
+ .tool-container .tool-items a[title="Slovenian"] {
1743
+ background:url('../images/flags20.png') -118px -294px no-repeat;
1744
+ }
1745
+
1746
+ #flags.size20 a[title="Somali"],
1747
+ .tool-container .tool-items a[title="Somali"] {
1748
+ background:url('../images/flags20.png') -147px -294px no-repeat;
1749
+ }
1750
+
1751
+ #flags.size20 a[title="Spanish"],
1752
+ .tool-container .tool-items a[title="Spanish"] {
1753
+ background:url('../images/flags20.png') -2px -323px no-repeat;
1754
+ }
1755
+
1756
+ #flags.size20 a.mexico[title="Spanish"] {
1757
+ background:url('../images/flags20.png') -118px -439px no-repeat;
1758
+ }
1759
+
1760
+ #flags.size20 a[title="Sundanese"],
1761
+ .tool-container .tool-items a[title="Sundanese"] {
1762
+ background:url('../images/flags20.png') -147px -381px no-repeat;
1763
+ }
1764
+
1765
+ #flags.size20 a[title="Swahili"],
1766
+ .tool-container .tool-items a[title="Swahili"] {
1767
+ background:url('../images/flags20.png') -31px -323px no-repeat;
1768
+ }
1769
+
1770
+ #flags.size20 a[title="Swedish"],
1771
+ .tool-container .tool-items a[title="Swedish"] {
1772
+ background:url('../images/flags20.png') -60px -323px no-repeat;
1773
+ }
1774
+
1775
+ #flags.size20 a[title="Tajik"],
1776
+ .tool-container .tool-items a[title="Tajik"] {
1777
+ background:url('../images/flags20.png') -31px -439px no-repeat;
1778
+ }
1779
+
1780
+ #flags.size20 a[title="Tamil"],
1781
+ .tool-container .tool-items a[title="Tamil"] {
1782
+ background:url('../images/flags20.png') -89px -323px no-repeat;
1783
+ }
1784
+
1785
+ #flags.size20 a[title="Telugu"],
1786
+ .tool-container .tool-items a[title="Telugu"] {
1787
+ background:url('../images/flags20.png') -118px -323px no-repeat;
1788
+ }
1789
+
1790
+ #flags.size20 a[title="Thai"],
1791
+ .tool-container .tool-items a[title="Thai"] {
1792
+ background:url('../images/flags20.png') -147px -323px no-repeat;
1793
+ }
1794
+
1795
+ #flags.size20 a[title="Turkish"],
1796
+ .tool-container .tool-items a[title="Turkish"] {
1797
+ background:url('../images/flags20.png') -31px -352px no-repeat;
1798
+ }
1799
+
1800
+ #flags.size20 a[title="Ukranian"],
1801
+ .tool-container .tool-items a[title="Ukranian"] {
1802
+ background:url('../images/flags20.png') -60px -352px no-repeat;
1803
+ }
1804
+
1805
+ #flags.size20 a[title="Urdu"],
1806
+ .tool-container .tool-items a[title="Urdu"] {
1807
+ background:url('../images/flags20.png') -147px -352px no-repeat;
1808
+ }
1809
+
1810
+ #flags.size20 a[title="Uzbek"],
1811
+ .tool-container .tool-items a[title="Uzbek"] {
1812
+ background:url('../images/flags20.png') -60px -439px no-repeat;
1813
+ }
1814
+
1815
+ #flags.size20 a[title="Vietnamese"],
1816
+ .tool-container .tool-items a[title="Vietnamese"] {
1817
+ background:url('../images/flags20.png') -2px -381px no-repeat;
1818
+ }
1819
+
1820
+ #flags.size20 a[title="Welsh"],
1821
+ .tool-container .tool-items a[title="Welsh"] {
1822
+ background:url('../images/flags20.png') -31px -381px no-repeat;
1823
+ }
1824
+
1825
+ #flags.size20 a[title="Xhosa"],
1826
+ .tool-container .tool-items a[title="Xhosa"] {
1827
+ background:url('../images/flags20.png') -2px -4px no-repeat;
1828
+ }
1829
+
1830
+ #flags.size20 a[title="Yiddish"],
1831
+ .tool-container .tool-items a[title="Yiddish"] {
1832
+ background:url('../images/flags20.png') -60px -381px no-repeat;
1833
+ }
1834
+
1835
+ #flags.size20 a[title="Yoruba"],
1836
+ .tool-container .tool-items a[title="Yoruba"] {
1837
+ background:url('../images/flags20.png') -89px -381px no-repeat;
1838
+ }
1839
+
1840
+ #flags.size20 a[title="Zulu"],
1841
+ .tool-container .tool-items a[title="Zulu"] {
1842
+ background:url('../images/flags20.png') -118px -381px no-repeat;
1843
+ }
1844
+
1845
+ /* Individual flag backgrounds (16px) */
1846
+
1847
+ #flags.size16 a[title="Afrikaans"],
1848
+ .tool-container .tool-items a[title="Afrikaans"] {
1849
+ background:url('../images/flags16.png') -4px -5px no-repeat;
1850
+ }
1851
+
1852
+ #flags.size16 a[title="Albanian"],
1853
+ .tool-container .tool-items a[title="Albanian"] {
1854
+ background:url('../images/flags16.png') -33px -5px no-repeat;
1855
+ }
1856
+
1857
+ #flags.size16 a[title="Amharic"],
1858
+ .tool-container .tool-items a[title="Amharic"] {
1859
+ background:url('../images/flags16.png') -4px -469px no-repeat;
1860
+ }
1861
+
1862
+ #flags.size16 a[title="Arabic"],
1863
+ .tool-container .tool-items a[title="Arabic"] {
1864
+ background:url('../images/flags16.png') -62px -5px no-repeat;
1865
+ }
1866
+
1867
+ #flags.size16 a[title="Armenian"],
1868
+ .tool-container .tool-items a[title="Armenian"] {
1869
+ background:url('../images/flags16.png') -91px -5px no-repeat;
1870
+ }
1871
+
1872
+ #flags.size16 a[title="Azerbaijani"],
1873
+ .tool-container .tool-items a[title="Azerbaijani"] {
1874
+ background:url('../images/flags16.png') -120px -5px no-repeat;
1875
+ }
1876
+
1877
+ #flags.size16 a[title="Basque"],
1878
+ .tool-container .tool-items a[title="Basque"] {
1879
+ background:url('../images/flags16.png') -149px -5px no-repeat;
1880
+ }
1881
+
1882
+ #flags.size16 a[title="Belarusian"],
1883
+ .tool-container .tool-items a[title="Belarusian"] {
1884
+ background:url('../images/flags16.png') -4px -34px no-repeat;
1885
+ }
1886
+
1887
+ #flags.size16 a[title="Bengali"],
1888
+ .tool-container .tool-items a[title="Bengali"] {
1889
+ background:url('../images/flags16.png') -33px -34px no-repeat;
1890
+ }
1891
+
1892
+ #flags.size16 a[title="Bosnian"],
1893
+ .tool-container .tool-items a[title="Bosnian"] {
1894
+ background:url('../images/flags16.png') -62px -34px no-repeat;
1895
+ }
1896
+
1897
+ #flags.size16 a[title="Bulgarian"],
1898
+ .tool-container .tool-items a[title="Bulgarian"] {
1899
+ background:url('../images/flags16.png') -91px -34px no-repeat;
1900
+ }
1901
+
1902
+ #flags.size16 a[title="Catalan"],
1903
+ .tool-container .tool-items a[title="Catalan"] {
1904
+ background:url('../images/flags16.png') -120px -34px no-repeat;
1905
+ }
1906
+
1907
+ #flags.size16 a[title="Cebuano"],
1908
+ .tool-container .tool-items a[title="Cebuano"] {
1909
+ background:url('../images/flags16.png') -149px -34px no-repeat;
1910
+ }
1911
+
1912
+ #flags.size16 a[title="Chichewa"],
1913
+ .tool-container .tool-items a[title="Chichewa"] {
1914
+ background:url('../images/flags16.png') -91px -411px no-repeat;
1915
+ }
1916
+
1917
+ #flags.size16 a[title="Chinese"],
1918
+ .tool-container .tool-items a[title="Chinese"] {
1919
+ background:url('../images/flags16.png') -4px -63px no-repeat;
1920
+ }
1921
+
1922
+ #flags.size16 a[title="Chinese(Traditional)"],
1923
+ .tool-container .tool-items a[title="Chinese(Traditional)"] {
1924
+ background:url('../images/flags16.png') -33px -63px no-repeat;
1925
+ }
1926
+
1927
+ #flags.size16 a[title="Corsican"],
1928
+ .tool-container .tool-items a[title="Corsican"] {
1929
+ background:url('../images/flags16.png') -120px -92px no-repeat;
1930
+ }
1931
+
1932
+ #flags.size16 a[title="Croatian"],
1933
+ .tool-container .tool-items a[title="Croatian"] {
1934
+ background:url('../images/flags16.png') -62px -63px no-repeat;
1935
+ }
1936
+
1937
+ #flags.size16 a[title="Czech"],
1938
+ .tool-container .tool-items a[title="Czech"] {
1939
+ background:url('../images/flags16.png') -91px -63px no-repeat;
1940
+ }
1941
+
1942
+ #flags.size16 a[title="Danish"],
1943
+ .tool-container .tool-items a[title="Danish"] {
1944
+ background:url('../images/flags16.png') -120px -63px no-repeat;
1945
+ }
1946
+
1947
+ #flags.size16 a[title="Dutch"],
1948
+ .tool-container .tool-items a[title="Dutch"] {
1949
+ background:url('../images/flags16.png') -149px -63px no-repeat;
1950
+ }
1951
+
1952
+ #flags.size16 a[title="English"],
1953
+ .tool-container .tool-items a[title="English"] {
1954
+ background:url('../images/flags16.png') -91px -353px no-repeat;
1955
+ }
1956
+
1957
+ #flags.size16 a.united-states[title="English"] {
1958
+ background:url('../images/flags16.png') -120px -353px no-repeat;
1959
+ }
1960
+
1961
+ #flags.size16 a.canada[title="English"] {
1962
+ background:url('../images/flags16.png') -91px -440px no-repeat;
1963
+ }
1964
+
1965
+ #flags.size16 a[title="Esperanto"],
1966
+ .tool-container .tool-items a[title="Esperanto"] {
1967
+ background:url('../images/flags16.png') -4px -92px no-repeat;
1968
+ }
1969
+
1970
+ #flags.size16 a[title="Estonian"],
1971
+ .tool-container .tool-items a[title="Estonian"] {
1972
+ background:url('../images/flags16.png') -33px -92px no-repeat;
1973
+ }
1974
+
1975
+ #flags.size16 a[title="Filipino"],
1976
+ .tool-container .tool-items a[title="Filipino"] {
1977
+ background:url('../images/flags16.png') -62px -92px no-repeat;
1978
+ }
1979
+
1980
+ #flags.size16 a[title="Finnish"],
1981
+ .tool-container .tool-items a[title="Finnish"] {
1982
+ background:url('../images/flags16.png') -91px -92px no-repeat;
1983
+ }
1984
+
1985
+ #flags.size16 a[title="French"],
1986
+ .tool-container .tool-items a[title="French"] {
1987
+ background:url('../images/flags16.png') -120px -92px no-repeat;
1988
+ }
1989
+
1990
+ #flags.size16 a[title="Frisian"],
1991
+ .tool-container .tool-items a[title="Frisian"] {
1992
+ background:url('../images/flags16.png') -149px -63px no-repeat;
1993
+ }
1994
+
1995
+ #flags.size16 a[title="Galician"],
1996
+ .tool-container .tool-items a[title="Galician"] {
1997
+ background:url('../images/flags16.png') -149px -92px no-repeat;
1998
+ }
1999
+
2000
+ #flags.size16 a[title="Georgian"],
2001
+ .tool-container .tool-items a[title="Georgian"] {
2002
+ background:url('../images/flags16.png') -4px -121px no-repeat;
2003
+ }
2004
+
2005
+ #flags.size16 a[title="German"],
2006
+ .tool-container .tool-items a[title="German"] {
2007
+ background:url('../images/flags16.png') -33px -121px no-repeat;
2008
+ }
2009
+
2010
+ #flags.size16 a[title="Greek"],
2011
+ .tool-container .tool-items a[title="Greek"] {
2012
+ background:url('../images/flags16.png') -62px -121px no-repeat;
2013
+ }
2014
+
2015
+ #flags.size16 a[title="Gujarati"],
2016
+ .tool-container .tool-items a[title="Gujarati"] {
2017
+ background:url('../images/flags16.png') -91px -121px no-repeat;
2018
+ }
2019
+
2020
+ #flags.size16 a[title="Haitian"],
2021
+ .tool-container .tool-items a[title="Haitian"] {
2022
+ background:url('../images/flags16.png') -120px -121px no-repeat;
2023
+ }
2024
+
2025
+ #flags.size16 a[title="Hausa"],
2026
+ .tool-container .tool-items a[title="Hausa"] {
2027
+ background:url('../images/flags16.png') -149px -121px no-repeat;
2028
+ }
2029
+
2030
+ #flags.size16 a[title="Hebrew"],
2031
+ .tool-container .tool-items a[title="Hebrew"] {
2032
+ background:url('../images/flags16.png') -4px -150px no-repeat;
2033
+ }
2034
+
2035
+ #flags.size16 a[title="Hindi"],
2036
+ .tool-container .tool-items a[title="Hindi"] {
2037
+ background:url('../images/flags16.png') -33px -150px no-repeat;
2038
+ }
2039
+
2040
+ #flags.size16 a[title="Hmong"],
2041
+ .tool-container .tool-items a[title="Hmong"] {
2042
+ background:url('../images/flags16.png') -62px -150px no-repeat;
2043
+ }
2044
+
2045
+ #flags.size16 a[title="Hungarian"],
2046
+ .tool-container .tool-items a[title="Hungarian"] {
2047
+ background:url('../images/flags16.png') -91px -150px no-repeat;
2048
+ }
2049
+
2050
+ #flags.size16 a[title="Hawaiian"],
2051
+ .tool-container .tool-items a[title="Hawaiian"] {
2052
+ background:url('../images/flags16.png') -91px -469px no-repeat;
2053
+ }
2054
+
2055
+ #flags.size16 a[title="Icelandic"],
2056
+ .tool-container .tool-items a[title="Icelandic"] {
2057
+ background:url('../images/flags16.png') -120px -150px no-repeat;
2058
+ }
2059
+
2060
+ #flags.size16 a[title="Igbo"],
2061
+ .tool-container .tool-items a[title="Igbo"] {
2062
+ background:url('../images/flags16.png') -149px -150px no-repeat;
2063
+ }
2064
+
2065
+ #flags.size16 a[title="Indonesian"],
2066
+ .tool-container .tool-items a[title="Indonesian"] {
2067
+ background:url('../images/flags16.png') -4px -179px no-repeat;
2068
+ }
2069
+
2070
+ #flags.size16 a[title="Irish"],
2071
+ .tool-container .tool-items a[title="Irish"] {
2072
+ background:url('../images/flags16.png') -33px -179px no-repeat;
2073
+ }
2074
+
2075
+ #flags.size16 a[title="Italian"],
2076
+ .tool-container .tool-items a[title="Italian"] {
2077
+ background:url('../images/flags16.png') -62px -179px no-repeat;
2078
+ }
2079
+
2080
+ #flags.size16 a[title="Japanese"],
2081
+ .tool-container .tool-items a[title="Japanese"] {
2082
+ background:url('../images/flags16.png') -91px -179px no-repeat;
2083
+ }
2084
+
2085
+ #flags.size16 a[title="Javanese"],
2086
+ .tool-container .tool-items a[title="Javanese"] {
2087
+ background:url('../images/flags16.png') -120px -179px no-repeat;
2088
+ }
2089
+
2090
+ #flags.size16 a[title="Kannada"],
2091
+ .tool-container .tool-items a[title="Kannada"] {
2092
+ background:url('../images/flags16.png') -149px -179px no-repeat;
2093
+ }
2094
+
2095
+ #flags.size16 a[title="Kazakh"],
2096
+ .tool-container .tool-items a[title="Kazakh"] {
2097
+ background:url('../images/flags16.png') -4px -411px no-repeat;
2098
+ }
2099
+
2100
+ #flags.size16 a[title="Khmer"],
2101
+ .tool-container .tool-items a[title="Khmer"] {
2102
+ background:url('../images/flags16.png') -4px -208px no-repeat;
2103
+ }
2104
+
2105
+ #flags.size16 a[title="Korean"],
2106
+ .tool-container .tool-items a[title="Korean"] {
2107
+ background:url('../images/flags16.png') -33px -208px no-repeat;
2108
+ }
2109
+
2110
+ #flags.size16 a[title="Kurdish"],
2111
+ .tool-container .tool-items a[title="Kurdish"] {
2112
+ background:url('../images/flags16.png') -120px -469px no-repeat;
2113
+ }
2114
+
2115
+ #flags.size16 a[title="Kyrgyz"],
2116
+ .tool-container .tool-items a[title="Kyrgyz"] {
2117
+ background:url('../images/flags16.png') -149px -469px no-repeat;
2118
+ }
2119
+
2120
+ #flags.size16 a[title="Lao"],
2121
+ .tool-container .tool-items a[title="Lao"] {
2122
+ background:url('../images/flags16.png') -62px -208px no-repeat;
2123
+ }
2124
+
2125
+ #flags.size16 a[title="Latin"],
2126
+ .tool-container .tool-items a[title="Latin"] {
2127
+ background:url('../images/flags16.png') -91px -208px no-repeat;
2128
+ }
2129
+
2130
+ #flags.size16 a[title="Latvian"],
2131
+ .tool-container .tool-items a[title="Latvian"] {
2132
+ background:url('../images/flags16.png') -120px -208px no-repeat;
2133
+ }
2134
+
2135
+ #flags.size16 a[title="Lithuanian"],
2136
+ .tool-container .tool-items a[title="Lithuanian"] {
2137
+ background:url('../images/flags16.png') -149px -208px no-repeat;
2138
+ }
2139
+
2140
+ #flags.size16 a[title="Luxembourgish"],
2141
+ .tool-container .tool-items a[title="Luxembourgish"] {
2142
+ background:url('../images/flags16.png') -4px -498px no-repeat;
2143
+ }
2144
+
2145
+ #flags.size16 a[title="Macedonian"],
2146
+ .tool-container .tool-items a[title="Macedonian"] {
2147
+ background:url('../images/flags16.png') -4px -237px no-repeat;
2148
+ }
2149
+
2150
+ #flags.size16 a[title="Malay"],
2151
+ .tool-container .tool-items a[title="Malay"] {
2152
+ background:url('../images/flags16.png') -33px -237px no-repeat;
2153
+ }
2154
+
2155
+ #flags.size16 a[title="Malagasy"],
2156
+ .tool-container .tool-items a[title="Malagasy"] {
2157
+ background:url('../images/flags16.png') -62px -411px no-repeat;
2158
+ }
2159
+
2160
+ #flags.size16 a[title="Malayalam"],
2161
+ .tool-container .tool-items a[title="Malayalam"] {
2162
+ background:url('../images/flags16.png') -120px -411px no-repeat;
2163
+ }
2164
+
2165
+ #flags.size16 a[title="Maltese"],
2166
+ .tool-container .tool-items a[title="Maltese"] {
2167
+ background:url('../images/flags16.png') -62px -237px no-repeat;
2168
+ }
2169
+
2170
+ #flags.size16 a[title="Maori"],
2171
+ .tool-container .tool-items a[title="Maori"] {
2172
+ background:url('../images/flags16.png') -91px -237px no-repeat;
2173
+ }
2174
+
2175
+ #flags.size16 a[title="Marathi"],
2176
+ .tool-container .tool-items a[title="Marathi"] {
2177
+ background:url('../images/flags16.png') -120px -237px no-repeat;
2178
+ }
2179
+
2180
+ #flags.size16 a[title="Mongolian"],
2181
+ .tool-container .tool-items a[title="Mongolian"] {
2182
+ background:url('../images/flags16.png') -149px -237px no-repeat;
2183
+ }
2184
+
2185
+ #flags.size16 a[title="Myanmar(Burmese)"],
2186
+ .tool-container .tool-items a[title="Myanmar(Burmese)"] {
2187
+ background:url('../images/flags16.png') -149px -411px no-repeat;
2188
+ }
2189
+
2190
+ #flags.size16 a[title="Nepali"],
2191
+ .tool-container .tool-items a[title="Nepali"] {
2192
+ background:url('../images/flags16.png') -4px -266px no-repeat;
2193
+ }
2194
+
2195
+ #flags.size16 a[title="Norwegian"],
2196
+ .tool-container .tool-items a[title="Norwegian"] {
2197
+ background:url('../images/flags16.png') -33px -266px no-repeat;
2198
+ }
2199
+
2200
+ #flags.size16 a[title="Pashto"],
2201
+ .tool-container .tool-items a[title="Pashto"] {
2202
+ background:url('../images/flags16.png') -33px -498px no-repeat;
2203
+ }
2204
+
2205
+ #flags.size16 a[title="Persian"],
2206
+ .tool-container .tool-items a[title="Persian"] {
2207
+ background:url('../images/flags16.png') -62px -266px no-repeat;
2208
+ }
2209
+
2210
+ #flags.size16 a[title="Polish"],
2211
+ .tool-container .tool-items a[title="Polish"] {
2212
+ background:url('../images/flags16.png') -91px -266px no-repeat;
2213
+ }
2214
+
2215
+ #flags.size16 a[title="Portuguese"],
2216
+ .tool-container .tool-items a[title="Portuguese"] {
2217
+ background:url('../images/flags16.png') -120px -266px no-repeat;
2218
+ }
2219
+
2220
+ #flags.size16 a.brazil[title="Portuguese"] {
2221
+ background:url('../images/flags16.png') -149px -440px no-repeat;
2222
+ }
2223
+
2224
+ #flags.size16 a[title="Punjabi"],
2225
+ .tool-container .tool-items a[title="Punjabi"] {
2226
+ background:url('../images/flags16.png') -149px -266px no-repeat;
2227
+ }
2228
+
2229
+ #flags.size16 a[title="Romanian"],
2230
+ .tool-container .tool-items a[title="Romanian"] {
2231
+ background:url('../images/flags16.png') -4px -295px no-repeat;
2232
+ }
2233
+
2234
+ #flags.size16 a[title="Russian"],
2235
+ .tool-container .tool-items a[title="Russian"] {
2236
+ background:url('../images/flags16.png') -33px -295px no-repeat;
2237
+ }
2238
+
2239
+ #flags.size16 a[title="Samoan"],
2240
+ .tool-container .tool-items a[title="Samoan"] {
2241
+ background:url('../images/flags16.png') -33px -469px no-repeat;
2242
+ }
2243
+
2244
+ #flags.size16 a[title="Scottish Gaelic"],
2245
+ .tool-container .tool-items a[title="Scottish Gaelic"] {
2246
+ background:url('../images/flags16.png') -62px -469px no-repeat;
2247
+ }
2248
+
2249
+ #flags.size16 a[title="Serbian"],
2250
+ .tool-container .tool-items a[title="Serbian"] {
2251
+ background:url('../images/flags16.png') -62px -295px no-repeat;
2252
+ }
2253
+
2254
+ #flags.size16 a[title="Sesotho"],
2255
+ .tool-container .tool-items a[title="Sesotho"] {
2256
+ background:url('../images/flags16.png') -33px -411px no-repeat;
2257
+ }
2258
+
2259
+ #flags.size16 a[title="Shona"],
2260
+ .tool-container .tool-items a[title="Shona"] {
2261
+ background:url('../images/flags16.png') -62px -498px no-repeat;
2262
+ }
2263
+
2264
+ #flags.size16 a[title="Sindhi"],
2265
+ .tool-container .tool-items a[title="Sindhi"] {
2266
+ background:url('../images/flags16.png') -149px -353px no-repeat;
2267
+ }
2268
+
2269
+ #flags.size16 a[title="Sinhala"],
2270
+ .tool-container .tool-items a[title="Sinhala"] {
2271
+ background:url('../images/flags16.png') -4px -440px no-repeat;
2272
+ }
2273
+
2274
+ #flags.size16 a[title="Slovak"],
2275
+ .tool-container .tool-items a[title="Slovak"] {
2276
+ background:url('../images/flags16.png') -91px -295px no-repeat;
2277
+ }
2278
+
2279
+ #flags.size16 a[title="Slovenian"],
2280
+ .tool-container .tool-items a[title="Slovenian"] {
2281
+ background:url('../images/flags16.png') -120px -295px no-repeat;
2282
+ }
2283
+
2284
+ #flags.size16 a[title="Somali"],
2285
+ .tool-container .tool-items a[title="Somali"] {
2286
+ background:url('../images/flags16.png') -149px -295px no-repeat;
2287
+ }
2288
+
2289
+ #flags.size16 a[title="Spanish"],
2290
+ .tool-container .tool-items a[title="Spanish"] {
2291
+ background:url('../images/flags16.png') -4px -324px no-repeat;
2292
+ }
2293
+
2294
+ #flags.size16 a.mexico[title="Spanish"] {
2295
+ background:url('../images/flags16.png') -120px -440px no-repeat;
2296
+ }
2297
+
2298
+ #flags.size16 a[title="Swahili"],
2299
+ .tool-container .tool-items a[title="Swahili"] {
2300
+ background:url('../images/flags16.png') -33px -324px no-repeat;
2301
+ }
2302
+
2303
+ #flags.size16 a[title="Swedish"],
2304
+ .tool-container .tool-items a[title="Swedish"] {
2305
+ background:url('../images/flags16.png') -62px -324px no-repeat;
2306
+ }
2307
+
2308
+ #flags.size16 a[title="Sundanese"],
2309
+ .tool-container .tool-items a[title="Sundanese"] {
2310
+ background:url('../images/flags16.png') -149px -382px no-repeat;
2311
+ }
2312
+
2313
+ #flags.size16 a[title="Tajik"],
2314
+ .tool-container .tool-items a[title="Tajik"] {
2315
+ background:url('../images/flags16.png') -33px -440px no-repeat;
2316
+ }
2317
+
2318
+ #flags.size16 a[title="Tamil"],
2319
+ .tool-container .tool-items a[title="Tamil"] {
2320
+ background:url('../images/flags16.png') -91px -324px no-repeat;
2321
+ }
2322
+
2323
+ #flags.size16 a[title="Telugu"],
2324
+ .tool-container .tool-items a[title="Telugu"] {
2325
+ background:url('../images/flags16.png') -120px -324px no-repeat;
2326
+ }
2327
+
2328
+ #flags.size16 a[title="Thai"],
2329
+ .tool-container .tool-items a[title="Thai"] {
2330
+ background:url('../images/flags16.png') -149px -324px no-repeat;
2331
+ }
2332
+
2333
+ #flags.size16 a[title="Turkish"],
2334
+ .tool-container .tool-items a[title="Turkish"] {
2335
+ background:url('../images/flags16.png') -33px -353px no-repeat;
2336
+ }
2337
+
2338
+ #flags.size16 a[title="Ukranian"],
2339
+ .tool-container .tool-items a[title="Ukranian"] {
2340
+ background:url('../images/flags16.png') -62px -353px no-repeat;
2341
+ }
2342
+
2343
+ #flags.size16 a[title="Urdu"],
2344
+ .tool-container .tool-items a[title="Urdu"] {
2345
+ background:url('../images/flags16.png') -149px -353px no-repeat;
2346
+ }
2347
+
2348
+ #flags.size16 a[title="Uzbek"],
2349
+ .tool-container .tool-items a[title="Uzbek"] {
2350
+ background:url('../images/flags16.png') -62px -440px no-repeat;
2351
+ }
2352
+
2353
+ #flags.size16 a[title="Vietnamese"],
2354
+ .tool-container .tool-items a[title="Vietnamese"] {
2355
+ background:url('../images/flags16.png') -4px -382px no-repeat;
2356
+ }
2357
+
2358
+ #flags.size16 a[title="Welsh"],
2359
+ .tool-container .tool-items a[title="Welsh"] {
2360
+ background:url('../images/flags16.png') -33px -382px no-repeat;
2361
+ }
2362
+
2363
+ #flags.size16 a[title="Xhosa"],
2364
+ .tool-container .tool-items a[title="Xhosa"] {
2365
+ background:url('../images/flags16.png') -4px -5px no-repeat;
2366
+ }
2367
+
2368
+ #flags.size16 a[title="Yiddish"],
2369
+ .tool-container .tool-items a[title="Yiddish"] {
2370
+ background:url('../images/flags16.png') -62px -382px no-repeat;
2371
+ }
2372
+
2373
+ #flags.size16 a[title="Yoruba"],
2374
+ .tool-container .tool-items a[title="Yoruba"] {
2375
+ background:url('../images/flags16.png') -91px -382px no-repeat;
2376
+ }
2377
+
2378
+ #flags.size16 a[title="Zulu"],
2379
+ .tool-container .tool-items a[title="Zulu"] {
2380
+ background:url('../images/flags16.png') -120px -382px no-repeat;
2381
+ }
2382
+
2383
+ /* Individual flag backgrounds (24px) */
2384
+
2385
+ #flags.size24 a[title="Afrikaans"],
2386
+ .tool-container .tool-items a[title="Afrikaans"] {
2387
+ background:url('../images/flags.png') 0 -3px no-repeat;
2388
+ }
2389
+
2390
+ #flags.size24 a[title="Albanian"],
2391
+ .tool-container .tool-items a[title="Albanian"] {
2392
+ background:url('../images/flags.png') -29px -3px no-repeat;
2393
+ }
2394
+
2395
+ #flags.size24 a[title="Amharic"],
2396
+ .tool-container .tool-items a[title="Amharic"] {
2397
+ background:url('../images/flags.png') 0 -467px no-repeat;
2398
+ }
2399
+
2400
+ #flags.size24 a[title="Arabic"],
2401
+ .tool-container .tool-items a[title="Arabic"] {
2402
+ background:url('../images/flags.png') -58px -3px no-repeat;
2403
+ }
2404
+
2405
+ #flags.size24 a[title="Armenian"],
2406
+ .tool-container .tool-items a[title="Armenian"] {
2407
+ background:url('../images/flags.png') -87px -3px no-repeat;
2408
+ }
2409
+
2410
+ #flags.size24 a[title="Azerbaijani"],
2411
+ .tool-container .tool-items a[title="Azerbaijani"] {
2412
+ background:url('../images/flags.png') -116px -3px no-repeat;
2413
+ }
2414
+
2415
+ #flags.size24 a[title="Basque"],
2416
+ .tool-container .tool-items a[title="Basque"] {
2417
+ background:url('../images/flags.png') -145px -3px no-repeat;
2418
+ }
2419
+
2420
+ #flags.size24 a[title="Belarusian"],
2421
+ .tool-container .tool-items a[title="Belarusian"] {
2422
+ background:url('../images/flags.png') 0 -32px no-repeat;
2423
+ }
2424
+
2425
+ #flags.size24 a[title="Bengali"],
2426
+ .tool-container .tool-items a[title="Bengali"] {
2427
+ background:url('../images/flags.png') -29px -32px no-repeat;
2428
+ }
2429
+
2430
+ #flags.size24 a[title="Bosnian"],
2431
+ .tool-container .tool-items a[title="Bosnian"] {
2432
+ background:url('../images/flags.png') -58px -32px no-repeat;
2433
+ }
2434
+
2435
+ #flags.size24 a[title="Bulgarian"],
2436
+ .tool-container .tool-items a[title="Bulgarian"] {
2437
+ background:url('../images/flags.png') -87px -32px no-repeat;
2438
+ }
2439
+
2440
+ #flags.size24 a[title="Catalan"],
2441
+ .tool-container .tool-items a[title="Catalan"] {
2442
+ background:url('../images/flags.png') -116px -32px no-repeat;
2443
+ }
2444
+
2445
+ #flags.size24 a[title="Cebuano"],
2446
+ .tool-container .tool-items a[title="Cebuano"] {
2447
+ background:url('../images/flags.png') -145px -32px no-repeat;
2448
+ }
2449
+
2450
+ #flags.size24 a[title="Chichewa"],
2451
+ .tool-container .tool-items a[title="Chichewa"] {
2452
+ background:url('../images/flags.png') -87px -409px no-repeat;
2453
+ }
2454
+
2455
+ #flags.size24 a[title="Chinese"],
2456
+ .tool-container .tool-items a[title="Chinese"] {
2457
+ background:url('../images/flags.png') 0 -61px no-repeat;
2458
+ }
2459
+
2460
+ #flags.size24 a[title="Chinese(Traditional)"],
2461
+ .tool-container .tool-items a[title="Chinese(Traditional)"] {
2462
+ background:url('../images/flags.png') -29px -61px no-repeat;
2463
+ }
2464
+
2465
+ #flags.size24 a[title="Corsican"],
2466
+ .tool-container .tool-items a[title="Corsican"] {
2467
+ background:url('../images/flags.png') -116px -90px no-repeat;
2468
+ }
2469
+
2470
+ #flags.size24 a[title="Croatian"],
2471
+ .tool-container .tool-items a[title="Croatian"] {
2472
+ background:url('../images/flags.png') -58px -61px no-repeat;
2473
+ }
2474
+
2475
+ #flags.size24 a[title="Czech"],
2476
+ .tool-container .tool-items a[title="Czech"] {
2477
+ background:url('../images/flags.png') -87px -61px no-repeat;
2478
+ }
2479
+
2480
+ #flags.size24 a[title="Danish"],
2481
+ .tool-container .tool-items a[title="Danish"] {
2482
+ background:url('../images/flags.png') -116px -61px no-repeat;
2483
+ }
2484
+
2485
+ #flags.size24 a[title="Dutch"],
2486
+ .tool-container .tool-items a[title="Dutch"] {
2487
+ background:url('../images/flags.png') -145px -61px no-repeat;
2488
+ }
2489
+
2490
+ #flags.size24 a[title="English"],
2491
+ .tool-container .tool-items a[title="English"] {
2492
+ background:url('../images/flags.png') -87px -351px no-repeat;
2493
+ }
2494
+
2495
+ #flags.size24 a.united-states[title="English"],
2496
+ .tool-container a.united-states[title="English"] {
2497
+ background:url('../images/flags.png') -116px -351px no-repeat !important;
2498
+ }
2499
+
2500
+ #flags.size24 a.canada[title="English"],
2501
+ .tool-container a.canada[title="English"] {
2502
+ background:url('../images/flags.png') -87px -438px no-repeat !important;
2503
+ }
2504
+
2505
+ #flags.size24 a[title="Esperanto"],
2506
+ .tool-container .tool-items a[title="Esperanto"] {
2507
+ background:url('../images/flags.png') 0 -90px no-repeat;
2508
+ }
2509
+
2510
+ #flags.size24 a[title="Estonian"],
2511
+ .tool-container .tool-items a[title="Estonian"] {
2512
+ background:url('../images/flags.png') -29px -90px no-repeat;
2513
+ }
2514
+
2515
+ #flags.size24 a[title="Filipino"],
2516
+ .tool-container .tool-items a[title="Filipino"] {
2517
+ background:url('../images/flags.png') -58px -90px no-repeat;
2518
+ }
2519
+
2520
+ #flags.size24 a[title="Finnish"],
2521
+ .tool-container .tool-items a[title="Finnish"] {
2522
+ background:url('../images/flags.png') -87px -90px no-repeat;
2523
+ }
2524
+
2525
+ #flags.size24 a[title="French"],
2526
+ .tool-container .tool-items a[title="French"] {
2527
+ background:url('../images/flags.png') -116px -90px no-repeat;
2528
+ }
2529
+
2530
+ #flags.size24 a[title="Frisian"],
2531
+ .tool-container .tool-items a[title="Frisian"] {
2532
+ background:url('../images/flags.png') -145px -61px no-repeat;
2533
+ }
2534
+
2535
+ #flags.size24 a[title="Galician"],
2536
+ .tool-container .tool-items a[title="Galician"] {
2537
+ background:url('../images/flags.png') -145px -90px no-repeat;
2538
+ }
2539
+
2540
+ #flags.size24 a[title="Georgian"],
2541
+ .tool-container .tool-items a[title="Georgian"] {
2542
+ background:url('../images/flags.png') 0 -119px no-repeat;
2543
+ }
2544
+
2545
+ #flags.size24 a[title="German"],
2546
+ .tool-container .tool-items a[title="German"] {
2547
+ background:url('../images/flags.png') -29px -119px no-repeat;
2548
+ }
2549
+
2550
+ #flags.size24 a[title="Greek"],
2551
+ .tool-container .tool-items a[title="Greek"] {
2552
+ background:url('../images/flags.png') -58px -119px no-repeat;
2553
+ }
2554
+
2555
+ #flags.size24 a[title="Gujarati"],
2556
+ .tool-container .tool-items a[title="Gujarati"] {
2557
+ background:url('../images/flags.png') -87px -119px no-repeat;
2558
+ }
2559
+
2560
+ #flags.size24 a[title="Haitian"],
2561
+ .tool-container .tool-items a[title="Haitian"] {
2562
+ background:url('../images/flags.png') -116px -119px no-repeat;
2563
+ }
2564
+
2565
+ #flags.size24 a[title="Hausa"],
2566
+ .tool-container .tool-items a[title="Hausa"] {
2567
+ background:url('../images/flags.png') -145px -119px no-repeat;
2568
+ }
2569
+
2570
+ #flags.size24 a[title="Hebrew"],
2571
+ .tool-container .tool-items a[title="Hebrew"] {
2572
+ background:url('../images/flags.png') 0 -148px no-repeat;
2573
+ }
2574
+
2575
+ #flags.size24 a[title="Hindi"],
2576
+ .tool-container .tool-items a[title="Hindi"] {
2577
+ background:url('../images/flags.png') -29px -148px no-repeat;
2578
+ }
2579
+
2580
+ #flags.size24 a[title="Hmong"],
2581
+ .tool-container .tool-items a[title="Hmong"] {
2582
+ background:url('../images/flags.png') -58px -148px no-repeat;
2583
+ }
2584
+
2585
+ #flags.size24 a[title="Hungarian"],
2586
+ .tool-container .tool-items a[title="Hungarian"] {
2587
+ background:url('../images/flags.png') -87px -148px no-repeat;
2588
+ }
2589
+
2590
+ #flags.size24 a[title="Hawaiian"],
2591
+ .tool-container .tool-items a[title="Hawaiian"] {
2592
+ background:url('../images/flags.png') -87px -467px no-repeat;
2593
+ }
2594
+
2595
+ #flags.size24 a[title="Icelandic"],
2596
+ .tool-container .tool-items a[title="Icelandic"] {
2597
+ background:url('../images/flags.png') -116px -148px no-repeat;
2598
+ }
2599
+
2600
+ #flags.size24 a[title="Igbo"],
2601
+ .tool-container .tool-items a[title="Igbo"] {
2602
+ background:url('../images/flags.png') -145px -148px no-repeat;
2603
+ }
2604
+
2605
+ #flags.size24 a[title="Indonesian"],
2606
+ .tool-container .tool-items a[title="Indonesian"] {
2607
+ background:url('../images/flags.png') 0 -177px no-repeat;
2608
+ }
2609
+
2610
+ #flags.size24 a[title="Irish"],
2611
+ .tool-container .tool-items a[title="Irish"] {
2612
+ background:url('../images/flags.png') -29px -177px no-repeat;
2613
+ }
2614
+
2615
+ #flags.size24 a[title="Italian"],
2616
+ .tool-container .tool-items a[title="Italian"] {
2617
+ background:url('../images/flags.png') -58px -177px no-repeat;
2618
+ }
2619
+
2620
+ #flags.size24 a[title="Japanese"],
2621
+ .tool-container .tool-items a[title="Japanese"] {
2622
+ background:url('../images/flags.png') -87px -177px no-repeat;
2623
+ }
2624
+
2625
+ #flags.size24 a[title="Javanese"],
2626
+ .tool-container .tool-items a[title="Javanese"] {
2627
+ background:url('../images/flags.png') -116px -177px no-repeat;
2628
+ }
2629
+
2630
+ #flags.size24 a[title="Kannada"],
2631
+ .tool-container .tool-items a[title="Kannada"] {
2632
+ background:url('../images/flags.png') -145px -177px no-repeat;
2633
+ }
2634
+
2635
+ #flags.size24 a[title="Kazakh"],
2636
+ .tool-container .tool-items a[title="Kazakh"] {
2637
+ background:url('../images/flags.png') 0 -409px no-repeat;
2638
+ }
2639
+
2640
+ #flags.size24 a[title="Khmer"],
2641
+ .tool-container .tool-items a[title="Khmer"] {
2642
+ background:url('../images/flags.png') 0 -206px no-repeat;
2643
+ }
2644
+
2645
+ #flags.size24 a[title="Korean"],
2646
+ .tool-container .tool-items a[title="Korean"] {
2647
+ background:url('../images/flags.png') -29px -206px no-repeat;
2648
+ }
2649
+
2650
+ #flags.size24 a[title="Kurdish"],
2651
+ .tool-container .tool-items a[title="Kurdish"] {
2652
+ background:url('../images/flags.png') -116px -467px no-repeat;
2653
+ }
2654
+
2655
+ #flags.size24 a[title="Kyrgyz"],
2656
+ .tool-container .tool-items a[title="Kyrgyz"] {
2657
+ background:url('../images/flags.png') -145px -467px no-repeat;
2658
+ }
2659
+
2660
+ #flags.size24 a[title="Lao"],
2661
+ .tool-container .tool-items a[title="Lao"] {
2662
+ background:url('../images/flags.png') -58px -206px no-repeat;
2663
+ }
2664
+
2665
+ #flags.size24 a[title="Latin"],
2666
+ .tool-container .tool-items a[title="Latin"] {
2667
+ background:url('../images/flags.png') -87px -206px no-repeat;
2668
+ }
2669
+
2670
+ #flags.size24 a[title="Latvian"],
2671
+ .tool-container .tool-items a[title="Latvian"] {
2672
+ background:url('../images/flags.png') -116px -206px no-repeat;
2673
+ }
2674
+
2675
+ #flags.size24 a[title="Lithuanian"],
2676
+ .tool-container .tool-items a[title="Lithuanian"] {
2677
+ background:url('../images/flags.png') -145px -206px no-repeat;
2678
+ }
2679
+
2680
+ #flags.size24 a[title="Luxembourgish"],
2681
+ .tool-container .tool-items a[title="Luxembourgish"] {
2682
+ background:url('../images/flags.png') 0 -496px no-repeat;
2683
+ }
2684
+
2685
+ #flags.size24 a[title="Macedonian"],
2686
+ .tool-container .tool-items a[title="Macedonian"] {
2687
+ background:url('../images/flags.png') 0 -235px no-repeat;
2688
+ }
2689
+
2690
+ #flags.size24 a[title="Malagasy"],
2691
+ .tool-container .tool-items a[title="Malagasy"] {
2692
+ background:url('../images/flags.png') -58px -409px no-repeat;
2693
+ }
2694
+
2695
+ #flags.size24 a[title="Malay"],
2696
+ .tool-container .tool-items a[title="Malay"] {
2697
+ background:url('../images/flags.png') -29px -235px no-repeat;
2698
+ }
2699
+
2700
+ #flags.size24 a[title="Malayalam"],
2701
+ .tool-container .tool-items a[title="Malayalam"] {
2702
+ background:url('../images/flags.png') -116px -409px no-repeat;
2703
+ }
2704
+
2705
+ #flags.size24 a[title="Maltese"],
2706
+ .tool-container .tool-items a[title="Maltese"] {
2707
+ background:url('../images/flags.png') -58px -235px no-repeat;
2708
+ }
2709
+
2710
+ #flags.size24 a[title="Maori"],
2711
+ .tool-container .tool-items a[title="Maori"] {
2712
+ background:url('../images/flags.png') -87px -235px no-repeat;
2713
+ }
2714
+
2715
+ #flags.size24 a[title="Marathi"],
2716
+ .tool-container .tool-items a[title="Marathi"] {
2717
+ background:url('../images/flags.png') -116px -235px no-repeat;
2718
+ }
2719
+
2720
+ #flags.size24 a[title="Mongolian"],
2721
+ .tool-container .tool-items a[title="Mongolian"] {
2722
+ background:url('../images/flags.png') -145px -235px no-repeat;
2723
+ }
2724
+
2725
+ #flags.size24 a[title="Myanmar(Burmese)"],
2726
+ .tool-container .tool-items a[title="Myanmar(Burmese)"] {
2727
+ background:url('../images/flags.png') -145px -409px no-repeat;
2728
+ }
2729
+
2730
+ #flags.size24 a[title="Nepali"],
2731
+ .tool-container .tool-items a[title="Nepali"] {
2732
+ background:url('../images/flags.png') 0 -264px no-repeat;
2733
+ }
2734
+
2735
+ #flags.size24 a[title="Norwegian"],
2736
+ .tool-container .tool-items a[title="Norwegian"] {
2737
+ background:url('../images/flags.png') -29px -264px no-repeat;
2738
+ }
2739
+
2740
+ #flags.size24 a[title="Pashto"],
2741
+ .tool-container .tool-items a[title="Pashto"] {
2742
+ background:url('../images/flags.png') -29px -496px no-repeat;
2743
+ }
2744
+
2745
+ #flags.size24 a[title="Persian"],
2746
+ .tool-container .tool-items a[title="Persian"] {
2747
+ background:url('../images/flags.png') -58px -264px no-repeat;
2748
+ }
2749
+
2750
+ #flags.size24 a[title="Polish"],
2751
+ .tool-container .tool-items a[title="Polish"] {
2752
+ background:url('../images/flags.png') -87px -264px no-repeat;
2753
+ }
2754
+
2755
+ #flags.size24 a[title="Portuguese"],
2756
+ .tool-container .tool-items a[title="Portuguese"] {
2757
+ background:url('../images/flags.png') -116px -264px no-repeat;
2758
+ }
2759
+
2760
+ #flags.size24 a.brazil[title="Portuguese"],
2761
+ .tool-container a.brazil[title="Portuguese"] {
2762
+ background:url('../images/flags.png') -145px -438px no-repeat !important;
2763
+ }
2764
+
2765
+ #flags.size24 a[title="Punjabi"],
2766
+ .tool-container .tool-items a[title="Punjabi"] {
2767
+ background:url('../images/flags.png') -145px -264px no-repeat;
2768
+ }
2769
+
2770
+ #flags.size24 a[title="Romanian"],
2771
+ .tool-container .tool-items a[title="Romanian"] {
2772
+ background:url('../images/flags.png') 0 -293px no-repeat;
2773
+ }
2774
+
2775
+ #flags.size24 a[title="Russian"],
2776
+ .tool-container .tool-items a[title="Russian"] {
2777
+ background:url('../images/flags.png') -29px -293px no-repeat;
2778
+ }
2779
+
2780
+ #flags.size24 a[title="Samoan"],
2781
+ .tool-container .tool-items a[title="Samoan"] {
2782
+ background:url('../images/flags.png') -29px -467px no-repeat;
2783
+ }
2784
+
2785
+ #flags.size24 a[title="Scottish Gaelic"],
2786
+ .tool-container .tool-items a[title="Scottish Gaelic"] {
2787
+ background:url('../images/flags.png') -58px -467px no-repeat;
2788
+ }
2789
+
2790
+ #flags.size24 a[title="Serbian"],
2791
+ .tool-container .tool-items a[title="Serbian"] {
2792
+ background:url('../images/flags.png') -58px -293px no-repeat;
2793
+ }
2794
+
2795
+ #flags.size24 a[title="Sesotho"],
2796
+ .tool-container .tool-items a[title="Sesotho"] {
2797
+ background:url('../images/flags.png') -29px -409px no-repeat;
2798
+ }
2799
+
2800
+ #flags.size24 a[title="Sindhi"],
2801
+ .tool-container .tool-items a[title="Sindhi"] {
2802
+ background:url('../images/flags.png') -145px -351px no-repeat;
2803
+ }
2804
+
2805
+ #flags.size24 a[title="Sinhala"],
2806
+ .tool-container .tool-items a[title="Sinhala"] {
2807
+ background:url('../images/flags.png') 0px -438px no-repeat;
2808
+ }
2809
+
2810
+ #flags.size24 a[title="Shona"],
2811
+ .tool-container .tool-items a[title="Shona"] {
2812
+ background:url('../images/flags.png') -58px -496px no-repeat;
2813
+ }
2814
+
2815
+ #flags.size24 a[title="Slovak"],
2816
+ .tool-container .tool-items a[title="Slovak"] {
2817
+ background:url('../images/flags.png') -87px -293px no-repeat;
2818
+ }
2819
+
2820
+ #flags.size24 a[title="Slovenian"],
2821
+ .tool-container .tool-items a[title="Slovenian"] {
2822
+ background:url('../images/flags.png') -116px -293px no-repeat;
2823
+ }
2824
+
2825
+ #flags.size24 a[title="Somali"],
2826
+ .tool-container .tool-items a[title="Somali"] {
2827
+ background:url('../images/flags.png') -145px -293px no-repeat;
2828
+ }
2829
+
2830
+ #flags.size24 a[title="Spanish"],
2831
+ .tool-container .tool-items a[title="Spanish"] {
2832
+ background:url('../images/flags.png') 0 -322px no-repeat;
2833
+ }
2834
+
2835
+ #flags.size24 a.mexico[title="Spanish"],
2836
+ .tool-container a.mexico[title="Spanish"] {
2837
+ background:url('../images/flags.png') -116px -438px no-repeat !important;
2838
+ }
2839
+
2840
+ #flags.size24 a[title="Sundanese"],
2841
+ .tool-container .tool-items a[title="Sundanese"] {
2842
+ background:url('../images/flags.png') -145px -380px no-repeat;
2843
+ }
2844
+
2845
+ #flags.size24 a[title="Swahili"],
2846
+ .tool-container .tool-items a[title="Swahili"] {
2847
+ background:url('../images/flags.png') -29px -322px no-repeat;
2848
+ }
2849
+
2850
+ #flags.size24 a[title="Swedish"],
2851
+ .tool-container .tool-items a[title="Swedish"] {
2852
+ background:url('../images/flags.png') -58px -322px no-repeat;
2853
+ }
2854
+
2855
+ #flags.size24 a[title="Tajik"],
2856
+ .tool-container .tool-items a[title="Tajik"] {
2857
+ background:url('../images/flags.png') -29px -438px no-repeat;
2858
+ }
2859
+
2860
+ #flags.size24 a[title="Tamil"],
2861
+ .tool-container .tool-items a[title="Tamil"] {
2862
+ background:url('../images/flags.png') -87px -322px no-repeat;
2863
+ }
2864
+
2865
+ #flags.size24 a[title="Telugu"],
2866
+ .tool-container .tool-items a[title="Telugu"] {
2867
+ background:url('../images/flags.png') -116px -322px no-repeat;
2868
+ }
2869
+
2870
+ #flags.size24 a[title="Thai"],
2871
+ .tool-container .tool-items a[title="Thai"] {
2872
+ background:url('../images/flags.png') -145px -322px no-repeat;
2873
+ }
2874
+
2875
+ #flags.size24 a[title="Turkish"],
2876
+ .tool-container .tool-items a[title="Turkish"] {
2877
+ background:url('../images/flags.png') -29px -351px no-repeat;
2878
+ }
2879
+
2880
+ #flags.size24 a[title="Ukranian"],
2881
+ .tool-container .tool-items a[title="Ukranian"] {
2882
+ background:url('../images/flags.png') -58px -351px no-repeat;
2883
+ }
2884
+
2885
+ #flags.size24 a[title="Urdu"],
2886
+ .tool-container .tool-items a[title="Urdu"] {
2887
+ background:url('../images/flags.png') -145px -351px no-repeat;
2888
+ }
2889
+
2890
+ #flags.size24 a[title="Uzbek"],
2891
+ .tool-container .tool-items a[title="Uzbek"] {
2892
+ background:url('../images/flags.png') -58px -438px no-repeat;
2893
+ }
2894
+
2895
+ #flags.size24 a[title="Vietnamese"],
2896
+ .tool-container .tool-items a[title="Vietnamese"] {
2897
+ background:url('../images/flags.png') 0 -380px no-repeat;
2898
+ }
2899
+
2900
+ #flags.size24 a[title="Welsh"],
2901
+ .tool-container .tool-items a[title="Welsh"] {
2902
+ background:url('../images/flags.png') -29px -380px no-repeat;
2903
+ }
2904
+
2905
+ #flags.size24 a[title="Xhosa"],
2906
+ .tool-container .tool-items a[title="Xhosa"] {
2907
+ background:url('../images/flags.png') 0 -3px no-repeat;
2908
+ }
2909
+
2910
+ #flags.size24 a[title="Yiddish"],
2911
+ .tool-container .tool-items a[title="Yiddish"] {
2912
+ background:url('../images/flags.png') -58px -380px no-repeat;
2913
+ }
2914
+
2915
+ #flags.size24 a[title="Yoruba"],
2916
+ .tool-container .tool-items a[title="Yoruba"] {
2917
+ background:url('../images/flags.png') -87px -380px no-repeat;
2918
+ }
2919
+
2920
+ #flags.size24 a[title="Zulu"],
2921
+ .tool-container .tool-items a[title="Zulu"] {
2922
+ background:url('../images/flags.png') -116px -380px no-repeat;
2923
+ }
2924
+
2925
+ .glt-controls {
2926
+ margin-bottom: 15px;
2927
+ background: #f0f0f0;
2928
+ padding: 10px;
2929
+ }
2930
+
2931
+ /* Some Dashboard mobile styles */
2932
+
2933
+ @media only screen and (max-width:767px) {
2934
+ .metabox-holder {
2935
+ float:none !important;
2936
+ width:100% !important;
2937
+ }
2938
+
2939
+ .flagdisplay {
2940
+ float:none !important;
2941
+ width:100% !important;
2942
+ }
2943
+
2944
+ .flagdisplay div {
2945
+ margin-bottom:10px;
2946
+ }
2947
+
2948
  } /* End 568px */
google-language-translator.php CHANGED
@@ -1,1316 +1,1335 @@
1
- <?php
2
- /*
3
- Plugin Name: Google Language Translator
4
- Plugin URI: http://www.studio88design.com/plugins/google-language-translator
5
- Version: 5.0.20
6
- Description: The MOST SIMPLE Google Translator plugin. This plugin adds Google Translator to your website by using a single shortcode, [google-translator]. Settings include: layout style, hide/show specific languages, hide/show Google toolbar, and hide/show Google branding. Add the shortcode to pages, posts, and widgets.
7
- Author: Rob Myrick
8
- Author URI: http://www.wp-studio.net/
9
- */
10
-
11
- //ini_set('display_errors', 1);
12
- //ini_set('display_startup_errors', 1);
13
- //error_reporting(E_ALL);
14
-
15
- include( plugin_dir_path( __FILE__ ) . 'widget.php');
16
-
17
- class google_language_translator {
18
-
19
- public $languages_array = array (
20
- 'af' => 'Afrikaans',
21
- 'sq' => 'Albanian',
22
- 'am' => 'Amharic',
23
- 'ar' => 'Arabic',
24
- 'hy' => 'Armenian',
25
- 'az' => 'Azerbaijani',
26
- 'eu' => 'Basque',
27
- 'be' => 'Belarusian',
28
- 'bn' => 'Bengali',
29
- 'bs' => 'Bosnian',
30
- 'bg' => 'Bulgarian',
31
- 'ca' => 'Catalan',
32
- 'ceb' => 'Cebuano',
33
- 'ny' => 'Chichewa',
34
- 'zh-CN' => 'Chinese',
35
- 'zh-TW' => 'Chinese(Traditional)',
36
- 'co' => 'Corsican',
37
- 'hr' => 'Croatian',
38
- 'cs' => 'Czech',
39
- 'da' => 'Danish',
40
- 'nl' => 'Dutch',
41
- 'en' => 'English',
42
- 'eo' => 'Esperanto',
43
- 'et' => 'Estonian',
44
- 'tl' => 'Filipino',
45
- 'fi' => 'Finnish',
46
- 'fr' => 'French',
47
- 'fy' => 'Frisian',
48
- 'gl' => 'Galician',
49
- 'ka' => 'Georgian',
50
- 'de' => 'German',
51
- 'el' => 'Greek',
52
- 'gu' => 'Gujarati',
53
- 'ht' => 'Haitian',
54
- 'ha' => 'Hausa',
55
- 'iw' => 'Hebrew',
56
- 'hi' => 'Hindi',
57
- 'hmn' => 'Hmong',
58
- 'hu' => 'Hungarian',
59
- 'is' => 'Icelandic',
60
- 'ig' => 'Igbo',
61
- 'id' => 'Indonesian',
62
- 'ga' => 'Irish',
63
- 'it' => 'Italian',
64
- 'ja' => 'Japanese',
65
- 'jw' => 'Javanese',
66
- 'kn' => 'Kannada',
67
- 'kk' => 'Kazakh',
68
- 'km' => 'Khmer',
69
- 'ko' => 'Korean',
70
- 'lo' => 'Lao',
71
- 'la' => 'Latin',
72
- 'lv' => 'Latvian',
73
- 'lt' => 'Lithuanian',
74
- 'mk' => 'Macedonian',
75
- 'mg' => 'Malagasy',
76
- 'ms' => 'Malay',
77
- 'ml' => 'Malayalam',
78
- 'mt' => 'Maltese',
79
- 'mi' => 'Maori',
80
- 'mr' => 'Marathi',
81
- 'mn' => 'Mongolian',
82
- 'my' => 'Myanmar(Burmese)',
83
- 'ne' => 'Nepali',
84
- 'no' => 'Norwegian',
85
- 'fa' => 'Persian',
86
- 'pl' => 'Polish',
87
- 'pt' => 'Portuguese',
88
- 'pa' => 'Punjabi',
89
- 'ro' => 'Romanian',
90
- 'ru' => 'Russian',
91
- 'sr' => 'Serbian',
92
- 'st' => 'Sesotho',
93
- 'sd' => 'Sindhi',
94
- 'si' => 'Sinhala',
95
- 'sk' => 'Slovak',
96
- 'sl' => 'Slovenian',
97
- 'sm' => 'Samoan',
98
- 'gd' => 'Scots Gaelic',
99
- 'so' => 'Somali',
100
- 'es' => 'Spanish',
101
- 'su' => 'Sundanese',
102
- 'sw' => 'Swahili',
103
- 'sv' => 'Swedish',
104
- 'tg' => 'Tajik',
105
- 'ta' => 'Tamil',
106
- 'te' => 'Telugu',
107
- 'th' => 'Thai',
108
- 'tr' => 'Turkish',
109
- 'uk' => 'Ukranian',
110
- 'ur' => 'Urdu',
111
- 'uz' => 'Uzbek',
112
- 'vi' => 'Vietnamese',
113
- 'cy' => 'Welsh',
114
- 'xh' => 'Xhosa',
115
- 'yi' => 'Yiddish',
116
- 'yo' => 'Yoruba',
117
- 'zu' => 'Zulu'
118
- );
119
-
120
- public function __construct() {
121
- register_activation_hook( __FILE__, array( &$this, 'glt_activate' ));
122
- register_uninstall_hook( __FILE__, 'glt_deactivate' );
123
- add_action( 'admin_menu', array( &$this, 'add_my_admin_menus'));
124
- add_action('admin_init',array(&$this, 'initialize_settings'));
125
- add_action('wp_head',array(&$this, 'load_css'));
126
- add_action('wp_footer',array(&$this, 'footer_script'));
127
- add_shortcode( 'google-translator',array(&$this, 'google_translator_shortcode'));
128
- add_shortcode( 'glt', array(&$this, 'google_translator_menu_language'));
129
- add_filter('widget_text','do_shortcode');
130
- add_filter('walker_nav_menu_start_el', array(&$this,'menu_shortcodes') , 10 , 2);
131
- add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this, 'glt_settings_link') );
132
-
133
- if (!is_admin()) {
134
- add_action('init',array(&$this, 'flags'));
135
- }
136
- }
137
-
138
- public function glt_activate() {
139
- add_option('googlelanguagetranslator_active', 1);
140
- add_option('googlelanguagetranslator_language','en');
141
- add_option('googlelanguagetranslator_language_option','all');
142
- add_option('googlelanguagetranslator_flags','show_flags');
143
- add_option('language_display_settings',array ('en' => 1));
144
- add_option('flag_display_settings',array ('flag-en' => 1));
145
- add_option('googlelanguagetranslator_translatebox','yes');
146
- add_option('googlelanguagetranslator_display','Vertical');
147
- add_option('googlelanguagetranslator_toolbar','Yes');
148
- add_option('googlelanguagetranslator_showbranding','Yes');
149
- add_option('googlelanguagetranslator_flags_alignment','flags_left');
150
- add_option('googlelanguagetranslator_analytics', 0);
151
- add_option('googlelanguagetranslator_analytics_id','');
152
- add_option('googlelanguagetranslator_css','');
153
- add_option('googlelanguagetranslator_multilanguage',0);
154
- add_option('googlelanguagetranslator_floating_widget','yes');
155
- add_option('googlelanguagetranslator_flag_size','18');
156
- add_option('googlelanguagetranslator_flags_order','');
157
- add_option('googlelanguagetranslator_english_flag_choice','');
158
- add_option('googlelanguagetranslator_spanish_flag_choice','');
159
- add_option('googlelanguagetranslator_portuguese_flag_choice','');
160
- delete_option('googlelanguagetranslator_manage_translations',0);
161
- }
162
-
163
- public function glt_deactivate() {
164
- delete_option('googlelanguagetranslator_active', 1);
165
- delete_option('googlelanguagetranslator_language','en');
166
- delete_option('googlelanguagetranslator_language_option','all');
167
- delete_option('googlelanguagetranslator_flags','show_flags');
168
- delete_option('language_display_settings',array ('en' => 1));
169
- delete_option('flag_display_settings',array ('flag-en' => 1));
170
- delete_option('googlelanguagetranslator_translatebox','yes');
171
- delete_option('googlelanguagetranslator_display','Vertical');
172
- delete_option('googlelanguagetranslator_toolbar','Yes');
173
- delete_option('googlelanguagetranslator_showbranding','Yes');
174
- delete_option('googlelanguagetranslator_flags_alignment','flags_left');
175
- delete_option('googlelanguagetranslator_analytics',1);
176
- delete_option('googlelanguagetranslator_analytics_id','');
177
- delete_option('googlelanguagetranslator_css','');
178
- delete_option('googlelanguagetranslator_multilanguage',0);
179
- delete_option('googlelanguagetranslator_floating_widget','yes');
180
- delete_option('googlelanguagetranslator_flag_size','18');
181
- delete_option('googlelanguagetranslator_flags_order','');
182
- delete_option('googlelanguagetranslator_english_flag_choice','');
183
- delete_option('googlelanguagetranslator_spanish_flag_choice','');
184
- delete_option('googlelanguagetranslator_portuguese_flag_choice','');
185
- }
186
-
187
- public function glt_settings_link ( $links ) {
188
- $settings_link = array(
189
- '<a href="' . admin_url( 'options-general.php?page=google_language_translator' ) . '">Settings</a>',
190
- );
191
- return array_merge( $links, $settings_link );
192
- }
193
-
194
- public function add_my_admin_menus(){
195
- $p = add_options_page('Google Language Translator', 'Google Language Translator', 'manage_options', 'google_language_translator', array(&$this, 'page_layout_cb'));
196
-
197
- add_action( 'load-' . $p, array(&$this, 'load_admin_js' ));
198
- }
199
-
200
- public function load_admin_js(){
201
- add_action( 'admin_enqueue_scripts', array(&$this, 'enqueue_admin_js' ));
202
- add_action('admin_footer',array(&$this, 'footer_script'));
203
- }
204
-
205
- public function enqueue_admin_js(){
206
- wp_enqueue_script( 'my-admin-script', plugins_url('js/admin.js',__FILE__), array('jquery'));
207
- wp_enqueue_script( 'my-flag-script', plugins_url('js/flags.js',__FILE__), array('jquery'));
208
-
209
- if (get_option ('googlelanguagetranslator_floating_widget') == 'yes') {
210
- wp_enqueue_script( 'glt-toolbar', plugins_url('js/toolbar.js',__FILE__), array('jquery'));
211
- wp_enqueue_script( 'glt-load-toolbar', plugins_url('js/load-toolbar.js',__FILE__), array('jquery'));
212
- wp_register_style( 'glt-toolbar-styles', plugins_url('css/toolbar.css', __FILE__) );
213
- wp_enqueue_style( 'glt-toolbar-styles' );
214
- }
215
-
216
- wp_enqueue_script( 'jquery-ui-core');
217
- wp_enqueue_script( 'jquery-ui-sortable');
218
- wp_enqueue_script( 'load_sortable_flags', plugins_url('js/load-sortable-flags.js',__FILE__), array('jquery'));
219
- wp_register_style( 'jquery-ui.css', plugins_url('css/jquery-ui.css',__FILE__) );
220
- wp_register_style( 'style.css', plugins_url('css/style.css', __FILE__) );
221
- wp_enqueue_style( 'style.css' );
222
- }
223
-
224
- public function flags() {
225
- wp_enqueue_script( 'glt-flags', plugins_url('js/flags.js',__FILE__), array('jquery'));
226
-
227
- if (get_option ('googlelanguagetranslator_floating_widget') == 'yes') {
228
- wp_enqueue_script( 'glt-toolbar', plugins_url('js/toolbar.js',__FILE__), array('jquery'));
229
- wp_enqueue_script( 'glt-load-toolbar', plugins_url('js/load-toolbar.js',__FILE__), array('jquery'));
230
- wp_register_style( 'glt-toolbar-styles', plugins_url('css/toolbar.css', __FILE__) );
231
- wp_enqueue_style( 'glt-toolbar-styles' );
232
- }
233
-
234
- wp_register_style( 'google-language-translator', plugins_url('css/style.css', __FILE__) );
235
- wp_enqueue_style( 'google-language-translator' );
236
- }
237
-
238
- public function load_css() {
239
- include( plugin_dir_path( __FILE__ ) . '/css/style.php');
240
- }
241
-
242
- public function google_translator_shortcode() {
243
-
244
- if (get_option('googlelanguagetranslator_display')=='Vertical' || get_option('googlelanguagetranslator_display')=='SIMPLE'){
245
- return $this->googlelanguagetranslator_vertical();
246
- }
247
- elseif(get_option('googlelanguagetranslator_display')=='Horizontal'){
248
- return $this->googlelanguagetranslator_horizontal();
249
- }
250
- }
251
-
252
- public function googlelanguagetranslator_included_languages() {
253
- if ( get_option('googlelanguagetranslator_language_option')=='specific') {
254
- $get_language_choices = get_option ('language_display_settings');
255
-
256
- foreach ($get_language_choices as $key=>$value) {
257
- if($value == 1) {
258
- $items[] = $key;
259
- }
260
- }
261
-
262
- $comma_separated = implode(",",array_values($items));
263
-
264
- if ( get_option('googlelanguagetranslator_display') == 'Vertical') {
265
- $lang = ", includedLanguages:'".$comma_separated."'";
266
- return $lang;
267
- } elseif ( get_option('googlelanguagetranslator_display') == 'Horizontal') {
268
- $lang = ", includedLanguages:'".$comma_separated."'";
269
- return $lang;
270
- }
271
- }
272
- }
273
-
274
- public function analytics() {
275
- if ( get_option('googlelanguagetranslator_analytics') == 1 ) {
276
- $analytics_id = get_option('googlelanguagetranslator_analytics_id');
277
- $analytics = "gaTrack: true, gaId: '".$analytics_id."'";
278
-
279
- if (!empty ($analytics_id) ):
280
- return ', '.$analytics;
281
- endif;
282
- }
283
- }
284
-
285
- public function menu_shortcodes( $item_output,$item ) {
286
- if ( !empty($item->description)) {
287
- $output = do_shortcode($item->description);
288
-
289
- if ( $output != $item->description )
290
- $item_output = $output;
291
- }
292
- return $item_output;
293
- }
294
-
295
- public function google_translator_menu_language($atts, $content = '') {
296
- extract(shortcode_atts(array(
297
- "language" => 'Spanish',
298
- "label" => 'Spanish'
299
- ), $atts));
300
-
301
- $default_language = get_option('googlelanguagetranslator_language');
302
- $english_flag_choice = get_option('googlelanguagetranslator_english_flag_choice');
303
- $language_code = array_search($language,$this->languages_array);
304
- $language_name = $language;
305
- $language_name_flag = $language_name;
306
-
307
- if ( $language_name == 'English' && $english_flag_choice == 'canadian_flag') {
308
- $language_name_flag = 'canada';
309
- }
310
-
311
- return "<a class='nturl notranslate ".$language_code."' single-language flag' title='".$language."'>".$label."</a>";
312
- }
313
-
314
- public function footer_script() {
315
- global $shortcode_started;
316
- $default_language = get_option('googlelanguagetranslator_language');
317
- $language_choices = $this->googlelanguagetranslator_included_languages();
318
- $new_languages_array_string = get_option('googlelanguagetranslator_flags_order');
319
- $new_languages_array = explode(",",$new_languages_array_string);
320
- $new_languages_array_codes = array_values($new_languages_array);
321
- $new_languages_array_count = count($new_languages_array);
322
- $english_flag_choice = get_option('googlelanguagetranslator_english_flag_choice');
323
- $spanish_flag_choice = get_option('googlelanguagetranslator_spanish_flag_choice');
324
- $portuguese_flag_choice = get_option('googlelanguagetranslator_portuguese_flag_choice');
325
- $get_language_option = get_option('googlelanguagetranslator_language_option');
326
- $get_flag_choices = get_option ('flag_display_settings');
327
- $get_flag_choices_count = count($get_flag_choices);
328
- $floating_widget = get_option ('googlelanguagetranslator_floating_widget');
329
- $is_active = get_option ( 'googlelanguagetranslator_active' );
330
- $is_multilanguage = get_option('googlelanguagetranslator_multilanguage');
331
- $str = ''; ?>
332
- <script>jQuery(document).ready(function(a){a("a.nturl").on("click",function(){function l(){doGoogleLanguageTranslator(default_lang+"|"+default_lang)}function n(){doGoogleLanguageTranslator(default_lang+"|"+lang_prefix)}default_lang="<?php echo get_option('googlelanguagetranslator_language'); ?>",lang_prefix=a(this).attr("class").split(" ")[2],lang_prefix==default_lang?l():n()}),a("a.flag").on("click",function(){function l(){doGoogleLanguageTranslator(default_lang+"|"+default_lang)}function n(){doGoogleLanguageTranslator(default_lang+"|"+lang_prefix)}default_lang="<?php echo get_option('googlelanguagetranslator_language'); ?>",lang_prefix=a(this).attr("class").split(" ")[2],a(".tool-container").hide(),lang_prefix==default_lang?l():n()}),0==a("body > #google_language_translator").length&&a("#glt-footer").html("<div id='google_language_translator'></div>")});</script>
333
-
334
- <?php
335
-
336
- if( $is_active == 1) {
337
-
338
- foreach ($get_flag_choices as $flag_choice_key) {}
339
-
340
- if ($floating_widget=='yes' && $get_language_option != 'specific') {
341
- $str.='<div id="glt-translate-trigger"><span class="notranslate">Translate &raquo;</span></div>';
342
- $str.='<div id="glt-toolbar"></div>';
343
- } //endif $floating_widget
344
-
345
- if ($shortcode_started != 'true') {
346
- $str.='<div id="flags" style="display:none">';
347
- $str.='<ul id="sortable" class="ui-sortable">';
348
-
349
- if ((empty($new_languages_array_string)) || ($new_languages_array_count != $get_flag_choices_count)) {
350
- foreach ($this->languages_array as $key=>$value) {
351
- $language_code = $key;
352
- $language_name = $value;
353
- $language_name_flag = $language_name;
354
-
355
- if ($flag_choice_key == '1') {
356
- if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
357
- if ( $language_name == 'English' && $english_flag_choice == 'canadian_flag') {
358
- $language_name_flag = 'canada';
359
- }
360
- if ( $language_name == "English" && $english_flag_choice == 'us_flag') {
361
- $language_name_flag = 'united-states';
362
- }
363
- if ( $language_name == 'Spanish' && $spanish_flag_choice == 'mexican_flag') {
364
- $language_name_flag = 'mexico';
365
- }
366
- if ( $language_name == 'Portuguese' && $portuguese_flag_choice == 'brazilian_flag') {
367
- $language_name_flag = 'brazil';
368
- }
369
- if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
370
- $str.="<li id='".$language_name."'><a title='".$language_name."' class='notranslate flag ".$language_code." ".$language_name_flag."'></a></li>";
371
- }
372
- } //isset
373
- } //endif
374
- } //endforeach
375
-
376
- } else {
377
- foreach ($new_languages_array_codes as $value) {
378
- $language_name = $value;
379
- $language_code = array_search ($language_name,$this->languages_array);
380
- $language_name_flag = $language_name;
381
-
382
- if ($flag_choice_key == '1') {
383
- if (in_array($language_name,$this->languages_array)) {
384
- if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
385
- if ( $language_name == 'English' && $english_flag_choice == 'canadian_flag') {
386
- $language_name_flag = 'canada';
387
- }
388
- if ( $language_name == "English" && $english_flag_choice == 'us_flag') {
389
- $language_name_flag = 'united-states';
390
- }
391
- if ( $language_name == 'Spanish' && $spanish_flag_choice == 'mexican_flag') {
392
- $language_name_flag = 'mexico';
393
- }
394
- if ( $language_name == 'Portuguese' && $portuguese_flag_choice == 'brazilian_flag') {
395
- $language_name_flag = 'brazil';
396
- }
397
- if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
398
- $str.="<li id='".$language_name."'><a title='".$language_name."' class='notranslate flag ".$language_code." ".$language_name_flag."'></a></li>";
399
- }
400
- } //isset
401
- } //in_array
402
- }//flag_choice_key
403
- }//foreach
404
- }//endif
405
- $str.='</ul>';
406
- $str.='</div>';
407
- }
408
- }
409
-
410
- $language_choices = $this->googlelanguagetranslator_included_languages();
411
- $layout = get_option('googlelanguagetranslator_display');
412
- $is_multilanguage = get_option('googlelanguagetranslator_multilanguage');
413
- $horizontal_layout = ', layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL';
414
- $simple_layout = ', layout: google.translate.TranslateElement.InlineLayout.SIMPLE';
415
- $auto_display = ', autoDisplay: false';
416
- $default_language = get_option('googlelanguagetranslator_language');
417
-
418
- if ($is_multilanguage == 1) {
419
- $multilanguagePage = ', multilanguagePage:true';
420
- $str.="<div id='glt-footer'></div><script type='text/javascript'>function GoogleLanguageTranslatorInit() { new google.translate.TranslateElement({pageLanguage: '".$default_language."'".$language_choices . ($layout=='Horizontal' ? $horizontal_layout : ($layout=='SIMPLE' ? $simple_layout : '')) . $auto_display . $multilanguagePage . $this->analytics()."}, 'google_language_translator');}</script>";
421
- $str.="<script type='text/javascript' src='//translate.google.com/translate_a/element.js?cb=GoogleLanguageTranslatorInit'></script>";
422
- echo $str;
423
-
424
- } elseif ($is_multilanguage == 0) {
425
- $str.="<div id='glt-footer'></div><script type='text/javascript'>function GoogleLanguageTranslatorInit() { new google.translate.TranslateElement({pageLanguage: '".$default_language."'".$language_choices . ($layout=='Horizontal' ? $horizontal_layout : ($layout=='SIMPLE' ? $simple_layout : '')) . $auto_display . $this->analytics()."}, 'google_language_translator');}</script>";
426
- $str.="<script type='text/javascript' src='//translate.google.com/translate_a/element.js?cb=GoogleLanguageTranslatorInit'></script>";
427
- echo $str;
428
- }
429
- }
430
-
431
- public function googlelanguagetranslator_vertical() {
432
-
433
- global $shortcode_started;
434
-
435
- $shortcode_started = 'true';
436
- $get_flag_choices = get_option ('flag_display_settings');
437
- $new_languages_array_string = get_option('googlelanguagetranslator_flags_order');
438
- $new_languages_array = explode(",",$new_languages_array_string);
439
- $new_languages_array_codes = array_values($new_languages_array);
440
- $new_languages_array_count = count($new_languages_array);
441
- $get_flag_choices_count = count($get_flag_choices);
442
- $get_language_choices = get_option ('language_display_settings');
443
- $flag_width = get_option('googlelanguagetranslator_flag_size');
444
- $default_language_code = get_option('googlelanguagetranslator_language');
445
- $english_flag_choice = get_option('googlelanguagetranslator_english_flag_choice');
446
- $spanish_flag_choice = get_option('googlelanguagetranslator_spanish_flag_choice');
447
- $portuguese_flag_choice = get_option('googlelanguagetranslator_portuguese_flag_choice');
448
- $is_active = get_option ( 'googlelanguagetranslator_active' );
449
- $get_language_option = get_option('googlelanguagetranslator_language_option');
450
- $language_choices = $this->googlelanguagetranslator_included_languages();
451
- $floating_widget = get_option ('googlelanguagetranslator_floating_widget');
452
- $str = '';
453
-
454
- if( $is_active == 1){
455
-
456
- foreach ($get_flag_choices as $flag_choice_key) {}
457
-
458
- $str.='<div id="flags" class="size'.$flag_width.'">';
459
- $str.='<ul id="sortable" class="ui-sortable" style="float:left">';
460
-
461
- if ((empty($new_languages_array_string)) || ($new_languages_array_count != $get_flag_choices_count)) {
462
- foreach ($this->languages_array as $key=>$value) {
463
- $language_code = $key;
464
- $language_name = $value;
465
- $language_name_flag = $language_name;
466
- if ($flag_choice_key == '1') {
467
- if ( $language_name == 'English' && $english_flag_choice == 'canadian_flag') {
468
- $language_name_flag = 'canada';
469
- }
470
- if ( $language_name == "English" && $english_flag_choice == 'us_flag') {
471
- $language_name_flag = 'united-states';
472
- }
473
- if ( $language_name == 'Spanish' && $spanish_flag_choice == 'mexican_flag') {
474
- $language_name_flag = 'mexico';
475
- }
476
- if ( $language_name == 'Portuguese' && $portuguese_flag_choice == 'brazilian_flag') {
477
- $language_name_flag = 'brazil';
478
- }
479
- if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
480
- $str.="<li id='".$language_name."'><a title='".$language_name."' class='notranslate flag ".$language_code." ".$language_name_flag."'></a></li>";
481
- }
482
- } //$key
483
- }//foreach
484
- } else {
485
- foreach ($new_languages_array_codes as $value) {
486
- $language_name = $value;
487
- $language_code = array_search ($language_name,$this->languages_array);
488
- $language_name_flag = $language_name;
489
- if ($flag_choice_key == '1') {
490
- if (in_array($language_name,$this->languages_array)) {
491
- if ( $language_name == 'English' && $english_flag_choice == 'canadian_flag') {
492
- $language_name_flag = 'canada';
493
- }
494
- if ( $language_name == "English" && $english_flag_choice == 'us_flag') {
495
- $language_name_flag = 'united-states';
496
- }
497
- if ( $language_name == 'Spanish' && $spanish_flag_choice == 'mexican_flag') {
498
- $language_name_flag = 'mexico';
499
- }
500
- if ( $language_name == 'Portuguese' && $portuguese_flag_choice == 'brazilian_flag') {
501
- $language_name_flag = 'brazil';
502
- }
503
- if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
504
- $str.="<li id='".$language_name."'><a title='".$language_name."' class='notranslate flag ".$language_code." ".$language_name_flag."'></a></li>";
505
- } //isset
506
- } //in_array
507
- }//flag_choice_key
508
- }//foreach
509
- }//endif
510
- $str.='</ul>';
511
- $str.='</div>';
512
- $str.='<div id="google_language_translator"></div>';
513
- return $str;
514
- } //End is_active
515
- } // End glt_vertical
516
-
517
- public function googlelanguagetranslator_horizontal(){
518
- $shortcode_started = true;
519
- $get_flag_choices = get_option ('flag_display_settings');
520
- $new_languages_array_string = get_option('googlelanguagetranslator_flags_order');
521
- $new_languages_array = explode(",",$new_languages_array_string);
522
- $new_languages_array_codes = array_values($new_languages_array);
523
- $new_languages_array_count = count($new_languages_array);
524
- $get_flag_choices_count = count($get_flag_choices);
525
- $get_language_choices = get_option ('language_display_settings');
526
- $flag_width = get_option('googlelanguagetranslator_flag_size');
527
- $default_language_code = get_option('googlelanguagetranslator_language');
528
- $english_flag_choice = get_option('googlelanguagetranslator_english_flag_choice');
529
- $spanish_flag_choice = get_option('googlelanguagetranslator_spanish_flag_choice');
530
- $portuguese_flag_choice = get_option('googlelanguagetranslator_portuguese_flag_choice');
531
- $is_active = get_option ( 'googlelanguagetranslator_active' );
532
- $get_language_option = get_option('googlelanguagetranslator_language_option');
533
- $language_choices = $this->googlelanguagetranslator_included_languages();
534
- $floating_widget = get_option ('googlelanguagetranslator_floating_widget');
535
- $str = '';
536
-
537
- if( $is_active == 1) {
538
- foreach ($get_flag_choices as $flag_choice_key) {}
539
- $str.='<div id="flags" class="size'.$flag_width.'">';
540
- $str.='<ul id="sortable" class="ui-sortable" style="float:left">';
541
-
542
- if ((empty($new_languages_array_string)) || ($new_languages_array_count != $get_flag_choices_count)) {
543
- foreach ($this->languages_array as $key=>$value) {
544
- $language_code = $key;
545
- $language_name = $value;
546
- $language_name_flag = $language_name;
547
-
548
- if ($flag_choice_key == '1') {
549
- if ( $language_name == 'English' && $english_flag_choice == 'canadian_flag') {
550
- $language_name_flag = 'canada';
551
- }
552
- if ( $language_name == "English" && $english_flag_choice == 'us_flag') {
553
- $language_name_flag = 'united-states';
554
- }
555
- if ( $language_name == 'Spanish' && $spanish_flag_choice == 'mexican_flag') {
556
- $language_name_flag = 'mexico';
557
- }
558
- if ( $language_name == 'Portuguese' && $portuguese_flag_choice == 'brazilian_flag') {
559
- $language_name_flag = 'brazil';
560
- }
561
- if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
562
- $str.="<li id='".$language_name."'><a title='".$language_name."' class='notranslate flag ".$language_code." ".$language_name_flag."'></a></li>";
563
- } //endif
564
- } //$key
565
- } //foreach
566
- } else {
567
- foreach ($new_languages_array_codes as $value) {
568
- $language_name = $value;
569
- $language_code = array_search ($language_name,$this->languages_array);
570
- $language_name_flag = $language_name;
571
- if ($flag_choice_key == '1') {
572
- if (in_array($language_name,$this->languages_array)) {
573
- if ( $language_name == 'English' && $english_flag_choice == 'canadian_flag') {
574
- $language_name_flag = 'canada';
575
- }
576
- if ( $language_name == "English" && $english_flag_choice == 'us_flag') {
577
- $language_name_flag = 'united-states';
578
- }
579
- if ( $language_name == 'Spanish' && $spanish_flag_choice == 'mexican_flag') {
580
- $language_name_flag = 'mexico';
581
- }
582
- if ( $language_name == 'Portuguese' && $portuguese_flag_choice == 'brazilian_flag') {
583
- $language_name_flag = 'brazil';
584
- }
585
- if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
586
- $str.="<li id='".$language_name."'><a title='".$language_name."' class='notranslate flag ".$language_code." ".$language_name_flag."'></a></li>";
587
- } //isset
588
- } //in_array
589
- } //endif
590
- }//foreach
591
- }//endif
592
- $str.='</ul>';
593
- $str.='</div>';
594
- $str.='<div id="google_language_translator"></div>';
595
- return $str;
596
- }
597
- } // End glt_horizontal
598
-
599
- public function initialize_settings() {
600
- add_settings_section('glt_settings','Settings','','google_language_translator');
601
-
602
- $settings_name_array = array (
603
- 'googlelanguagetranslator_active','googlelanguagetranslator_language','googlelanguagetranslator_language_option','language_display_settings','googlelanguagetranslator_flags','flag_display_settings','googlelanguagetranslator_translatebox','googlelanguagetranslator_display','googlelanguagetranslator_toolbar','googlelanguagetranslator_showbranding','googlelanguagetranslator_flags_alignment','googlelanguagetranslator_analytics','googlelanguagetranslator_analytics_id','googlelanguagetranslator_css','googlelanguagetranslator_multilanguage','googlelanguagetranslator_floating_widget','googlelanguagetranslator_flag_size','googlelanguagetranslator_flags_order','googlelanguagetranslator_english_flag_choice','googlelanguagetranslator_spanish_flag_choice','googlelanguagetranslator_portuguese_flag_choice'
604
- );
605
-
606
- $settings_callback_array = array ( 'googlelanguagetranslator_active_cb','googlelanguagetranslator_language_cb','googlelanguagetranslator_language_option_cb','language_display_settings_cb','googlelanguagetranslator_flags_cb','flag_display_settings_cb','googlelanguagetranslator_translatebox_cb','googlelanguagetranslator_display_cb','googlelanguagetranslator_toolbar_cb','googlelanguagetranslator_showbranding_cb','googlelanguagetranslator_flags_alignment_cb','googlelanguagetranslator_analytics_cb','googlelanguagetranslator_analytics_id_cb','googlelanguagetranslator_css_cb','googlelanguagetranslator_multilanguage_cb','googlelanguagetranslator_floating_widget_cb','googlelanguagetranslator_flag_size_cb','googlelanguagetranslator_flags_order_cb','googlelanguagetranslator_english_flag_choice_cb','googlelanguagetranslator_spanish_flag_choice_cb','googlelanguagetranslator_portuguese_flag_choice_cb'
607
- );
608
-
609
- foreach ($settings_name_array as $setting) {
610
- add_settings_field( $setting,'',$setting.'_cb','google_language_translator','glt_settings');
611
- register_setting( 'google_language_translator',$setting);
612
- }
613
- }
614
-
615
- public function googlelanguagetranslator_active_cb() {
616
- $option_name = 'googlelanguagetranslator_active' ;
617
- $new_value = 1;
618
- if ( get_option( $option_name ) === false ) {
619
-
620
- // The option does not exist, so we update it.
621
- update_option( $option_name, $new_value );
622
- }
623
-
624
- $options = get_option (''.$option_name.'');
625
-
626
- $html = '<input type="checkbox" name="googlelanguagetranslator_active" id="googlelanguagetranslator_active" value="1" '.checked(1,$options,false).'/> &nbsp; Check this box to activate';
627
- echo $html;
628
- }
629
-
630
- public function googlelanguagetranslator_language_cb() {
631
-
632
- $option_name = 'googlelanguagetranslator_language';
633
- $new_value = 'en';
634
-
635
- if ( get_option( $option_name ) === false ) {
636
-
637
- // The option does not exist, so we update it.
638
- update_option( $option_name, $new_value );
639
- }
640
-
641
- $options = get_option (''.$option_name.''); ?>
642
-
643
- <select name="googlelanguagetranslator_language" id="googlelanguagetranslator_language">
644
-
645
- <?php
646
-
647
- foreach ($this->languages_array as $key => $value) {
648
- $language_code = $key;
649
- $language_name = $value; ?>
650
- <option value="<?php echo $language_code; ?>" <?php if($options==''.$language_code.''){echo "selected";}?>><?php echo $language_name; ?></option>
651
- <?php } ?>
652
- </select>
653
- <?php
654
- }
655
-
656
- public function googlelanguagetranslator_language_option_cb() {
657
-
658
- $option_name = 'googlelanguagetranslator_language_option' ;
659
- $new_value = 'all';
660
-
661
- if ( get_option( $option_name ) === false ) {
662
-
663
- // The option does not exist, so we update it.
664
- update_option( $option_name, $new_value );
665
- }
666
-
667
- $options = get_option (''.$option_name.''); ?>
668
-
669
- <input type="radio" name="googlelanguagetranslator_language_option" id="googlelanguagetranslator_language_option" value="all" <?php if($options=='all'){echo "checked";}?>/> All Languages<br/>
670
- <input type="radio" name="googlelanguagetranslator_language_option" id="googlelanguagetranslator_language_option" value="specific" <?php if($options=='specific'){echo "checked";}?>/> Specific Languages
671
- <?php
672
- }
673
-
674
- public function language_display_settings_cb() {
675
- $default_language_code = get_option('googlelanguagetranslator_language');
676
- $option_name = 'language_display_settings';
677
- $new_value = array(''.$default_language_code.'' => 1);
678
-
679
- if ( get_option( $option_name ) == false ) {
680
- // The option does not exist, so we update it.
681
- update_option( $option_name, $new_value );
682
- }
683
-
684
- $get_language_choices = get_option (''.$option_name.'');
685
-
686
- foreach ($this->languages_array as $key => $value) {
687
- $language_code = $key;
688
- $language_name = $value;
689
- $language_code_array[] = $key;
690
-
691
- if (!isset($get_language_choices[''.$language_code.''])) {
692
- $get_language_choices[''.$language_code.''] = 0;
693
- }
694
-
695
- $items[] = $get_language_choices[''.$language_code.''];
696
- $language_codes = $language_code_array;
697
- $item_count = count($items);
698
-
699
- if ($item_count == 1 || $item_count == 26 || $item_count == 51 || $item_count == 76) { ?>
700
- <div class="languages" style="width:25%; float:left">
701
- <?php } ?>
702
- <div><input type="checkbox" name="language_display_settings[<?php echo $language_code; ?>]" value="1"<?php checked( 1,$get_language_choices[''.$language_code.'']); ?>/><?php echo $language_name; ?></div>
703
- <?php
704
- if ($item_count == 25 || $item_count == 50 || $item_count == 75 || $item_count == 97) { ?>
705
- </div>
706
- <?php }
707
- } ?>
708
- <div class="clear"></div>
709
- <?php
710
- }
711
-
712
- public function googlelanguagetranslator_flags_cb() {
713
-
714
- $option_name = 'googlelanguagetranslator_flags' ;
715
- $new_value = 'show_flags';
716
-
717
- if ( get_option( $option_name ) === false ) {
718
-
719
- // The option does not exist, so we update it.
720
- update_option( $option_name, $new_value );
721
- }
722
-
723
- $options = get_option (''.$option_name.''); ?>
724
-
725
- <input type="radio" name="googlelanguagetranslator_flags" id="googlelanguagetranslator_flags" value="show_flags" <?php if($options=='show_flags'){echo "checked";}?>/> Yes, show flag images<br/>
726
- <input type="radio" name="googlelanguagetranslator_flags" id="googlelanguagetranslator_flags" value="hide_flags" <?php if($options=='hide_flags'){echo "checked";}?>/> No, hide flag images
727
- <?php
728
- }
729
-
730
- public function flag_display_settings_cb() {
731
- $default_language_code = get_option('googlelanguagetranslator_language');
732
- $option_name = 'flag_display_settings';
733
- $new_value = array('flag-'.$default_language_code.'' => 1);
734
-
735
- if ( get_option( $option_name ) == false ) {
736
- // The option does not exist, so we update it.
737
- update_option( $option_name, $new_value );
738
- }
739
-
740
- $get_flag_choices = get_option (''.$option_name.'');
741
-
742
- foreach ($this->languages_array as $key => $value) {
743
- $language_code = $key;
744
- $language_name = $value;
745
- $language_code_array[] = $key;
746
-
747
- if (!isset($get_flag_choices['flag-'.$language_code.''])) {
748
- $get_flag_choices['flag-'.$language_code.''] = 0;
749
- }
750
-
751
- $items[] = $get_flag_choices['flag-'.$language_code.''];
752
- $language_codes = $language_code_array;
753
- $item_count = count($items);
754
-
755
- if ($item_count == 1 || $item_count == 26 || $item_count == 51 || $item_count == 76) { ?>
756
- <div class="flagdisplay" style="width:25%; float:left">
757
- <?php } ?>
758
- <div><input type="checkbox" name="flag_display_settings[flag-<?php echo $language_code; ?>]" value="1"<?php checked( 1,$get_flag_choices['flag-'.$language_code.'']); ?>/><?php echo $language_name; ?></div>
759
- <?php
760
- if ($item_count == 25 || $item_count == 50 || $item_count == 75 || $item_count == 97) { ?>
761
- </div>
762
- <?php }
763
- } ?>
764
- <div class="clear"></div>
765
- <?php
766
- }
767
-
768
- public function googlelanguagetranslator_floating_widget_cb() {
769
-
770
- $option_name = 'googlelanguagetranslator_floating_widget' ;
771
- $new_value = 'yes';
772
-
773
- if ( get_option( $option_name ) === false ) {
774
-
775
- // The option does not exist, so we update it.
776
- update_option( $option_name, $new_value );
777
- }
778
-
779
- $options = get_option (''.$option_name.''); ?>
780
-
781
- <select name="googlelanguagetranslator_floating_widget" id="googlelanguagetranslator_floating_widget" style="width:170px">
782
- <option value="yes" <?php if($options=='yes'){echo "selected";}?>>Yes, show widget</option>
783
- <option value="no" <?php if($options=='no'){echo "selected";}?>>No, hide widget</option>
784
- </select>
785
- <?php }
786
-
787
- public function googlelanguagetranslator_translatebox_cb() {
788
-
789
- $option_name = 'googlelanguagetranslator_translatebox' ;
790
- $new_value = 'yes';
791
-
792
- if ( get_option( $option_name ) === false ) {
793
-
794
- // The option does not exist, so we update it.
795
- update_option( $option_name, $new_value );
796
- }
797
-
798
- $options = get_option (''.$option_name.''); ?>
799
-
800
- <select name="googlelanguagetranslator_translatebox" id="googlelanguagetranslator_translatebox" style="width:190px">
801
- <option value="yes" <?php if($options=='yes'){echo "selected";}?>>Yes, show language box</option>
802
- <option value="no" <?php if($options=='no'){echo "selected";}?>>No, hide language box</option>
803
- </select>
804
- <?php }
805
-
806
- public function googlelanguagetranslator_display_cb() {
807
-
808
- $option_name = 'googlelanguagetranslator_display' ;
809
- $new_value = 'Vertical';
810
-
811
- if ( get_option( $option_name ) === false ) {
812
-
813
- // The option does not exist, so we update it.
814
- update_option( $option_name, $new_value );
815
- }
816
-
817
- $options = get_option (''.$option_name.''); ?>
818
-
819
- <select name="googlelanguagetranslator_display" id="googlelanguagetranslator_display" style="width:170px;">
820
- <option value="Vertical" <?php if(get_option('googlelanguagetranslator_display')=='Vertical'){echo "selected";}?>>Vertical</option>
821
- <option value="Horizontal" <?php if(get_option('googlelanguagetranslator_display')=='Horizontal'){echo "selected";}?>>Horizontal</option>
822
- <option value="SIMPLE" <?php if (get_option('googlelanguagetranslator_display')=='SIMPLE'){echo "selected";}?>>Popup Style</option>
823
- </select>
824
- <?php }
825
-
826
- public function googlelanguagetranslator_toolbar_cb() {
827
-
828
- $option_name = 'googlelanguagetranslator_toolbar' ;
829
- $new_value = 'Yes';
830
-
831
- if ( get_option( $option_name ) === false ) {
832
-
833
- // The option does not exist, so we update it.
834
- update_option( $option_name, $new_value );
835
- }
836
-
837
- $options = get_option (''.$option_name.''); ?>
838
-
839
- <select name="googlelanguagetranslator_toolbar" id="googlelanguagetranslator_toolbar" style="width:170px;">
840
- <option value="Yes" <?php if(get_option('googlelanguagetranslator_toolbar')=='Yes'){echo "selected";}?>>Yes</option>
841
- <option value="No" <?php if(get_option('googlelanguagetranslator_toolbar')=='No'){echo "selected";}?>>No</option>
842
- </select>
843
- <?php }
844
-
845
- public function googlelanguagetranslator_showbranding_cb() {
846
-
847
- $option_name = 'googlelanguagetranslator_showbranding' ;
848
- $new_value = 'Yes';
849
-
850
- if ( get_option( $option_name ) === false ) {
851
-
852
- // The option does not exist, so we update it.
853
- update_option( $option_name, $new_value );
854
- }
855
-
856
- $options = get_option (''.$option_name.''); ?>
857
-
858
- <select name="googlelanguagetranslator_showbranding" id="googlelanguagetranslator_showbranding" style="width:170px;">
859
- <option value="Yes" <?php if(get_option('googlelanguagetranslator_showbranding')=='Yes'){echo "selected";}?>>Yes</option>
860
- <option value="No" <?php if(get_option('googlelanguagetranslator_showbranding')=='No'){echo "selected";}?>>No</option>
861
- </select>
862
- <?php }
863
-
864
- public function googlelanguagetranslator_flags_alignment_cb() {
865
-
866
- $option_name = 'googlelanguagetranslator_flags_alignment' ;
867
- $new_value = 'flags_left';
868
-
869
- if ( get_option( $option_name ) === false ) {
870
-
871
- // The option does not exist, so we update it.
872
- update_option( $option_name, 'flags_left' );
873
- }
874
-
875
- $options = get_option (''.$option_name.''); ?>
876
-
877
- <input type="radio" name="googlelanguagetranslator_flags_alignment" id="flags_left" value="flags_left" <?php if($options=='flags_left'){echo "checked";}?>/> Align Left<br/>
878
- <input type="radio" name="googlelanguagetranslator_flags_alignment" id="flags_right" value="flags_right" <?php if($options=='flags_right'){echo "checked";}?>/> Align Right
879
- <?php }
880
-
881
- public function googlelanguagetranslator_analytics_cb() {
882
-
883
- $option_name = 'googlelanguagetranslator_analytics' ;
884
- $new_value = 0;
885
-
886
- if ( get_option( $option_name ) === false ) {
887
-
888
- // The option does not exist, so we update it.
889
- update_option( $option_name, $new_value );
890
- }
891
-
892
- $options = get_option (''.$option_name.'');
893
-
894
- $html = '<input type="checkbox" name="googlelanguagetranslator_analytics" id="googlelanguagetranslator_analytics" value="1" '.checked(1,$options,false).'/> &nbsp; Activate Google Analytics tracking?';
895
- echo $html;
896
- }
897
-
898
- public function googlelanguagetranslator_analytics_id_cb() {
899
-
900
- $option_name = 'googlelanguagetranslator_analytics_id' ;
901
- $new_value = '';
902
-
903
- if ( get_option( $option_name ) === false ) {
904
-
905
- // The option does not exist, so we update it.
906
- update_option( $option_name, $new_value );
907
- }
908
-
909
- $options = get_option (''.$option_name.'');
910
-
911
- $html = '<input type="text" name="googlelanguagetranslator_analytics_id" id="googlelanguagetranslator_analytics_id" value="'.$options.'" />';
912
- echo $html;
913
- }
914
-
915
- public function googlelanguagetranslator_flag_size_cb() {
916
-
917
- $option_name = 'googlelanguagetranslator_flag_size' ;
918
- $new_value = '18';
919
-
920
- if ( get_option( $option_name ) === false ) {
921
-
922
- // The option does not exist, so we update it.
923
- update_option( $option_name, $new_value );
924
- }
925
-
926
- $options = get_option (''.$option_name.''); ?>
927
-
928
- <select name="googlelanguagetranslator_flag_size" id="googlelanguagetranslator_flag_size" style="width:110px;">
929
- <option value="16" <?php if($options=='16'){echo "selected";}?>>16px</option>
930
- <option value="18" <?php if($options=='18'){echo "selected";}?>>18px</option>
931
- <option value="20" <?php if($options=='20'){echo "selected";}?>>20px</option>
932
- <option value="22" <?php if($options=='22'){echo "selected";}?>>22px</option>
933
- <option value="24" <?php if($options=='24'){echo "selected";}?>>24px</option>
934
- </select>
935
- <?php }
936
-
937
- public function googlelanguagetranslator_flags_order_cb() {
938
- $option_name = 'googlelanguagetranslator_flags_order';
939
- $new_value = '';
940
-
941
- if ( get_option ( $option_name ) === false ) {
942
-
943
- // The option does not exist, so we update it.
944
- update_option( $option_name, $new_value );
945
- }
946
-
947
- $options = get_option ( ''.$option_name.'' ); ?>
948
-
949
- <input type="hidden" id="order" name="googlelanguagetranslator_flags_order" value="<?php print_r(get_option('googlelanguagetranslator_flags_order')); ?>" />
950
- <?php
951
- }
952
-
953
- public function googlelanguagetranslator_english_flag_choice_cb() {
954
- $option_name = 'googlelanguagetranslator_english_flag_choice';
955
- $new_value = 'us_flag';
956
-
957
- if ( get_option ( $option_name ) === false ) {
958
-
959
- // The option does not exist, so we update it.
960
- update_option( $option_name, $new_value );
961
- }
962
-
963
- $options = get_option ( ''.$option_name.'' ); ?>
964
-
965
- <select name="googlelanguagetranslator_english_flag_choice" id="googlelanguagetranslator_english_flag_choice">
966
- <option value="us_flag" <?php if($options=='us_flag'){echo "selected";}?>>U.S. Flag</option>
967
- <option value="uk_flag" <?php if ($options=='uk_flag'){echo "selected";}?>>U.K Flag</option>
968
- <option value="canadian_flag" <?php if ($options=='canadian_flag'){echo "selected";}?>>Canadian Flag</option>
969
- </select>
970
- <?php
971
- }
972
-
973
- public function googlelanguagetranslator_spanish_flag_choice_cb() {
974
- $option_name = 'googlelanguagetranslator_spanish_flag_choice';
975
- $new_value = 'spanish_flag';
976
-
977
- if ( get_option ( $option_name ) === false ) {
978
-
979
- // The option does not exist, so we update it.
980
- update_option( $option_name, $new_value );
981
- }
982
-
983
- $options = get_option ( ''.$option_name.'' ); ?>
984
-
985
- <select name="googlelanguagetranslator_spanish_flag_choice" id="googlelanguagetranslator_spanish_flag_choice">
986
- <option value="spanish_flag" <?php if($options=='spanish_flag'){echo "selected";}?>>Spanish Flag</option>
987
- <option value="mexican_flag" <?php if ($options=='mexican_flag'){echo "selected";}?>>Mexican Flag</option>
988
- </select>
989
- <?php
990
- }
991
-
992
- public function googlelanguagetranslator_portuguese_flag_choice_cb() {
993
- $option_name = 'googlelanguagetranslator_portuguese_flag_choice';
994
- $new_value = 'portuguese_flag';
995
-
996
- if ( get_option ( $option_name ) === false ) {
997
-
998
- // The option does not exist, so we update it.
999
- update_option( $option_name, $new_value );
1000
- }
1001
-
1002
- $options = get_option ( ''.$option_name.'' ); ?>
1003
-
1004
- <select name="googlelanguagetranslator_portuguese_flag_choice" id="googlelanguagetranslator_spanish_flag_choice">
1005
- <option value="portuguese_flag" <?php if($options=='portuguese_flag'){echo "selected";}?>>Portuguese Flag</option>
1006
- <option value="brazilian_flag" <?php if ($options=='brazilian_flag'){echo "selected";}?>>Brazilian Flag</option>
1007
- </select>
1008
- <?php
1009
- }
1010
-
1011
- public function googlelanguagetranslator_css_cb() {
1012
-
1013
- $option_name = 'googlelanguagetranslator_css' ;
1014
- $new_value = '';
1015
-
1016
- if ( get_option( $option_name ) === false ) {
1017
-
1018
- // The option does not exist, so we update it.
1019
- update_option( $option_name, $new_value );
1020
- }
1021
-
1022
- $options = get_option (''.$option_name.'');
1023
-
1024
- $html = '<textarea style="width:100%; height:200px" name="googlelanguagetranslator_css" id="googlelanguagetranslator_css">'.$options.'</textarea>';
1025
- echo $html;
1026
- }
1027
-
1028
- public function googlelanguagetranslator_multilanguage_cb() {
1029
-
1030
- $option_name = 'googlelanguagetranslator_multilanguage' ;
1031
- $new_value = 0;
1032
-
1033
- if ( get_option( $option_name ) === false ) {
1034
-
1035
- // The option does not exist, so we update it.
1036
- update_option( $option_name, $new_value );
1037
- }
1038
-
1039
- $options = get_option (''.$option_name.'');
1040
-
1041
- $html = '<input type="checkbox" name="googlelanguagetranslator_multilanguage" id="googlelanguagetranslator_multilanguage" value="1" '.checked(1,$options,false).'/> &nbsp; Turn on multilanguage mode?';
1042
- echo $html;
1043
- }
1044
-
1045
- public function googlelanguagetranslator_exclude_translation_cb() {
1046
-
1047
- $option_name = 'googlelanguagetranslator_exclude_translation';
1048
- $new_value = '';
1049
-
1050
- if (get_option($option_name) === false ) {
1051
- // The option does not exist, so we update it.
1052
- update_option( $option_name, $new_value );
1053
- }
1054
-
1055
- $options = get_option (''.$option_name.'');
1056
-
1057
- $html = '<input type="text" name="'.$option_name.'" id="'.$option_name.'" value="'.$options.'" />';
1058
-
1059
- echo $html;
1060
- }
1061
-
1062
- public function page_layout_cb() {
1063
- include( plugin_dir_path( __FILE__ ) . '/css/style.php'); ?>
1064
- <?php add_thickbox(); ?>
1065
- <div class="wrap">
1066
- <div id="icon-options-general" class="icon32"></div>
1067
- <h2><span class="notranslate">Google Language Translator</span></h2>
1068
- <form action="<?php echo admin_url( '/options.php'); ?>" method="post">
1069
- <div class="metabox-holder has-right-sidebar" style="float:left; width:65%">
1070
- <div class="postbox" style="width: 100%">
1071
- <h3 class="notranslate">Settings</h3>
1072
-
1073
- <?php settings_fields('google_language_translator'); ?>
1074
- <table style="border-collapse:separate" width="100%" border="0" cellspacing="8" cellpadding="0" class="form-table">
1075
- <tr>
1076
- <td style="width:60%" class="notranslate">Plugin Status:</td>
1077
- <td class="notranslate"><?php $this->googlelanguagetranslator_active_cb(); ?></td>
1078
- </tr>
1079
-
1080
- <tr class="notranslate">
1081
- <td>Choose the original language of your website</td>
1082
- <td><?php $this->googlelanguagetranslator_language_cb(); ?></td>
1083
- </tr>
1084
-
1085
- <tr class="notranslate">
1086
- <td>What translation languages will display in the language box?<br/>("All Languages" option <strong><u>must</u></strong> be chosen to show flags.)</td>
1087
- <td><?php $this->googlelanguagetranslator_language_option_cb(); ?></td>
1088
- </tr>
1089
-
1090
- <tr class="notranslate languages">
1091
- <td colspan="2"><?php $this->language_display_settings_cb(); ?></td>
1092
- </tr>
1093
-
1094
- <tr class="notranslate">
1095
- <td class="choose_flags_intro">Show flag images?<br/>(Display up to 97 flags above the translator)</td>
1096
- <td class="choose_flags_intro"><?php $this->googlelanguagetranslator_flags_cb(); ?></td>
1097
- </tr>
1098
-
1099
- <tr class="notranslate choose_flags">
1100
- <td class="choose_flags">Choose the flags you want to display:</td>
1101
- <td></td>
1102
- </tr>
1103
-
1104
- <tr class="notranslate">
1105
- <td colspan="2" class="choose_flags"><?php $this->flag_display_settings_cb(); ?></td>
1106
- </tr>
1107
-
1108
- <tr class="notranslate">
1109
- <td>Show floating translation widget?<br/>
1110
- <span>("All Languages" option <strong><u>must</u></strong> be chosen to show widget.)</span>
1111
- </td>
1112
- <td><?php $this->googlelanguagetranslator_floating_widget_cb(); ?></td>
1113
- </tr>
1114
-
1115
- <tr class="notranslate">
1116
- <td>Show translate box?</td>
1117
- <td><?php $this->googlelanguagetranslator_translatebox_cb(); ?></td>
1118
- </tr>
1119
-
1120
- <tr class="notranslate">
1121
- <td>Layout option: <span style="color:red; font-weight:bold">NEW!</span> (Popup layout just added!)</td>
1122
- <td><?php $this->googlelanguagetranslator_display_cb(); ?></td>
1123
- </tr>
1124
-
1125
- <tr class="notranslate">
1126
- <td>Show Google Toolbar?</td>
1127
- <td><?php $this->googlelanguagetranslator_toolbar_cb(); ?></td>
1128
- </tr>
1129
-
1130
- <tr class="notranslate">
1131
- <td>Show Google Branding? &nbsp;<a href="https://developers.google.com/translate/v2/attribution" target="_blank">Learn more</a></td>
1132
- <td><?php $this->googlelanguagetranslator_showbranding_cb(); ?></td>
1133
- </tr>
1134
-
1135
- <tr class="alignment notranslate">
1136
- <td class="flagdisplay">Align the translator left or right?</td>
1137
- <td class="flagdisplay"><?php $this->googlelanguagetranslator_flags_alignment_cb(); ?></td>
1138
- </tr>
1139
-
1140
-
1141
-
1142
- <tr class="multilanguage notranslate">
1143
- <td>Multilanguage Page option? &nbsp;<a href="#TB_inline?width=200&height=150&inlineId=multilanguage-page-description" title="What is the Multi-Language Page Option?" class="thickbox">Learn more</a><div id="multilanguage-page-description" style="display:none"><p>If you activate this setting, Google will translate all text into a single language when requested by your user, even if text is written in multiple languages. In most cases, this setting is not recommended, although for certain websites it might be necessary.</p></div></td>
1144
- <td><?php $this->googlelanguagetranslator_multilanguage_cb(); ?></td>
1145
- </tr>
1146
-
1147
- <tr class="notranslate">
1148
- <td>Google Analytics:</td>
1149
- <td><?php $this->googlelanguagetranslator_analytics_cb(); ?></td>
1150
- </tr>
1151
-
1152
- <tr class="analytics notranslate">
1153
- <td>Google Analytics ID (Ex. 'UA-11117410-2')</td>
1154
- <td><?php $this->googlelanguagetranslator_analytics_id_cb(); ?></td>
1155
- </tr>
1156
-
1157
- <tr class="notranslate">
1158
- <td>Full widget usage in pages/posts/sidebar:</td>
1159
- <td><code>[google-translator]</code></td>
1160
- </tr>
1161
- </table>
1162
-
1163
- <table style="border-collapse:separate" width="100%" border="0" cellspacing="8" cellpadding="0" class="form-table">
1164
- <tr class="notranslate">
1165
- <td style="width:40%">Full widget usage in header/footer or page template:</td>
1166
- <td style="width:60%"><code>&lt;?php echo do_shortcode('[google-translator]'); ?&gt;</code></td>
1167
- </tr>
1168
-
1169
- <tr class="notranslate">
1170
- <td>Single language usage in<br/>nav menu/pages/posts</td>
1171
- <td><code>[glt language="Spanish" label="Espa&ntilde;ol"]</code></td>
1172
- </tr>
1173
-
1174
- <tr class="notranslate">
1175
- <td colspan="2">
1176
- <a href="#TB_inline?width=200&height=450&inlineId=single-language-shortcode-description" title="How to place a single language in your Wordpress menu" class="thickbox">How to place a single language in your Wordpress menu</a>
1177
- <div id="single-language-shortcode-description" style="display:none">
1178
- <p>For menu usage, you need to create a new menu, or use an existing menu, by navigating to "Appearance > Menus".</p>
1179
- <p>First you will need to enable "descriptions" for your menu items, which can be found in a tab labeled "Screen Options" in the upper-right area of the page.</p>
1180
- <p>Once descriptions are enabled, follow these steps:<br/>
1181
- <ol>
1182
- <li>Create a new menu item using "Link" as the menu item type.</li>
1183
- <li>Use <code style="border:none">#</code> for the URL</li>
1184
- <li>Enter a navigation label of your choice. This label does not appear on your website - it is meant only to help you identify the menu item.</li>
1185
- <li>Place the following shortcode into the "description" field, and modify it to display the language and navigation label of your choice:</li>
1186
- </ol>
1187
- <p><code>[glt language="Spanish" label="Espa&ntilde;ol"]</code></p>
1188
- </div>
1189
- </td>
1190
- </tr>
1191
-
1192
- <tr class="notranslate">
1193
- <td>
1194
- <?php
1195
- if (isset($_POST['submit'])) {
1196
- if (empty($_POST['submit']) && !check_admin_referer( 'glt-save-settings', 'glt-save-settings-nonce' )) {
1197
- wp_die();
1198
- } else { }
1199
- }
1200
- wp_nonce_field('glt-save-settings, glt-save-settings-nonce', false);
1201
- submit_button();
1202
- ?>
1203
- </td>
1204
- <td></td>
1205
- </tr>
1206
- </table>
1207
- </div> <!-- .postbox -->
1208
- </div> <!-- .metbox-holder -->
1209
-
1210
- <div class="metabox-holder" style="float:right; clear:right; width:33%">
1211
- <div class="postbox">
1212
- <h3 class="notranslate">Preview</h3>
1213
- <table style="width:100%">
1214
- <tr>
1215
- <td style="box-sizing:border-box; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; padding:15px 15px; margin:0px"><span class="notranslate"> Drag &amp; drop flags to change their position.<br/><br/>(Note: flag order resets when flags are added/removed)</span><br/><br/><?php echo do_shortcode('[google-translator]'); ?><p class="hello"><span class="notranslate">Translated text:</span> &nbsp; <span>Hello</span></p></td>
1216
- </tr>
1217
-
1218
- <tr>
1219
- <td></td>
1220
- </tr>
1221
-
1222
-
1223
- </table>
1224
- </div> <!-- .postbox -->
1225
- </div> <!-- .metabox-holder -->
1226
-
1227
- <div id="glt_advanced_settings" class="metabox-holder box-right notranslate" style="float: right; width: 33%; clear:right">
1228
- <div class="postbox">
1229
- <h3>Advanced Settings</h3>
1230
- <div class="inside">
1231
- <table style="border-collapse:separate" width="100%" border="0" cellspacing="8" cellpadding="0" class="form-table">
1232
- <tr class="notranslate">
1233
- <td class="advanced">Select flag size:</td>
1234
- <td class="advanced"><?php $this->googlelanguagetranslator_flag_size_cb(); ?></td>
1235
- </tr>
1236
-
1237
- <tr class="notranslate">
1238
- <td class="advanced">Flag for English:</td>
1239
- <td class="advanced"><?php $this->googlelanguagetranslator_english_flag_choice_cb(); ?></td>
1240
- </tr>
1241
-
1242
- <tr class="notranslate">
1243
- <td class="advanced">Flag for Spanish:</td>
1244
- <td class="advanced"><?php $this->googlelanguagetranslator_spanish_flag_choice_cb(); ?></td>
1245
- </tr>
1246
-
1247
- <tr class="notranslate">
1248
- <td class="advanced">Flag for Portuguese:</td>
1249
- <td class="advanced"><?php $this->googlelanguagetranslator_portuguese_flag_choice_cb(); ?></td>
1250
- </tr>
1251
- </table>
1252
- </div> <!-- .inside -->
1253
- </div> <!-- .postbox -->
1254
- </div> <!-- #glt_advanced_settings -->
1255
-
1256
-
1257
- <div class="metabox-holder box-right notranslate" style="float: right; width: 33%;">
1258
- <div class="postbox">
1259
- <h3>Add CSS Styles</h3>
1260
- <div class="inside">
1261
- <p>You can apply any necessary CSS styles below:</p>
1262
- <?php $this->googlelanguagetranslator_css_cb(); ?>
1263
- </div>
1264
- </div>
1265
- </div>
1266
- <?php $this->googlelanguagetranslator_flags_order_cb(); ?>
1267
- </form>
1268
-
1269
- <div class="metabox-holder box-right notranslate" style="float: right; width: 33%;">
1270
- <div class="postbox">
1271
- <h3>GLT Premium 5.0.24 is Here! $30</h3>
1272
- <div class="inside"><a class="wp-studio-logo" href="http://www.wp-studio.net/" target="_blank"><img style="background:#444; border-radius:3px; -webkit-border-radius:3px; -moz-border-radius:3px; width:177px;" src="<?php echo plugins_url( 'images/logo.png' , __FILE__ ); ?>"></a><br />
1273
- <ul id="features" style="margin-left:15px">
1274
- <li style="list-style:square outside"><span style="color:red; font-weight:bold">New!</span> Edit translations! (Pages/Posts ONLY)</li>
1275
- <li style="list-style:square outside">6 Floating Widget positions</li>
1276
- <li style="list-style:square outside">97 Languages with flags</li>
1277
- <li style="list-style:square outside">Exclude specific areas from translation</li>
1278
- <li style="list-style:square outside">jQuery-powered language switcher<br/>(No Adobe Flash required)</li>
1279
- <li style="list-style:square outside">Add single languages to your menus/pages/posts</li>
1280
- <li style="list-style:square outside">Show/hide images or text for each language</li>
1281
- <li style="list-style:square outside">Language switcher loads inline with page content</li>
1282
- <li style="list-style:square outside">Custom flag choices for English, Spanish and Portuguese</li>
1283
- <li style="list-style:square outside">User-friendly URLs, hide or show <code>lang</code> attribute</li>
1284
- <li style="list-style:square outside">Drag/drop flags to re-arrange their order</li>
1285
- <li style="list-style:square outside">Full access to our support forum</li>
1286
- <li style="list-style:square outside">FREE access to all future updates</li>
1287
- </ul>
1288
- </div>
1289
- </div>
1290
- </div>
1291
-
1292
- <div class="metabox-holder box-right notranslate" style="float: right; width: 33%;">
1293
- <div class="postbox">
1294
- <h3>Please Consider A Donation</h3>
1295
- <div class="inside">If you like this plugin and find it useful, help keep this plugin actively developed by clicking the donate button <br /><br />
1296
- <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
1297
- <input type="hidden" name="cmd" value="_donations">
1298
- <input type="hidden" name="business" value="robertmyrick@hotmail.com">
1299
- <input type="hidden" name="lc" value="US">
1300
- <input type="hidden" name="item_name" value="Support Studio 88 Design and help us bring you more Wordpress goodies! Any donation is kindly appreciated. Thank you!">
1301
- <input type="hidden" name="no_note" value="0">
1302
- <input type="hidden" name="currency_code" value="USD">
1303
- <input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHostedGuest">
1304
- <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
1305
- <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
1306
- </form>
1307
- <br />
1308
- <br />
1309
- </div>
1310
- </div>
1311
- </div>
1312
- </div> <!-- .wrap -->
1313
- <?php
1314
- }
1315
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1316
  $google_language_translator = new google_language_translator();
1
+ <?php
2
+ /*
3
+ Plugin Name: Google Language Translator
4
+ Plugin URI: http://www.studio88design.com/plugins/google-language-translator
5
+ Version: 5.0.21
6
+ Description: The MOST SIMPLE Google Translator plugin. This plugin adds Google Translator to your website by using a single shortcode, [google-translator]. Settings include: layout style, hide/show specific languages, hide/show Google toolbar, and hide/show Google branding. Add the shortcode to pages, posts, and widgets.
7
+ Author: Rob Myrick
8
+ Author URI: http://www.wp-studio.net/
9
+ */
10
+
11
+ //ini_set('display_errors', 1);
12
+ //ini_set('display_startup_errors', 1);
13
+ //error_reporting(E_ALL);
14
+
15
+ include( plugin_dir_path( __FILE__ ) . 'widget.php');
16
+
17
+ class google_language_translator {
18
+
19
+ public $languages_array = array (
20
+ 'af' => 'Afrikaans',
21
+ 'sq' => 'Albanian',
22
+ 'am' => 'Amharic',
23
+ 'ar' => 'Arabic',
24
+ 'hy' => 'Armenian',
25
+ 'az' => 'Azerbaijani',
26
+ 'eu' => 'Basque',
27
+ 'be' => 'Belarusian',
28
+ 'bn' => 'Bengali',
29
+ 'bs' => 'Bosnian',
30
+ 'bg' => 'Bulgarian',
31
+ 'ca' => 'Catalan',
32
+ 'ceb' => 'Cebuano',
33
+ 'ny' => 'Chichewa',
34
+ 'zh-CN' => 'Chinese',
35
+ 'zh-TW' => 'Chinese(Traditional)',
36
+ 'co' => 'Corsican',
37
+ 'hr' => 'Croatian',
38
+ 'cs' => 'Czech',
39
+ 'da' => 'Danish',
40
+ 'nl' => 'Dutch',
41
+ 'en' => 'English',
42
+ 'eo' => 'Esperanto',
43
+ 'et' => 'Estonian',
44
+ 'tl' => 'Filipino',
45
+ 'fi' => 'Finnish',
46
+ 'fr' => 'French',
47
+ 'fy' => 'Frisian',
48
+ 'gl' => 'Galician',
49
+ 'ka' => 'Georgian',
50
+ 'de' => 'German',
51
+ 'el' => 'Greek',
52
+ 'gu' => 'Gujarati',
53
+ 'ht' => 'Haitian',
54
+ 'ha' => 'Hausa',
55
+ 'haw' => 'Hawaiian',
56
+ 'iw' => 'Hebrew',
57
+ 'hi' => 'Hindi',
58
+ 'hmn' => 'Hmong',
59
+ 'hu' => 'Hungarian',
60
+ 'is' => 'Icelandic',
61
+ 'ig' => 'Igbo',
62
+ 'id' => 'Indonesian',
63
+ 'ga' => 'Irish',
64
+ 'it' => 'Italian',
65
+ 'ja' => 'Japanese',
66
+ 'jw' => 'Javanese',
67
+ 'kn' => 'Kannada',
68
+ 'kk' => 'Kazakh',
69
+ 'km' => 'Khmer',
70
+ 'ko' => 'Korean',
71
+ 'ku' => 'Kurdish',
72
+ 'ky' => 'Kyrgyz',
73
+ 'lo' => 'Lao',
74
+ 'la' => 'Latin',
75
+ 'lv' => 'Latvian',
76
+ 'lt' => 'Lithuanian',
77
+ 'lb' => 'Luxembourgish',
78
+ 'mk' => 'Macedonian',
79
+ 'mg' => 'Malagasy',
80
+ 'ms' => 'Malay',
81
+ 'ml' => 'Malayalam',
82
+ 'mt' => 'Maltese',
83
+ 'mi' => 'Maori',
84
+ 'mr' => 'Marathi',
85
+ 'mn' => 'Mongolian',
86
+ 'my' => 'Myanmar(Burmese)',
87
+ 'ne' => 'Nepali',
88
+ 'no' => 'Norwegian',
89
+ 'ps' => 'Pashto',
90
+ 'fa' => 'Persian',
91
+ 'pl' => 'Polish',
92
+ 'pt' => 'Portuguese',
93
+ 'pa' => 'Punjabi',
94
+ 'ro' => 'Romanian',
95
+ 'ru' => 'Russian',
96
+ 'sr' => 'Serbian',
97
+ 'sn' => 'Shona',
98
+ 'st' => 'Sesotho',
99
+ 'sd' => 'Sindhi',
100
+ 'si' => 'Sinhala',
101
+ 'sk' => 'Slovak',
102
+ 'sl' => 'Slovenian',
103
+ 'sm' => 'Samoan',
104
+ 'gd' => 'Scottish Gaelic',
105
+ 'so' => 'Somali',
106
+ 'es' => 'Spanish',
107
+ 'su' => 'Sundanese',
108
+ 'sw' => 'Swahili',
109
+ 'sv' => 'Swedish',
110
+ 'tg' => 'Tajik',
111
+ 'ta' => 'Tamil',
112
+ 'te' => 'Telugu',
113
+ 'th' => 'Thai',
114
+ 'tr' => 'Turkish',
115
+ 'uk' => 'Ukranian',
116
+ 'ur' => 'Urdu',
117
+ 'uz' => 'Uzbek',
118
+ 'vi' => 'Vietnamese',
119
+ 'cy' => 'Welsh',
120
+ 'xh' => 'Xhosa',
121
+ 'yi' => 'Yiddish',
122
+ 'yo' => 'Yoruba',
123
+ 'zu' => 'Zulu'
124
+ );
125
+
126
+ public function __construct() {
127
+ register_activation_hook( __FILE__, array( &$this, 'glt_activate' ));
128
+ register_uninstall_hook( __FILE__, 'glt_deactivate' );
129
+ add_action( 'admin_menu', array( &$this, 'add_my_admin_menus'));
130
+ add_action('admin_init',array(&$this, 'initialize_settings'));
131
+ add_action('wp_head',array(&$this, 'load_css'));
132
+ add_action('wp_footer',array(&$this, 'footer_script'));
133
+ add_shortcode( 'google-translator',array(&$this, 'google_translator_shortcode'));
134
+ add_shortcode( 'glt', array(&$this, 'google_translator_menu_language'));
135
+ add_filter('widget_text','do_shortcode');
136
+ add_filter('walker_nav_menu_start_el', array(&$this,'menu_shortcodes') , 10 , 2);
137
+ add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this, 'glt_settings_link') );
138
+
139
+ if (!is_admin()) {
140
+ add_action('init',array(&$this, 'flags'));
141
+ }
142
+ }
143
+
144
+ public function glt_activate() {
145
+ add_option('googlelanguagetranslator_active', 1);
146
+ add_option('googlelanguagetranslator_language','en');
147
+ add_option('googlelanguagetranslator_language_option','all');
148
+ add_option('googlelanguagetranslator_flags','show_flags');
149
+ add_option('language_display_settings',array ('en' => 1));
150
+ add_option('flag_display_settings',array ('flag-en' => 1));
151
+ add_option('googlelanguagetranslator_translatebox','yes');
152
+ add_option('googlelanguagetranslator_display','Vertical');
153
+ add_option('googlelanguagetranslator_toolbar','Yes');
154
+ add_option('googlelanguagetranslator_showbranding','Yes');
155
+ add_option('googlelanguagetranslator_flags_alignment','flags_left');
156
+ add_option('googlelanguagetranslator_analytics', 0);
157
+ add_option('googlelanguagetranslator_analytics_id','');
158
+ add_option('googlelanguagetranslator_css','');
159
+ add_option('googlelanguagetranslator_multilanguage',0);
160
+ add_option('googlelanguagetranslator_floating_widget','yes');
161
+ add_option('googlelanguagetranslator_flag_size','18');
162
+ add_option('googlelanguagetranslator_flags_order','');
163
+ add_option('googlelanguagetranslator_english_flag_choice','');
164
+ add_option('googlelanguagetranslator_spanish_flag_choice','');
165
+ add_option('googlelanguagetranslator_portuguese_flag_choice','');
166
+ delete_option('googlelanguagetranslator_manage_translations',0);
167
+ }
168
+
169
+ public function glt_deactivate() {
170
+ delete_option('googlelanguagetranslator_active', 1);
171
+ delete_option('googlelanguagetranslator_language','en');
172
+ delete_option('googlelanguagetranslator_language_option','all');
173
+ delete_option('googlelanguagetranslator_flags','show_flags');
174
+ delete_option('language_display_settings',array ('en' => 1));
175
+ delete_option('flag_display_settings',array ('flag-en' => 1));
176
+ delete_option('googlelanguagetranslator_translatebox','yes');
177
+ delete_option('googlelanguagetranslator_display','Vertical');
178
+ delete_option('googlelanguagetranslator_toolbar','Yes');
179
+ delete_option('googlelanguagetranslator_showbranding','Yes');
180
+ delete_option('googlelanguagetranslator_flags_alignment','flags_left');
181
+ delete_option('googlelanguagetranslator_analytics',1);
182
+ delete_option('googlelanguagetranslator_analytics_id','');
183
+ delete_option('googlelanguagetranslator_css','');
184
+ delete_option('googlelanguagetranslator_multilanguage',0);
185
+ delete_option('googlelanguagetranslator_floating_widget','yes');
186
+ delete_option('googlelanguagetranslator_flag_size','18');
187
+ delete_option('googlelanguagetranslator_flags_order','');
188
+ delete_option('googlelanguagetranslator_english_flag_choice','');
189
+ delete_option('googlelanguagetranslator_spanish_flag_choice','');
190
+ delete_option('googlelanguagetranslator_portuguese_flag_choice','');
191
+ }
192
+
193
+ public function glt_settings_link ( $links ) {
194
+ $settings_link = array(
195
+ '<a href="' . admin_url( 'options-general.php?page=google_language_translator' ) . '">Settings</a>',
196
+ );
197
+ return array_merge( $links, $settings_link );
198
+ }
199
+
200
+ public function add_my_admin_menus(){
201
+ $p = add_options_page('Google Language Translator', 'Google Language Translator', 'manage_options', 'google_language_translator', array(&$this, 'page_layout_cb'));
202
+
203
+ add_action( 'load-' . $p, array(&$this, 'load_admin_js' ));
204
+ }
205
+
206
+ public function load_admin_js(){
207
+ add_action( 'admin_enqueue_scripts', array(&$this, 'enqueue_admin_js' ));
208
+ add_action('admin_footer',array(&$this, 'footer_script'));
209
+ }
210
+
211
+ public function enqueue_admin_js(){
212
+ wp_enqueue_script( 'my-admin-script', plugins_url('js/admin.js',__FILE__), array('jquery'));
213
+ wp_enqueue_script( 'my-flag-script', plugins_url('js/flags.js',__FILE__), array('jquery'));
214
+
215
+ if (get_option ('googlelanguagetranslator_floating_widget') == 'yes') {
216
+ wp_enqueue_script( 'glt-toolbar', plugins_url('js/toolbar.js',__FILE__), array('jquery'));
217
+ wp_enqueue_script( 'glt-load-toolbar', plugins_url('js/load-toolbar.js',__FILE__), array('jquery'));
218
+ wp_register_style( 'glt-toolbar-styles', plugins_url('css/toolbar.css', __FILE__) );
219
+ wp_enqueue_style( 'glt-toolbar-styles' );
220
+ }
221
+
222
+ wp_enqueue_script( 'jquery-ui-core');
223
+ wp_enqueue_script( 'jquery-ui-sortable');
224
+ wp_enqueue_script( 'load_sortable_flags', plugins_url('js/load-sortable-flags.js',__FILE__), array('jquery'));
225
+ wp_register_style( 'jquery-ui.css', plugins_url('css/jquery-ui.css',__FILE__) );
226
+ wp_register_style( 'style.css', plugins_url('css/style.css', __FILE__) );
227
+ wp_enqueue_style( 'style.css' );
228
+ }
229
+
230
+ public function flags() {
231
+ wp_enqueue_script( 'glt-flags', plugins_url('js/flags.js',__FILE__), array('jquery'));
232
+
233
+ if (get_option ('googlelanguagetranslator_floating_widget') == 'yes') {
234
+ wp_enqueue_script( 'glt-toolbar', plugins_url('js/toolbar.js',__FILE__), array('jquery'));
235
+ wp_enqueue_script( 'glt-load-toolbar', plugins_url('js/load-toolbar.js',__FILE__), array('jquery'));
236
+ wp_register_style( 'glt-toolbar-styles', plugins_url('css/toolbar.css', __FILE__) );
237
+ wp_enqueue_style( 'glt-toolbar-styles' );
238
+ }
239
+
240
+ wp_register_style( 'google-language-translator', plugins_url('css/style.css', __FILE__) );
241
+ wp_enqueue_style( 'google-language-translator' );
242
+ }
243
+
244
+ public function load_css() {
245
+ include( plugin_dir_path( __FILE__ ) . '/css/style.php');
246
+ }
247
+
248
+ public function google_translator_shortcode() {
249
+
250
+ if (get_option('googlelanguagetranslator_display')=='Vertical' || get_option('googlelanguagetranslator_display')=='SIMPLE'){
251
+ return $this->googlelanguagetranslator_vertical();
252
+ }
253
+ elseif(get_option('googlelanguagetranslator_display')=='Horizontal'){
254
+ return $this->googlelanguagetranslator_horizontal();
255
+ }
256
+ }
257
+
258
+ public function googlelanguagetranslator_included_languages() {
259
+ if ( get_option('googlelanguagetranslator_language_option')=='specific') {
260
+ $get_language_choices = get_option ('language_display_settings');
261
+
262
+ foreach ($get_language_choices as $key=>$value) {
263
+ if($value == 1) {
264
+ $items[] = $key;
265
+ }
266
+ }
267
+
268
+ $comma_separated = implode(",",array_values($items));
269
+
270
+ if ( get_option('googlelanguagetranslator_display') == 'Vertical') {
271
+ $lang = ", includedLanguages:'".$comma_separated."'";
272
+ return $lang;
273
+ } elseif ( get_option('googlelanguagetranslator_display') == 'Horizontal') {
274
+ $lang = ", includedLanguages:'".$comma_separated."'";
275
+ return $lang;
276
+ }
277
+ }
278
+ }
279
+
280
+ public function analytics() {
281
+ if ( get_option('googlelanguagetranslator_analytics') == 1 ) {
282
+ $analytics_id = get_option('googlelanguagetranslator_analytics_id');
283
+ $analytics = "gaTrack: true, gaId: '".$analytics_id."'";
284
+
285
+ if (!empty ($analytics_id) ):
286
+ return ', '.$analytics;
287
+ endif;
288
+ }
289
+ }
290
+
291
+ public function menu_shortcodes( $item_output,$item ) {
292
+ if ( !empty($item->description)) {
293
+ $output = do_shortcode($item->description);
294
+
295
+ if ( $output != $item->description )
296
+ $item_output = $output;
297
+ }
298
+ return $item_output;
299
+ }
300
+
301
+ public function google_translator_menu_language($atts, $content = '') {
302
+ extract(shortcode_atts(array(
303
+ "language" => 'Spanish',
304
+ "label" => 'Spanish'
305
+ ), $atts));
306
+
307
+ $default_language = get_option('googlelanguagetranslator_language');
308
+ $english_flag_choice = get_option('googlelanguagetranslator_english_flag_choice');
309
+ $language_code = array_search($language,$this->languages_array);
310
+ $language_name = $language;
311
+ $language_name_flag = $language_name;
312
+
313
+ if ( $language_name == 'English' && $english_flag_choice == 'canadian_flag') {
314
+ $language_name_flag = 'canada';
315
+ }
316
+
317
+ return "<a class='nturl notranslate ".$language_code."' single-language flag' title='".$language."'>".$label."</a>";
318
+ }
319
+
320
+ public function footer_script() {
321
+ global $shortcode_started;
322
+ $default_language = get_option('googlelanguagetranslator_language');
323
+ $language_choices = $this->googlelanguagetranslator_included_languages();
324
+ $new_languages_array_string = get_option('googlelanguagetranslator_flags_order');
325
+ $new_languages_array = explode(",",$new_languages_array_string);
326
+ $new_languages_array_codes = array_values($new_languages_array);
327
+ $new_languages_array_count = count($new_languages_array);
328
+ $english_flag_choice = get_option('googlelanguagetranslator_english_flag_choice');
329
+ $spanish_flag_choice = get_option('googlelanguagetranslator_spanish_flag_choice');
330
+ $portuguese_flag_choice = get_option('googlelanguagetranslator_portuguese_flag_choice');
331
+ $get_language_option = get_option('googlelanguagetranslator_language_option');
332
+ $get_flag_choices = get_option ('flag_display_settings');
333
+ $get_flag_choices_count = count($get_flag_choices);
334
+ $floating_widget = get_option ('googlelanguagetranslator_floating_widget');
335
+ $is_active = get_option ( 'googlelanguagetranslator_active' );
336
+ $is_multilanguage = get_option('googlelanguagetranslator_multilanguage');
337
+ $str = ''; ?>
338
+ <script>jQuery(document).ready(function(a){a("a.nturl").on("click",function(){function l(){doGoogleLanguageTranslator(default_lang+"|"+default_lang)}function n(){doGoogleLanguageTranslator(default_lang+"|"+lang_prefix)}default_lang="<?php echo get_option('googlelanguagetranslator_language'); ?>",lang_prefix=a(this).attr("class").split(" ")[2],lang_prefix==default_lang?l():n()}),a("a.flag").on("click",function(){function l(){doGoogleLanguageTranslator(default_lang+"|"+default_lang)}function n(){doGoogleLanguageTranslator(default_lang+"|"+lang_prefix)}default_lang="<?php echo get_option('googlelanguagetranslator_language'); ?>",lang_prefix=a(this).attr("class").split(" ")[2],a(".tool-container").hide(),lang_prefix==default_lang?l():n()}),0==a("body > #google_language_translator").length&&a("#glt-footer").html("<div id='google_language_translator'></div>")});</script>
339
+
340
+ <?php
341
+
342
+ if( $is_active == 1) {
343
+
344
+ foreach ($get_flag_choices as $flag_choice_key) {}
345
+
346
+ if ($floating_widget=='yes' && $get_language_option != 'specific') {
347
+ $str.='<div id="glt-translate-trigger"><span class="notranslate">Translate &raquo;</span></div>';
348
+ $str.='<div id="glt-toolbar"></div>';
349
+ } //endif $floating_widget
350
+
351
+ if ($shortcode_started != 'true') {
352
+ $str.='<div id="flags" style="display:none">';
353
+ $str.='<ul id="sortable" class="ui-sortable">';
354
+
355
+ if ((empty($new_languages_array_string)) || ($new_languages_array_count != $get_flag_choices_count)) {
356
+ foreach ($this->languages_array as $key=>$value) {
357
+ $language_code = $key;
358
+ $language_name = $value;
359
+ $language_name_flag = $language_name;
360
+
361
+ if ($flag_choice_key == '1') {
362
+ if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
363
+ if ( $language_name == 'English' && $english_flag_choice == 'canadian_flag') {
364
+ $language_name_flag = 'canada';
365
+ }
366
+ if ( $language_name == "English" && $english_flag_choice == 'us_flag') {
367
+ $language_name_flag = 'united-states';
368
+ }
369
+ if ( $language_name == 'Spanish' && $spanish_flag_choice == 'mexican_flag') {
370
+ $language_name_flag = 'mexico';
371
+ }
372
+ if ( $language_name == 'Portuguese' && $portuguese_flag_choice == 'brazilian_flag') {
373
+ $language_name_flag = 'brazil';
374
+ }
375
+ if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
376
+ $str.="<li id='".$language_name."'><a title='".$language_name."' class='notranslate flag ".$language_code." ".$language_name_flag."'></a></li>";
377
+ }
378
+ } //isset
379
+ } //endif
380
+ } //endforeach
381
+
382
+ } else {
383
+ foreach ($new_languages_array_codes as $value) {
384
+ $language_name = $value;
385
+ $language_code = array_search ($language_name,$this->languages_array);
386
+ $language_name_flag = $language_name;
387
+
388
+ if ($flag_choice_key == '1') {
389
+ if (in_array($language_name,$this->languages_array)) {
390
+ if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
391
+ if ( $language_name == 'English' && $english_flag_choice == 'canadian_flag') {
392
+ $language_name_flag = 'canada';
393
+ }
394
+ if ( $language_name == "English" && $english_flag_choice == 'us_flag') {
395
+ $language_name_flag = 'united-states';
396
+ }
397
+ if ( $language_name == 'Spanish' && $spanish_flag_choice == 'mexican_flag') {
398
+ $language_name_flag = 'mexico';
399
+ }
400
+ if ( $language_name == 'Portuguese' && $portuguese_flag_choice == 'brazilian_flag') {
401
+ $language_name_flag = 'brazil';
402
+ }
403
+ if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
404
+ $str.="<li id='".$language_name."'><a title='".$language_name."' class='notranslate flag ".$language_code." ".$language_name_flag."'></a></li>";
405
+ }
406
+ } //isset
407
+ } //in_array
408
+ }//flag_choice_key
409
+ }//foreach
410
+ }//endif
411
+ $str.='</ul>';
412
+ $str.='</div>';
413
+ }
414
+ }
415
+
416
+ $language_choices = $this->googlelanguagetranslator_included_languages();
417
+ $layout = get_option('googlelanguagetranslator_display');
418
+ $is_multilanguage = get_option('googlelanguagetranslator_multilanguage');
419
+ $horizontal_layout = ', layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL';
420
+ $simple_layout = ', layout: google.translate.TranslateElement.InlineLayout.SIMPLE';
421
+ $auto_display = ', autoDisplay: false';
422
+ $default_language = get_option('googlelanguagetranslator_language');
423
+
424
+ if ($is_multilanguage == 1) {
425
+ $multilanguagePage = ', multilanguagePage:true';
426
+ $str.="<div id='glt-footer'></div><script type='text/javascript'>function GoogleLanguageTranslatorInit() { new google.translate.TranslateElement({pageLanguage: '".$default_language."'".$language_choices . ($layout=='Horizontal' ? $horizontal_layout : ($layout=='SIMPLE' ? $simple_layout : '')) . $auto_display . $multilanguagePage . $this->analytics()."}, 'google_language_translator');}</script>";
427
+ $str.="<script type='text/javascript' src='//translate.google.com/translate_a/element.js?cb=GoogleLanguageTranslatorInit'></script>";
428
+ echo $str;
429
+
430
+ } elseif ($is_multilanguage == 0) {
431
+ $str.="<div id='glt-footer'></div><script type='text/javascript'>function GoogleLanguageTranslatorInit() { new google.translate.TranslateElement({pageLanguage: '".$default_language."'".$language_choices . ($layout=='Horizontal' ? $horizontal_layout : ($layout=='SIMPLE' ? $simple_layout : '')) . $auto_display . $this->analytics()."}, 'google_language_translator');}</script>";
432
+ $str.="<script type='text/javascript' src='//translate.google.com/translate_a/element.js?cb=GoogleLanguageTranslatorInit'></script>";
433
+ echo $str;
434
+ }
435
+ }
436
+
437
+ public function googlelanguagetranslator_vertical() {
438
+
439
+ global $shortcode_started;
440
+
441
+ $shortcode_started = 'true';
442
+ $get_flag_choices = get_option ('flag_display_settings');
443
+ $new_languages_array_string = get_option('googlelanguagetranslator_flags_order');
444
+ $new_languages_array = explode(",",$new_languages_array_string);
445
+ $new_languages_array_codes = array_values($new_languages_array);
446
+ $new_languages_array_count = count($new_languages_array);
447
+ $get_flag_choices_count = count($get_flag_choices);
448
+ $get_language_choices = get_option ('language_display_settings');
449
+ $flag_width = get_option('googlelanguagetranslator_flag_size');
450
+ $default_language_code = get_option('googlelanguagetranslator_language');
451
+ $english_flag_choice = get_option('googlelanguagetranslator_english_flag_choice');
452
+ $spanish_flag_choice = get_option('googlelanguagetranslator_spanish_flag_choice');
453
+ $portuguese_flag_choice = get_option('googlelanguagetranslator_portuguese_flag_choice');
454
+ $is_active = get_option ( 'googlelanguagetranslator_active' );
455
+ $get_language_option = get_option('googlelanguagetranslator_language_option');
456
+ $language_choices = $this->googlelanguagetranslator_included_languages();
457
+ $floating_widget = get_option ('googlelanguagetranslator_floating_widget');
458
+ $str = '';
459
+
460
+ if( $is_active == 1){
461
+
462
+ foreach ($get_flag_choices as $flag_choice_key) {}
463
+
464
+ $str.='<div id="flags" class="size'.$flag_width.'">';
465
+ $str.='<ul id="sortable" class="ui-sortable" style="float:left">';
466
+
467
+ if ((empty($new_languages_array_string)) || ($new_languages_array_count != $get_flag_choices_count)) {
468
+ foreach ($this->languages_array as $key=>$value) {
469
+ $language_code = $key;
470
+ $language_name = $value;
471
+ $language_name_flag = $language_name;
472
+ if ($flag_choice_key == '1') {
473
+ if ( $language_name == 'English' && $english_flag_choice == 'canadian_flag') {
474
+ $language_name_flag = 'canada';
475
+ }
476
+ if ( $language_name == "English" && $english_flag_choice == 'us_flag') {
477
+ $language_name_flag = 'united-states';
478
+ }
479
+ if ( $language_name == 'Spanish' && $spanish_flag_choice == 'mexican_flag') {
480
+ $language_name_flag = 'mexico';
481
+ }
482
+ if ( $language_name == 'Portuguese' && $portuguese_flag_choice == 'brazilian_flag') {
483
+ $language_name_flag = 'brazil';
484
+ }
485
+ if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
486
+ $str.="<li id='".$language_name."'><a title='".$language_name."' class='notranslate flag ".$language_code." ".$language_name_flag."'></a></li>";
487
+ }
488
+ } //$key
489
+ }//foreach
490
+ } else {
491
+ foreach ($new_languages_array_codes as $value) {
492
+ $language_name = $value;
493
+ $language_code = array_search ($language_name,$this->languages_array);
494
+ $language_name_flag = $language_name;
495
+ if ($flag_choice_key == '1') {
496
+ if (in_array($language_name,$this->languages_array)) {
497
+ if ( $language_name == 'English' && $english_flag_choice == 'canadian_flag') {
498
+ $language_name_flag = 'canada';
499
+ }
500
+ if ( $language_name == "English" && $english_flag_choice == 'us_flag') {
501
+ $language_name_flag = 'united-states';
502
+ }
503
+ if ( $language_name == 'Spanish' && $spanish_flag_choice == 'mexican_flag') {
504
+ $language_name_flag = 'mexico';
505
+ }
506
+ if ( $language_name == 'Portuguese' && $portuguese_flag_choice == 'brazilian_flag') {
507
+ $language_name_flag = 'brazil';
508
+ }
509
+ if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
510
+ $str.="<li id='".$language_name."'><a title='".$language_name."' class='notranslate flag ".$language_code." ".$language_name_flag."'></a></li>";
511
+ } //isset
512
+ } //in_array
513
+ }//flag_choice_key
514
+ }//foreach
515
+ }//endif
516
+ $str.='</ul>';
517
+ $str.='</div>';
518
+ $str.='<div id="google_language_translator"></div>';
519
+ return $str;
520
+ } //End is_active
521
+ } // End glt_vertical
522
+
523
+ public function googlelanguagetranslator_horizontal(){
524
+ $shortcode_started = true;
525
+ $get_flag_choices = get_option ('flag_display_settings');
526
+ $new_languages_array_string = get_option('googlelanguagetranslator_flags_order');
527
+ $new_languages_array = explode(",",$new_languages_array_string);
528
+ $new_languages_array_codes = array_values($new_languages_array);
529
+ $new_languages_array_count = count($new_languages_array);
530
+ $get_flag_choices_count = count($get_flag_choices);
531
+ $get_language_choices = get_option ('language_display_settings');
532
+ $flag_width = get_option('googlelanguagetranslator_flag_size');
533
+ $default_language_code = get_option('googlelanguagetranslator_language');
534
+ $english_flag_choice = get_option('googlelanguagetranslator_english_flag_choice');
535
+ $spanish_flag_choice = get_option('googlelanguagetranslator_spanish_flag_choice');
536
+ $portuguese_flag_choice = get_option('googlelanguagetranslator_portuguese_flag_choice');
537
+ $is_active = get_option ( 'googlelanguagetranslator_active' );
538
+ $get_language_option = get_option('googlelanguagetranslator_language_option');
539
+ $language_choices = $this->googlelanguagetranslator_included_languages();
540
+ $floating_widget = get_option ('googlelanguagetranslator_floating_widget');
541
+ $str = '';
542
+
543
+ if( $is_active == 1) {
544
+ foreach ($get_flag_choices as $flag_choice_key) {}
545
+ $str.='<div id="flags" class="size'.$flag_width.'">';
546
+ $str.='<ul id="sortable" class="ui-sortable" style="float:left">';
547
+
548
+ if ((empty($new_languages_array_string)) || ($new_languages_array_count != $get_flag_choices_count)) {
549
+ foreach ($this->languages_array as $key=>$value) {
550
+ $language_code = $key;
551
+ $language_name = $value;
552
+ $language_name_flag = $language_name;
553
+
554
+ if ($flag_choice_key == '1') {
555
+ if ( $language_name == 'English' && $english_flag_choice == 'canadian_flag') {
556
+ $language_name_flag = 'canada';
557
+ }
558
+ if ( $language_name == "English" && $english_flag_choice == 'us_flag') {
559
+ $language_name_flag = 'united-states';
560
+ }
561
+ if ( $language_name == 'Spanish' && $spanish_flag_choice == 'mexican_flag') {
562
+ $language_name_flag = 'mexico';
563
+ }
564
+ if ( $language_name == 'Portuguese' && $portuguese_flag_choice == 'brazilian_flag') {
565
+ $language_name_flag = 'brazil';
566
+ }
567
+ if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
568
+ $str.="<li id='".$language_name."'><a title='".$language_name."' class='notranslate flag ".$language_code." ".$language_name_flag."'></a></li>";
569
+ } //endif
570
+ } //$key
571
+ } //foreach
572
+ } else {
573
+ foreach ($new_languages_array_codes as $value) {
574
+ $language_name = $value;
575
+ $language_code = array_search ($language_name,$this->languages_array);
576
+ $language_name_flag = $language_name;
577
+ if ($flag_choice_key == '1') {
578
+ if (in_array($language_name,$this->languages_array)) {
579
+ if ( $language_name == 'English' && $english_flag_choice == 'canadian_flag') {
580
+ $language_name_flag = 'canada';
581
+ }
582
+ if ( $language_name == "English" && $english_flag_choice == 'us_flag') {
583
+ $language_name_flag = 'united-states';
584
+ }
585
+ if ( $language_name == 'Spanish' && $spanish_flag_choice == 'mexican_flag') {
586
+ $language_name_flag = 'mexico';
587
+ }
588
+ if ( $language_name == 'Portuguese' && $portuguese_flag_choice == 'brazilian_flag') {
589
+ $language_name_flag = 'brazil';
590
+ }
591
+ if ( isset ( $get_flag_choices['flag-'.$language_code.''] ) ) {
592
+ $str.="<li id='".$language_name."'><a title='".$language_name."' class='notranslate flag ".$language_code." ".$language_name_flag."'></a></li>";
593
+ } //isset
594
+ } //in_array
595
+ } //endif
596
+ }//foreach
597
+ }//endif
598
+ $str.='</ul>';
599
+ $str.='</div>';
600
+ $str.='<div id="google_language_translator"></div>';
601
+ return $str;
602
+ }
603
+ } // End glt_horizontal
604
+
605
+ public function initialize_settings() {
606
+ add_settings_section('glt_settings','Settings','','google_language_translator');
607
+
608
+ $settings_name_array = array (
609
+ 'googlelanguagetranslator_active','googlelanguagetranslator_language','googlelanguagetranslator_language_option','language_display_settings','googlelanguagetranslator_flags','flag_display_settings','googlelanguagetranslator_translatebox','googlelanguagetranslator_display','googlelanguagetranslator_toolbar','googlelanguagetranslator_showbranding','googlelanguagetranslator_flags_alignment','googlelanguagetranslator_analytics','googlelanguagetranslator_analytics_id','googlelanguagetranslator_css','googlelanguagetranslator_multilanguage','googlelanguagetranslator_floating_widget','googlelanguagetranslator_flag_size','googlelanguagetranslator_flags_order','googlelanguagetranslator_english_flag_choice','googlelanguagetranslator_spanish_flag_choice','googlelanguagetranslator_portuguese_flag_choice'
610
+ );
611
+
612
+ $settings_callback_array = array ( 'googlelanguagetranslator_active_cb','googlelanguagetranslator_language_cb','googlelanguagetranslator_language_option_cb','language_display_settings_cb','googlelanguagetranslator_flags_cb','flag_display_settings_cb','googlelanguagetranslator_translatebox_cb','googlelanguagetranslator_display_cb','googlelanguagetranslator_toolbar_cb','googlelanguagetranslator_showbranding_cb','googlelanguagetranslator_flags_alignment_cb','googlelanguagetranslator_analytics_cb','googlelanguagetranslator_analytics_id_cb','googlelanguagetranslator_css_cb','googlelanguagetranslator_multilanguage_cb','googlelanguagetranslator_floating_widget_cb','googlelanguagetranslator_flag_size_cb','googlelanguagetranslator_flags_order_cb','googlelanguagetranslator_english_flag_choice_cb','googlelanguagetranslator_spanish_flag_choice_cb','googlelanguagetranslator_portuguese_flag_choice_cb'
613
+ );
614
+
615
+ foreach ($settings_name_array as $setting) {
616
+ add_settings_field( $setting,'',$setting.'_cb','google_language_translator','glt_settings');
617
+ register_setting( 'google_language_translator',$setting);
618
+ }
619
+ }
620
+
621
+ public function googlelanguagetranslator_active_cb() {
622
+ $option_name = 'googlelanguagetranslator_active' ;
623
+ $new_value = 1;
624
+ if ( get_option( $option_name ) === false ) {
625
+
626
+ // The option does not exist, so we update it.
627
+ update_option( $option_name, $new_value );
628
+ }
629
+
630
+ $options = get_option (''.$option_name.'');
631
+
632
+ $html = '<input type="checkbox" name="googlelanguagetranslator_active" id="googlelanguagetranslator_active" value="1" '.checked(1,$options,false).'/> &nbsp; Check this box to activate';
633
+ echo $html;
634
+ }
635
+
636
+ public function googlelanguagetranslator_language_cb() {
637
+
638
+ $option_name = 'googlelanguagetranslator_language';
639
+ $new_value = 'en';
640
+
641
+ if ( get_option( $option_name ) === false ) {
642
+
643
+ // The option does not exist, so we update it.
644
+ update_option( $option_name, $new_value );
645
+ }
646
+
647
+ $options = get_option (''.$option_name.''); ?>
648
+
649
+ <select name="googlelanguagetranslator_language" id="googlelanguagetranslator_language">
650
+
651
+ <?php
652
+
653
+ foreach ($this->languages_array as $key => $value) {
654
+ $language_code = $key;
655
+ $language_name = $value; ?>
656
+ <option value="<?php echo $language_code; ?>" <?php if($options==''.$language_code.''){echo "selected";}?>><?php echo $language_name; ?></option>
657
+ <?php } ?>
658
+ </select>
659
+ <?php
660
+ }
661
+
662
+ public function googlelanguagetranslator_language_option_cb() {
663
+
664
+ $option_name = 'googlelanguagetranslator_language_option' ;
665
+ $new_value = 'all';
666
+
667
+ if ( get_option( $option_name ) === false ) {
668
+
669
+ // The option does not exist, so we update it.
670
+ update_option( $option_name, $new_value );
671
+ }
672
+
673
+ $options = get_option (''.$option_name.''); ?>
674
+
675
+ <input type="radio" name="googlelanguagetranslator_language_option" id="googlelanguagetranslator_language_option" value="all" <?php if($options=='all'){echo "checked";}?>/> All Languages<br/>
676
+ <input type="radio" name="googlelanguagetranslator_language_option" id="googlelanguagetranslator_language_option" value="specific" <?php if($options=='specific'){echo "checked";}?>/> Specific Languages
677
+ <?php
678
+ }
679
+
680
+ public function language_display_settings_cb() {
681
+ $default_language_code = get_option('googlelanguagetranslator_language');
682
+ $option_name = 'language_display_settings';
683
+ $new_value = array(''.$default_language_code.'' => 1);
684
+
685
+ if ( get_option( $option_name ) == false ) {
686
+ // The option does not exist, so we update it.
687
+ update_option( $option_name, $new_value );
688
+ }
689
+
690
+ $get_language_choices = get_option (''.$option_name.'');
691
+
692
+ foreach ($this->languages_array as $key => $value) {
693
+ $language_code = $key;
694
+ $language_name = $value;
695
+ $language_code_array[] = $key;
696
+
697
+ if (!isset($get_language_choices[''.$language_code.''])) {
698
+ $get_language_choices[''.$language_code.''] = 0;
699
+ }
700
+
701
+ $items[] = $get_language_choices[''.$language_code.''];
702
+ $language_codes = $language_code_array;
703
+ $item_count = count($items);
704
+
705
+ if ($item_count == 1 || $item_count == 27 || $item_count == 53 || $item_count == 79) { ?>
706
+ <div class="languages" style="width:25%; float:left">
707
+ <?php } ?>
708
+ <div><input type="checkbox" name="language_display_settings[<?php echo $language_code; ?>]" value="1"<?php checked( 1,$get_language_choices[''.$language_code.'']); ?>/><?php echo $language_name; ?></div>
709
+ <?php
710
+ if ($item_count == 26 || $item_count == 52 || $item_count == 78 || $item_count == 104) { ?>
711
+ </div>
712
+ <?php }
713
+ } ?>
714
+ <div class="clear"></div>
715
+ <?php
716
+ }
717
+
718
+ public function googlelanguagetranslator_flags_cb() {
719
+
720
+ $option_name = 'googlelanguagetranslator_flags' ;
721
+ $new_value = 'show_flags';
722
+
723
+ if ( get_option( $option_name ) === false ) {
724
+
725
+ // The option does not exist, so we update it.
726
+ update_option( $option_name, $new_value );
727
+ }
728
+
729
+ $options = get_option (''.$option_name.''); ?>
730
+
731
+ <input type="radio" name="googlelanguagetranslator_flags" id="googlelanguagetranslator_flags" value="show_flags" <?php if($options=='show_flags'){echo "checked";}?>/> Yes, show flag images<br/>
732
+ <input type="radio" name="googlelanguagetranslator_flags" id="googlelanguagetranslator_flags" value="hide_flags" <?php if($options=='hide_flags'){echo "checked";}?>/> No, hide flag images
733
+ <?php
734
+ }
735
+
736
+ public function flag_display_settings_cb() {
737
+ $default_language_code = get_option('googlelanguagetranslator_language');
738
+ $option_name = 'flag_display_settings';
739
+ $new_value = array('flag-'.$default_language_code.'' => 1);
740
+
741
+ if ( get_option( $option_name ) == false ) {
742
+ // The option does not exist, so we update it.
743
+ update_option( $option_name, $new_value );
744
+ }
745
+
746
+ $get_flag_choices = get_option (''.$option_name.'');
747
+
748
+ foreach ($this->languages_array as $key => $value) {
749
+ $language_code = $key;
750
+ $language_name = $value;
751
+ $language_code_array[] = $key;
752
+
753
+ if (!isset($get_flag_choices['flag-'.$language_code.''])) {
754
+ $get_flag_choices['flag-'.$language_code.''] = 0;
755
+ }
756
+
757
+ $items[] = $get_flag_choices['flag-'.$language_code.''];
758
+ $language_codes = $language_code_array;
759
+ $item_count = count($items);
760
+
761
+ if ($item_count == 1 || $item_count == 27 || $item_count == 53 || $item_count == 79) { ?>
762
+ <div class="flagdisplay" style="width:25%; float:left">
763
+ <?php } ?>
764
+ <div><input type="checkbox" name="flag_display_settings[flag-<?php echo $language_code; ?>]" value="1"<?php checked( 1,$get_flag_choices['flag-'.$language_code.'']); ?>/><?php echo $language_name; ?></div>
765
+ <?php
766
+ if ($item_count == 26 || $item_count == 52 || $item_count == 78 || $item_count == 104) { ?>
767
+ </div>
768
+ <?php }
769
+ } ?>
770
+ <div class="clear"></div>
771
+ <?php
772
+ }
773
+
774
+ public function googlelanguagetranslator_floating_widget_cb() {
775
+
776
+ $option_name = 'googlelanguagetranslator_floating_widget' ;
777
+ $new_value = 'yes';
778
+
779
+ if ( get_option( $option_name ) === false ) {
780
+
781
+ // The option does not exist, so we update it.
782
+ update_option( $option_name, $new_value );
783
+ }
784
+
785
+ $options = get_option (''.$option_name.''); ?>
786
+
787
+ <select name="googlelanguagetranslator_floating_widget" id="googlelanguagetranslator_floating_widget" style="width:170px">
788
+ <option value="yes" <?php if($options=='yes'){echo "selected";}?>>Yes, show widget</option>
789
+ <option value="no" <?php if($options=='no'){echo "selected";}?>>No, hide widget</option>
790
+ </select>
791
+ <?php }
792
+
793
+ public function googlelanguagetranslator_translatebox_cb() {
794
+
795
+ $option_name = 'googlelanguagetranslator_translatebox' ;
796
+ $new_value = 'yes';
797
+
798
+ if ( get_option( $option_name ) === false ) {
799
+
800
+ // The option does not exist, so we update it.
801
+ update_option( $option_name, $new_value );
802
+ }
803
+
804
+ $options = get_option (''.$option_name.''); ?>
805
+
806
+ <select name="googlelanguagetranslator_translatebox" id="googlelanguagetranslator_translatebox" style="width:190px">
807
+ <option value="yes" <?php if($options=='yes'){echo "selected";}?>>Yes, show language box</option>
808
+ <option value="no" <?php if($options=='no'){echo "selected";}?>>No, hide language box</option>
809
+ </select>
810
+ <?php }
811
+
812
+ public function googlelanguagetranslator_display_cb() {
813
+
814
+ $option_name = 'googlelanguagetranslator_display' ;
815
+ $new_value = 'Vertical';
816
+
817
+ if ( get_option( $option_name ) === false ) {
818
+
819
+ // The option does not exist, so we update it.
820
+ update_option( $option_name, $new_value );
821
+ }
822
+
823
+ $options = get_option (''.$option_name.''); ?>
824
+
825
+ <select name="googlelanguagetranslator_display" id="googlelanguagetranslator_display" style="width:170px;">
826
+ <option value="Vertical" <?php if(get_option('googlelanguagetranslator_display')=='Vertical'){echo "selected";}?>>Vertical</option>
827
+ <option value="Horizontal" <?php if(get_option('googlelanguagetranslator_display')=='Horizontal'){echo "selected";}?>>Horizontal</option>
828
+ <option value="SIMPLE" <?php if (get_option('googlelanguagetranslator_display')=='SIMPLE'){echo "selected";}?>>Popup Style</option>
829
+ </select>
830
+ <?php }
831
+
832
+ public function googlelanguagetranslator_toolbar_cb() {
833
+
834
+ $option_name = 'googlelanguagetranslator_toolbar' ;
835
+ $new_value = 'Yes';
836
+
837
+ if ( get_option( $option_name ) === false ) {
838
+
839
+ // The option does not exist, so we update it.
840
+ update_option( $option_name, $new_value );
841
+ }
842
+
843
+ $options = get_option (''.$option_name.''); ?>
844
+
845
+ <select name="googlelanguagetranslator_toolbar" id="googlelanguagetranslator_toolbar" style="width:170px;">
846
+ <option value="Yes" <?php if(get_option('googlelanguagetranslator_toolbar')=='Yes'){echo "selected";}?>>Yes</option>
847
+ <option value="No" <?php if(get_option('googlelanguagetranslator_toolbar')=='No'){echo "selected";}?>>No</option>
848
+ </select>
849
+ <?php }
850
+
851
+ public function googlelanguagetranslator_showbranding_cb() {
852
+
853
+ $option_name = 'googlelanguagetranslator_showbranding' ;
854
+ $new_value = 'Yes';
855
+
856
+ if ( get_option( $option_name ) === false ) {
857
+
858
+ // The option does not exist, so we update it.
859
+ update_option( $option_name, $new_value );
860
+ }
861
+
862
+ $options = get_option (''.$option_name.''); ?>
863
+
864
+ <select name="googlelanguagetranslator_showbranding" id="googlelanguagetranslator_showbranding" style="width:170px;">
865
+ <option value="Yes" <?php if(get_option('googlelanguagetranslator_showbranding')=='Yes'){echo "selected";}?>>Yes</option>
866
+ <option value="No" <?php if(get_option('googlelanguagetranslator_showbranding')=='No'){echo "selected";}?>>No</option>
867
+ </select>
868
+ <?php }
869
+
870
+ public function googlelanguagetranslator_flags_alignment_cb() {
871
+
872
+ $option_name = 'googlelanguagetranslator_flags_alignment' ;
873
+ $new_value = 'flags_left';
874
+
875
+ if ( get_option( $option_name ) === false ) {
876
+
877
+ // The option does not exist, so we update it.
878
+ update_option( $option_name, 'flags_left' );
879
+ }
880
+
881
+ $options = get_option (''.$option_name.''); ?>
882
+
883
+ <input type="radio" name="googlelanguagetranslator_flags_alignment" id="flags_left" value="flags_left" <?php if($options=='flags_left'){echo "checked";}?>/> Align Left<br/>
884
+ <input type="radio" name="googlelanguagetranslator_flags_alignment" id="flags_right" value="flags_right" <?php if($options=='flags_right'){echo "checked";}?>/> Align Right
885
+ <?php }
886
+
887
+ public function googlelanguagetranslator_analytics_cb() {
888
+
889
+ $option_name = 'googlelanguagetranslator_analytics' ;
890
+ $new_value = 0;
891
+
892
+ if ( get_option( $option_name ) === false ) {
893
+
894
+ // The option does not exist, so we update it.
895
+ update_option( $option_name, $new_value );
896
+ }
897
+
898
+ $options = get_option (''.$option_name.'');
899
+
900
+ $html = '<input type="checkbox" name="googlelanguagetranslator_analytics" id="googlelanguagetranslator_analytics" value="1" '.checked(1,$options,false).'/> &nbsp; Activate Google Analytics tracking?';
901
+ echo $html;
902
+ }
903
+
904
+ public function googlelanguagetranslator_analytics_id_cb() {
905
+
906
+ $option_name = 'googlelanguagetranslator_analytics_id' ;
907
+ $new_value = '';
908
+
909
+ if ( get_option( $option_name ) === false ) {
910
+
911
+ // The option does not exist, so we update it.
912
+ update_option( $option_name, $new_value );
913
+ }
914
+
915
+ $options = get_option (''.$option_name.'');
916
+
917
+ $html = '<input type="text" name="googlelanguagetranslator_analytics_id" id="googlelanguagetranslator_analytics_id" value="'.$options.'" />';
918
+ echo $html;
919
+ }
920
+
921
+ public function googlelanguagetranslator_flag_size_cb() {
922
+
923
+ $option_name = 'googlelanguagetranslator_flag_size' ;
924
+ $new_value = '18';
925
+
926
+ if ( get_option( $option_name ) === false ) {
927
+
928
+ // The option does not exist, so we update it.
929
+ update_option( $option_name, $new_value );
930
+ }
931
+
932
+ $options = get_option (''.$option_name.''); ?>
933
+
934
+ <select name="googlelanguagetranslator_flag_size" id="googlelanguagetranslator_flag_size" style="width:110px;">
935
+ <option value="16" <?php if($options=='16'){echo "selected";}?>>16px</option>
936
+ <option value="18" <?php if($options=='18'){echo "selected";}?>>18px</option>
937
+ <option value="20" <?php if($options=='20'){echo "selected";}?>>20px</option>
938
+ <option value="22" <?php if($options=='22'){echo "selected";}?>>22px</option>
939
+ <option value="24" <?php if($options=='24'){echo "selected";}?>>24px</option>
940
+ </select>
941
+ <?php }
942
+
943
+ public function googlelanguagetranslator_flags_order_cb() {
944
+ $option_name = 'googlelanguagetranslator_flags_order';
945
+ $new_value = '';
946
+
947
+ if ( get_option ( $option_name ) === false ) {
948
+
949
+ // The option does not exist, so we update it.
950
+ update_option( $option_name, $new_value );
951
+ }
952
+
953
+ $options = get_option ( ''.$option_name.'' ); ?>
954
+
955
+ <input type="hidden" id="order" name="googlelanguagetranslator_flags_order" value="<?php print_r(get_option('googlelanguagetranslator_flags_order')); ?>" />
956
+ <?php
957
+ }
958
+
959
+ public function googlelanguagetranslator_english_flag_choice_cb() {
960
+ $option_name = 'googlelanguagetranslator_english_flag_choice';
961
+ $new_value = 'us_flag';
962
+
963
+ if ( get_option ( $option_name ) === false ) {
964
+
965
+ // The option does not exist, so we update it.
966
+ update_option( $option_name, $new_value );
967
+ }
968
+
969
+ $options = get_option ( ''.$option_name.'' ); ?>
970
+
971
+ <select name="googlelanguagetranslator_english_flag_choice" id="googlelanguagetranslator_english_flag_choice">
972
+ <option value="us_flag" <?php if($options=='us_flag'){echo "selected";}?>>U.S. Flag</option>
973
+ <option value="uk_flag" <?php if ($options=='uk_flag'){echo "selected";}?>>U.K Flag</option>
974
+ <option value="canadian_flag" <?php if ($options=='canadian_flag'){echo "selected";}?>>Canadian Flag</option>
975
+ </select>
976
+ <?php
977
+ }
978
+
979
+ public function googlelanguagetranslator_spanish_flag_choice_cb() {
980
+ $option_name = 'googlelanguagetranslator_spanish_flag_choice';
981
+ $new_value = 'spanish_flag';
982
+
983
+ if ( get_option ( $option_name ) === false ) {
984
+
985
+ // The option does not exist, so we update it.
986
+ update_option( $option_name, $new_value );
987
+ }
988
+
989
+ $options = get_option ( ''.$option_name.'' ); ?>
990
+
991
+ <select name="googlelanguagetranslator_spanish_flag_choice" id="googlelanguagetranslator_spanish_flag_choice">
992
+ <option value="spanish_flag" <?php if($options=='spanish_flag'){echo "selected";}?>>Spanish Flag</option>
993
+ <option value="mexican_flag" <?php if ($options=='mexican_flag'){echo "selected";}?>>Mexican Flag</option>
994
+ </select>
995
+ <?php
996
+ }
997
+
998
+ public function googlelanguagetranslator_portuguese_flag_choice_cb() {
999
+ $option_name = 'googlelanguagetranslator_portuguese_flag_choice';
1000
+ $new_value = 'portuguese_flag';
1001
+
1002
+ if ( get_option ( $option_name ) === false ) {
1003
+
1004
+ // The option does not exist, so we update it.
1005
+ update_option( $option_name, $new_value );
1006
+ }
1007
+
1008
+ $options = get_option ( ''.$option_name.'' ); ?>
1009
+
1010
+ <select name="googlelanguagetranslator_portuguese_flag_choice" id="googlelanguagetranslator_spanish_flag_choice">
1011
+ <option value="portuguese_flag" <?php if($options=='portuguese_flag'){echo "selected";}?>>Portuguese Flag</option>
1012
+ <option value="brazilian_flag" <?php if ($options=='brazilian_flag'){echo "selected";}?>>Brazilian Flag</option>
1013
+ </select>
1014
+ <?php
1015
+ }
1016
+
1017
+ public function googlelanguagetranslator_css_cb() {
1018
+
1019
+ $option_name = 'googlelanguagetranslator_css' ;
1020
+ $new_value = '';
1021
+
1022
+ if ( get_option( $option_name ) === false ) {
1023
+
1024
+ // The option does not exist, so we update it.
1025
+ update_option( $option_name, $new_value );
1026
+ }
1027
+
1028
+ $options = get_option (''.$option_name.'');
1029
+
1030
+ $html = '<textarea style="width:100%; height:200px" name="googlelanguagetranslator_css" id="googlelanguagetranslator_css">'.$options.'</textarea>';
1031
+ echo $html;
1032
+ }
1033
+
1034
+ public function googlelanguagetranslator_multilanguage_cb() {
1035
+
1036
+ $option_name = 'googlelanguagetranslator_multilanguage' ;
1037
+ $new_value = 0;
1038
+
1039
+ if ( get_option( $option_name ) === false ) {
1040
+
1041
+ // The option does not exist, so we update it.
1042
+ update_option( $option_name, $new_value );
1043
+ }
1044
+
1045
+ $options = get_option (''.$option_name.'');
1046
+
1047
+ $html = '<input type="checkbox" name="googlelanguagetranslator_multilanguage" id="googlelanguagetranslator_multilanguage" value="1" '.checked(1,$options,false).'/> &nbsp; Turn on multilanguage mode?';
1048
+ echo $html;
1049
+ }
1050
+
1051
+ public function googlelanguagetranslator_exclude_translation_cb() {
1052
+
1053
+ $option_name = 'googlelanguagetranslator_exclude_translation';
1054
+ $new_value = '';
1055
+
1056
+ if (get_option($option_name) === false ) {
1057
+ // The option does not exist, so we update it.
1058
+ update_option( $option_name, $new_value );
1059
+ }
1060
+
1061
+ $options = get_option (''.$option_name.'');
1062
+
1063
+ $html = '<input type="text" name="'.$option_name.'" id="'.$option_name.'" value="'.$options.'" />';
1064
+
1065
+ echo $html;
1066
+ }
1067
+
1068
+ public function page_layout_cb() {
1069
+ include( plugin_dir_path( __FILE__ ) . '/css/style.php'); ?>
1070
+ <?php add_thickbox(); ?>
1071
+ <div class="wrap">
1072
+ <div id="icon-options-general" class="icon32"></div>
1073
+ <h2><span class="notranslate">Google Language Translator</span></h2>
1074
+ <form action="<?php echo admin_url( '/options.php'); ?>" method="post">
1075
+ <div class="metabox-holder has-right-sidebar" style="float:left; width:65%">
1076
+ <div class="postbox" style="width: 100%">
1077
+ <h3 class="notranslate">Settings</h3>
1078
+
1079
+ <?php settings_fields('google_language_translator'); ?>
1080
+ <table style="border-collapse:separate" width="100%" border="0" cellspacing="8" cellpadding="0" class="form-table">
1081
+ <tr>
1082
+ <td style="width:60%" class="notranslate">Plugin Status:</td>
1083
+ <td class="notranslate"><?php $this->googlelanguagetranslator_active_cb(); ?></td>
1084
+ </tr>
1085
+
1086
+ <tr class="notranslate">
1087
+ <td>Choose the original language of your website</td>
1088
+ <td><?php $this->googlelanguagetranslator_language_cb(); ?></td>
1089
+ </tr>
1090
+
1091
+ <tr class="notranslate">
1092
+ <td>What translation languages will display in the language box?<br/>("All Languages" option <strong><u>must</u></strong> be chosen to show flags.)</td>
1093
+ <td><?php $this->googlelanguagetranslator_language_option_cb(); ?></td>
1094
+ </tr>
1095
+
1096
+ <tr class="notranslate languages choose_languages">
1097
+ <td colspan="2">
1098
+ <script>jQuery(document).ready(function($) { $('.select-all-languages').on('click',function(e) { e.preventDefault(); $('.choose_languages').find('input:checkbox').prop('checked', true); }); $('.clear-all-languages').on('click',function(e) { e.preventDefault(); $('.choose_languages').find('input:checkbox').prop('checked', false); }); });</script>
1099
+ <div class="glt-controls choose_languages notranslate">
1100
+ <a class="select-all-languages" href="#">Select All</a> <a class="clear-all-languages" href="#">Clear All</a>
1101
+ </div><?php $this->language_display_settings_cb(); ?>
1102
+ </td>
1103
+ </tr>
1104
+
1105
+ <tr class="notranslate">
1106
+ <td class="choose_flags_intro">Show flag images?<br/>(Display up to 104 flags above the translator)</td>
1107
+ <td class="choose_flags_intro"><?php $this->googlelanguagetranslator_flags_cb(); ?></td>
1108
+ </tr>
1109
+
1110
+ <tr class="notranslate choose_flags">
1111
+ <td colspan="2" class="choose_flags">Choose the flags you want to display:</td>
1112
+ </tr>
1113
+
1114
+ <tr class="notranslate">
1115
+ <td colspan="2" class="choose_flags">
1116
+ <script>jQuery(document).ready(function($) { $('.select-all-flags').on('click',function(e) { e.preventDefault(); $('.choose_flags').find('input:checkbox').prop('checked', true); }); $('.clear-all-flags').on('click',function(e) { e.preventDefault();
1117
+ $('.choose_flags').find('input:checkbox').prop('checked', false); }); });</script>
1118
+ <div class="glt-controls choose_flags notranslate">
1119
+ <a class="select-all-flags" href="#">Select All</a> <a class="clear-all-flags" href="#">Clear All</a>
1120
+ </div>
1121
+ <?php $this->flag_display_settings_cb(); ?>
1122
+ </td>
1123
+ </tr>
1124
+
1125
+
1126
+
1127
+ <tr class="notranslate">
1128
+ <td>Show floating translation widget?<br/>
1129
+ <span>("All Languages" option <strong><u>must</u></strong> be chosen to show widget.)</span>
1130
+ </td>
1131
+ <td><?php $this->googlelanguagetranslator_floating_widget_cb(); ?></td>
1132
+ </tr>
1133
+
1134
+ <tr class="notranslate">
1135
+ <td>Show translate box?</td>
1136
+ <td><?php $this->googlelanguagetranslator_translatebox_cb(); ?></td>
1137
+ </tr>
1138
+
1139
+ <tr class="notranslate">
1140
+ <td>Layout option: <span style="color:red; font-weight:bold">NEW!</span> (Popup layout just added!)</td>
1141
+ <td><?php $this->googlelanguagetranslator_display_cb(); ?></td>
1142
+ </tr>
1143
+
1144
+ <tr class="notranslate">
1145
+ <td>Show Google Toolbar?</td>
1146
+ <td><?php $this->googlelanguagetranslator_toolbar_cb(); ?></td>
1147
+ </tr>
1148
+
1149
+ <tr class="notranslate">
1150
+ <td>Show Google Branding? &nbsp;<a href="https://developers.google.com/translate/v2/attribution" target="_blank">Learn more</a></td>
1151
+ <td><?php $this->googlelanguagetranslator_showbranding_cb(); ?></td>
1152
+ </tr>
1153
+
1154
+ <tr class="alignment notranslate">
1155
+ <td class="flagdisplay">Align the translator left or right?</td>
1156
+ <td class="flagdisplay"><?php $this->googlelanguagetranslator_flags_alignment_cb(); ?></td>
1157
+ </tr>
1158
+
1159
+
1160
+
1161
+ <tr class="multilanguage notranslate">
1162
+ <td>Multilanguage Page option? &nbsp;<a href="#TB_inline?width=200&height=150&inlineId=multilanguage-page-description" title="What is the Multi-Language Page Option?" class="thickbox">Learn more</a><div id="multilanguage-page-description" style="display:none"><p>If you activate this setting, Google will translate all text into a single language when requested by your user, even if text is written in multiple languages. In most cases, this setting is not recommended, although for certain websites it might be necessary.</p></div></td>
1163
+ <td><?php $this->googlelanguagetranslator_multilanguage_cb(); ?></td>
1164
+ </tr>
1165
+
1166
+ <tr class="notranslate">
1167
+ <td>Google Analytics:</td>
1168
+ <td><?php $this->googlelanguagetranslator_analytics_cb(); ?></td>
1169
+ </tr>
1170
+
1171
+ <tr class="analytics notranslate">
1172
+ <td>Google Analytics ID (Ex. 'UA-11117410-2')</td>
1173
+ <td><?php $this->googlelanguagetranslator_analytics_id_cb(); ?></td>
1174
+ </tr>
1175
+
1176
+ <tr class="notranslate">
1177
+ <td>Full widget usage in pages/posts/sidebar:</td>
1178
+ <td><code>[google-translator]</code></td>
1179
+ </tr>
1180
+ </table>
1181
+
1182
+ <table style="border-collapse:separate" width="100%" border="0" cellspacing="8" cellpadding="0" class="form-table">
1183
+ <tr class="notranslate">
1184
+ <td style="width:40%">Full widget usage in header/footer or page template:</td>
1185
+ <td style="width:60%"><code>&lt;?php echo do_shortcode('[google-translator]'); ?&gt;</code></td>
1186
+ </tr>
1187
+
1188
+ <tr class="notranslate">
1189
+ <td>Single language usage in<br/>nav menu/pages/posts</td>
1190
+ <td><code>[glt language="Spanish" label="Espa&ntilde;ol"]</code></td>
1191
+ </tr>
1192
+
1193
+ <tr class="notranslate">
1194
+ <td colspan="2">
1195
+ <a href="#TB_inline?width=200&height=450&inlineId=single-language-shortcode-description" title="How to place a single language in your Wordpress menu" class="thickbox">How to place a single language in your Wordpress menu</a>
1196
+ <div id="single-language-shortcode-description" style="display:none">
1197
+ <p>For menu usage, you need to create a new menu, or use an existing menu, by navigating to "Appearance > Menus".</p>
1198
+ <p>First you will need to enable "descriptions" for your menu items, which can be found in a tab labeled "Screen Options" in the upper-right area of the page.</p>
1199
+ <p>Once descriptions are enabled, follow these steps:<br/>
1200
+ <ol>
1201
+ <li>Create a new menu item using "Link" as the menu item type.</li>
1202
+ <li>Use <code style="border:none">#</code> for the URL</li>
1203
+ <li>Enter a navigation label of your choice. This label does not appear on your website - it is meant only to help you identify the menu item.</li>
1204
+ <li>Place the following shortcode into the "description" field, and modify it to display the language and navigation label of your choice:</li>
1205
+ </ol>
1206
+ <p><code>[glt language="Spanish" label="Espa&ntilde;ol"]</code></p>
1207
+ </div>
1208
+ </td>
1209
+ </tr>
1210
+
1211
+ <tr class="notranslate">
1212
+ <td>
1213
+ <?php
1214
+ if (isset($_POST['submit'])) {
1215
+ if (empty($_POST['submit']) && !check_admin_referer( 'glt-save-settings', 'glt-save-settings-nonce' )) {
1216
+ wp_die();
1217
+ } else { }
1218
+ }
1219
+ wp_nonce_field('glt-save-settings, glt-save-settings-nonce', false);
1220
+ submit_button();
1221
+ ?>
1222
+ </td>
1223
+ <td></td>
1224
+ </tr>
1225
+ </table>
1226
+ </div> <!-- .postbox -->
1227
+ </div> <!-- .metbox-holder -->
1228
+
1229
+ <div class="metabox-holder" style="float:right; clear:right; width:33%">
1230
+ <div class="postbox">
1231
+ <h3 class="notranslate">Preview</h3>
1232
+ <table style="width:100%">
1233
+ <tr>
1234
+ <td style="box-sizing:border-box; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; padding:15px 15px; margin:0px"><span class="notranslate"> Drag &amp; drop flags to change their position.<br/><br/>(Note: flag order resets when flags are added/removed)</span><br/><br/><?php echo do_shortcode('[google-translator]'); ?><p class="hello"><span class="notranslate">Translated text:</span> &nbsp; <span>Hello</span></p></td>
1235
+ </tr>
1236
+
1237
+ <tr>
1238
+ <td></td>
1239
+ </tr>
1240
+
1241
+
1242
+ </table>
1243
+ </div> <!-- .postbox -->
1244
+ </div> <!-- .metabox-holder -->
1245
+
1246
+ <div id="glt_advanced_settings" class="metabox-holder box-right notranslate" style="float: right; width: 33%; clear:right">
1247
+ <div class="postbox">
1248
+ <h3>Advanced Settings</h3>
1249
+ <div class="inside">
1250
+ <table style="border-collapse:separate" width="100%" border="0" cellspacing="8" cellpadding="0" class="form-table">
1251
+ <tr class="notranslate">
1252
+ <td class="advanced">Select flag size:</td>
1253
+ <td class="advanced"><?php $this->googlelanguagetranslator_flag_size_cb(); ?></td>
1254
+ </tr>
1255
+
1256
+ <tr class="notranslate">
1257
+ <td class="advanced">Flag for English:</td>
1258
+ <td class="advanced"><?php $this->googlelanguagetranslator_english_flag_choice_cb(); ?></td>
1259
+ </tr>
1260
+
1261
+ <tr class="notranslate">
1262
+ <td class="advanced">Flag for Spanish:</td>
1263
+ <td class="advanced"><?php $this->googlelanguagetranslator_spanish_flag_choice_cb(); ?></td>
1264
+ </tr>
1265
+
1266
+ <tr class="notranslate">
1267
+ <td class="advanced">Flag for Portuguese:</td>
1268
+ <td class="advanced"><?php $this->googlelanguagetranslator_portuguese_flag_choice_cb(); ?></td>
1269
+ </tr>
1270
+ </table>
1271
+ </div> <!-- .inside -->
1272
+ </div> <!-- .postbox -->
1273
+ </div> <!-- #glt_advanced_settings -->
1274
+
1275
+
1276
+ <div class="metabox-holder box-right notranslate" style="float: right; width: 33%;">
1277
+ <div class="postbox">
1278
+ <h3>Add CSS Styles</h3>
1279
+ <div class="inside">
1280
+ <p>You can apply any necessary CSS styles below:</p>
1281
+ <?php $this->googlelanguagetranslator_css_cb(); ?>
1282
+ </div>
1283
+ </div>
1284
+ </div>
1285
+ <?php $this->googlelanguagetranslator_flags_order_cb(); ?>
1286
+ </form>
1287
+
1288
+ <div class="metabox-holder box-right notranslate" style="float: right; width: 33%;">
1289
+ <div class="postbox">
1290
+ <h3>GLT Premium 5.0.26 is Here! $30</h3>
1291
+ <div class="inside"><a class="wp-studio-logo" href="http://www.wp-studio.net/" target="_blank"><img style="background:#444; border-radius:3px; -webkit-border-radius:3px; -moz-border-radius:3px; width:177px;" src="<?php echo plugins_url( 'images/logo.png' , __FILE__ ); ?>"></a><br />
1292
+ <ul id="features" style="margin-left:15px">
1293
+ <li style="list-style:square outside"><span style="color:red; font-weight:bold">New!</span> Edit translations! (Pages/Posts ONLY)</li>
1294
+ <li style="list-style:square outside">6 Floating Widget positions</li>
1295
+ <li style="list-style:square outside">97 Languages with flags</li>
1296
+ <li style="list-style:square outside">Exclude specific areas from translation</li>
1297
+ <li style="list-style:square outside">jQuery-powered language switcher<br/>(No Adobe Flash required)</li>
1298
+ <li style="list-style:square outside">Add single languages to your menus/pages/posts</li>
1299
+ <li style="list-style:square outside">Show/hide images or text for each language</li>
1300
+ <li style="list-style:square outside">Language switcher loads inline with page content</li>
1301
+ <li style="list-style:square outside">Custom flag choices for English, Spanish and Portuguese</li>
1302
+ <li style="list-style:square outside">User-friendly URLs, hide or show <code>lang</code> attribute</li>
1303
+ <li style="list-style:square outside">Drag/drop flags to re-arrange their order</li>
1304
+ <li style="list-style:square outside">Full access to our support forum</li>
1305
+ <li style="list-style:square outside">FREE access to all future updates</li>
1306
+ </ul>
1307
+ </div>
1308
+ </div>
1309
+ </div>
1310
+
1311
+ <div class="metabox-holder box-right notranslate" style="float: right; width: 33%;">
1312
+ <div class="postbox">
1313
+ <h3>Please Consider A Donation</h3>
1314
+ <div class="inside">If you like this plugin and find it useful, help keep this plugin actively developed by clicking the donate button <br /><br />
1315
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
1316
+ <input type="hidden" name="cmd" value="_donations">
1317
+ <input type="hidden" name="business" value="robertmyrick@hotmail.com">
1318
+ <input type="hidden" name="lc" value="US">
1319
+ <input type="hidden" name="item_name" value="Support Studio 88 Design and help us bring you more Wordpress goodies! Any donation is kindly appreciated. Thank you!">
1320
+ <input type="hidden" name="no_note" value="0">
1321
+ <input type="hidden" name="currency_code" value="USD">
1322
+ <input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHostedGuest">
1323
+ <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
1324
+ <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
1325
+ </form>
1326
+ <br />
1327
+ <br />
1328
+ </div>
1329
+ </div>
1330
+ </div>
1331
+ </div> <!-- .wrap -->
1332
+ <?php
1333
+ }
1334
+ }
1335
  $google_language_translator = new google_language_translator();
images/flags.png CHANGED
Binary file
images/flags16.png CHANGED
Binary file
images/flags18.png CHANGED
Binary file
images/flags20.png CHANGED
Binary file
images/flags22.png CHANGED
Binary file
readme.txt CHANGED
@@ -1,334 +1,338 @@
1
- === Google Language Translator ===
2
- Contributors: Rob Myrick
3
- Donate link: http://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=47LFA33AC89S6
4
- Plugin link: http://wp-studio.net/how-it-works
5
- Tags: language translator, google translator, language translate, translate wordpress, google language translator, translation, translate, multi language
6
- Requires at least: 2.9
7
- Tested up to: 4.6
8
- Stable tag: 5.0.20
9
-
10
- Welcome to Google Language Translator! This plugin allows you to insert the Google Language Translator tool anywhere on your website using shortcode.
11
-
12
- == Description ==
13
-
14
- Settings include: inline or vertical layout, show/hide specific languages, hide/show Google toolbar, and hide/show Google branding. Add the shortcode to pages, posts, and widgets.
15
-
16
- == Installation ==
17
-
18
- 1. Download the zip folder named google-language-translator.zip
19
- 2. Unzip the folder and put it in the plugins directory of your wordpress installation. (wp-content/plugins).
20
- 3. Activate the plugin through the plugin window in the admin panel.
21
- 4. Go to Settings > Google Language Translator, enable the plugin, and then choose your settings.
22
- 5. Copy the shortcode and paste it into a page, post or widget.
23
- 6. Do not use the shortcode twice on a single page - it will not work.
24
-
25
- == Frequently Asked Questions ==
26
-
27
- Q: What should I do if the translate widget does not show on my website?
28
-
29
- 1. Make sure that the plugin is installed and activated.
30
- 2. Verify that a check mark is placed in the activation setting located at "Settings > Google Language Translator".
31
- 3. Verify that the native Wordpress function, wp_footer(), is included in your theme's footer file.
32
- 4. Verify that "Show Language Box?" setting is enabled at "Settings > Google Language Translator".
33
- 5. Use your browser's web tools to ensure that CSS styles are not hiding the translation widget.
34
- 6. Contact support at http://www.wp-studio.net/submit-ticket.
35
-
36
- Q: What should I do if there are no languages being displayed in the language box?
37
-
38
- 1. Make sure that the plugin is installed and activated.
39
- 2. Verify that a check mark is placed in the activation setting located at "Settings > Google Language Translator".
40
- 3. Verify that Adobe Flash is installed in your web browser. Google uses Flash in order to display their language box.
41
- 4. Contact support at http://www.wp-studio.net/submit-ticket.
42
-
43
- Q: Can I exclude certain areas of my website from being translated?
44
-
45
- A: Yes! Add the "notranslate" class to the HTML element containing your text. For example, the following text will be excluded from translation: <span class="notranslate">Hello World!</span>
46
-
47
- == Changelog ==
48
-
49
- 5.0.20
50
- - Added Corsican as a new language with its associated flag.
51
-
52
- 5.0.19
53
- - Added Frisian as a new language with its associated flag.
54
-
55
- 5.0.18
56
- - Added Sindhi as a new language with its associated flag.
57
-
58
- 5.0.17
59
- - Added Samoan as a new language with its associated flag.
60
- - Added mobile-responsive CSS to the GLT settings page.
61
-
62
- 5.0.16
63
- - Added Xhosa as a new language with its associated flag.
64
-
65
- 5.0.15
66
- - Added Amharic as a new language with its associated flag.
67
-
68
- 5.0.14
69
- - Fixed a file naming error in google-language-translator.php. This caused flags not to display - we apologize for the inconvenience.
70
-
71
- 5.0.13
72
- - Renamed some of the wp_enqueue_script calls to include more unique file names, thus avoiding conflict with other plugins overriding these files.
73
- - Corrected some file paths to be more accurate/secure.
74
- - Removed WP Helpdesk logo from the settings page. We are no longer offering these services officially.
75
-
76
- 5.0.12
77
- - Revert malicious changes made in 5.0.10
78
-
79
- 5.0.11
80
- - Fixed incorrect link
81
-
82
- 5.0.10
83
- - Tested up to 4.6
84
-
85
- 5.0.09
86
- - Turned off error reporting. I apologize for the inconvenience.
87
-
88
- 5.0.08
89
- - Added a new popup-style layout". You can find this new layout in the settings page located in "Settings > Google Language Translator".
90
-
91
- 5.0.07
92
- - Changed the flag for Chinese(Traditional) to the Taiwanese flag. Requested long ago by a few users - thanks for your months of patience!
93
-
94
- 5.0.06
95
- - Fixed a XSS Cross Scripting Vulnerability in the plugin, as requested by Wordpress.org. Unnecessary code (during testing) was being posted to the settings page, so the code was removed.
96
-
97
- 5.0.05
98
- - Added 3 new options to the settings page: English, Spanish, and Portuguese flag image variations.
99
- - Fixed an error with the Floating Widget: order of flags was not being honored in certain cases.
100
-
101
- 5.0.04
102
- - Corrected the text on the settings page to reflect 91 total flags, instead of 81 flags.
103
-
104
- 5.0.03
105
- - Added 10 new languages and associated flags: Chichewa, Kazakh, Malagasy, Malayalam, Myanmar(Burmese), Sesotho, Sinhala, Sundanese, Tajik, and Uzbek.
106
-
107
- 5.0.02
108
- - Updated the Tamil flag to use the Indian flag, instead of Tamil Tigers flag.
109
-
110
- 5.0.01
111
- - Updated style.css to reflect the syntax error connecting to the Chinese flag.
112
-
113
- 5.0.0
114
- - Wordpress security updates added to the settings page [wp_nonce_field()].
115
- - Removed 3 outside Javascript files - these files are now called upon directly from Wordpress CMS.
116
- - Unpacked flags.js p,a,c,k,e,r code. Unknowingly, this method of coding violated Wordpress plugin policy.
117
- - Updated pricing display for GLT Premium. It was displaying $15 previously, but the price had increased since the last update.
118
-
119
- 4.0.9
120
- - Replaced: incorrect Catalonian flag image, with the correct image. I apologize for any inconvenience.
121
- - Fixed: Floating Widget issue - previously it loaded 2 times when shortcode was added, which caused it not to work.
122
-
123
- 4.0.8
124
- - Fixed the small syntax issue related to the Google Analytics tracking number - it was another cause of the language box not displaying.
125
-
126
- 4.0.7
127
- - Fixed a CSS error in the settings panel display.
128
- - Fixed the coding issue when "Specific Languages" option is chosen - the shortcode was not displaying the language dropdown.
129
-
130
- 4.0.6
131
-
132
- - Removed: "onclick" events from diplaying directly inside HTML. Converted those events to jQuery.
133
- - Fixed the shortcode that allows adding single languages to Wordpress menus. (New example is shown on settings page.)
134
- - Consolidated all flag images into image sprites!
135
- - Re-designed 10 flag images to match the quality of the other flags.
136
- - Fixed the incorrect "alt" tags associated with flag images. The "alt" tag now displays the language name.
137
- - Modified text on the settings page - also added some lightbox pop-ups to help explain settings.
138
- - New updates have also been provided for our Premium version (currently version 4.0.1) located at http://www.wp-studio.net/
139
-
140
- 4.0.5
141
-
142
- - Fixed: Display bug when using single language shortcode.
143
- - Added: New link on the Plugins menu page, which links directly to Google Language Translator settings.
144
-
145
-
146
- 4.0.4
147
-
148
- - Added NEW shortcode! Allows placement of single languages into the navigation menu, pages, and posts. See settings panel for usage details.
149
- - Re-factored code in googlelanguagetranslator.php which reduced code to around 950 lines.
150
- - Removed the "de-activation" hook, which previously deleted options when plugin de-activated. Added "uninstall" hook instead, so that settings will be preserved only when user deletes the plugin completely.
151
- - Updated CSS styles for the flags area to prevent themes from overriding layouts.
152
-
153
- 4.0.3
154
-
155
- - Adjusted CSS styles for the flag display.
156
-
157
- 4.0.2
158
-
159
- - Eliminated all (or most) HTML validation errors. Big improvement!
160
- - Re-factored more code to increase efficiency.
161
- - Added de-activation hook to reset all plugin settings when plugin is de-activated. (CSS Overrides and Google Analytics ID setting will remain in place and won't be deleted.)
162
- - Fixed the issue with flag language checkboxes. Users can remove English flag if so desired. Previously, English flag was alway required to stay checked, which was not most user-friendly.
163
-
164
- 4.0.1
165
-
166
- - Fixed PHP errors that were neglected in upgrade to 4.0.
167
- - Added conditionals to prevent scripts from loading when the floating widget is turned off.
168
-
169
- 4.0
170
-
171
- - Added 2 new features: 1) Drag/drop flags to re-arrange their order, and 2) Custom flag sizes (16px to 24px).
172
- - Re-factored code in google-language-translator.php. Languages are now loaded dynamically and are not hard-coded.
173
- - GLT Premium is now released: Updates include multiple flags for English, Spanish, and Portuguese languages; customized URLs with 'lang' attribute; drag/drop flags to re-arrnage their order
174
-
175
- 3.0.9
176
-
177
- - Added a title field to the Google Language Translator widget.
178
- - Removed "unexpected text characters" error upon activation (due to error in activation hook).
179
-
180
- 3.0.8
181
-
182
- - Added 9 new languages into the plugin (Hausa, Igbo, Maori, Mongolian, Nepali, Punjabi, Somali, Yoruba, Zulu).
183
- - Corrected an "undefined variable" error that was being generated in Vertical and Horizontal layouts.
184
- - Re-structured coding once again into an Object-Oriented approach.
185
- - Moved all functions of the base class into 'googlelanguagetranslator.php' and the widget into 'widget.php'.
186
- - Moved all javascript files into it's own JS folder.
187
- - Fixed an display issue with "Edit Translations" - they were being hidden when "No branding" option was chosen.
188
- - Corrected various "comma" errors in the string that outputs the script for loading the translator.
189
- - Changed Changelog in readme.txt to show most recent changes first, instead of last.
190
-
191
- 3.0.7
192
-
193
- - Removed an unnecessary CSS file, left over from development. Sorry for any inconvenience if you received display errors.
194
-
195
- 3.0.6
196
-
197
- - Corrected a small display error in displaying the floating widget correctly.
198
-
199
- 3.0.5
200
-
201
- - Added new Floating Widget (see settings page). The Floating Widget is simply another way for allowing website visitors to translate languages. The functionality is built-in with the existing flag preferences, and can be turned on or off at the administrator's preference. The floating widget can also function in full with both the language box and/or flags showing OR hiding, so the administrator has full control of how it displays. The floating widget is placed at bottom right of the website in the free version, but can be placed in other locations by changing CSS styles associated with the box. The premium version will allow more options as to changing the Floating Widget location.
202
- - Fixed the issue with Dashboard styles loading on the wrong pages. This was causing some annoying display issues on the Wordpress Dashboard.
203
-
204
- 3.0.4
205
-
206
- - Re-factored/re-arranged more code in google languagetransltor.php by placing them into separate files.
207
- - Fixed the issue of Custom CSS box not displaying it's styles to the website. This was only missed in this last update, due to re-arrangement of the files. Sorry for any inconvenience.
208
- - Removed style2.php file, which is unnecessary and was being used in testing.
209
-
210
- 3.0.3
211
-
212
- - Re-factored/re-arranged some of the code in googlelanguagetranslator.php by placing them into separate files.
213
- - Fixed a minor coding issue in glt_widget.php - this was generating an error in Wordpress when debugging.
214
- - Moved all CSS code into a single file. The result is nice, clean inline CSS code that is now called only once.
215
- - Fixed some additional CSS display issues.
216
-
217
- 3.0.2
218
-
219
- - Adjusted additional minor invalid HTML issues on the settings page, and also in the front-end plugin display.
220
-
221
- 3.0.1
222
-
223
- - Changed the url request to Google to allow both unsecured and secured page translations. Previously, some users experienced errors when trying to use the translator on "https://" (secured) pages.
224
- - Adjusted some minor spacing issues in the settings page HTML (caused some annoying red HTML errors when using "View Source" in right-click menu).
225
- - Removed old CSS styles that were added in the previous 3.0 update - the styles were added when Google servers were being updated, and were producing major translation dislay issues until their update was complete. Now the styles I added are no longer needed.
226
-
227
- 3.0
228
-
229
- - Correct a small CSS error that affected the showing/hiding of the Google toolbar.
230
-
231
- 2.9
232
-
233
- ***IMPORTANT: Google's most recent server update is producing display issues for website translation tool. There are major display issues with the translation toolbar and also the translations editing interface. Version 2.9 temporarily hides the edit translation functionality until Google decides to fix this issue, although you can still edit translations directly through your Google account at translate.google.com. Please direct any support requests through Wordpress.org and we will be happy to assist you.
234
-
235
- - Fixed Google Translation toolbar display issue
236
- - Fixed the Edit Translation interface by hiding it temporarily until Google fixes this
237
- - Removed some unneeded styles from the style sheet.
238
- - Fixed some CSS issues for the Google Branding display, which was affected by Google's most recent update
239
-
240
- 2.8
241
-
242
- - Added an option to allow users to manage their own translations directly through their Google Translate account (free). When activated, users can hover over the text of their website, and edit the translations from the webpage directly. Google will remember these translations, and then serve them to users once the edits are made. Users must install the Google Translate Customization meta tag provided through Google Translate here: translate.google.com/manager/website/settings. To obtain this meta tag, users need to configure the Google Translate tool directly from this website (although they will not use this because the plugin provides it), then the user can obtain the meta tag on the "Get Code" screen, which is displayed after configuring the Google Translate tool on this webpage.
243
- - Added an option to allow users to turn on/off Google's multilanguagePage option, that when activated, the original website content will be a forced translation, instead of original content (but only after a translation is made.)
244
- - Added more flexible styles to the settings page, so that left and right panels display nicely to the user.
245
-
246
- 2.7
247
-
248
- - Added Google Analytics tracking capability to the plugin.
249
-
250
- - Added a "CSS Styles" box in the settings panel.
251
-
252
- - Changed the Catalonian flag to its correct flag image.
253
-
254
- - Fixed coding issues that previously updated options incorrectly, which is why many users experienced display issues. All options are now initialized upon plugin activation, which should fix this issue permanently.
255
-
256
- - Fixed a glitch in our usage of the translate API. Previously, when the user clicked the default language, it would toggle back and forth between the default language and "Afrikaans" language. Now, users will see the correct language displayed at all times, no matter how many times it is clicked.
257
-
258
- 2.6
259
-
260
- - Added defaults to all options to ensure there are no more issues with the translator displaying upon installation. Again, sorry for any inconvenience.
261
-
262
- 2.5
263
-
264
- - Eliminated an internal Wordpress error being generated from a coding mistake.
265
-
266
- - Added a default option for the Translator alingment. Previously, this was causing the plugin to disapppear.
267
-
268
- 2.4
269
-
270
- - Found a couple of small display errors in the settings page after uploading version 2.3. Sorry for any inconvenience!
271
-
272
- 2.3
273
-
274
- - Added a "Preview" area on the settings page that allows you to see your settings in action.
275
-
276
- - Added custom flag support for all languages (custom flags available ONLY when selecting the "ALL Languages" setting.
277
-
278
- - Added an option that allows left/right alignment of the translation tool.
279
-
280
- - Added the "Google Language Translator" widget.
281
-
282
- - Updated googlelanguagetranslator.php to properly register setting in the admin settings panel.
283
-
284
- 2.2
285
-
286
- - Added language "Portuguese" and "German" to the Original Language drop-down option on the settings page.
287
-
288
- - Changed flag image for the English language (changed United States flag to the United Kingdom flag).
289
-
290
- - Added link in the settings panel that points to Google's Attribution Policy.
291
-
292
- 2.1
293
-
294
- - Added language "Dutch" to the Original Language drop-down option on the settings page.
295
-
296
- - Added a new CSS class that more accurately hides the "Powered by" text when hiding Google's branding. In previous version, the "Powered by" text was actually disguised by setting it's color to "transparent", but now we have set it's font-size to 0px instead.
297
-
298
- 2.0 Corrected some immediate errors in the 1.9 update.
299
-
300
- 1.9
301
-
302
- - Added 7 flag image choices that, when clicked by website visitors, will change the language displayed, both on the website, AND in the drop-down box (flag language choices are limited to those provided in this plugin).
303
-
304
- - Added 6 additional languages to the translator, as provided in Google's most recent updates ( new languages include Bosnian, Cebuano, Khmer, Marathi, Hmong, Javanese ).
305
-
306
- - Corrected a minor technical issue where the Czech option (on the backend) was incorrectly displaying the Croatian language on the front end.
307
-
308
- - Added jQuery functionality to the settings panel to improve the user experience.
309
-
310
- - Added an option for users to display/hide the flag images.
311
-
312
- - Added an option for users to display/hide the translate box when flags are displayed.
313
-
314
- - Removed the settings.css file - I found a better way of displaying the options without CSS.
315
-
316
- 1.8 Modified google-language-translator.php to display the correct output to the browser when horizontal layout is selected. Previously, it was not displaying at all.
317
-
318
- 1.7 Modified google-language-translator.php so that jQuery and CSS styles were enqueued properly onto the settings page only. Previously, jQuery functionality and CSS styles were being added to all pages of the Wordpresss Dashboard, which was causing functionality and display issues for some users.
319
-
320
- 1.6 Added "Specific Language" support to the plugin settings, which allows the user to choose specific languages that are displayed to website visitors.
321
-
322
- 1.5 Added "Original Language" support to the plugin settings, which allows the user to choose the original language of their website, which ultimately removes the original language as a choice in the language drop-down presented to website visitors.
323
-
324
- 1.4 Corrected display problems associated with CSS styles not being placed correctly in wp_head.
325
-
326
- 1.3 HTML display problem in the sidebar area now fixed. Previously, inserting the [google-translator] plugin into a text widget caused it to display above the widget, instead of inside of it.
327
-
328
- 1.2 Shortcode support is now available for adding [google-translator] to text widgets. I apologize for any inconvenience this may have caused.
329
-
330
- 1.1 The shortcode supplied on the settings page was updated to display '[google-translator]'.
331
-
332
- == Screenshots ==
333
-
334
- 1. Settings include: inline or vertical layout, hide/show Google toolbar, display specific languages, and show/hide Google branding. Add the shortcode to pages, posts, and widgets.
 
 
 
 
1
+ === Google Language Translator ===
2
+ Contributors: Rob Myrick
3
+ Donate link: http://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=47LFA33AC89S6
4
+ Plugin link: http://wp-studio.net/how-it-works
5
+ Tags: language translator, google translator, language translate, translate wordpress, google language translator, translation, translate, multi language
6
+ Requires at least: 2.9
7
+ Tested up to: 4.6
8
+ Stable tag: 5.0.21
9
+
10
+ Welcome to Google Language Translator! This plugin allows you to insert the Google Language Translator tool anywhere on your website using shortcode.
11
+
12
+ == Description ==
13
+
14
+ Settings include: inline or vertical layout, show/hide specific languages, hide/show Google toolbar, and hide/show Google branding. Add the shortcode to pages, posts, and widgets.
15
+
16
+ == Installation ==
17
+
18
+ 1. Download the zip folder named google-language-translator.zip
19
+ 2. Unzip the folder and put it in the plugins directory of your wordpress installation. (wp-content/plugins).
20
+ 3. Activate the plugin through the plugin window in the admin panel.
21
+ 4. Go to Settings > Google Language Translator, enable the plugin, and then choose your settings.
22
+ 5. Copy the shortcode and paste it into a page, post or widget.
23
+ 6. Do not use the shortcode twice on a single page - it will not work.
24
+
25
+ == Frequently Asked Questions ==
26
+
27
+ Q: What should I do if the translate widget does not show on my website?
28
+
29
+ 1. Make sure that the plugin is installed and activated.
30
+ 2. Verify that a check mark is placed in the activation setting located at "Settings > Google Language Translator".
31
+ 3. Verify that the native Wordpress function, wp_footer(), is included in your theme's footer file.
32
+ 4. Verify that "Show Language Box?" setting is enabled at "Settings > Google Language Translator".
33
+ 5. Use your browser's web tools to ensure that CSS styles are not hiding the translation widget.
34
+ 6. Contact support at http://www.wp-studio.net/submit-ticket.
35
+
36
+ Q: What should I do if there are no languages being displayed in the language box?
37
+
38
+ 1. Make sure that the plugin is installed and activated.
39
+ 2. Verify that a check mark is placed in the activation setting located at "Settings > Google Language Translator".
40
+ 3. Verify that Adobe Flash is installed in your web browser. Google uses Flash in order to display their language box.
41
+ 4. Contact support at http://www.wp-studio.net/submit-ticket.
42
+
43
+ Q: Can I exclude certain areas of my website from being translated?
44
+
45
+ A: Yes! Add the "notranslate" class to the HTML element containing your text. For example, the following text will be excluded from translation: <span class="notranslate">Hello World!</span>
46
+
47
+ == Changelog ==
48
+
49
+ 5.0.21
50
+ - Added 6 new languages with their associated flags: Hawaiian, Kurdish, Kyrgyz, Luxembourgish, Pashto, and Shona.
51
+ - Added a "Select All / Clear All" feature to the settings page. No more finger cramps!
52
+
53
+ 5.0.20
54
+ - Added Corsican as a new language with its associated flag.
55
+
56
+ 5.0.19
57
+ - Added Frisian as a new language with its associated flag.
58
+
59
+ 5.0.18
60
+ - Added Sindhi as a new language with its associated flag.
61
+
62
+ 5.0.17
63
+ - Added Samoan as a new language with its associated flag.
64
+ - Added mobile-responsive CSS to the GLT settings page.
65
+
66
+ 5.0.16
67
+ - Added Xhosa as a new language with its associated flag.
68
+
69
+ 5.0.15
70
+ - Added Amharic as a new language with its associated flag.
71
+
72
+ 5.0.14
73
+ - Fixed a file naming error in google-language-translator.php. This caused flags not to display - we apologize for the inconvenience.
74
+
75
+ 5.0.13
76
+ - Renamed some of the wp_enqueue_script calls to include more unique file names, thus avoiding conflict with other plugins overriding these files.
77
+ - Corrected some file paths to be more accurate/secure.
78
+ - Removed WP Helpdesk logo from the settings page. We are no longer offering these services officially.
79
+
80
+ 5.0.12
81
+ - Revert malicious changes made in 5.0.10
82
+
83
+ 5.0.11
84
+ - Fixed incorrect link
85
+
86
+ 5.0.10
87
+ - Tested up to 4.6
88
+
89
+ 5.0.09
90
+ - Turned off error reporting. I apologize for the inconvenience.
91
+
92
+ 5.0.08
93
+ - Added a new popup-style layout". You can find this new layout in the settings page located in "Settings > Google Language Translator".
94
+
95
+ 5.0.07
96
+ - Changed the flag for Chinese(Traditional) to the Taiwanese flag. Requested long ago by a few users - thanks for your months of patience!
97
+
98
+ 5.0.06
99
+ - Fixed a XSS Cross Scripting Vulnerability in the plugin, as requested by Wordpress.org. Unnecessary code (during testing) was being posted to the settings page, so the code was removed.
100
+
101
+ 5.0.05
102
+ - Added 3 new options to the settings page: English, Spanish, and Portuguese flag image variations.
103
+ - Fixed an error with the Floating Widget: order of flags was not being honored in certain cases.
104
+
105
+ 5.0.04
106
+ - Corrected the text on the settings page to reflect 91 total flags, instead of 81 flags.
107
+
108
+ 5.0.03
109
+ - Added 10 new languages and associated flags: Chichewa, Kazakh, Malagasy, Malayalam, Myanmar(Burmese), Sesotho, Sinhala, Sundanese, Tajik, and Uzbek.
110
+
111
+ 5.0.02
112
+ - Updated the Tamil flag to use the Indian flag, instead of Tamil Tigers flag.
113
+
114
+ 5.0.01
115
+ - Updated style.css to reflect the syntax error connecting to the Chinese flag.
116
+
117
+ 5.0.0
118
+ - Wordpress security updates added to the settings page [wp_nonce_field()].
119
+ - Removed 3 outside Javascript files - these files are now called upon directly from Wordpress CMS.
120
+ - Unpacked flags.js p,a,c,k,e,r code. Unknowingly, this method of coding violated Wordpress plugin policy.
121
+ - Updated pricing display for GLT Premium. It was displaying $15 previously, but the price had increased since the last update.
122
+
123
+ 4.0.9
124
+ - Replaced: incorrect Catalonian flag image, with the correct image. I apologize for any inconvenience.
125
+ - Fixed: Floating Widget issue - previously it loaded 2 times when shortcode was added, which caused it not to work.
126
+
127
+ 4.0.8
128
+ - Fixed the small syntax issue related to the Google Analytics tracking number - it was another cause of the language box not displaying.
129
+
130
+ 4.0.7
131
+ - Fixed a CSS error in the settings panel display.
132
+ - Fixed the coding issue when "Specific Languages" option is chosen - the shortcode was not displaying the language dropdown.
133
+
134
+ 4.0.6
135
+
136
+ - Removed: "onclick" events from diplaying directly inside HTML. Converted those events to jQuery.
137
+ - Fixed the shortcode that allows adding single languages to Wordpress menus. (New example is shown on settings page.)
138
+ - Consolidated all flag images into image sprites!
139
+ - Re-designed 10 flag images to match the quality of the other flags.
140
+ - Fixed the incorrect "alt" tags associated with flag images. The "alt" tag now displays the language name.
141
+ - Modified text on the settings page - also added some lightbox pop-ups to help explain settings.
142
+ - New updates have also been provided for our Premium version (currently version 4.0.1) located at http://www.wp-studio.net/
143
+
144
+ 4.0.5
145
+
146
+ - Fixed: Display bug when using single language shortcode.
147
+ - Added: New link on the Plugins menu page, which links directly to Google Language Translator settings.
148
+
149
+
150
+ 4.0.4
151
+
152
+ - Added NEW shortcode! Allows placement of single languages into the navigation menu, pages, and posts. See settings panel for usage details.
153
+ - Re-factored code in googlelanguagetranslator.php which reduced code to around 950 lines.
154
+ - Removed the "de-activation" hook, which previously deleted options when plugin de-activated. Added "uninstall" hook instead, so that settings will be preserved only when user deletes the plugin completely.
155
+ - Updated CSS styles for the flags area to prevent themes from overriding layouts.
156
+
157
+ 4.0.3
158
+
159
+ - Adjusted CSS styles for the flag display.
160
+
161
+ 4.0.2
162
+
163
+ - Eliminated all (or most) HTML validation errors. Big improvement!
164
+ - Re-factored more code to increase efficiency.
165
+ - Added de-activation hook to reset all plugin settings when plugin is de-activated. (CSS Overrides and Google Analytics ID setting will remain in place and won't be deleted.)
166
+ - Fixed the issue with flag language checkboxes. Users can remove English flag if so desired. Previously, English flag was alway required to stay checked, which was not most user-friendly.
167
+
168
+ 4.0.1
169
+
170
+ - Fixed PHP errors that were neglected in upgrade to 4.0.
171
+ - Added conditionals to prevent scripts from loading when the floating widget is turned off.
172
+
173
+ 4.0
174
+
175
+ - Added 2 new features: 1) Drag/drop flags to re-arrange their order, and 2) Custom flag sizes (16px to 24px).
176
+ - Re-factored code in google-language-translator.php. Languages are now loaded dynamically and are not hard-coded.
177
+ - GLT Premium is now released: Updates include multiple flags for English, Spanish, and Portuguese languages; customized URLs with 'lang' attribute; drag/drop flags to re-arrnage their order
178
+
179
+ 3.0.9
180
+
181
+ - Added a title field to the Google Language Translator widget.
182
+ - Removed "unexpected text characters" error upon activation (due to error in activation hook).
183
+
184
+ 3.0.8
185
+
186
+ - Added 9 new languages into the plugin (Hausa, Igbo, Maori, Mongolian, Nepali, Punjabi, Somali, Yoruba, Zulu).
187
+ - Corrected an "undefined variable" error that was being generated in Vertical and Horizontal layouts.
188
+ - Re-structured coding once again into an Object-Oriented approach.
189
+ - Moved all functions of the base class into 'googlelanguagetranslator.php' and the widget into 'widget.php'.
190
+ - Moved all javascript files into it's own JS folder.
191
+ - Fixed an display issue with "Edit Translations" - they were being hidden when "No branding" option was chosen.
192
+ - Corrected various "comma" errors in the string that outputs the script for loading the translator.
193
+ - Changed Changelog in readme.txt to show most recent changes first, instead of last.
194
+
195
+ 3.0.7
196
+
197
+ - Removed an unnecessary CSS file, left over from development. Sorry for any inconvenience if you received display errors.
198
+
199
+ 3.0.6
200
+
201
+ - Corrected a small display error in displaying the floating widget correctly.
202
+
203
+ 3.0.5
204
+
205
+ - Added new Floating Widget (see settings page). The Floating Widget is simply another way for allowing website visitors to translate languages. The functionality is built-in with the existing flag preferences, and can be turned on or off at the administrator's preference. The floating widget can also function in full with both the language box and/or flags showing OR hiding, so the administrator has full control of how it displays. The floating widget is placed at bottom right of the website in the free version, but can be placed in other locations by changing CSS styles associated with the box. The premium version will allow more options as to changing the Floating Widget location.
206
+ - Fixed the issue with Dashboard styles loading on the wrong pages. This was causing some annoying display issues on the Wordpress Dashboard.
207
+
208
+ 3.0.4
209
+
210
+ - Re-factored/re-arranged more code in google languagetransltor.php by placing them into separate files.
211
+ - Fixed the issue of Custom CSS box not displaying it's styles to the website. This was only missed in this last update, due to re-arrangement of the files. Sorry for any inconvenience.
212
+ - Removed style2.php file, which is unnecessary and was being used in testing.
213
+
214
+ 3.0.3
215
+
216
+ - Re-factored/re-arranged some of the code in googlelanguagetranslator.php by placing them into separate files.
217
+ - Fixed a minor coding issue in glt_widget.php - this was generating an error in Wordpress when debugging.
218
+ - Moved all CSS code into a single file. The result is nice, clean inline CSS code that is now called only once.
219
+ - Fixed some additional CSS display issues.
220
+
221
+ 3.0.2
222
+
223
+ - Adjusted additional minor invalid HTML issues on the settings page, and also in the front-end plugin display.
224
+
225
+ 3.0.1
226
+
227
+ - Changed the url request to Google to allow both unsecured and secured page translations. Previously, some users experienced errors when trying to use the translator on "https://" (secured) pages.
228
+ - Adjusted some minor spacing issues in the settings page HTML (caused some annoying red HTML errors when using "View Source" in right-click menu).
229
+ - Removed old CSS styles that were added in the previous 3.0 update - the styles were added when Google servers were being updated, and were producing major translation dislay issues until their update was complete. Now the styles I added are no longer needed.
230
+
231
+ 3.0
232
+
233
+ - Correct a small CSS error that affected the showing/hiding of the Google toolbar.
234
+
235
+ 2.9
236
+
237
+ ***IMPORTANT: Google's most recent server update is producing display issues for website translation tool. There are major display issues with the translation toolbar and also the translations editing interface. Version 2.9 temporarily hides the edit translation functionality until Google decides to fix this issue, although you can still edit translations directly through your Google account at translate.google.com. Please direct any support requests through Wordpress.org and we will be happy to assist you.
238
+
239
+ - Fixed Google Translation toolbar display issue
240
+ - Fixed the Edit Translation interface by hiding it temporarily until Google fixes this
241
+ - Removed some unneeded styles from the style sheet.
242
+ - Fixed some CSS issues for the Google Branding display, which was affected by Google's most recent update
243
+
244
+ 2.8
245
+
246
+ - Added an option to allow users to manage their own translations directly through their Google Translate account (free). When activated, users can hover over the text of their website, and edit the translations from the webpage directly. Google will remember these translations, and then serve them to users once the edits are made. Users must install the Google Translate Customization meta tag provided through Google Translate here: translate.google.com/manager/website/settings. To obtain this meta tag, users need to configure the Google Translate tool directly from this website (although they will not use this because the plugin provides it), then the user can obtain the meta tag on the "Get Code" screen, which is displayed after configuring the Google Translate tool on this webpage.
247
+ - Added an option to allow users to turn on/off Google's multilanguagePage option, that when activated, the original website content will be a forced translation, instead of original content (but only after a translation is made.)
248
+ - Added more flexible styles to the settings page, so that left and right panels display nicely to the user.
249
+
250
+ 2.7
251
+
252
+ - Added Google Analytics tracking capability to the plugin.
253
+
254
+ - Added a "CSS Styles" box in the settings panel.
255
+
256
+ - Changed the Catalonian flag to its correct flag image.
257
+
258
+ - Fixed coding issues that previously updated options incorrectly, which is why many users experienced display issues. All options are now initialized upon plugin activation, which should fix this issue permanently.
259
+
260
+ - Fixed a glitch in our usage of the translate API. Previously, when the user clicked the default language, it would toggle back and forth between the default language and "Afrikaans" language. Now, users will see the correct language displayed at all times, no matter how many times it is clicked.
261
+
262
+ 2.6
263
+
264
+ - Added defaults to all options to ensure there are no more issues with the translator displaying upon installation. Again, sorry for any inconvenience.
265
+
266
+ 2.5
267
+
268
+ - Eliminated an internal Wordpress error being generated from a coding mistake.
269
+
270
+ - Added a default option for the Translator alingment. Previously, this was causing the plugin to disapppear.
271
+
272
+ 2.4
273
+
274
+ - Found a couple of small display errors in the settings page after uploading version 2.3. Sorry for any inconvenience!
275
+
276
+ 2.3
277
+
278
+ - Added a "Preview" area on the settings page that allows you to see your settings in action.
279
+
280
+ - Added custom flag support for all languages (custom flags available ONLY when selecting the "ALL Languages" setting.
281
+
282
+ - Added an option that allows left/right alignment of the translation tool.
283
+
284
+ - Added the "Google Language Translator" widget.
285
+
286
+ - Updated googlelanguagetranslator.php to properly register setting in the admin settings panel.
287
+
288
+ 2.2
289
+
290
+ - Added language "Portuguese" and "German" to the Original Language drop-down option on the settings page.
291
+
292
+ - Changed flag image for the English language (changed United States flag to the United Kingdom flag).
293
+
294
+ - Added link in the settings panel that points to Google's Attribution Policy.
295
+
296
+ 2.1
297
+
298
+ - Added language "Dutch" to the Original Language drop-down option on the settings page.
299
+
300
+ - Added a new CSS class that more accurately hides the "Powered by" text when hiding Google's branding. In previous version, the "Powered by" text was actually disguised by setting it's color to "transparent", but now we have set it's font-size to 0px instead.
301
+
302
+ 2.0 Corrected some immediate errors in the 1.9 update.
303
+
304
+ 1.9
305
+
306
+ - Added 7 flag image choices that, when clicked by website visitors, will change the language displayed, both on the website, AND in the drop-down box (flag language choices are limited to those provided in this plugin).
307
+
308
+ - Added 6 additional languages to the translator, as provided in Google's most recent updates ( new languages include Bosnian, Cebuano, Khmer, Marathi, Hmong, Javanese ).
309
+
310
+ - Corrected a minor technical issue where the Czech option (on the backend) was incorrectly displaying the Croatian language on the front end.
311
+
312
+ - Added jQuery functionality to the settings panel to improve the user experience.
313
+
314
+ - Added an option for users to display/hide the flag images.
315
+
316
+ - Added an option for users to display/hide the translate box when flags are displayed.
317
+
318
+ - Removed the settings.css file - I found a better way of displaying the options without CSS.
319
+
320
+ 1.8 Modified google-language-translator.php to display the correct output to the browser when horizontal layout is selected. Previously, it was not displaying at all.
321
+
322
+ 1.7 Modified google-language-translator.php so that jQuery and CSS styles were enqueued properly onto the settings page only. Previously, jQuery functionality and CSS styles were being added to all pages of the Wordpresss Dashboard, which was causing functionality and display issues for some users.
323
+
324
+ 1.6 Added "Specific Language" support to the plugin settings, which allows the user to choose specific languages that are displayed to website visitors.
325
+
326
+ 1.5 Added "Original Language" support to the plugin settings, which allows the user to choose the original language of their website, which ultimately removes the original language as a choice in the language drop-down presented to website visitors.
327
+
328
+ 1.4 Corrected display problems associated with CSS styles not being placed correctly in wp_head.
329
+
330
+ 1.3 HTML display problem in the sidebar area now fixed. Previously, inserting the [google-translator] plugin into a text widget caused it to display above the widget, instead of inside of it.
331
+
332
+ 1.2 Shortcode support is now available for adding [google-translator] to text widgets. I apologize for any inconvenience this may have caused.
333
+
334
+ 1.1 The shortcode supplied on the settings page was updated to display '[google-translator]'.
335
+
336
+ == Screenshots ==
337
+
338
+ 1. Settings include: inline or vertical layout, hide/show Google toolbar, display specific languages, and show/hide Google branding. Add the shortcode to pages, posts, and widgets.