Version Description
Download this release
Release Info
Developer | rm2773 |
Plugin | Google Language Translator |
Version | 3.0.9 |
Comparing to | |
See all releases |
Code changes from version 3.0.8 to 3.0.9
- css/style.php +6 -6
- google-language-translator.php +2975 -2982
- readme.txt +7 -1
- widget.php +50 -52
css/style.php
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
-
<style type="text/css">
|
2 |
<?php
|
3 |
|
4 |
-
|
5 |
-
|
|
|
|
|
6 |
|
7 |
if (get_option('googlelanguagetranslator_flags') == 'show_flags') {
|
8 |
|
@@ -93,6 +94,5 @@ if(get_option('googlelanguagetranslator_toolbar')=='Yes') {
|
|
93 |
echo 'body { top:0px !important;}';
|
94 |
}
|
95 |
}
|
96 |
-
|
97 |
-
?>
|
98 |
-
</style>
|
|
|
1 |
<?php
|
2 |
|
3 |
+
$glt_css = get_option("googlelanguagetranslator_css");
|
4 |
+
|
5 |
+
echo '<style type="text/css">';
|
6 |
+
echo $glt_css;
|
7 |
|
8 |
if (get_option('googlelanguagetranslator_flags') == 'show_flags') {
|
9 |
|
94 |
echo 'body { top:0px !important;}';
|
95 |
}
|
96 |
}
|
97 |
+
echo '</style>';
|
98 |
+
?>
|
|
google-language-translator.php
CHANGED
@@ -1,2982 +1,2975 @@
|
|
1 |
-
<?php
|
2 |
-
/*
|
3 |
-
Plugin Name: Google Language Translator
|
4 |
-
Plugin URI: http://www.studio88design.com/plugins/google-language-translator
|
5 |
-
Version: 3.0.
|
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.studio88design.com/
|
9 |
-
*/
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
add_option('
|
39 |
-
add_option('
|
40 |
-
add_option('
|
41 |
-
add_option('
|
42 |
-
add_option('
|
43 |
-
add_option('
|
44 |
-
add_option('
|
45 |
-
add_option('
|
46 |
-
add_option('
|
47 |
-
add_option('
|
48 |
-
add_option('
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
$
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
|
511 |
-
|
512 |
-
|
513 |
-
|
514 |
-
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
-
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
-
|
537 |
-
|
538 |
-
|
539 |
-
|
540 |
-
|
541 |
-
|
542 |
-
|
543 |
-
|
544 |
-
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
-
|
551 |
-
|
552 |
-
|
553 |
-
|
554 |
-
|
555 |
-
|
556 |
-
|
557 |
-
|
558 |
-
|
559 |
-
|
560 |
-
|
561 |
-
|
562 |
-
|
563 |
-
|
564 |
-
|
565 |
-
|
566 |
-
|
567 |
-
|
568 |
-
|
569 |
-
|
570 |
-
|
571 |
-
|
572 |
-
|
573 |
-
|
574 |
-
|
575 |
-
|
576 |
-
|
577 |
-
|
578 |
-
|
579 |
-
|
580 |
-
|
581 |
-
|
582 |
-
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
-
|
605 |
-
|
606 |
-
|
607 |
-
|
608 |
-
|
609 |
-
|
610 |
-
|
611 |
-
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
-
|
620 |
-
|
621 |
-
|
622 |
-
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
-
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
-
|
653 |
-
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
-
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
-
|
679 |
-
|
680 |
-
|
681 |
-
|
682 |
-
|
683 |
-
|
684 |
-
|
685 |
-
|
686 |
-
|
687 |
-
|
688 |
-
|
689 |
-
|
690 |
-
|
691 |
-
|
692 |
-
|
693 |
-
|
694 |
-
|
695 |
-
|
696 |
-
|
697 |
-
|
698 |
-
|
699 |
-
|
700 |
-
|
701 |
-
|
702 |
-
|
703 |
-
|
704 |
-
|
705 |
-
|
706 |
-
|
707 |
-
|
708 |
-
|
709 |
-
|
710 |
-
|
711 |
-
|
712 |
-
|
713 |
-
|
714 |
-
|
715 |
-
|
716 |
-
|
717 |
-
|
718 |
-
|
719 |
-
|
720 |
-
|
721 |
-
|
722 |
-
|
723 |
-
|
724 |
-
|
725 |
-
|
726 |
-
|
727 |
-
|
728 |
-
|
729 |
-
|
730 |
-
|
731 |
-
|
732 |
-
|
733 |
-
|
734 |
-
|
735 |
-
|
736 |
-
|
737 |
-
|
738 |
-
|
739 |
-
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
-
|
744 |
-
|
745 |
-
|
746 |
-
|
747 |
-
|
748 |
-
|
749 |
-
|
750 |
-
|
751 |
-
|
752 |
-
|
753 |
-
|
754 |
-
|
755 |
-
|
756 |
-
|
757 |
-
|
758 |
-
|
759 |
-
|
760 |
-
|
761 |
-
|
762 |
-
|
763 |
-
|
764 |
-
|
765 |
-
|
766 |
-
|
767 |
-
|
768 |
-
|
769 |
-
|
770 |
-
|
771 |
-
|
772 |
-
|
773 |
-
|
774 |
-
|
775 |
-
|
776 |
-
|
777 |
-
|
778 |
-
|
779 |
-
|
780 |
-
|
781 |
-
|
782 |
-
|
783 |
-
|
784 |
-
|
785 |
-
|
786 |
-
|
787 |
-
|
788 |
-
|
789 |
-
|
790 |
-
|
791 |
-
|
792 |
-
|
793 |
-
|
794 |
-
|
795 |
-
|
796 |
-
|
797 |
-
|
798 |
-
|
799 |
-
|
800 |
-
|
801 |
-
|
802 |
-
|
803 |
-
|
804 |
-
|
805 |
-
|
806 |
-
|
807 |
-
|
808 |
-
|
809 |
-
|
810 |
-
|
811 |
-
|
812 |
-
|
813 |
-
|
814 |
-
|
815 |
-
|
816 |
-
|
817 |
-
|
818 |
-
|
819 |
-
|
820 |
-
|
821 |
-
|
822 |
-
|
823 |
-
|
824 |
-
|
825 |
-
|
826 |
-
|
827 |
-
|
828 |
-
|
829 |
-
|
830 |
-
|
831 |
-
|
832 |
-
|
833 |
-
$
|
834 |
-
|
835 |
-
|
836 |
-
|
837 |
-
|
838 |
-
|
839 |
-
|
840 |
-
|
841 |
-
|
842 |
-
|
843 |
-
|
844 |
-
|
845 |
-
|
846 |
-
|
847 |
-
|
848 |
-
|
849 |
-
|
850 |
-
|
851 |
-
|
852 |
-
|
853 |
-
|
854 |
-
|
855 |
-
|
856 |
-
|
857 |
-
|
858 |
-
|
859 |
-
|
860 |
-
|
861 |
-
|
862 |
-
|
863 |
-
|
864 |
-
|
865 |
-
|
866 |
-
|
867 |
-
|
868 |
-
|
869 |
-
|
870 |
-
|
871 |
-
|
872 |
-
|
873 |
-
|
874 |
-
|
875 |
-
|
876 |
-
|
877 |
-
|
878 |
-
|
879 |
-
|
880 |
-
|
881 |
-
|
882 |
-
|
883 |
-
|
884 |
-
|
885 |
-
|
886 |
-
|
887 |
-
|
888 |
-
|
889 |
-
|
890 |
-
|
891 |
-
|
892 |
-
|
893 |
-
|
894 |
-
|
895 |
-
|
896 |
-
|
897 |
-
|
898 |
-
|
899 |
-
|
900 |
-
|
901 |
-
|
902 |
-
|
903 |
-
|
904 |
-
|
905 |
-
|
906 |
-
|
907 |
-
|
908 |
-
|
909 |
-
|
910 |
-
|
911 |
-
|
912 |
-
|
913 |
-
|
914 |
-
|
915 |
-
|
916 |
-
|
917 |
-
|
918 |
-
|
919 |
-
|
920 |
-
|
921 |
-
|
922 |
-
|
923 |
-
|
924 |
-
|
925 |
-
|
926 |
-
|
927 |
-
|
928 |
-
|
929 |
-
|
930 |
-
|
931 |
-
|
932 |
-
|
933 |
-
|
934 |
-
|
935 |
-
|
936 |
-
|
937 |
-
|
938 |
-
|
939 |
-
|
940 |
-
|
941 |
-
|
942 |
-
|
943 |
-
|
944 |
-
|
945 |
-
|
946 |
-
|
947 |
-
|
948 |
-
|
949 |
-
|
950 |
-
|
951 |
-
|
952 |
-
|
953 |
-
|
954 |
-
|
955 |
-
|
956 |
-
|
957 |
-
|
958 |
-
|
959 |
-
|
960 |
-
|
961 |
-
|
962 |
-
|
963 |
-
|
964 |
-
|
965 |
-
|
966 |
-
|
967 |
-
|
968 |
-
|
969 |
-
|
970 |
-
|
971 |
-
|
972 |
-
|
973 |
-
|
974 |
-
|
975 |
-
|
976 |
-
|
977 |
-
|
978 |
-
|
979 |
-
|
980 |
-
|
981 |
-
|
982 |
-
|
983 |
-
|
984 |
-
|
985 |
-
|
986 |
-
|
987 |
-
|
988 |
-
|
989 |
-
|
990 |
-
|
991 |
-
|
992 |
-
|
993 |
-
|
994 |
-
|
995 |
-
|
996 |
-
|
997 |
-
|
998 |
-
|
999 |
-
|
1000 |
-
|
1001 |
-
|
1002 |
-
|
1003 |
-
|
1004 |
-
|
1005 |
-
|
1006 |
-
|
1007 |
-
|
1008 |
-
|
1009 |
-
|
1010 |
-
|
1011 |
-
|
1012 |
-
|
1013 |
-
|
1014 |
-
|
1015 |
-
|
1016 |
-
|
1017 |
-
|
1018 |
-
|
1019 |
-
|
1020 |
-
|
1021 |
-
|
1022 |
-
|
1023 |
-
|
1024 |
-
|
1025 |
-
|
1026 |
-
|
1027 |
-
|
1028 |
-
|
1029 |
-
|
1030 |
-
|
1031 |
-
|
1032 |
-
|
1033 |
-
|
1034 |
-
|
1035 |
-
|
1036 |
-
|
1037 |
-
|
1038 |
-
|
1039 |
-
|
1040 |
-
|
1041 |
-
|
1042 |
-
|
1043 |
-
|
1044 |
-
|
1045 |
-
|
1046 |
-
|
1047 |
-
|
1048 |
-
|
1049 |
-
|
1050 |
-
|
1051 |
-
|
1052 |
-
|
1053 |
-
|
1054 |
-
|
1055 |
-
|
1056 |
-
|
1057 |
-
|
1058 |
-
|
1059 |
-
|
1060 |
-
|
1061 |
-
|
1062 |
-
|
1063 |
-
|
1064 |
-
|
1065 |
-
|
1066 |
-
|
1067 |
-
|
1068 |
-
|
1069 |
-
|
1070 |
-
|
1071 |
-
|
1072 |
-
|
1073 |
-
|
1074 |
-
|
1075 |
-
|
1076 |
-
|
1077 |
-
|
1078 |
-
|
1079 |
-
|
1080 |
-
|
1081 |
-
|
1082 |
-
|
1083 |
-
|
1084 |
-
|
1085 |
-
|
1086 |
-
|
1087 |
-
|
1088 |
-
|
1089 |
-
|
1090 |
-
|
1091 |
-
|
1092 |
-
|
1093 |
-
|
1094 |
-
|
1095 |
-
|
1096 |
-
|
1097 |
-
|
1098 |
-
|
1099 |
-
|
1100 |
-
|
1101 |
-
|
1102 |
-
|
1103 |
-
|
1104 |
-
|
1105 |
-
|
1106 |
-
|
1107 |
-
|
1108 |
-
|
1109 |
-
|
1110 |
-
|
1111 |
-
|
1112 |
-
|
1113 |
-
|
1114 |
-
|
1115 |
-
|
1116 |
-
|
1117 |
-
|
1118 |
-
|
1119 |
-
|
1120 |
-
|
1121 |
-
|
1122 |
-
|
1123 |
-
|
1124 |
-
|
1125 |
-
|
1126 |
-
|
1127 |
-
|
1128 |
-
|
1129 |
-
|
1130 |
-
|
1131 |
-
|
1132 |
-
|
1133 |
-
|
1134 |
-
|
1135 |
-
|
1136 |
-
|
1137 |
-
|
1138 |
-
|
1139 |
-
|
1140 |
-
|
1141 |
-
|
1142 |
-
|
1143 |
-
|
1144 |
-
|
1145 |
-
|
1146 |
-
|
1147 |
-
|
1148 |
-
|
1149 |
-
|
1150 |
-
|
1151 |
-
|
1152 |
-
|
1153 |
-
|
1154 |
-
|
1155 |
-
|
1156 |
-
|
1157 |
-
|
1158 |
-
|
1159 |
-
|
1160 |
-
|
1161 |
-
|
1162 |
-
|
1163 |
-
|
1164 |
-
|
1165 |
-
$str.='
|
1166 |
-
|
1167 |
-
|
1168 |
-
|
1169 |
-
|
1170 |
-
|
1171 |
-
|
1172 |
-
|
1173 |
-
|
1174 |
-
|
1175 |
-
|
1176 |
-
|
1177 |
-
|
1178 |
-
|
1179 |
-
|
1180 |
-
|
1181 |
-
|
1182 |
-
|
1183 |
-
|
1184 |
-
|
1185 |
-
|
1186 |
-
|
1187 |
-
|
1188 |
-
|
1189 |
-
|
1190 |
-
|
1191 |
-
|
1192 |
-
|
1193 |
-
|
1194 |
-
|
1195 |
-
|
1196 |
-
|
1197 |
-
|
1198 |
-
|
1199 |
-
|
1200 |
-
|
1201 |
-
|
1202 |
-
|
1203 |
-
|
1204 |
-
|
1205 |
-
|
1206 |
-
|
1207 |
-
|
1208 |
-
|
1209 |
-
|
1210 |
-
|
1211 |
-
|
1212 |
-
|
1213 |
-
|
1214 |
-
|
1215 |
-
|
1216 |
-
|
1217 |
-
|
1218 |
-
|
1219 |
-
|
1220 |
-
|
1221 |
-
|
1222 |
-
|
1223 |
-
|
1224 |
-
|
1225 |
-
|
1226 |
-
|
1227 |
-
|
1228 |
-
|
1229 |
-
|
1230 |
-
|
1231 |
-
|
1232 |
-
|
1233 |
-
|
1234 |
-
|
1235 |
-
|
1236 |
-
|
1237 |
-
|
1238 |
-
|
1239 |
-
|
1240 |
-
|
1241 |
-
|
1242 |
-
|
1243 |
-
|
1244 |
-
|
1245 |
-
|
1246 |
-
|
1247 |
-
|
1248 |
-
|
1249 |
-
|
1250 |
-
|
1251 |
-
|
1252 |
-
|
1253 |
-
|
1254 |
-
|
1255 |
-
|
1256 |
-
|
1257 |
-
|
1258 |
-
|
1259 |
-
|
1260 |
-
|
1261 |
-
|
1262 |
-
|
1263 |
-
|
1264 |
-
|
1265 |
-
|
1266 |
-
|
1267 |
-
|
1268 |
-
|
1269 |
-
|
1270 |
-
|
1271 |
-
|
1272 |
-
|
1273 |
-
|
1274 |
-
|
1275 |
-
|
1276 |
-
|
1277 |
-
|
1278 |
-
|
1279 |
-
|
1280 |
-
|
1281 |
-
|
1282 |
-
|
1283 |
-
|
1284 |
-
|
1285 |
-
|
1286 |
-
|
1287 |
-
|
1288 |
-
|
1289 |
-
|
1290 |
-
|
1291 |
-
|
1292 |
-
|
1293 |
-
|
1294 |
-
|
1295 |
-
|
1296 |
-
|
1297 |
-
|
1298 |
-
|
1299 |
-
|
1300 |
-
|
1301 |
-
|
1302 |
-
|
1303 |
-
|
1304 |
-
|
1305 |
-
|
1306 |
-
|
1307 |
-
|
1308 |
-
|
1309 |
-
|
1310 |
-
|
1311 |
-
|
1312 |
-
|
1313 |
-
|
1314 |
-
|
1315 |
-
|
1316 |
-
|
1317 |
-
|
1318 |
-
|
1319 |
-
|
1320 |
-
|
1321 |
-
|
1322 |
-
|
1323 |
-
|
1324 |
-
|
1325 |
-
|
1326 |
-
|
1327 |
-
|
1328 |
-
|
1329 |
-
|
1330 |
-
|
1331 |
-
|
1332 |
-
|
1333 |
-
|
1334 |
-
|
1335 |
-
|
1336 |
-
|
1337 |
-
|
1338 |
-
|
1339 |
-
|
1340 |
-
|
1341 |
-
|
1342 |
-
|
1343 |
-
|
1344 |
-
|
1345 |
-
|
1346 |
-
|
1347 |
-
|
1348 |
-
|
1349 |
-
|
1350 |
-
|
1351 |
-
|
1352 |
-
|
1353 |
-
|
1354 |
-
|
1355 |
-
|
1356 |
-
|
1357 |
-
|
1358 |
-
|
1359 |
-
|
1360 |
-
|
1361 |
-
|
1362 |
-
|
1363 |
-
|
1364 |
-
|
1365 |
-
|
1366 |
-
|
1367 |
-
|
1368 |
-
|
1369 |
-
|
1370 |
-
|
1371 |
-
|
1372 |
-
|
1373 |
-
|
1374 |
-
|
1375 |
-
|
1376 |
-
|
1377 |
-
|
1378 |
-
|
1379 |
-
|
1380 |
-
|
1381 |
-
|
1382 |
-
|
1383 |
-
|
1384 |
-
|
1385 |
-
|
1386 |
-
|
1387 |
-
|
1388 |
-
|
1389 |
-
|
1390 |
-
|
1391 |
-
|
1392 |
-
|
1393 |
-
|
1394 |
-
|
1395 |
-
|
1396 |
-
|
1397 |
-
|
1398 |
-
|
1399 |
-
|
1400 |
-
|
1401 |
-
|
1402 |
-
|
1403 |
-
|
1404 |
-
|
1405 |
-
|
1406 |
-
|
1407 |
-
|
1408 |
-
|
1409 |
-
|
1410 |
-
|
1411 |
-
|
1412 |
-
|
1413 |
-
|
1414 |
-
|
1415 |
-
|
1416 |
-
|
1417 |
-
|
1418 |
-
|
1419 |
-
|
1420 |
-
|
1421 |
-
|
1422 |
-
|
1423 |
-
|
1424 |
-
|
1425 |
-
|
1426 |
-
|
1427 |
-
|
1428 |
-
|
1429 |
-
|
1430 |
-
|
1431 |
-
|
1432 |
-
|
1433 |
-
|
1434 |
-
|
1435 |
-
|
1436 |
-
|
1437 |
-
|
1438 |
-
|
1439 |
-
|
1440 |
-
|
1441 |
-
|
1442 |
-
|
1443 |
-
|
1444 |
-
|
1445 |
-
|
1446 |
-
|
1447 |
-
|
1448 |
-
|
1449 |
-
|
1450 |
-
|
1451 |
-
|
1452 |
-
|
1453 |
-
|
1454 |
-
|
1455 |
-
|
1456 |
-
|
1457 |
-
|
1458 |
-
|
1459 |
-
|
1460 |
-
|
1461 |
-
|
1462 |
-
|
1463 |
-
|
1464 |
-
|
1465 |
-
|
1466 |
-
|
1467 |
-
|
1468 |
-
|
1469 |
-
|
1470 |
-
|
1471 |
-
|
1472 |
-
|
1473 |
-
|
1474 |
-
|
1475 |
-
|
1476 |
-
|
1477 |
-
|
1478 |
-
|
1479 |
-
|
1480 |
-
|
1481 |
-
|
1482 |
-
|
1483 |
-
|
1484 |
-
|
1485 |
-
|
1486 |
-
|
1487 |
-
|
1488 |
-
|
1489 |
-
|
1490 |
-
|
1491 |
-
|
1492 |
-
|
1493 |
-
|
1494 |
-
|
1495 |
-
|
1496 |
-
|
1497 |
-
|
1498 |
-
|
1499 |
-
|
1500 |
-
|
1501 |
-
|
1502 |
-
|
1503 |
-
|
1504 |
-
|
1505 |
-
|
1506 |
-
|
1507 |
-
|
1508 |
-
|
1509 |
-
|
1510 |
-
|
1511 |
-
|
1512 |
-
|
1513 |
-
|
1514 |
-
|
1515 |
-
|
1516 |
-
|
1517 |
-
|
1518 |
-
|
1519 |
-
|
1520 |
-
|
1521 |
-
|
1522 |
-
|
1523 |
-
|
1524 |
-
|
1525 |
-
|
1526 |
-
|
1527 |
-
|
1528 |
-
|
1529 |
-
|
1530 |
-
|
1531 |
-
|
1532 |
-
|
1533 |
-
|
1534 |
-
|
1535 |
-
add_settings_field( '
|
1536 |
-
add_settings_field( '
|
1537 |
-
add_settings_field( '
|
1538 |
-
|
1539 |
-
add_settings_field( '
|
1540 |
-
add_settings_field( '
|
1541 |
-
add_settings_field( '
|
1542 |
-
add_settings_field( '
|
1543 |
-
add_settings_field( '
|
1544 |
-
add_settings_field( '
|
1545 |
-
add_settings_field( '
|
1546 |
-
|
1547 |
-
|
1548 |
-
|
1549 |
-
|
1550 |
-
|
1551 |
-
|
1552 |
-
|
1553 |
-
|
1554 |
-
register_setting( 'google_language_translator','
|
1555 |
-
register_setting( 'google_language_translator','
|
1556 |
-
register_setting( 'google_language_translator','
|
1557 |
-
register_setting( 'google_language_translator','
|
1558 |
-
register_setting( 'google_language_translator','
|
1559 |
-
register_setting( 'google_language_translator','
|
1560 |
-
register_setting( 'google_language_translator','
|
1561 |
-
register_setting( 'google_language_translator','
|
1562 |
-
register_setting( 'google_language_translator','
|
1563 |
-
register_setting( 'google_language_translator','
|
1564 |
-
register_setting( 'google_language_translator','
|
1565 |
-
register_setting( 'google_language_translator','
|
1566 |
-
register_setting( 'google_language_translator','
|
1567 |
-
|
1568 |
-
|
1569 |
-
|
1570 |
-
|
1571 |
-
|
1572 |
-
|
1573 |
-
|
1574 |
-
|
1575 |
-
|
1576 |
-
|
1577 |
-
|
1578 |
-
|
1579 |
-
|
1580 |
-
|
1581 |
-
|
1582 |
-
|
1583 |
-
|
1584 |
-
|
1585 |
-
|
1586 |
-
|
1587 |
-
|
1588 |
-
|
1589 |
-
|
1590 |
-
|
1591 |
-
|
1592 |
-
|
1593 |
-
|
1594 |
-
|
1595 |
-
|
1596 |
-
|
1597 |
-
|
1598 |
-
|
1599 |
-
|
1600 |
-
|
1601 |
-
|
1602 |
-
|
1603 |
-
|
1604 |
-
|
1605 |
-
<option value="
|
1606 |
-
<option value="
|
1607 |
-
<option value="
|
1608 |
-
<option value="
|
1609 |
-
<option value="
|
1610 |
-
<option value="
|
1611 |
-
<option value="
|
1612 |
-
<option value="
|
1613 |
-
<option value="
|
1614 |
-
<option value="
|
1615 |
-
<option value="
|
1616 |
-
<option value="
|
1617 |
-
<option value="
|
1618 |
-
<option value="
|
1619 |
-
<option value="
|
1620 |
-
<option value="
|
1621 |
-
<option value="
|
1622 |
-
<option value="
|
1623 |
-
<option value="
|
1624 |
-
<option value="
|
1625 |
-
<option value="
|
1626 |
-
<option value="
|
1627 |
-
<option value="
|
1628 |
-
<option value="
|
1629 |
-
|
1630 |
-
<option value="
|
1631 |
-
<option value="
|
1632 |
-
<option value="
|
1633 |
-
<option value="
|
1634 |
-
<option value="
|
1635 |
-
<option value="
|
1636 |
-
<option value="
|
1637 |
-
<option value="
|
1638 |
-
<option value="
|
1639 |
-
<option value="
|
1640 |
-
<option value="
|
1641 |
-
|
1642 |
-
<option value="
|
1643 |
-
<option value="
|
1644 |
-
<option value="
|
1645 |
-
<option value="
|
1646 |
-
<option value="
|
1647 |
-
<option value="
|
1648 |
-
<option value="
|
1649 |
-
<option value="
|
1650 |
-
<option value="
|
1651 |
-
|
1652 |
-
<option value="
|
1653 |
-
|
1654 |
-
|
1655 |
-
<option value="
|
1656 |
-
<option value="
|
1657 |
-
|
1658 |
-
<option value="
|
1659 |
-
<option value="
|
1660 |
-
|
1661 |
-
<option value="
|
1662 |
-
<option value="
|
1663 |
-
<option value="
|
1664 |
-
<option value="
|
1665 |
-
<option value="
|
1666 |
-
<option value="
|
1667 |
-
<option value="
|
1668 |
-
<option value="
|
1669 |
-
<option value="
|
1670 |
-
<option value="
|
1671 |
-
|
1672 |
-
<option value="
|
1673 |
-
<option value="
|
1674 |
-
<option value="
|
1675 |
-
<option value="
|
1676 |
-
<option value="
|
1677 |
-
<option value="
|
1678 |
-
|
1679 |
-
<option value="
|
1680 |
-
|
1681 |
-
|
1682 |
-
|
1683 |
-
|
1684 |
-
|
1685 |
-
|
1686 |
-
|
1687 |
-
|
1688 |
-
|
1689 |
-
|
1690 |
-
|
1691 |
-
|
1692 |
-
|
1693 |
-
|
1694 |
-
|
1695 |
-
|
1696 |
-
|
1697 |
-
|
1698 |
-
|
1699 |
-
|
1700 |
-
|
1701 |
-
|
1702 |
-
|
1703 |
-
|
1704 |
-
|
1705 |
-
|
1706 |
-
|
1707 |
-
|
1708 |
-
|
1709 |
-
|
1710 |
-
|
1711 |
-
|
1712 |
-
|
1713 |
-
|
1714 |
-
|
1715 |
-
|
1716 |
-
|
1717 |
-
|
1718 |
-
|
1719 |
-
|
1720 |
-
|
1721 |
-
}
|
1722 |
-
|
1723 |
-
|
1724 |
-
|
1725 |
-
|
1726 |
-
|
1727 |
-
|
1728 |
-
|
1729 |
-
|
1730 |
-
|
1731 |
-
|
1732 |
-
|
1733 |
-
|
1734 |
-
|
1735 |
-
|
1736 |
-
|
1737 |
-
|
1738 |
-
|
1739 |
-
|
1740 |
-
|
1741 |
-
|
1742 |
-
|
1743 |
-
|
1744 |
-
|
1745 |
-
|
1746 |
-
|
1747 |
-
|
1748 |
-
|
1749 |
-
|
1750 |
-
|
1751 |
-
|
1752 |
-
|
1753 |
-
|
1754 |
-
|
1755 |
-
|
1756 |
-
|
1757 |
-
|
1758 |
-
|
1759 |
-
|
1760 |
-
|
1761 |
-
|
1762 |
-
|
1763 |
-
|
1764 |
-
|
1765 |
-
|
1766 |
-
|
1767 |
-
|
1768 |
-
|
1769 |
-
|
1770 |
-
|
1771 |
-
|
1772 |
-
|
1773 |
-
|
1774 |
-
|
1775 |
-
|
1776 |
-
|
1777 |
-
|
1778 |
-
|
1779 |
-
|
1780 |
-
|
1781 |
-
|
1782 |
-
|
1783 |
-
|
1784 |
-
|
1785 |
-
|
1786 |
-
|
1787 |
-
|
1788 |
-
|
1789 |
-
|
1790 |
-
|
1791 |
-
|
1792 |
-
|
1793 |
-
|
1794 |
-
|
1795 |
-
|
1796 |
-
|
1797 |
-
|
1798 |
-
|
1799 |
-
|
1800 |
-
|
1801 |
-
|
1802 |
-
|
1803 |
-
|
1804 |
-
|
1805 |
-
|
1806 |
-
|
1807 |
-
|
1808 |
-
|
1809 |
-
|
1810 |
-
|
1811 |
-
|
1812 |
-
|
1813 |
-
|
1814 |
-
|
1815 |
-
|
1816 |
-
|
1817 |
-
|
1818 |
-
|
1819 |
-
|
1820 |
-
|
1821 |
-
|
1822 |
-
|
1823 |
-
|
1824 |
-
|
1825 |
-
|
1826 |
-
|
1827 |
-
|
1828 |
-
|
1829 |
-
|
1830 |
-
|
1831 |
-
|
1832 |
-
|
1833 |
-
|
1834 |
-
|
1835 |
-
|
1836 |
-
|
1837 |
-
|
1838 |
-
|
1839 |
-
|
1840 |
-
|
1841 |
-
|
1842 |
-
|
1843 |
-
|
1844 |
-
|
1845 |
-
|
1846 |
-
|
1847 |
-
|
1848 |
-
|
1849 |
-
|
1850 |
-
|
1851 |
-
|
1852 |
-
|
1853 |
-
|
1854 |
-
|
1855 |
-
|
1856 |
-
|
1857 |
-
|
1858 |
-
|
1859 |
-
|
1860 |
-
|
1861 |
-
|
1862 |
-
|
1863 |
-
|
1864 |
-
|
1865 |
-
|
1866 |
-
|
1867 |
-
|
1868 |
-
|
1869 |
-
|
1870 |
-
|
1871 |
-
|
1872 |
-
|
1873 |
-
|
1874 |
-
|
1875 |
-
|
1876 |
-
|
1877 |
-
|
1878 |
-
|
1879 |
-
|
1880 |
-
|
1881 |
-
|
1882 |
-
|
1883 |
-
|
1884 |
-
|
1885 |
-
|
1886 |
-
|
1887 |
-
|
1888 |
-
|
1889 |
-
|
1890 |
-
|
1891 |
-
|
1892 |
-
|
1893 |
-
|
1894 |
-
|
1895 |
-
|
1896 |
-
|
1897 |
-
|
1898 |
-
|
1899 |
-
|
1900 |
-
|
1901 |
-
|
1902 |
-
|
1903 |
-
|
1904 |
-
|
1905 |
-
|
1906 |
-
|
1907 |
-
|
1908 |
-
|
1909 |
-
|
1910 |
-
|
1911 |
-
|
1912 |
-
|
1913 |
-
|
1914 |
-
|
1915 |
-
|
1916 |
-
|
1917 |
-
|
1918 |
-
|
1919 |
-
|
1920 |
-
|
1921 |
-
|
1922 |
-
|
1923 |
-
|
1924 |
-
|
1925 |
-
|
1926 |
-
|
1927 |
-
|
1928 |
-
|
1929 |
-
|
1930 |
-
|
1931 |
-
|
1932 |
-
|
1933 |
-
|
1934 |
-
|
1935 |
-
|
1936 |
-
|
1937 |
-
|
1938 |
-
|
1939 |
-
|
1940 |
-
|
1941 |
-
|
1942 |
-
|
1943 |
-
|
1944 |
-
|
1945 |
-
|
1946 |
-
|
1947 |
-
|
1948 |
-
|
1949 |
-
|
1950 |
-
|
1951 |
-
|
1952 |
-
|
1953 |
-
|
1954 |
-
|
1955 |
-
|
1956 |
-
|
1957 |
-
|
1958 |
-
|
1959 |
-
|
1960 |
-
|
1961 |
-
|
1962 |
-
|
1963 |
-
|
1964 |
-
|
1965 |
-
|
1966 |
-
|
1967 |
-
|
1968 |
-
|
1969 |
-
|
1970 |
-
|
1971 |
-
|
1972 |
-
|
1973 |
-
|
1974 |
-
|
1975 |
-
|
1976 |
-
|
1977 |
-
|
1978 |
-
|
1979 |
-
|
1980 |
-
|
1981 |
-
|
1982 |
-
|
1983 |
-
|
1984 |
-
|
1985 |
-
|
1986 |
-
|
1987 |
-
|
1988 |
-
|
1989 |
-
|
1990 |
-
|
1991 |
-
|
1992 |
-
|
1993 |
-
|
1994 |
-
|
1995 |
-
|
1996 |
-
|
1997 |
-
|
1998 |
-
|
1999 |
-
|
2000 |
-
|
2001 |
-
|
2002 |
-
|
2003 |
-
|
2004 |
-
|
2005 |
-
|
2006 |
-
|
2007 |
-
|
2008 |
-
|
2009 |
-
|
2010 |
-
|
2011 |
-
|
2012 |
-
|
2013 |
-
|
2014 |
-
|
2015 |
-
|
2016 |
-
|
2017 |
-
|
2018 |
-
|
2019 |
-
|
2020 |
-
|
2021 |
-
|
2022 |
-
|
2023 |
-
|
2024 |
-
|
2025 |
-
|
2026 |
-
|
2027 |
-
|
2028 |
-
|
2029 |
-
|
2030 |
-
|
2031 |
-
|
2032 |
-
|
2033 |
-
|
2034 |
-
|
2035 |
-
|
2036 |
-
|
2037 |
-
|
2038 |
-
|
2039 |
-
|
2040 |
-
|
2041 |
-
|
2042 |
-
|
2043 |
-
|
2044 |
-
|
2045 |
-
|
2046 |
-
|
2047 |
-
|
2048 |
-
|
2049 |
-
|
2050 |
-
|
2051 |
-
|
2052 |
-
<div><input type="checkbox" name="language_display_settings[
|
2053 |
-
<div><input type="checkbox" name="language_display_settings[
|
2054 |
-
<div><input type="checkbox" name="language_display_settings[
|
2055 |
-
|
2056 |
-
<div><input type="checkbox" name="language_display_settings[
|
2057 |
-
<div><input type="checkbox" name="language_display_settings[
|
2058 |
-
|
2059 |
-
<div><input type="checkbox" name="language_display_settings[
|
2060 |
-
<div><input type="checkbox" name="language_display_settings[
|
2061 |
-
|
2062 |
-
<div><input type="checkbox" name="language_display_settings[
|
2063 |
-
|
2064 |
-
|
2065 |
-
|
2066 |
-
|
2067 |
-
|
2068 |
-
<div><input type="checkbox" name="language_display_settings[
|
2069 |
-
|
2070 |
-
|
2071 |
-
|
2072 |
-
|
2073 |
-
|
2074 |
-
<div><input type="checkbox" name="language_display_settings[
|
2075 |
-
<div><input type="checkbox" name="language_display_settings[
|
2076 |
-
<div><input type="checkbox" name="language_display_settings[
|
2077 |
-
<div><input type="checkbox" name="language_display_settings[
|
2078 |
-
|
2079 |
-
<div><input type="checkbox" name="language_display_settings[
|
2080 |
-
|
2081 |
-
<div><input type="checkbox" name="language_display_settings[
|
2082 |
-
<div><input type="checkbox" name="language_display_settings[
|
2083 |
-
|
2084 |
-
|
2085 |
-
<div><input type="checkbox" name="language_display_settings[
|
2086 |
-
<div><input type="checkbox" name="language_display_settings[
|
2087 |
-
|
2088 |
-
|
2089 |
-
|
2090 |
-
|
2091 |
-
|
2092 |
-
|
2093 |
-
<div><input type="checkbox" name="language_display_settings[
|
2094 |
-
|
2095 |
-
|
2096 |
-
|
2097 |
-
|
2098 |
-
<div><input type="checkbox" name="language_display_settings[
|
2099 |
-
|
2100 |
-
<div><input type="checkbox" name="language_display_settings[
|
2101 |
-
<div><input type="checkbox" name="language_display_settings[
|
2102 |
-
|
2103 |
-
|
2104 |
-
|
2105 |
-
|
2106 |
-
<div><input type="checkbox" name="language_display_settings[
|
2107 |
-
<div><input type="checkbox" name="language_display_settings[
|
2108 |
-
|
2109 |
-
|
2110 |
-
<div><input type="checkbox" name="language_display_settings[
|
2111 |
-
|
2112 |
-
<div><input type="checkbox" name="language_display_settings[
|
2113 |
-
|
2114 |
-
|
2115 |
-
|
2116 |
-
|
2117 |
-
<div><input type="checkbox" name="language_display_settings[
|
2118 |
-
<div><input type="checkbox" name="language_display_settings[
|
2119 |
-
|
2120 |
-
|
2121 |
-
|
2122 |
-
|
2123 |
-
<div><input type="checkbox" name="language_display_settings[
|
2124 |
-
<div><input type="checkbox" name="language_display_settings[
|
2125 |
-
|
2126 |
-
<div><input type="checkbox" name="language_display_settings[
|
2127 |
-
<div><input type="checkbox" name="language_display_settings[
|
2128 |
-
<div><input type="checkbox" name="language_display_settings[
|
2129 |
-
<div><input type="checkbox" name="language_display_settings[
|
2130 |
-
<div><input type="checkbox" name="language_display_settings[
|
2131 |
-
<div><input type="checkbox" name="language_display_settings[
|
2132 |
-
|
2133 |
-
<div><input type="checkbox" name="language_display_settings[
|
2134 |
-
|
2135 |
-
|
2136 |
-
|
2137 |
-
|
2138 |
-
|
2139 |
-
|
2140 |
-
|
2141 |
-
|
2142 |
-
|
2143 |
-
|
2144 |
-
|
2145 |
-
|
2146 |
-
|
2147 |
-
|
2148 |
-
|
2149 |
-
|
2150 |
-
|
2151 |
-
|
2152 |
-
|
2153 |
-
|
2154 |
-
|
2155 |
-
|
2156 |
-
|
2157 |
-
|
2158 |
-
|
2159 |
-
|
2160 |
-
|
2161 |
-
|
2162 |
-
|
2163 |
-
|
2164 |
-
|
2165 |
-
|
2166 |
-
|
2167 |
-
|
2168 |
-
|
2169 |
-
|
2170 |
-
|
2171 |
-
|
2172 |
-
|
2173 |
-
|
2174 |
-
|
2175 |
-
|
2176 |
-
}
|
2177 |
-
|
2178 |
-
|
2179 |
-
|
2180 |
-
|
2181 |
-
|
2182 |
-
|
2183 |
-
|
2184 |
-
|
2185 |
-
|
2186 |
-
|
2187 |
-
|
2188 |
-
|
2189 |
-
|
2190 |
-
|
2191 |
-
|
2192 |
-
|
2193 |
-
|
2194 |
-
|
2195 |
-
|
2196 |
-
|
2197 |
-
|
2198 |
-
|
2199 |
-
|
2200 |
-
|
2201 |
-
|
2202 |
-
|
2203 |
-
|
2204 |
-
|
2205 |
-
|
2206 |
-
|
2207 |
-
|
2208 |
-
|
2209 |
-
|
2210 |
-
|
2211 |
-
|
2212 |
-
|
2213 |
-
|
2214 |
-
|
2215 |
-
|
2216 |
-
|
2217 |
-
|
2218 |
-
|
2219 |
-
|
2220 |
-
|
2221 |
-
|
2222 |
-
|
2223 |
-
|
2224 |
-
|
2225 |
-
|
2226 |
-
|
2227 |
-
|
2228 |
-
|
2229 |
-
|
2230 |
-
|
2231 |
-
|
2232 |
-
|
2233 |
-
|
2234 |
-
|
2235 |
-
|
2236 |
-
|
2237 |
-
|
2238 |
-
|
2239 |
-
|
2240 |
-
|
2241 |
-
|
2242 |
-
|
2243 |
-
|
2244 |
-
|
2245 |
-
|
2246 |
-
|
2247 |
-
|
2248 |
-
|
2249 |
-
|
2250 |
-
|
2251 |
-
|
2252 |
-
|
2253 |
-
|
2254 |
-
|
2255 |
-
|
2256 |
-
|
2257 |
-
|
2258 |
-
|
2259 |
-
|
2260 |
-
|
2261 |
-
|
2262 |
-
|
2263 |
-
|
2264 |
-
|
2265 |
-
|
2266 |
-
|
2267 |
-
|
2268 |
-
|
2269 |
-
|
2270 |
-
|
2271 |
-
|
2272 |
-
|
2273 |
-
|
2274 |
-
|
2275 |
-
|
2276 |
-
|
2277 |
-
|
2278 |
-
|
2279 |
-
|
2280 |
-
|
2281 |
-
|
2282 |
-
|
2283 |
-
|
2284 |
-
|
2285 |
-
|
2286 |
-
|
2287 |
-
|
2288 |
-
|
2289 |
-
|
2290 |
-
|
2291 |
-
|
2292 |
-
|
2293 |
-
|
2294 |
-
|
2295 |
-
|
2296 |
-
|
2297 |
-
|
2298 |
-
|
2299 |
-
|
2300 |
-
|
2301 |
-
|
2302 |
-
|
2303 |
-
|
2304 |
-
|
2305 |
-
|
2306 |
-
|
2307 |
-
|
2308 |
-
|
2309 |
-
|
2310 |
-
|
2311 |
-
|
2312 |
-
|
2313 |
-
|
2314 |
-
|
2315 |
-
|
2316 |
-
|
2317 |
-
|
2318 |
-
|
2319 |
-
|
2320 |
-
|
2321 |
-
|
2322 |
-
|
2323 |
-
|
2324 |
-
|
2325 |
-
|
2326 |
-
|
2327 |
-
|
2328 |
-
|
2329 |
-
|
2330 |
-
|
2331 |
-
|
2332 |
-
|
2333 |
-
|
2334 |
-
|
2335 |
-
|
2336 |
-
|
2337 |
-
|
2338 |
-
|
2339 |
-
|
2340 |
-
|
2341 |
-
|
2342 |
-
|
2343 |
-
|
2344 |
-
|
2345 |
-
|
2346 |
-
|
2347 |
-
|
2348 |
-
|
2349 |
-
|
2350 |
-
|
2351 |
-
|
2352 |
-
|
2353 |
-
|
2354 |
-
|
2355 |
-
|
2356 |
-
|
2357 |
-
|
2358 |
-
|
2359 |
-
|
2360 |
-
|
2361 |
-
|
2362 |
-
|
2363 |
-
|
2364 |
-
|
2365 |
-
|
2366 |
-
|
2367 |
-
|
2368 |
-
|
2369 |
-
|
2370 |
-
|
2371 |
-
|
2372 |
-
|
2373 |
-
|
2374 |
-
|
2375 |
-
|
2376 |
-
|
2377 |
-
|
2378 |
-
|
2379 |
-
|
2380 |
-
|
2381 |
-
|
2382 |
-
|
2383 |
-
|
2384 |
-
|
2385 |
-
|
2386 |
-
|
2387 |
-
|
2388 |
-
|
2389 |
-
|
2390 |
-
|
2391 |
-
|
2392 |
-
|
2393 |
-
|
2394 |
-
|
2395 |
-
|
2396 |
-
|
2397 |
-
|
2398 |
-
|
2399 |
-
|
2400 |
-
|
2401 |
-
|
2402 |
-
|
2403 |
-
|
2404 |
-
|
2405 |
-
|
2406 |
-
|
2407 |
-
|
2408 |
-
|
2409 |
-
|
2410 |
-
|
2411 |
-
|
2412 |
-
|
2413 |
-
|
2414 |
-
|
2415 |
-
|
2416 |
-
|
2417 |
-
|
2418 |
-
|
2419 |
-
|
2420 |
-
|
2421 |
-
|
2422 |
-
|
2423 |
-
|
2424 |
-
|
2425 |
-
|
2426 |
-
|
2427 |
-
|
2428 |
-
|
2429 |
-
|
2430 |
-
|
2431 |
-
|
2432 |
-
|
2433 |
-
|
2434 |
-
|
2435 |
-
|
2436 |
-
|
2437 |
-
|
2438 |
-
|
2439 |
-
|
2440 |
-
|
2441 |
-
|
2442 |
-
|
2443 |
-
|
2444 |
-
|
2445 |
-
|
2446 |
-
|
2447 |
-
|
2448 |
-
|
2449 |
-
|
2450 |
-
|
2451 |
-
|
2452 |
-
|
2453 |
-
|
2454 |
-
|
2455 |
-
|
2456 |
-
|
2457 |
-
|
2458 |
-
|
2459 |
-
|
2460 |
-
|
2461 |
-
|
2462 |
-
|
2463 |
-
|
2464 |
-
|
2465 |
-
|
2466 |
-
|
2467 |
-
|
2468 |
-
|
2469 |
-
|
2470 |
-
|
2471 |
-
|
2472 |
-
|
2473 |
-
|
2474 |
-
|
2475 |
-
|
2476 |
-
|
2477 |
-
|
2478 |
-
|
2479 |
-
|
2480 |
-
|
2481 |
-
|
2482 |
-
|
2483 |
-
|
2484 |
-
|
2485 |
-
|
2486 |
-
|
2487 |
-
|
2488 |
-
|
2489 |
-
|
2490 |
-
|
2491 |
-
|
2492 |
-
|
2493 |
-
|
2494 |
-
|
2495 |
-
|
2496 |
-
|
2497 |
-
|
2498 |
-
|
2499 |
-
|
2500 |
-
|
2501 |
-
|
2502 |
-
|
2503 |
-
|
2504 |
-
|
2505 |
-
|
2506 |
-
|
2507 |
-
|
2508 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2509 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2510 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2511 |
-
|
2512 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2513 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2514 |
-
|
2515 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2516 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2517 |
-
|
2518 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2519 |
-
|
2520 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2521 |
-
|
2522 |
-
|
2523 |
-
|
2524 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2525 |
-
|
2526 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2527 |
-
|
2528 |
-
|
2529 |
-
|
2530 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2531 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2532 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2533 |
-
|
2534 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2535 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2536 |
-
|
2537 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2538 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2539 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2540 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2541 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2542 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2543 |
-
|
2544 |
-
|
2545 |
-
|
2546 |
-
|
2547 |
-
|
2548 |
-
|
2549 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2550 |
-
|
2551 |
-
|
2552 |
-
|
2553 |
-
|
2554 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2555 |
-
|
2556 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2557 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2558 |
-
|
2559 |
-
|
2560 |
-
|
2561 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2562 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2563 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2564 |
-
|
2565 |
-
|
2566 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2567 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2568 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2569 |
-
|
2570 |
-
|
2571 |
-
|
2572 |
-
|
2573 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2574 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2575 |
-
|
2576 |
-
|
2577 |
-
|
2578 |
-
|
2579 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2580 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2581 |
-
|
2582 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2583 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2584 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2585 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2586 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2587 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2588 |
-
|
2589 |
-
<div><input type="checkbox" name="flag_display_settings[flag-
|
2590 |
-
|
2591 |
-
|
2592 |
-
|
2593 |
-
|
2594 |
-
|
2595 |
-
|
2596 |
-
|
2597 |
-
|
2598 |
-
|
2599 |
-
|
2600 |
-
|
2601 |
-
|
2602 |
-
|
2603 |
-
|
2604 |
-
|
2605 |
-
|
2606 |
-
|
2607 |
-
|
2608 |
-
|
2609 |
-
|
2610 |
-
|
2611 |
-
|
2612 |
-
|
2613 |
-
|
2614 |
-
|
2615 |
-
|
2616 |
-
|
2617 |
-
|
2618 |
-
|
2619 |
-
|
2620 |
-
|
2621 |
-
|
2622 |
-
|
2623 |
-
|
2624 |
-
|
2625 |
-
|
2626 |
-
|
2627 |
-
|
2628 |
-
|
2629 |
-
|
2630 |
-
|
2631 |
-
|
2632 |
-
|
2633 |
-
|
2634 |
-
|
2635 |
-
|
2636 |
-
|
2637 |
-
|
2638 |
-
|
2639 |
-
|
2640 |
-
|
2641 |
-
|
2642 |
-
|
2643 |
-
|
2644 |
-
|
2645 |
-
|
2646 |
-
|
2647 |
-
|
2648 |
-
|
2649 |
-
|
2650 |
-
|
2651 |
-
|
2652 |
-
|
2653 |
-
|
2654 |
-
|
2655 |
-
|
2656 |
-
|
2657 |
-
|
2658 |
-
|
2659 |
-
|
2660 |
-
|
2661 |
-
|
2662 |
-
|
2663 |
-
|
2664 |
-
|
2665 |
-
|
2666 |
-
|
2667 |
-
|
2668 |
-
|
2669 |
-
|
2670 |
-
|
2671 |
-
|
2672 |
-
|
2673 |
-
|
2674 |
-
|
2675 |
-
|
2676 |
-
|
2677 |
-
|
2678 |
-
|
2679 |
-
|
2680 |
-
|
2681 |
-
|
2682 |
-
|
2683 |
-
|
2684 |
-
|
2685 |
-
|
2686 |
-
|
2687 |
-
|
2688 |
-
|
2689 |
-
|
2690 |
-
|
2691 |
-
|
2692 |
-
|
2693 |
-
|
2694 |
-
|
2695 |
-
|
2696 |
-
|
2697 |
-
|
2698 |
-
|
2699 |
-
|
2700 |
-
|
2701 |
-
|
2702 |
-
|
2703 |
-
|
2704 |
-
|
2705 |
-
|
2706 |
-
|
2707 |
-
|
2708 |
-
|
2709 |
-
|
2710 |
-
|
2711 |
-
|
2712 |
-
|
2713 |
-
|
2714 |
-
|
2715 |
-
|
2716 |
-
|
2717 |
-
|
2718 |
-
|
2719 |
-
|
2720 |
-
|
2721 |
-
|
2722 |
-
|
2723 |
-
|
2724 |
-
|
2725 |
-
|
2726 |
-
|
2727 |
-
|
2728 |
-
|
2729 |
-
|
2730 |
-
|
2731 |
-
|
2732 |
-
|
2733 |
-
|
2734 |
-
|
2735 |
-
|
2736 |
-
|
2737 |
-
|
2738 |
-
|
2739 |
-
|
2740 |
-
|
2741 |
-
|
2742 |
-
|
2743 |
-
$
|
2744 |
-
|
2745 |
-
|
2746 |
-
|
2747 |
-
|
2748 |
-
|
2749 |
-
|
2750 |
-
|
2751 |
-
|
2752 |
-
|
2753 |
-
|
2754 |
-
|
2755 |
-
|
2756 |
-
|
2757 |
-
|
2758 |
-
|
2759 |
-
|
2760 |
-
|
2761 |
-
|
2762 |
-
|
2763 |
-
|
2764 |
-
|
2765 |
-
|
2766 |
-
|
2767 |
-
|
2768 |
-
|
2769 |
-
|
2770 |
-
|
2771 |
-
|
2772 |
-
|
2773 |
-
|
2774 |
-
|
2775 |
-
|
2776 |
-
|
2777 |
-
|
2778 |
-
|
2779 |
-
|
2780 |
-
|
2781 |
-
|
2782 |
-
|
2783 |
-
|
2784 |
-
|
2785 |
-
|
2786 |
-
|
2787 |
-
|
2788 |
-
|
2789 |
-
|
2790 |
-
|
2791 |
-
|
2792 |
-
|
2793 |
-
|
2794 |
-
|
2795 |
-
|
2796 |
-
|
2797 |
-
|
2798 |
-
|
2799 |
-
|
2800 |
-
|
2801 |
-
|
2802 |
-
|
2803 |
-
|
2804 |
-
|
2805 |
-
|
2806 |
-
|
2807 |
-
|
2808 |
-
|
2809 |
-
<td
|
2810 |
-
|
2811 |
-
|
2812 |
-
|
2813 |
-
|
2814 |
-
|
2815 |
-
|
2816 |
-
|
2817 |
-
|
2818 |
-
|
2819 |
-
|
2820 |
-
|
2821 |
-
|
2822 |
-
|
2823 |
-
|
2824 |
-
|
2825 |
-
|
2826 |
-
|
2827 |
-
|
2828 |
-
<td
|
2829 |
-
|
2830 |
-
|
2831 |
-
|
2832 |
-
|
2833 |
-
|
2834 |
-
|
2835 |
-
|
2836 |
-
|
2837 |
-
|
2838 |
-
|
2839 |
-
|
2840 |
-
|
2841 |
-
|
2842 |
-
|
2843 |
-
|
2844 |
-
|
2845 |
-
|
2846 |
-
|
2847 |
-
|
2848 |
-
|
2849 |
-
|
2850 |
-
|
2851 |
-
|
2852 |
-
|
2853 |
-
|
2854 |
-
|
2855 |
-
|
2856 |
-
|
2857 |
-
|
2858 |
-
|
2859 |
-
|
2860 |
-
|
2861 |
-
|
2862 |
-
|
2863 |
-
|
2864 |
-
|
2865 |
-
|
2866 |
-
|
2867 |
-
|
2868 |
-
|
2869 |
-
|
2870 |
-
|
2871 |
-
|
2872 |
-
|
2873 |
-
|
2874 |
-
|
2875 |
-
|
2876 |
-
<td
|
2877 |
-
|
2878 |
-
|
2879 |
-
|
2880 |
-
|
2881 |
-
<td
|
2882 |
-
|
2883 |
-
|
2884 |
-
|
2885 |
-
|
2886 |
-
<td
|
2887 |
-
|
2888 |
-
|
2889 |
-
|
2890 |
-
|
2891 |
-
|
2892 |
-
|
2893 |
-
|
2894 |
-
|
2895 |
-
|
2896 |
-
|
2897 |
-
|
2898 |
-
|
2899 |
-
|
2900 |
-
|
2901 |
-
|
2902 |
-
|
2903 |
-
<td
|
2904 |
-
|
2905 |
-
|
2906 |
-
|
2907 |
-
|
2908 |
-
|
2909 |
-
|
2910 |
-
|
2911 |
-
|
2912 |
-
|
2913 |
-
|
2914 |
-
|
2915 |
-
|
2916 |
-
|
2917 |
-
|
2918 |
-
|
2919 |
-
|
2920 |
-
|
2921 |
-
|
2922 |
-
|
2923 |
-
|
2924 |
-
|
2925 |
-
|
2926 |
-
|
2927 |
-
|
2928 |
-
|
2929 |
-
|
2930 |
-
|
2931 |
-
|
2932 |
-
|
2933 |
-
|
2934 |
-
|
2935 |
-
|
2936 |
-
|
2937 |
-
|
2938 |
-
|
2939 |
-
|
2940 |
-
|
2941 |
-
|
2942 |
-
|
2943 |
-
|
2944 |
-
|
2945 |
-
|
2946 |
-
|
2947 |
-
|
2948 |
-
|
2949 |
-
|
2950 |
-
|
2951 |
-
|
2952 |
-
|
2953 |
-
|
2954 |
-
|
2955 |
-
|
2956 |
-
|
2957 |
-
|
2958 |
-
|
2959 |
-
|
2960 |
-
|
2961 |
-
<input type="hidden" name="
|
2962 |
-
<input type="
|
2963 |
-
<
|
2964 |
-
|
2965 |
-
|
2966 |
-
|
2967 |
-
|
2968 |
-
|
2969 |
-
|
2970 |
-
|
2971 |
-
|
2972 |
-
|
2973 |
-
|
2974 |
-
|
2975 |
-
|
2976 |
-
</div>
|
2977 |
-
</div> <!-- .wrap -->
|
2978 |
-
<?php }
|
2979 |
-
|
2980 |
-
} // class google_language_translator
|
2981 |
-
$google_language_translator = new google_language_translator();
|
2982 |
-
?>
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
Plugin Name: Google Language Translator
|
4 |
+
Plugin URI: http://www.studio88design.com/plugins/google-language-translator
|
5 |
+
Version: 3.0.9
|
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.studio88design.com/
|
9 |
+
*/
|
10 |
+
|
11 |
+
include( plugin_dir_path( __FILE__ ) . 'widget.php');
|
12 |
+
|
13 |
+
class google_language_translator {
|
14 |
+
|
15 |
+
public function __construct(){
|
16 |
+
|
17 |
+
register_activation_hook( __FILE__, array( $this, 'glt_activate' ) );
|
18 |
+
|
19 |
+
add_action('admin_menu',array(&$this, 'page_layout'));
|
20 |
+
add_action('admin_init',array(&$this, 'initialize_settings'));
|
21 |
+
add_action('wp_head',array(&$this, 'load_css'));
|
22 |
+
add_action('admin_head',array(&$this, 'load_css'));
|
23 |
+
add_shortcode( 'google-translator',array(&$this, 'google_translator_shortcode'));
|
24 |
+
add_filter('widget_text','do_shortcode');
|
25 |
+
|
26 |
+
if (!is_admin()) {
|
27 |
+
add_action('init',array(&$this, 'flags'));
|
28 |
+
}
|
29 |
+
}
|
30 |
+
|
31 |
+
public function glt_activate() {
|
32 |
+
add_option('googlelanguagetranslator_active', 1);
|
33 |
+
add_option('googlelanguagetranslator_language','en');
|
34 |
+
add_option('googlelanguagetranslator_language_option','all');
|
35 |
+
add_option('language_display_settings',array ('en' => 1));
|
36 |
+
add_option('googlelanguagetranslator_flags','show_flags');
|
37 |
+
add_option('flag_display_settings',array ('flag-en' => 1));
|
38 |
+
add_option('googlelanguagetranslator_translatebox','yes');
|
39 |
+
add_option('googlelanguagetranslator_display','Vertical');
|
40 |
+
add_option('googlelanguagetranslator_toolbar','Yes');
|
41 |
+
add_option('googlelanguagetranslator_showbranding','Yes');
|
42 |
+
add_option('googlelanguagetranslator_flags_alignment','flags_left');
|
43 |
+
add_option('googlelanguagetranslator_analytics',1);
|
44 |
+
add_option('googlelanguagetranslator_analytics_id','');
|
45 |
+
add_option('googlelanguagetranslator_css','');
|
46 |
+
add_option('googlelanguagetranslator_manage_translations',0);
|
47 |
+
add_option('googlelanguagetranslator_multilanguage',0);
|
48 |
+
add_option('googlelanguagetranslator_floating_widget','yes');
|
49 |
+
}
|
50 |
+
|
51 |
+
public function load_css() {
|
52 |
+
include( plugin_dir_path( __FILE__ ) . 'css/style.php');
|
53 |
+
}
|
54 |
+
|
55 |
+
public function scripts($hook_suffix) {
|
56 |
+
global $p;
|
57 |
+
if ($p == $hook_suffix) {
|
58 |
+
wp_enqueue_script( 'my-admin-script', plugins_url('js/admin.js',__FILE__), array('jquery'));
|
59 |
+
wp_enqueue_script( 'my-flag-script', plugins_url('js/flags.js',__FILE__), array('jquery'));
|
60 |
+
wp_enqueue_script( 'my-toolbar-script', plugins_url('js/toolbar.js',__FILE__), array('jquery'));
|
61 |
+
wp_enqueue_script( 'my-load-toolbar-script', plugins_url('js/load-toolbar.js',__FILE__), array('jquery'));
|
62 |
+
wp_register_style( 'toolbar.css', plugins_url('css/toolbar.css', __FILE__) );
|
63 |
+
wp_register_style( 'style.css', plugins_url('css/style.css', __FILE__) );
|
64 |
+
wp_enqueue_style( 'style.css' );
|
65 |
+
wp_enqueue_style( 'toolbar.css' );
|
66 |
+
}
|
67 |
+
}
|
68 |
+
|
69 |
+
public function flags() {
|
70 |
+
wp_enqueue_script( 'flags', plugins_url('js/flags.js',__FILE__), array('jquery'));
|
71 |
+
wp_enqueue_script( 'my-toolbar-script', plugins_url('js/toolbar.js',__FILE__), array('jquery'));
|
72 |
+
wp_enqueue_script( 'my-load-toolbar-script', plugins_url('js/load-toolbar.js',__FILE__), array('jquery'));
|
73 |
+
wp_register_style( 'toolbar.css', plugins_url('css/toolbar.css', __FILE__) );
|
74 |
+
wp_register_style( 'style.css', plugins_url('css/style.css', __FILE__) );
|
75 |
+
wp_enqueue_style( 'style.css' );
|
76 |
+
wp_enqueue_style( 'toolbar.css' );
|
77 |
+
}
|
78 |
+
|
79 |
+
public function page_layout () {
|
80 |
+
global $p;
|
81 |
+
|
82 |
+
add_action( 'admin_enqueue_scripts',array(&$this, 'scripts'));
|
83 |
+
|
84 |
+
$p = add_options_page('Google Language Translator', 'Google Language Translator', 'manage_options', 'google_language_translator', array(&$this, 'page_layout_cb'));
|
85 |
+
}
|
86 |
+
|
87 |
+
|
88 |
+
public function google_translator_shortcode() {
|
89 |
+
if (get_option('googlelanguagetranslator_display')=='Vertical'){
|
90 |
+
return $this->googlelanguagetranslator_vertical();
|
91 |
+
}
|
92 |
+
|
93 |
+
elseif(get_option('googlelanguagetranslator_display')=='Horizontal'){
|
94 |
+
return $this->googlelanguagetranslator_horizontal();
|
95 |
+
}
|
96 |
+
}
|
97 |
+
|
98 |
+
public function googlelanguagetranslator_included_languages() {
|
99 |
+
if ( get_option('googlelanguagetranslator_language_option')=='specific') {
|
100 |
+
$get_language_choices = get_option ('language_display_settings');
|
101 |
+
|
102 |
+
foreach ($get_language_choices as $key=>$value) {
|
103 |
+
if($value == 1) {
|
104 |
+
$items[] = $key;
|
105 |
+
}
|
106 |
+
}
|
107 |
+
|
108 |
+
$comma_separated = implode(",",array_values($items));
|
109 |
+
|
110 |
+
if ( get_option('googlelanguagetranslator_display') == 'Vertical') {
|
111 |
+
$lang = ', includedLanguages:\''.$comma_separated.'\'';
|
112 |
+
return $lang;
|
113 |
+
} elseif ( get_option('googlelanguagetranslator_display') == 'Horizontal') {
|
114 |
+
$lang = ', includedLanguages:\''.$comma_separated.'\'';
|
115 |
+
return $lang;
|
116 |
+
}
|
117 |
+
}
|
118 |
+
}
|
119 |
+
|
120 |
+
public function analytics() {
|
121 |
+
if ( get_option('googlelanguagetranslator_analytics') == 1 ) {
|
122 |
+
$analytics_id = get_option('googlelanguagetranslator_analytics_id');
|
123 |
+
$analytics = 'gaTrack: true, gaId: \''.$analytics_id.'\'';
|
124 |
+
return ', '.$analytics;
|
125 |
+
}
|
126 |
+
}
|
127 |
+
|
128 |
+
public function googlelanguagetranslator_vertical(){
|
129 |
+
$is_active = get_option ( 'googlelanguagetranslator_active' );
|
130 |
+
$get_flag_choices = get_option ('flag_display_settings');
|
131 |
+
$get_language_option = get_option('googlelanguagetranslator_language_option');
|
132 |
+
$language_choices = $this->googlelanguagetranslator_included_languages();
|
133 |
+
$floating_widget = get_option ('googlelanguagetranslator_floating_widget');
|
134 |
+
$str = '';
|
135 |
+
|
136 |
+
if( $is_active == 1){
|
137 |
+
if ($floating_widget=='yes' && $get_language_option != 'specific') {
|
138 |
+
$str.='<div id="glt-translate-trigger"><span class="notranslate">Translate »</strong></div>';
|
139 |
+
$str.='<div id="glt-toolbar">';
|
140 |
+
if ( isset ( $get_flag_choices['flag-af'] ) ) {
|
141 |
+
$str.='<a id="Afrikaans" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|af\'); return false;" title="Afrikaans" class="notranslate flag af"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/southafrica.png" height="24" width="24" alt="Afrikaans"/></a>';
|
142 |
+
}
|
143 |
+
|
144 |
+
if ( isset ( $get_flag_choices['flag-sq'] ) ) {
|
145 |
+
$str.='<a id="Albanian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|sq\'); return false;" title="Albanian" class="notranslate flag sq"><img class="notranslate flag flag flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/albania.png" height="24" width="24" alt="Albanian"/></a>';
|
146 |
+
}
|
147 |
+
|
148 |
+
if ( isset ( $get_flag_choices['flag-ar'] ) ) {
|
149 |
+
$str.='<a id="Arabic" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ar\'); return false;" title="Arabic" class="notranslate flag ar"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/saudiaarabia.png" height="24" width="24" alt="Arabic"/></a>';
|
150 |
+
}
|
151 |
+
|
152 |
+
if ( isset ( $get_flag_choices['flag-hy'] ) ) {
|
153 |
+
$str.='<a id="Armenian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|hy\'); return false;" title="Armenian" class="notranslate flag hy"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/armenia.png" height="24" width="24" alt="Armenian"/></a>';
|
154 |
+
}
|
155 |
+
|
156 |
+
if ( isset ( $get_flag_choices['flag-az'] ) ) {
|
157 |
+
$str.='<a id="Azerbaijani" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|az\'); return false;" title="Azerbaijani" class="notranslate flag az"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/azerbaijan.png" height="24" width="24" alt="Azerbaijani"/></a>';
|
158 |
+
}
|
159 |
+
|
160 |
+
if ( isset ( $get_flag_choices['flag-eu'] ) ) {
|
161 |
+
$str.='<a id="Basque" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|eu\'); return false;" title="Basque" class="notranslate flag eu"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/basque.png" height="24" width="24" alt="Basque"/></a>';
|
162 |
+
}
|
163 |
+
|
164 |
+
if ( isset ( $get_flag_choices['flag-be'] ) ) {
|
165 |
+
$str.='<a id="Belarusian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|be\'); return false;" title="Belarusian" class="notranslate flag be"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/belarus.png" height="24" width="24" alt="Belarus"/></a>';
|
166 |
+
}
|
167 |
+
|
168 |
+
if ( isset ( $get_flag_choices['flag-bn'] ) ) {
|
169 |
+
$str.='<a id="Bengali" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|bn\'); return false;" title="Bengali" class="notranslate flag bn"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/bangladesh.png" height="24" width="24" alt="Bengali"/></a>';
|
170 |
+
}
|
171 |
+
|
172 |
+
if ( isset ( $get_flag_choices['flag-bs'] ) ) {
|
173 |
+
$str.='<a id="Bosnian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|bs\'); return false;" title="Bosnian" class="notranslate flag bs"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/bosnia.png" height="24" width="24" alt="Bosnian"/></a>';
|
174 |
+
}
|
175 |
+
|
176 |
+
if ( isset ( $get_flag_choices['flag-bg'] ) ) {
|
177 |
+
$str.='<a id="Bulgarian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|bg\'); return false;" title="Bulgarian" class="notranslate flag bg"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/bulgaria.png" height="24" width="24" alt="Bulgarian"/></a>';
|
178 |
+
}
|
179 |
+
|
180 |
+
if ( isset ( $get_flag_choices['flag-ca'] ) ) {
|
181 |
+
$str.='<a id="Catalan" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ca\'); return false;" title="Catalan" class="notranslate flag ca"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/catalonia.png" height="24" width="24" alt="Catalan"/></a>';
|
182 |
+
}
|
183 |
+
|
184 |
+
if ( isset ( $get_flag_choices['flag-ceb'] ) ) {
|
185 |
+
$str.='<a id="Cebuano" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ceb\'); return false;" title="Cebuano" class="notranslate flag ceb"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/philippines.png" height="24" width="24" alt="Afrikaans"/></a>';
|
186 |
+
}
|
187 |
+
|
188 |
+
if ( isset ( $get_flag_choices['flag-zh-CN'] ) ) {
|
189 |
+
$str.='<a id="Chinese-Simplified" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|zh-CN\'); return false;" title="Chinese (Simplified)" class="notranslate flag zh-CN"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/china.png" height="24" width="24" alt="Chinese (Simplified)"/></a>';
|
190 |
+
}
|
191 |
+
|
192 |
+
if ( isset ( $get_flag_choices['flag-zh-TW'] ) ) {
|
193 |
+
$str.='<a id="Chinese-Traditional" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|zh-TW\'); return false;" title="Chinese (Traditional)" class="notranslate flag zh-TW"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/china.png" height="24" width="24" alt="Chinese (Traditional)"/></a>';
|
194 |
+
}
|
195 |
+
|
196 |
+
if ( isset ( $get_flag_choices['flag-cs'] ) ) {
|
197 |
+
$str.='<a id="Czech" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|cs\'); return false;" title="Czech" class="notranslate flag cs"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/czechrepublic.png" height="24" width="24" alt="Czech"/></a>';
|
198 |
+
}
|
199 |
+
|
200 |
+
if ( isset ( $get_flag_choices['flag-hr'] ) ) {
|
201 |
+
$str.='<a id="Croatian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|hr\'); return false;" title="Croatian" class="notranslate flag hr"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/croatia.png" height="24" width="24" alt="Croatian"/></a>';
|
202 |
+
}
|
203 |
+
|
204 |
+
if ( isset ( $get_flag_choices['flag-da'] ) ) {
|
205 |
+
$str.='<a id="Danish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|da\'); return false;" title="Danish" class="notranslate flag da"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/denmark.png" height="24" width="24" alt="Danish"/></a>';
|
206 |
+
}
|
207 |
+
|
208 |
+
if ( isset ( $get_flag_choices['flag-nl'] ) ) {
|
209 |
+
$str.='<a id="Dutch" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|nl\'); return false;" title="Dutch" class="notranslate flag nl"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/netherlands.png" height="24" width="24" alt="Dutch"/></a>';
|
210 |
+
}
|
211 |
+
|
212 |
+
if ( isset ( $get_flag_choices['flag-en'] ) ) {
|
213 |
+
$str.='<a id="English" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|en\'); return false;" title="English" class="notranslate flag en"><img class="flagimg" title="English" src="'.plugins_url().'/google-language-translator/images/flags24/unitedkingdom.png" height="24" width="24" alt="English"/></a>';
|
214 |
+
}
|
215 |
+
|
216 |
+
if ( isset ( $get_flag_choices['flag-eo'] ) ) {
|
217 |
+
$str.='<a id="Esperanto" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|eo\'); return false;" title="Esperanto" class="notranslate flag eo"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/esperanto.png" height="24" width="24" alt="Esperanto"/></a>';
|
218 |
+
}
|
219 |
+
|
220 |
+
if ( isset ( $get_flag_choices['flag-et'] ) ) {
|
221 |
+
$str.='<a id="Estonian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|et\'); return false;" title="Estonian" class="notranslate flag et"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/estonia.png" height="24" width="24" alt="Estonian"/></a>';
|
222 |
+
}
|
223 |
+
|
224 |
+
if ( isset ( $get_flag_choices['flag-tl'] ) ) {
|
225 |
+
$str.='<a id="Filipino" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|tl\'); return false;" title="Filipino" class="notranslate flag tl"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/philippines.png" height="24" width="24" alt="Filipino"/></a>';
|
226 |
+
}
|
227 |
+
|
228 |
+
if ( isset ( $get_flag_choices['flag-fi'] ) ) {
|
229 |
+
$str.='<a id="Finnish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|fi\'); return false;" title="Finnish" class="notranslate flag fi"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/finland.png" height="24" width="24" alt="Finnish"/></a>';
|
230 |
+
}
|
231 |
+
|
232 |
+
if ( isset ( $get_flag_choices['flag-fr'] ) ) {
|
233 |
+
$str.='<a id="French" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|fr\'); return false;" title="French" class="notranslate flag fr"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/france.png" height="24" width="24" alt="French"/></a>';
|
234 |
+
}
|
235 |
+
|
236 |
+
if ( isset ( $get_flag_choices['flag-gl'] ) ) {
|
237 |
+
$str.='<a id="Galician" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|gl\'); return false;" title="Galician" class="notranslate flag gl"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/galicia.png" height="24" width="24" alt="Galician"/></a>';
|
238 |
+
}
|
239 |
+
|
240 |
+
if ( isset ( $get_flag_choices['flag-ka'] ) ) {
|
241 |
+
$str.='<a id="Georgian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ka\'); return false;" title="Georgian" class="notranslate flag ka"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/georgia.png" height="24" width="24" alt="Georgian"/></a>';
|
242 |
+
}
|
243 |
+
|
244 |
+
if ( isset ( $get_flag_choices['flag-de'] ) ) {
|
245 |
+
$str.='<a id="German" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|de\'); return false;" title="German" class="notranslate flag de"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/germany.png" height="24" width="24" alt="German"/></a>';
|
246 |
+
}
|
247 |
+
|
248 |
+
if ( isset ( $get_flag_choices['flag-el'] ) ) {
|
249 |
+
$str.='<a id="Greek" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|el\'); return false;" title="Greek" class="notranslate flag el"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/greece.png" height="24" width="24" alt="Greek"/></a>';
|
250 |
+
}
|
251 |
+
|
252 |
+
if ( isset ( $get_flag_choices['flag-gu'] ) ) {
|
253 |
+
$str.='<a id="Gujarati" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|gu\'); return false;" title="Gujarati" class="notranslate flag gu"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/india.png" height="24" width="24" alt="Gujarati"/></a>';
|
254 |
+
}
|
255 |
+
|
256 |
+
if ( isset ( $get_flag_choices['flag-ht'] ) ) {
|
257 |
+
$str.='<a id="Haitian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ht\'); return false;" title="Haitian" class="notranslate flag ht"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/haiti.png" height="24" width="24" alt="Haitian"/></a>';
|
258 |
+
}
|
259 |
+
|
260 |
+
if ( isset ( $get_flag_choices['flag-ha'] ) ) {
|
261 |
+
$str.='<a id="Hausa" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ha\'); return false;" title="Hausa" class="notranslate flag ha"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/niger.png" height="24" width="24" alt="Hausa"/></a>';
|
262 |
+
}
|
263 |
+
|
264 |
+
if ( isset ( $get_flag_choices['flag-iw'] ) ) {
|
265 |
+
$str.='<a id="Hebrew" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|iw\'); return false;" title="Hebrew" class="notranslate flag iw"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/israel.png" height="24" width="24" alt="Hebrew"/></a>';
|
266 |
+
}
|
267 |
+
|
268 |
+
if ( isset ( $get_flag_choices['flag-hi'] ) ) {
|
269 |
+
$str.='<a id="Hindi" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|hi\'); return false;" title="Hindi" class="notranslate flag hi"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/india.png" height="24" width="24" alt="Hindi"/></a>';
|
270 |
+
}
|
271 |
+
|
272 |
+
if ( isset ( $get_flag_choices['flag-hmn'] ) ) {
|
273 |
+
$str.='<a id="Hmong" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|hmn\'); return false;" title="Hmong" class="notranslate flag hmn"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/hmong.png" height="24" width="24" alt="Hmong"/></a>';
|
274 |
+
}
|
275 |
+
|
276 |
+
if ( isset ( $get_flag_choices['flag-hu'] ) ) {
|
277 |
+
$str.='<a id="Hungarian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|hu\'); return false;" title="Hungarian" class="notranslate flag hu"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/hungary.png" height="24" width="24" alt="Hungarian"/></a>';
|
278 |
+
}
|
279 |
+
|
280 |
+
if ( isset ( $get_flag_choices['flag-is'] ) ) {
|
281 |
+
$str.='<a id="Icelandic" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|is\'); return false;" title="Icelandic" class="notranslate flag is"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/iceland.png" height="24" width="24" alt="Icelandic"/></a>';
|
282 |
+
}
|
283 |
+
|
284 |
+
if ( isset ( $get_flag_choices['flag-ig'] ) ) {
|
285 |
+
$str.='<a id="Igbo" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ig\'); return false;" title="Igbo" class="notranslate flag ig"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/niger.png" height="24" width="24" alt="Igbo"/></a>';
|
286 |
+
}
|
287 |
+
|
288 |
+
if ( isset ( $get_flag_choices['flag-id'] ) ) {
|
289 |
+
$str.='<a id="Indonesian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|id\'); return false;" title="Indonesian" class="notranslate flag id"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/indonesia.png" height="24" width="24" alt="Indonesian"/></a>';
|
290 |
+
}
|
291 |
+
|
292 |
+
if ( isset ( $get_flag_choices['flag-ga'] ) ) {
|
293 |
+
$str.='<a id="Irish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ga\'); return false;" title="Irish" class="notranslate flag ga"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/ireland.png" height="24" width="24" alt="Irish"/></a>';
|
294 |
+
}
|
295 |
+
|
296 |
+
if ( isset ( $get_flag_choices['flag-it'] ) ) {
|
297 |
+
$str.='<a id="Italian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|it\'); return false;" title="Italian" class="notranslate flag it"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/italy.png" height="24" width="24" alt="Italian"/></a>';
|
298 |
+
}
|
299 |
+
|
300 |
+
if ( isset ( $get_flag_choices['flag-ja'] ) ) {
|
301 |
+
$str.='<a id="Japanese" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ja\'); return false;" title="Japanese" class="notranslate flag ja"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/japan.png" height="24" width="24" alt="Japanese"/></a>';
|
302 |
+
}
|
303 |
+
|
304 |
+
if ( isset ( $get_flag_choices['flag-jw'] ) ) {
|
305 |
+
$str.='<a id="Javanese" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|jw\'); return false;" title="Javanese" class="notranslate flag jw"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/indonesia.png" height="24" width="24" alt="Javanese"/></a>';
|
306 |
+
}
|
307 |
+
|
308 |
+
if ( isset ( $get_flag_choices['flag-kn'] ) ) {
|
309 |
+
$str.='<a id="Kannada" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|kn\'); return false;" title="Kannada" class="notranslate flag kn"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/kannada.png" height="24" width="24" alt="Kannada"/></a>';
|
310 |
+
}
|
311 |
+
|
312 |
+
if ( isset ( $get_flag_choices['flag-km'] ) ) {
|
313 |
+
$str.='<a id="Khmer" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|km\'); return false;" title="Khmer" class="notranslate flag km"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/cambodia.png" height="24" width="24" alt="Khmer"/></a>';
|
314 |
+
}
|
315 |
+
|
316 |
+
if ( isset ( $get_flag_choices['flag-ko'] ) ) {
|
317 |
+
$str.='<a id="Korean" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ko\'); return false;" title="Korean" class="notranslate flag ko"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/korea.png" height="24" width="24" alt="Korea"/></a>';
|
318 |
+
}
|
319 |
+
|
320 |
+
if ( isset ( $get_flag_choices['flag-lo'] ) ) {
|
321 |
+
$str.='<a id="Lao" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|lo\'); return false;" title="Lao" class="notranslate flag lo"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/laos.png" height="24" width="24" alt="Laos"/></a>';
|
322 |
+
}
|
323 |
+
|
324 |
+
if ( isset ( $get_flag_choices['flag-la'] ) ) {
|
325 |
+
$str.='<a id="Latin" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|la\'); return false;" title="Latin" class="notranslate flag la"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/latin.png" height="24" width="24" alt="Latin"/></a>';
|
326 |
+
}
|
327 |
+
|
328 |
+
if ( isset ( $get_flag_choices['flag-lv'] ) ) {
|
329 |
+
$str.='<a id="Latvian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|lv\'); return false;" title="Latvian" class="notranslate flag lv"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/latvia.png" height="24" width="24" alt="Latvian"/></a>';
|
330 |
+
}
|
331 |
+
|
332 |
+
if ( isset ( $get_flag_choices['flag-lt'] ) ) {
|
333 |
+
$str.='<a id="Lithuanian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|lt\'); return false;" title="Lithuanian" class="notranslate flag lt"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/lithuania.png" height="24" width="24" alt="Lithuanian"/></a>';
|
334 |
+
}
|
335 |
+
|
336 |
+
if ( isset ( $get_flag_choices['flag-mk'] ) ) {
|
337 |
+
$str.='<a id="Macedonian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|mk\'); return false;" title="Macedonian" class="notranslate flag mk"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/macedonia.png" height="24" width="24" alt="Macedonian"/></a>';
|
338 |
+
}
|
339 |
+
|
340 |
+
if ( isset ( $get_flag_choices['flag-ms'] ) ) {
|
341 |
+
$str.='<a id="Malay" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ms\'); return false;" title="Malay" class="notranslate flag ms"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/malaysia.png" height="24" width="24" alt="Malay"/></a>';
|
342 |
+
}
|
343 |
+
|
344 |
+
if ( isset ( $get_flag_choices['flag-mt'] ) ) {
|
345 |
+
$str.='<a id="Maltese" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|mt\'); return false;" title="Maltese" class="notranslate flag mt"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/malta.png" height="24" width="24" alt="Malta"/></a>';
|
346 |
+
}
|
347 |
+
|
348 |
+
if ( isset ( $get_flag_choices['flag-mi'] ) ) {
|
349 |
+
$str.='<a id="Maori" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|mi\'); return false;" title="Maori" class="notranslate flag mi"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/newzealand.png" height="24" width="24" alt="Maori"/></a>';
|
350 |
+
}
|
351 |
+
|
352 |
+
if ( isset ( $get_flag_choices['flag-mr'] ) ) {
|
353 |
+
$str.='<a id="Marathi" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|mr\'); return false;" title="Marathi" class="notranslate flag mr"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/marathi.png" height="24" width="24" alt="Marathi"/></a>';
|
354 |
+
}
|
355 |
+
|
356 |
+
if ( isset ( $get_flag_choices['flag-mn'] ) ) {
|
357 |
+
$str.='<a id="Mongolian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|mn\'); return false;" title="Mongolian" class="notranslate flag mn"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/mongolia.png" height="24" width="24" alt="Mongolian"/></a>';
|
358 |
+
}
|
359 |
+
|
360 |
+
if ( isset ( $get_flag_choices['flag-ne'] ) ) {
|
361 |
+
$str.='<a id="Nepali" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ne\'); return false;" title="Nepali" class="notranslate flag ne"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/nepal.png" height="24" width="24" alt="Nepali"/></a>';
|
362 |
+
}
|
363 |
+
|
364 |
+
if ( isset ( $get_flag_choices['flag-no'] ) ) {
|
365 |
+
$str.='<a id="Norwegian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|no\'); return false;" title="Norwegian" class="notranslate flag no"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/norway.png" height="24" width="24" alt="Norwegian"/></a>';
|
366 |
+
}
|
367 |
+
|
368 |
+
if ( isset ( $get_flag_choices['flag-fa'] ) ) {
|
369 |
+
$str.='<a id="Persian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|fa\'); return false;" title="Persian" class="notranslate flag fa"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/iran.png" height="24" width="24" alt="Persian"/></a>';
|
370 |
+
}
|
371 |
+
|
372 |
+
if ( isset ( $get_flag_choices['flag-pl'] ) ) {
|
373 |
+
$str.='<a id="Polish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|pl\'); return false;" title="Polish" class="notranslate flag pl"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/poland.png" height="24" width="24" alt="Polish"/></a>';
|
374 |
+
}
|
375 |
+
|
376 |
+
if ( isset ( $get_flag_choices['flag-pt'] ) ) {
|
377 |
+
$str.='<a id="Portuguese" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|pt\'); return false;" title="Portuguese" class="notranslate flag pt"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/portugal.png" height="24" width="24" alt="Portuguese"/></a>';
|
378 |
+
}
|
379 |
+
|
380 |
+
if ( isset ( $get_flag_choices['flag-pa'] ) ) {
|
381 |
+
$str.='<a id="Punjabi" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|pa\'); return false;" title="Punjabi" class="notranslate flag pa"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/pakistan.png" height="24" width="24" alt="Punjabi"/></a>';
|
382 |
+
}
|
383 |
+
|
384 |
+
if ( isset ( $get_flag_choices['flag-ro'] ) ) {
|
385 |
+
$str.='<a id="Romanian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ro\'); return false;" title="Romanian" class="notranslate flag ro"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/romania.png" height="24" width="24" alt="Romanian"/></a>';
|
386 |
+
}
|
387 |
+
|
388 |
+
if ( isset ( $get_flag_choices['flag-ru'] ) ) {
|
389 |
+
$str.='<a id="Russian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ru\'); return false;" title="Russian" class="notranslate flag ru"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/russia.png" height="24" width="24" alt="Russian"/></a>';
|
390 |
+
}
|
391 |
+
|
392 |
+
if ( isset ( $get_flag_choices['flag-sr'] ) ) {
|
393 |
+
$str.='<a id="Serbian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|sr\'); return false;" title="Serbian" class="notranslate flag sr"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/serbia.png" height="24" width="24" alt="Serbian"/></a>';
|
394 |
+
}
|
395 |
+
|
396 |
+
if ( isset ( $get_flag_choices['flag-sk'] ) ) {
|
397 |
+
$str.='<a id="Slovak" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|sk\'); return false;" title="Slovak" class="notranslate flag sk"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/slovakia.png" height="24" width="24" alt="Slovak"/></a>';
|
398 |
+
}
|
399 |
+
|
400 |
+
if ( isset ( $get_flag_choices['flag-sl'] ) ) {
|
401 |
+
$str.='<a id="Slovenian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|sl\'); return false;" title="Slovenian" class="notranslate flag sl"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/slovenia.png" height="24" width="24" alt="Slovenian"/></a>';
|
402 |
+
}
|
403 |
+
|
404 |
+
if ( isset ( $get_flag_choices['flag-so'] ) ) {
|
405 |
+
$str.='<a id="Somali" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|so\'); return false;" title="Somali" class="notranslate flag so"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/somalia.png" height="24" width="24" alt="Somali"/></a>';
|
406 |
+
}
|
407 |
+
|
408 |
+
if ( isset ( $get_flag_choices['flag-es'] ) ) {
|
409 |
+
$str.='<a id="Spanish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|es\'); return false;" title="Spanish" class="notranslate flag es"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/spain.png" height="24" width="24" alt="Spanish"/></a>';
|
410 |
+
}
|
411 |
+
|
412 |
+
if ( isset ( $get_flag_choices['flag-sw'] ) ) {
|
413 |
+
$str.='<a id="Swahili" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|sw\'); return false;" title="Swahili" class="notranslate flag sw"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/kenya.png" height="24" width="24" alt="Swahili"/></a>';
|
414 |
+
}
|
415 |
+
|
416 |
+
if ( isset ( $get_flag_choices['flag-sv'] ) ) {
|
417 |
+
$str.='<a id="Swedish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|sv\'); return false;" title="Swedish" class="notranslate flag sv"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/sweden.png" height="24" width="24" alt="Swedish"/></a>';
|
418 |
+
}
|
419 |
+
|
420 |
+
if ( isset ( $get_flag_choices['flag-ta'] ) ) {
|
421 |
+
$str.='<a id="Tamil" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ta\'); return false;" title="Tamil" class="notranslate flag ta"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/tamil.png" height="24" width="24" alt="Tamil"/></a>';
|
422 |
+
}
|
423 |
+
|
424 |
+
if ( isset ( $get_flag_choices['flag-te'] ) ) {
|
425 |
+
$str.='<a id="Telugu" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|te\'); return false;" title="Telugu" class="notranslate flag te"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/telugu.png" height="24" width="24" alt="Telugu"/></a>';
|
426 |
+
}
|
427 |
+
|
428 |
+
if ( isset ( $get_flag_choices['flag-th'] ) ) {
|
429 |
+
$str.='<a id="Thai" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|th\'); return false;" title="Thai" class="notranslate flag th"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/thailand.png" height="24" width="24" alt="Thai"/></a>';
|
430 |
+
}
|
431 |
+
|
432 |
+
if ( isset ( $get_flag_choices['flag-tr'] ) ) {
|
433 |
+
$str.='<a id="Turkish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|tr\'); return false;" title="Turkish" class="notranslate flag tr"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/turkey.png" height="24" width="24" alt="Turkish"/></a>';
|
434 |
+
}
|
435 |
+
|
436 |
+
if ( isset ( $get_flag_choices['flag-uk'] ) ) {
|
437 |
+
$str.='<a id="Ukranian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|uk\'); return false;" title="Ukranian" class="notranslate flag uk"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/ukraine.png" height="24" width="24" alt="Ukranian"/></a>';
|
438 |
+
}
|
439 |
+
|
440 |
+
if ( isset ( $get_flag_choices['flag-ur'] ) ) {
|
441 |
+
$str.='<a id="Urdu" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ur\'); return false;" title="Urdu" class="notranslate flag ur"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/pakistan.png" height="24" width="24" alt="Urdu"/></a>';
|
442 |
+
}
|
443 |
+
|
444 |
+
if ( isset ( $get_flag_choices['flag-vi'] ) ) {
|
445 |
+
$str.='<a id="Vietnamese" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|vi\'); return false;" title="Vietnamese" class="notranslate flag vi"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/vietnam.png" height="24" width="24" alt="vietnamese"/></a>';
|
446 |
+
}
|
447 |
+
|
448 |
+
if ( isset ( $get_flag_choices['flag-cy'] ) ) {
|
449 |
+
$str.='<a id="Welsh" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|cy\'); return false;" title="Welsh" class="notranslate flag cy"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/wales.png" height="24" width="24" alt="Welsh"/></a>';
|
450 |
+
}
|
451 |
+
|
452 |
+
if ( isset ( $get_flag_choices['flag-yi'] ) ) {
|
453 |
+
$str.='<a id="Yiddish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|yi\'); return false;" title="Yiddish (Jewish)" class="notranslate flag yi"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/yiddish.png" height="24" width="24" alt="Yiddish"/></a>';
|
454 |
+
}
|
455 |
+
|
456 |
+
if ( isset ( $get_flag_choices['flag-yo'] ) ) {
|
457 |
+
$str.='<a id="Yoruba" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|yo\'); return false;" title="Yoruba" class="notranslate flag yo"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/nigeria.png" height="24" width="24" alt="Yoruba"/></a>';
|
458 |
+
}
|
459 |
+
|
460 |
+
if ( isset ( $get_flag_choices['flag-zu'] ) ) {
|
461 |
+
$str.='<a id="Zulu" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|zu\'); return false;" title="Zulu" class="notranslate flag zu"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/southafrica.png" height="24" width="24" alt="Zulu"/></a>';
|
462 |
+
}
|
463 |
+
$str.='</div>';
|
464 |
+
}
|
465 |
+
|
466 |
+
foreach ($get_flag_choices as $key) {
|
467 |
+
|
468 |
+
}
|
469 |
+
|
470 |
+
$str.='<div id="flags">';
|
471 |
+
|
472 |
+
if ($key == '1') {
|
473 |
+
if ( isset ( $get_flag_choices['flag-af'] ) ) {
|
474 |
+
$str.='<a id="Afrikaans" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|af\'); return false;" title="Afrikaans" class="notranslate flag af"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/southafrica.png" height="18" width="18" alt="Afrikaans"/></a>';
|
475 |
+
}
|
476 |
+
|
477 |
+
|
478 |
+
if ( isset ( $get_flag_choices['flag-sq'] ) ) {
|
479 |
+
$str.='<a id="Albanian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|sq\'); return false;" title="Albanian" class="notranslate flag sq"><img class="notranslate flag flag flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/albania.png" height="18" width="18" alt="Albanian"/></a>';
|
480 |
+
}
|
481 |
+
|
482 |
+
if ( isset ( $get_flag_choices['flag-ar'] ) ) {
|
483 |
+
$str.='<a id="Arabic" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ar\'); return false;" title="Arabic" class="notranslate flag ar"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/saudiaarabia.png" height="18" width="18" alt="Arabic"/></a>';
|
484 |
+
}
|
485 |
+
|
486 |
+
if ( isset ( $get_flag_choices['flag-hy'] ) ) {
|
487 |
+
$str.='<a id="Armenian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|hy\'); return false;" title="Armenian" class="notranslate flag hy"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/armenia.png" height="18" width="18" alt="Armenian"/></a>';
|
488 |
+
}
|
489 |
+
|
490 |
+
if ( isset ( $get_flag_choices['flag-az'] ) ) {
|
491 |
+
$str.='<a id="Azerbaijani" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|az\'); return false;" title="Azerbaijani" class="notranslate flag az"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/azerbaijan.png" height="18" width="18" alt="Azerbaijani"/></a>';
|
492 |
+
}
|
493 |
+
|
494 |
+
if ( isset ( $get_flag_choices['flag-eu'] ) ) {
|
495 |
+
$str.='<a id="Basque" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|eu\'); return false;" title="Basque" class="notranslate flag eu"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/basque.png" height="18" width="18" alt="Basque"/></a>';
|
496 |
+
}
|
497 |
+
|
498 |
+
if ( isset ( $get_flag_choices['flag-be'] ) ) {
|
499 |
+
$str.='<a id="Belarusian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|be\'); return false;" title="Belarusian" class="notranslate flag be"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/belarus.png" height="18" width="18" alt="Belarus"/></a>';
|
500 |
+
}
|
501 |
+
|
502 |
+
if ( isset ( $get_flag_choices['flag-bn'] ) ) {
|
503 |
+
$str.='<a id="Bengali" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|bn\'); return false;" title="Bengali" class="notranslate flag bn"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/bangladesh.png" height="18" width="18" alt="Bengali"/></a>';
|
504 |
+
}
|
505 |
+
|
506 |
+
if ( isset ( $get_flag_choices['flag-bs'] ) ) {
|
507 |
+
$str.='<a id="Bosnian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|bs\'); return false;" title="Bosnian" class="notranslate flag bs"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/bosnia.png" height="18" width="18" alt="Bosnian"/></a>';
|
508 |
+
}
|
509 |
+
|
510 |
+
if ( isset ( $get_flag_choices['flag-bg'] ) ) {
|
511 |
+
$str.='<a id="Bulgarian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|bg\'); return false;" title="Bulgarian" class="notranslate flag bg"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/bulgaria.png" height="18" width="18" alt="Bulgarian"/></a>';
|
512 |
+
}
|
513 |
+
|
514 |
+
if ( isset ( $get_flag_choices['flag-ca'] ) ) {
|
515 |
+
$str.='<a id="Catalan" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ca\'); return false;" title="Catalan" class="notranslate flag ca"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/catalonia.png" height="18" width="18" alt="Catalan"/></a>';
|
516 |
+
}
|
517 |
+
|
518 |
+
if ( isset ( $get_flag_choices['flag-ceb'] ) ) {
|
519 |
+
$str.='<a id="Cebuano" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ceb\'); return false;" title="Cebuano" class="notranslate flag ceb"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/philippines.png" height="18" width="18" alt="Afrikaans"/></a>';
|
520 |
+
}
|
521 |
+
|
522 |
+
if ( isset ( $get_flag_choices['flag-zh-CN'] ) ) {
|
523 |
+
$str.='<a id="Chinese-Simplified" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|zh-CN\'); return false;" title="Chinese (Simplified)" class="notranslate flag zh-CN"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/china.png" height="18" width="18" alt="Chinese (Simplified)"/></a>';
|
524 |
+
}
|
525 |
+
|
526 |
+
if ( isset ( $get_flag_choices['flag-zh-TW'] ) ) {
|
527 |
+
$str.='<a id="Chinese-Traditional" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|zh-TW\'); return false;" title="Chinese (Traditional)" class="notranslate flag zh-TW"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/china.png" height="18" width="18" alt="Chinese (Traditional)"/></a>';
|
528 |
+
}
|
529 |
+
|
530 |
+
if ( isset ( $get_flag_choices['flag-cs'] ) ) {
|
531 |
+
$str.='<a id="Czech" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|cs\'); return false;" title="Czech" class="notranslate flag cs"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/czechrepublic.png" height="18" width="18" alt="Czech"/></a>';
|
532 |
+
}
|
533 |
+
|
534 |
+
if ( isset ( $get_flag_choices['flag-hr'] ) ) {
|
535 |
+
$str.='<a id="Croatian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|hr\'); return false;" title="Croatian" class="notranslate flag hr"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/croatia.png" height="18" width="18" alt="Croatian"/></a>';
|
536 |
+
}
|
537 |
+
|
538 |
+
if ( isset ( $get_flag_choices['flag-da'] ) ) {
|
539 |
+
$str.='<a id="Danish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|da\'); return false;" title="Danish" class="notranslate flag da"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/denmark.png" height="18" width="18" alt="Danish"/></a>';
|
540 |
+
}
|
541 |
+
|
542 |
+
if ( isset ( $get_flag_choices['flag-nl'] ) ) {
|
543 |
+
$str.='<a id="Dutch" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|nl\'); return false;" title="Dutch" class="notranslate flag nl"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/netherlands.png" height="18" width="18" alt="Dutch"/></a>';
|
544 |
+
}
|
545 |
+
|
546 |
+
if ( isset ( $get_flag_choices['flag-en'] ) ) {
|
547 |
+
$str.='<a id="English" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|en\'); return false;" title="English" class="notranslate flag en"><img class="flagimg" title="English" src="'.plugins_url().'/google-language-translator/images/flags24/unitedkingdom.png" height="18" width="18" alt="English"/></a>';
|
548 |
+
}
|
549 |
+
|
550 |
+
if ( isset ( $get_flag_choices['flag-eo'] ) ) {
|
551 |
+
$str.='<a id="Esperanto" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|eo\'); return false;" title="Esperanto" class="notranslate flag eo"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/esperanto.png" height="18" width="18" alt="Esperanto"/></a>';
|
552 |
+
}
|
553 |
+
|
554 |
+
if ( isset ( $get_flag_choices['flag-et'] ) ) {
|
555 |
+
$str.='<a id="Estonian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|et\'); return false;" title="Estonian" class="notranslate flag et"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/estonia.png" height="18" width="18" alt="Estonian"/></a>';
|
556 |
+
}
|
557 |
+
|
558 |
+
if ( isset ( $get_flag_choices['flag-tl'] ) ) {
|
559 |
+
$str.='<a id="Filipino" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|tl\'); return false;" title="Filipino" class="notranslate flag tl"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/philippines.png" height="18" width="18" alt="Filipino"/></a>';
|
560 |
+
}
|
561 |
+
|
562 |
+
if ( isset ( $get_flag_choices['flag-fi'] ) ) {
|
563 |
+
$str.='<a id="Finnish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|fi\'); return false;" title="Finnish" class="notranslate flag fi"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/finland.png" height="18" width="18" alt="Finnish"/></a>';
|
564 |
+
}
|
565 |
+
|
566 |
+
if ( isset ( $get_flag_choices['flag-fr'] ) ) {
|
567 |
+
$str.='<a id="French" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|fr\'); return false;" title="French" class="notranslate flag fr"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/france.png" height="18" width="18" alt="French"/></a>';
|
568 |
+
}
|
569 |
+
|
570 |
+
if ( isset ( $get_flag_choices['flag-gl'] ) ) {
|
571 |
+
$str.='<a id="Galician" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|gl\'); return false;" title="Galician" class="notranslate flag gl"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/galicia.png" height="18" width="18" alt="Galician"/></a>';
|
572 |
+
}
|
573 |
+
|
574 |
+
if ( isset ( $get_flag_choices['flag-ka'] ) ) {
|
575 |
+
$str.='<a id="Georgian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ka\'); return false;" title="Georgian" class="notranslate flag ka"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/georgia.png" height="18" width="18" alt="Georgian"/></a>';
|
576 |
+
}
|
577 |
+
|
578 |
+
if ( isset ( $get_flag_choices['flag-de'] ) ) {
|
579 |
+
$str.='<a id="German" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|de\'); return false;" title="German" class="notranslate flag de"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/germany.png" height="18" width="18" alt="German"/></a>';
|
580 |
+
}
|
581 |
+
|
582 |
+
if ( isset ( $get_flag_choices['flag-el'] ) ) {
|
583 |
+
$str.='<a id="Greek" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|el\'); return false;" title="Greek" class="notranslate flag el"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/greece.png" height="18" width="18" alt="Greek"/></a>';
|
584 |
+
}
|
585 |
+
|
586 |
+
if ( isset ( $get_flag_choices['flag-gu'] ) ) {
|
587 |
+
$str.='<a id="Gujarati" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|gu\'); return false;" title="Gujarati" class="notranslate flag gu"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/india.png" height="18" width="18" alt="Gujarati"/></a>';
|
588 |
+
}
|
589 |
+
|
590 |
+
if ( isset ( $get_flag_choices['flag-ht'] ) ) {
|
591 |
+
$str.='<a id="Haitian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ht\'); return false;" title="Haitian" class="notranslate flag ht"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/haiti.png" height="18" width="18" alt="Haitian"/></a>';
|
592 |
+
}
|
593 |
+
|
594 |
+
if ( isset ( $get_flag_choices['flag-ha'] ) ) {
|
595 |
+
$str.='<a id="Hausa" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ha\'); return false;" title="Hausa" class="notranslate flag ha"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/niger.png" height="18" width="18" alt="Hausa"/></a>';
|
596 |
+
}
|
597 |
+
|
598 |
+
if ( isset ( $get_flag_choices['flag-iw'] ) ) {
|
599 |
+
$str.='<a id="Hebrew" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|iw\'); return false;" title="Hebrew" class="notranslate flag iw"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/israel.png" height="18" width="18" alt="Hebrew"/></a>';
|
600 |
+
}
|
601 |
+
|
602 |
+
if ( isset ( $get_flag_choices['flag-hi'] ) ) {
|
603 |
+
$str.='<a id="Hindi" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|hi\'); return false;" title="Hindi" class="notranslate flag hi"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/india.png" height="18" width="18" alt="Hindi"/></a>';
|
604 |
+
}
|
605 |
+
|
606 |
+
if ( isset ( $get_flag_choices['flag-hmn'] ) ) {
|
607 |
+
$str.='<a id="Hmong" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|hmn\'); return false;" title="Hmong" class="notranslate flag hmn"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/hmong.png" height="18" width="18" alt="Hmong"/></a>';
|
608 |
+
}
|
609 |
+
|
610 |
+
if ( isset ( $get_flag_choices['flag-hu'] ) ) {
|
611 |
+
$str.='<a id="Hungarian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|hu\'); return false;" title="Hungarian" class="notranslate flag hu"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/hungary.png" height="18" width="18" alt="Hungarian"/></a>';
|
612 |
+
}
|
613 |
+
|
614 |
+
if ( isset ( $get_flag_choices['flag-is'] ) ) {
|
615 |
+
$str.='<a id="Icelandic" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|is\'); return false;" title="Icelandic" class="notranslate flag is"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/iceland.png" height="18" width="18" alt="Icelandic"/></a>';
|
616 |
+
}
|
617 |
+
|
618 |
+
if ( isset ( $get_flag_choices['flag-id'] ) ) {
|
619 |
+
$str.='<a id="Indonesian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|id\'); return false;" title="Indonesian" class="notranslate flag id"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/indonesia.png" height="18" width="18" alt="Indonesian"/></a>';
|
620 |
+
}
|
621 |
+
|
622 |
+
if ( isset ( $get_flag_choices['flag-ig'] ) ) {
|
623 |
+
$str.='<a id="Igbo" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ig\'); return false;" title="Igbo" class="notranslate flag ig"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/niger.png" height="18" width="18" alt="Igbo"/></a>';
|
624 |
+
}
|
625 |
+
|
626 |
+
if ( isset ( $get_flag_choices['flag-ga'] ) ) {
|
627 |
+
$str.='<a id="Irish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ga\'); return false;" title="Irish" class="notranslate flag ga"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/ireland.png" height="18" width="18" alt="Irish"/></a>';
|
628 |
+
}
|
629 |
+
|
630 |
+
if ( isset ( $get_flag_choices['flag-it'] ) ) {
|
631 |
+
$str.='<a id="Italian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|it\'); return false;" title="Italian" class="notranslate flag it"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/italy.png" height="18" width="18" alt="Italian"/></a>';
|
632 |
+
}
|
633 |
+
|
634 |
+
if ( isset ( $get_flag_choices['flag-ja'] ) ) {
|
635 |
+
$str.='<a id="Japanese" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ja\'); return false;" title="Japanese" class="notranslate flag ja"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/japan.png" height="18" width="18" alt="Japanese"/></a>';
|
636 |
+
}
|
637 |
+
|
638 |
+
if ( isset ( $get_flag_choices['flag-jw'] ) ) {
|
639 |
+
$str.='<a id="Javanese" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|jw\'); return false;" title="Javanese" class="notranslate flag jw"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/indonesia.png" height="18" width="18" alt="Javanese"/></a>';
|
640 |
+
}
|
641 |
+
|
642 |
+
if ( isset ( $get_flag_choices['flag-kn'] ) ) {
|
643 |
+
$str.='<a id="Kannada" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|kn\'); return false;" title="Kannada" class="notranslate flag kn"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/kannada.png" height="18" width="18" alt="Kannada"/></a>';
|
644 |
+
}
|
645 |
+
|
646 |
+
if ( isset ( $get_flag_choices['flag-km'] ) ) {
|
647 |
+
$str.='<a id="Khmer" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|km\'); return false;" title="Khmer" class="notranslate flag km"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/cambodia.png" height="18" width="18" alt="Khmer"/></a>';
|
648 |
+
}
|
649 |
+
|
650 |
+
if ( isset ( $get_flag_choices['flag-ko'] ) ) {
|
651 |
+
$str.='<a id="Korean" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ko\'); return false;" title="Korean" class="notranslate flag ko"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/korea.png" height="18" width="18" alt="Korea"/></a>';
|
652 |
+
}
|
653 |
+
|
654 |
+
if ( isset ( $get_flag_choices['flag-lo'] ) ) {
|
655 |
+
$str.='<a id="Lao" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|lo\'); return false;" title="Lao" class="notranslate flag lo"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/laos.png" height="18" width="18" alt="Laos"/></a>';
|
656 |
+
}
|
657 |
+
|
658 |
+
if ( isset ( $get_flag_choices['flag-la'] ) ) {
|
659 |
+
$str.='<a id="Latin" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|la\'); return false;" title="Latin" class="notranslate flag la"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/latin.png" height="18" width="18" alt="Latin"/></a>';
|
660 |
+
}
|
661 |
+
|
662 |
+
if ( isset ( $get_flag_choices['flag-lv'] ) ) {
|
663 |
+
$str.='<a id="Latvian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|lv\'); return false;" title="Latvian" class="notranslate flag lv"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/latvia.png" height="18" width="18" alt="Latvian"/></a>';
|
664 |
+
}
|
665 |
+
|
666 |
+
if ( isset ( $get_flag_choices['flag-lt'] ) ) {
|
667 |
+
$str.='<a id="Lithuanian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|lt\'); return false;" title="Lithuanian" class="notranslate flag lt"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/lithuania.png" height="18" width="18" alt="Lithuanian"/></a>';
|
668 |
+
}
|
669 |
+
|
670 |
+
if ( isset ( $get_flag_choices['flag-mk'] ) ) {
|
671 |
+
$str.='<a id="Macedonian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|mk\'); return false;" title="Macedonian" class="notranslate flag mk"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/macedonia.png" height="18" width="18" alt="Macedonian"/></a>';
|
672 |
+
}
|
673 |
+
|
674 |
+
if ( isset ( $get_flag_choices['flag-ms'] ) ) {
|
675 |
+
$str.='<a id="Malay" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ms\'); return false;" title="Malay" class="notranslate flag ms"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/malaysia.png" height="18" width="18" alt="Malay"/></a>';
|
676 |
+
}
|
677 |
+
|
678 |
+
if ( isset ( $get_flag_choices['flag-mt'] ) ) {
|
679 |
+
$str.='<a id="Maltese" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|mt\'); return false;" title="Maltese" class="notranslate flag mt"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/malta.png" height="18" width="18" alt="Malta"/></a>';
|
680 |
+
}
|
681 |
+
|
682 |
+
if ( isset ( $get_flag_choices['flag-mi'] ) ) {
|
683 |
+
$str.='<a id="Maori" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|mi\'); return false;" title="Maori" class="notranslate flag mi"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/newzealand.png" height="18" width="18" alt="Maori"/></a>';
|
684 |
+
}
|
685 |
+
|
686 |
+
if ( isset ( $get_flag_choices['flag-mr'] ) ) {
|
687 |
+
$str.='<a id="Marathi" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|mr\'); return false;" title="Marathi" class="notranslate flag mr"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/marathi.png" height="18" width="18" alt="Marathi"/></a>';
|
688 |
+
}
|
689 |
+
|
690 |
+
if ( isset ( $get_flag_choices['flag-mn'] ) ) {
|
691 |
+
$str.='<a id="Mongolian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|mn\'); return false;" title="Mongolian" class="notranslate flag mn"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/mongolia.png" height="18" width="18" alt="Mongolian"/></a>';
|
692 |
+
}
|
693 |
+
|
694 |
+
if ( isset ( $get_flag_choices['flag-ne'] ) ) {
|
695 |
+
$str.='<a id="Nepali" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ne\'); return false;" title="Nepali" class="notranslate flag ne"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/nepal.png" height="18" width="18" alt="Nepali"/></a>';
|
696 |
+
}
|
697 |
+
|
698 |
+
if ( isset ( $get_flag_choices['flag-no'] ) ) {
|
699 |
+
$str.='<a id="Norwegian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|no\'); return false;" title="Norwegian" class="notranslate flag no"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/norway.png" height="18" width="18" alt="Norwegian"/></a>';
|
700 |
+
}
|
701 |
+
|
702 |
+
if ( isset ( $get_flag_choices['flag-fa'] ) ) {
|
703 |
+
$str.='<a id="Persian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|fa\'); return false;" title="Persian" class="notranslate flag fa"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/iran.png" height="18" width="18" alt="Persian"/></a>';
|
704 |
+
}
|
705 |
+
|
706 |
+
if ( isset ( $get_flag_choices['flag-pl'] ) ) {
|
707 |
+
$str.='<a id="Polish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|pl\'); return false;" title="Polish" class="notranslate flag pl"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/poland.png" height="18" width="18" alt="Polish"/></a>';
|
708 |
+
}
|
709 |
+
|
710 |
+
if ( isset ( $get_flag_choices['flag-pt'] ) ) {
|
711 |
+
$str.='<a id="Portuguese" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|pt\'); return false;" title="Portuguese" class="notranslate flag pt"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/portugal.png" height="18" width="18" alt="Portuguese"/></a>';
|
712 |
+
}
|
713 |
+
|
714 |
+
if ( isset ( $get_flag_choices['flag-pa'] ) ) {
|
715 |
+
$str.='<a id="Punjabi" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|pa\'); return false;" title="Punjabi" class="notranslate flag pa"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/pakistan.png" height="18" width="18" alt="Punjabi"/></a>';
|
716 |
+
}
|
717 |
+
|
718 |
+
if ( isset ( $get_flag_choices['flag-ro'] ) ) {
|
719 |
+
$str.='<a id="Romanian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ro\'); return false;" title="Romanian" class="notranslate flag ro"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/romania.png" height="18" width="18" alt="Romanian"/></a>';
|
720 |
+
}
|
721 |
+
|
722 |
+
if ( isset ( $get_flag_choices['flag-ru'] ) ) {
|
723 |
+
$str.='<a id="Russian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ru\'); return false;" title="Russian" class="notranslate flag ru"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/russia.png" height="18" width="18" alt="Russian"/></a>';
|
724 |
+
}
|
725 |
+
|
726 |
+
if ( isset ( $get_flag_choices['flag-sr'] ) ) {
|
727 |
+
$str.='<a id="Serbian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|sr\'); return false;" title="Serbian" class="notranslate flag sr"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/serbia.png" height="18" width="18" alt="Serbian"/></a>';
|
728 |
+
}
|
729 |
+
|
730 |
+
if ( isset ( $get_flag_choices['flag-sk'] ) ) {
|
731 |
+
$str.='<a id="Slovak" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|sk\'); return false;" title="Slovak" class="notranslate flag sk"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/slovakia.png" height="18" width="18" alt="Slovak"/></a>';
|
732 |
+
}
|
733 |
+
|
734 |
+
if ( isset ( $get_flag_choices['flag-sl'] ) ) {
|
735 |
+
$str.='<a id="Slovenian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|sl\'); return false;" title="Slovenian" class="notranslate flag sl"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/slovenia.png" height="18" width="18" alt="Slovenian"/></a>';
|
736 |
+
}
|
737 |
+
|
738 |
+
if ( isset ( $get_flag_choices['flag-so'] ) ) {
|
739 |
+
$str.='<a id="Somali" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|so\'); return false;" title="Somali" class="notranslate flag so"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/somalia.png" height="18" width="18" alt="Somali"/></a>';
|
740 |
+
}
|
741 |
+
|
742 |
+
if ( isset ( $get_flag_choices['flag-es'] ) ) {
|
743 |
+
$str.='<a id="Spanish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|es\'); return false;" title="Spanish" class="notranslate flag es"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/spain.png" height="18" width="18" alt="Spanish"/></a>';
|
744 |
+
}
|
745 |
+
|
746 |
+
if ( isset ( $get_flag_choices['flag-sw'] ) ) {
|
747 |
+
$str.='<a id="Swahili" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|sw\'); return false;" title="Swahili" class="notranslate flag sw"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/kenya.png" height="18" width="18" alt="Swahili"/></a>';
|
748 |
+
}
|
749 |
+
|
750 |
+
if ( isset ( $get_flag_choices['flag-sv'] ) ) {
|
751 |
+
$str.='<a id="Swedish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|sv\'); return false;" title="Swedish" class="notranslate flag sv"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/sweden.png" height="18" width="18" alt="Swedish"/></a>';
|
752 |
+
}
|
753 |
+
|
754 |
+
if ( isset ( $get_flag_choices['flag-ta'] ) ) {
|
755 |
+
$str.='<a id="Tamil" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ta\'); return false;" title="Tamil" class="notranslate flag ta"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/tamil.png" height="18" width="18" alt="Tamil"/></a>';
|
756 |
+
}
|
757 |
+
|
758 |
+
if ( isset ( $get_flag_choices['flag-te'] ) ) {
|
759 |
+
$str.='<a id="Telugu" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|te\'); return false;" title="Telugu" class="notranslate flag te"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/telugu.png" height="18" width="18" alt="Telugu"/></a>';
|
760 |
+
}
|
761 |
+
|
762 |
+
if ( isset ( $get_flag_choices['flag-th'] ) ) {
|
763 |
+
$str.='<a id="Thai" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|th\'); return false;" title="Thai" class="notranslate flag th"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/thailand.png" height="18" width="18" alt="Thai"/></a>';
|
764 |
+
}
|
765 |
+
|
766 |
+
if ( isset ( $get_flag_choices['flag-tr'] ) ) {
|
767 |
+
$str.='<a id="Turkish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|tr\'); return false;" title="Turkish" class="notranslate flag tr"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/turkey.png" height="18" width="18" alt="Turkish"/></a>';
|
768 |
+
}
|
769 |
+
|
770 |
+
if ( isset ( $get_flag_choices['flag-uk'] ) ) {
|
771 |
+
$str.='<a id="Ukranian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|uk\'); return false;" title="Ukranian" class="notranslate flag uk"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/ukraine.png" height="18" width="18" alt="Ukranian"/></a>';
|
772 |
+
}
|
773 |
+
|
774 |
+
if ( isset ( $get_flag_choices['flag-ur'] ) ) {
|
775 |
+
$str.='<a id="Urdu" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ur\'); return false;" title="Urdu" class="notranslate flag ur"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/pakistan.png" height="18" width="18" alt="Urdu"/></a>';
|
776 |
+
}
|
777 |
+
|
778 |
+
if ( isset ( $get_flag_choices['flag-vi'] ) ) {
|
779 |
+
$str.='<a id="Vietnamese" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|vi\'); return false;" title="Vietnamese" class="notranslate flag vi"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/vietnam.png" height="18" width="18" alt="vietnamese"/></a>';
|
780 |
+
}
|
781 |
+
|
782 |
+
if ( isset ( $get_flag_choices['flag-cy'] ) ) {
|
783 |
+
$str.='<a id="Welsh" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|cy\'); return false;" title="Welsh" class="notranslate flag cy"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/wales.png" height="18" width="18" alt="Welsh"/></a>';
|
784 |
+
}
|
785 |
+
|
786 |
+
if ( isset ( $get_flag_choices['flag-yi'] ) ) {
|
787 |
+
$str.='<a id="Yiddish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|yi\'); return false;" title="Yiddish (Jewish)" class="notranslate flag yi"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/yiddish.png" height="18" width="18" alt="Yiddish"/></a>';
|
788 |
+
}
|
789 |
+
|
790 |
+
if ( isset ( $get_flag_choices['flag-yo'] ) ) {
|
791 |
+
$str.='<a id="Yoruba" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|yo\'); return false;" title="Yoruba" class="notranslate flag yo"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/nigeria.png" height="18" width="18" alt="Yoruba"/></a>';
|
792 |
+
}
|
793 |
+
|
794 |
+
if ( isset ( $get_flag_choices['flag-zu'] ) ) {
|
795 |
+
$str.='<a id="Zulu" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|zu\'); return false;" title="Zulu" class="notranslate flag zu"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/southafrica.png" height="18" width="18" alt="Zulu"/></a>';
|
796 |
+
}
|
797 |
+
|
798 |
+
$str.='</div>';
|
799 |
+
|
800 |
+
$is_multilanguage = get_option('googlelanguagetranslator_multilanguage');
|
801 |
+
$auto_display = ', autoDisplay: false';
|
802 |
+
|
803 |
+
if ($is_multilanguage == 1) {
|
804 |
+
$multilanguagePage = ', multilanguagePage:true';
|
805 |
+
|
806 |
+
$str.='<script type="text/javascript">
|
807 |
+
function GoogleLanguageTranslatorInit() {
|
808 |
+
new google.translate.TranslateElement({pageLanguage: \''.get_option('googlelanguagetranslator_language').'\''.$language_choices . $auto_display . $multilanguagePage . $this->analytics().'}, \'google_language_translator\');}
|
809 |
+
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=GoogleLanguageTranslatorInit"></script>
|
810 |
+
<div id="google_language_translator"></div>';
|
811 |
+
return $str;
|
812 |
+
} elseif ($is_multilanguage == 0) {
|
813 |
+
|
814 |
+
$str.='<script type="text/javascript">
|
815 |
+
function GoogleLanguageTranslatorInit() {
|
816 |
+
new google.translate.TranslateElement({pageLanguage: \''.get_option('googlelanguagetranslator_language').'\''.$language_choices . $auto_display . $this->analytics().'}, \'google_language_translator\');}
|
817 |
+
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=GoogleLanguageTranslatorInit"></script>
|
818 |
+
<div id="google_language_translator"></div>';
|
819 |
+
return $str;
|
820 |
+
}
|
821 |
+
}
|
822 |
+
}
|
823 |
+
} // End glt_vertical
|
824 |
+
|
825 |
+
public function googlelanguagetranslator_horizontal(){
|
826 |
+
$is_active = get_option ( 'googlelanguagetranslator_active' );
|
827 |
+
$get_flag_choices = get_option ('flag_display_settings');
|
828 |
+
$get_language_option = get_option('googlelanguagetranslator_language_option');
|
829 |
+
$language_choices = $this->googlelanguagetranslator_included_languages();
|
830 |
+
$floating_widget = get_option ('googlelanguagetranslator_floating_widget');
|
831 |
+
$str = '';
|
832 |
+
|
833 |
+
if( $is_active == 1){
|
834 |
+
if ($floating_widget=='yes' && $get_language_option != 'specific') {
|
835 |
+
$str.='<div id="glt-translate-trigger"><span class="notranslate">Translate »</strong></div>';
|
836 |
+
$str.='<div id="glt-toolbar">';
|
837 |
+
if ( isset ( $get_flag_choices['flag-af'] ) ) {
|
838 |
+
$str.='<a id="Afrikaans" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|af\'); return false;" title="Afrikaans" class="notranslate flag af"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/southafrica.png" height="24" width="24" alt="Afrikaans"/></a>';
|
839 |
+
}
|
840 |
+
if ( isset ( $get_flag_choices['flag-sq'] ) ) {
|
841 |
+
$str.='<a id="Albanian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|sq\'); return false;" title="Albanian" class="notranslate flag sq"><img class="notranslate flag flag flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/albania.png" height="24" width="24" alt="Albanian"/></a>';
|
842 |
+
}
|
843 |
+
|
844 |
+
if ( isset ( $get_flag_choices['flag-ar'] ) ) {
|
845 |
+
$str.='<a id="Arabic" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ar\'); return false;" title="Arabic" class="notranslate flag ar"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/saudiaarabia.png" height="24" width="24" alt="Arabic"/></a>';
|
846 |
+
}
|
847 |
+
|
848 |
+
if ( isset ( $get_flag_choices['flag-hy'] ) ) {
|
849 |
+
$str.='<a id="Armenian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|hy\'); return false;" title="Armenian" class="notranslate flag hy"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/armenia.png" height="24" width="24" alt="Armenian"/></a>';
|
850 |
+
}
|
851 |
+
|
852 |
+
if ( isset ( $get_flag_choices['flag-az'] ) ) {
|
853 |
+
$str.='<a id="Azerbaijani" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|az\'); return false;" title="Azerbaijani" class="notranslate flag az"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/azerbaijan.png" height="24" width="24" alt="Azerbaijani"/></a>';
|
854 |
+
}
|
855 |
+
|
856 |
+
if ( isset ( $get_flag_choices['flag-eu'] ) ) {
|
857 |
+
$str.='<a id="Basque" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|eu\'); return false;" title="Basque" class="notranslate flag eu"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/basque.png" height="24" width="24" alt="Basque"/></a>';
|
858 |
+
}
|
859 |
+
|
860 |
+
if ( isset ( $get_flag_choices['flag-be'] ) ) {
|
861 |
+
$str.='<a id="Belarusian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|be\'); return false;" title="Belarusian" class="notranslate flag be"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/belarus.png" height="24" width="24" alt="Belarus"/></a>';
|
862 |
+
}
|
863 |
+
|
864 |
+
if ( isset ( $get_flag_choices['flag-bn'] ) ) {
|
865 |
+
$str.='<a id="Bengali" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|bn\'); return false;" title="Bengali" class="notranslate flag bn"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/bangladesh.png" height="24" width="24" alt="Bengali"/></a>';
|
866 |
+
}
|
867 |
+
|
868 |
+
if ( isset ( $get_flag_choices['flag-bs'] ) ) {
|
869 |
+
$str.='<a id="Bosnian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|bs\'); return false;" title="Bosnian" class="notranslate flag bs"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/bosnia.png" height="24" width="24" alt="Bosnian"/></a>';
|
870 |
+
}
|
871 |
+
|
872 |
+
if ( isset ( $get_flag_choices['flag-bg'] ) ) {
|
873 |
+
$str.='<a id="Bulgarian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|bg\'); return false;" title="Bulgarian" class="notranslate flag bg"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/bulgaria.png" height="24" width="24" alt="Bulgarian"/></a>';
|
874 |
+
}
|
875 |
+
|
876 |
+
if ( isset ( $get_flag_choices['flag-ca'] ) ) {
|
877 |
+
$str.='<a id="Catalan" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ca\'); return false;" title="Catalan" class="notranslate flag ca"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/catalonia.png" height="24" width="24" alt="Catalan"/></a>';
|
878 |
+
}
|
879 |
+
|
880 |
+
if ( isset ( $get_flag_choices['flag-ceb'] ) ) {
|
881 |
+
$str.='<a id="Cebuano" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ceb\'); return false;" title="Cebuano" class="notranslate flag ceb"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/philippines.png" height="24" width="24" alt="Afrikaans"/></a>';
|
882 |
+
}
|
883 |
+
|
884 |
+
if ( isset ( $get_flag_choices['flag-zh-CN'] ) ) {
|
885 |
+
$str.='<a id="Chinese-Simplified" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|zh-CN\'); return false;" title="Chinese (Simplified)" class="notranslate flag zh-CN"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/china.png" height="24" width="24" alt="Chinese (Simplified)"/></a>';
|
886 |
+
}
|
887 |
+
|
888 |
+
if ( isset ( $get_flag_choices['flag-zh-TW'] ) ) {
|
889 |
+
$str.='<a id="Chinese-Traditional" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|zh-TW\'); return false;" title="Chinese (Traditional)" class="notranslate flag zh-TW"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/china.png" height="24" width="24" alt="Chinese (Traditional)"/></a>';
|
890 |
+
}
|
891 |
+
|
892 |
+
if ( isset ( $get_flag_choices['flag-cs'] ) ) {
|
893 |
+
$str.='<a id="Czech" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|cs\'); return false;" title="Czech" class="notranslate flag cs"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/czechrepublic.png" height="24" width="24" alt="Czech"/></a>';
|
894 |
+
}
|
895 |
+
|
896 |
+
if ( isset ( $get_flag_choices['flag-hr'] ) ) {
|
897 |
+
$str.='<a id="Croatian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|hr\'); return false;" title="Croatian" class="notranslate flag hr"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/croatia.png" height="24" width="24" alt="Croatian"/></a>';
|
898 |
+
}
|
899 |
+
|
900 |
+
if ( isset ( $get_flag_choices['flag-da'] ) ) {
|
901 |
+
$str.='<a id="Danish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|da\'); return false;" title="Danish" class="notranslate flag da"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/denmark.png" height="24" width="24" alt="Danish"/></a>';
|
902 |
+
}
|
903 |
+
|
904 |
+
if ( isset ( $get_flag_choices['flag-nl'] ) ) {
|
905 |
+
$str.='<a id="Dutch" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|nl\'); return false;" title="Dutch" class="notranslate flag nl"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/netherlands.png" height="24" width="24" alt="Dutch"/></a>';
|
906 |
+
}
|
907 |
+
|
908 |
+
if ( isset ( $get_flag_choices['flag-en'] ) ) {
|
909 |
+
$str.='<a id="English" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|en\'); return false;" title="English" class="notranslate flag en"><img class="flagimg" title="English" src="'.plugins_url().'/google-language-translator/images/flags24/unitedkingdom.png" height="24" width="24" alt="English"/></a>';
|
910 |
+
}
|
911 |
+
|
912 |
+
if ( isset ( $get_flag_choices['flag-eo'] ) ) {
|
913 |
+
$str.='<a id="Esperanto" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|eo\'); return false;" title="Esperanto" class="notranslate flag eo"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/esperanto.png" height="24" width="24" alt="Esperanto"/></a>';
|
914 |
+
}
|
915 |
+
|
916 |
+
if ( isset ( $get_flag_choices['flag-et'] ) ) {
|
917 |
+
$str.='<a id="Estonian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|et\'); return false;" title="Estonian" class="notranslate flag et"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/estonia.png" height="24" width="24" alt="Estonian"/></a>';
|
918 |
+
}
|
919 |
+
|
920 |
+
if ( isset ( $get_flag_choices['flag-tl'] ) ) {
|
921 |
+
$str.='<a id="Filipino" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|tl\'); return false;" title="Filipino" class="notranslate flag tl"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/philippines.png" height="24" width="24" alt="Filipino"/></a>';
|
922 |
+
}
|
923 |
+
|
924 |
+
if ( isset ( $get_flag_choices['flag-fi'] ) ) {
|
925 |
+
$str.='<a id="Finnish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|fi\'); return false;" title="Finnish" class="notranslate flag fi"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/finland.png" height="24" width="24" alt="Finnish"/></a>';
|
926 |
+
}
|
927 |
+
|
928 |
+
if ( isset ( $get_flag_choices['flag-fr'] ) ) {
|
929 |
+
$str.='<a id="French" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|fr\'); return false;" title="French" class="notranslate flag fr"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/france.png" height="24" width="24" alt="French"/></a>';
|
930 |
+
}
|
931 |
+
|
932 |
+
if ( isset ( $get_flag_choices['flag-gl'] ) ) {
|
933 |
+
$str.='<a id="Galician" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|gl\'); return false;" title="Galician" class="notranslate flag gl"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/galicia.png" height="24" width="24" alt="Galician"/></a>';
|
934 |
+
}
|
935 |
+
|
936 |
+
if ( isset ( $get_flag_choices['flag-ka'] ) ) {
|
937 |
+
$str.='<a id="Georgian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ka\'); return false;" title="Georgian" class="notranslate flag ka"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/georgia.png" height="24" width="24" alt="Georgian"/></a>';
|
938 |
+
}
|
939 |
+
|
940 |
+
if ( isset ( $get_flag_choices['flag-de'] ) ) {
|
941 |
+
$str.='<a id="German" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|de\'); return false;" title="German" class="notranslate flag de"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/germany.png" height="24" width="24" alt="German"/></a>';
|
942 |
+
}
|
943 |
+
|
944 |
+
if ( isset ( $get_flag_choices['flag-el'] ) ) {
|
945 |
+
$str.='<a id="Greek" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|el\'); return false;" title="Greek" class="notranslate flag el"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/greece.png" height="24" width="24" alt="Greek"/></a>';
|
946 |
+
}
|
947 |
+
|
948 |
+
if ( isset ( $get_flag_choices['flag-gu'] ) ) {
|
949 |
+
$str.='<a id="Gujarati" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|gu\'); return false;" title="Gujarati" class="notranslate flag gu"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/india.png" height="24" width="24" alt="Gujarati"/></a>';
|
950 |
+
}
|
951 |
+
|
952 |
+
if ( isset ( $get_flag_choices['flag-ht'] ) ) {
|
953 |
+
$str.='<a id="Haitian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ht\'); return false;" title="Haitian" class="notranslate flag ht"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/haiti.png" height="24" width="24" alt="Haitian"/></a>';
|
954 |
+
}
|
955 |
+
|
956 |
+
if ( isset ( $get_flag_choices['flag-ha'] ) ) {
|
957 |
+
$str.='<a id="Hausa" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ha\'); return false;" title="Hausa" class="notranslate flag ha"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/niger.png" height="24" width="24" alt="Hausa"/></a>';
|
958 |
+
}
|
959 |
+
|
960 |
+
if ( isset ( $get_flag_choices['flag-iw'] ) ) {
|
961 |
+
$str.='<a id="Hebrew" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|iw\'); return false;" title="Hebrew" class="notranslate flag iw"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/israel.png" height="24" width="24" alt="Hebrew"/></a>';
|
962 |
+
}
|
963 |
+
|
964 |
+
if ( isset ( $get_flag_choices['flag-hi'] ) ) {
|
965 |
+
$str.='<a id="Hindi" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|hi\'); return false;" title="Hindi" class="notranslate flag hi"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/india.png" height="24" width="24" alt="Hindi"/></a>';
|
966 |
+
}
|
967 |
+
|
968 |
+
if ( isset ( $get_flag_choices['flag-hmn'] ) ) {
|
969 |
+
$str.='<a id="Hmong" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|hmn\'); return false;" title="Hmong" class="notranslate flag hmn"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/hmong.png" height="24" width="24" alt="Hmong"/></a>';
|
970 |
+
}
|
971 |
+
|
972 |
+
if ( isset ( $get_flag_choices['flag-hu'] ) ) {
|
973 |
+
$str.='<a id="Hungarian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|hu\'); return false;" title="Hungarian" class="notranslate flag hu"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/hungary.png" height="24" width="24" alt="Hungarian"/></a>';
|
974 |
+
}
|
975 |
+
|
976 |
+
if ( isset ( $get_flag_choices['flag-is'] ) ) {
|
977 |
+
$str.='<a id="Icelandic" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|is\'); return false;" title="Icelandic" class="notranslate flag is"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/iceland.png" height="24" width="24" alt="Icelandic"/></a>';
|
978 |
+
}
|
979 |
+
|
980 |
+
if ( isset ( $get_flag_choices['flag-ig'] ) ) {
|
981 |
+
$str.='<a id="Igbo" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ig\'); return false;" title="Igbo" class="notranslate flag ig"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/niger.png" height="24" width="24" alt="Igbo"/></a>';
|
982 |
+
}
|
983 |
+
|
984 |
+
if ( isset ( $get_flag_choices['flag-id'] ) ) {
|
985 |
+
$str.='<a id="Indonesian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|id\'); return false;" title="Indonesian" class="notranslate flag id"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/indonesia.png" height="24" width="24" alt="Indonesian"/></a>';
|
986 |
+
}
|
987 |
+
|
988 |
+
if ( isset ( $get_flag_choices['flag-ga'] ) ) {
|
989 |
+
$str.='<a id="Irish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ga\'); return false;" title="Irish" class="notranslate flag ga"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/ireland.png" height="24" width="24" alt="Irish"/></a>';
|
990 |
+
}
|
991 |
+
|
992 |
+
if ( isset ( $get_flag_choices['flag-it'] ) ) {
|
993 |
+
$str.='<a id="Italian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|it\'); return false;" title="Italian" class="notranslate flag it"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/italy.png" height="24" width="24" alt="Italian"/></a>';
|
994 |
+
}
|
995 |
+
|
996 |
+
if ( isset ( $get_flag_choices['flag-ja'] ) ) {
|
997 |
+
$str.='<a id="Japanese" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ja\'); return false;" title="Japanese" class="notranslate flag ja"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/japan.png" height="24" width="24" alt="Japanese"/></a>';
|
998 |
+
}
|
999 |
+
|
1000 |
+
if ( isset ( $get_flag_choices['flag-jw'] ) ) {
|
1001 |
+
$str.='<a id="Javanese" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|jw\'); return false;" title="Javanese" class="notranslate flag jw"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/indonesia.png" height="24" width="24" alt="Javanese"/></a>';
|
1002 |
+
}
|
1003 |
+
|
1004 |
+
if ( isset ( $get_flag_choices['flag-kn'] ) ) {
|
1005 |
+
$str.='<a id="Kannada" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|kn\'); return false;" title="Kannada" class="notranslate flag kn"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/kannada.png" height="24" width="24" alt="Kannada"/></a>';
|
1006 |
+
}
|
1007 |
+
|
1008 |
+
if ( isset ( $get_flag_choices['flag-km'] ) ) {
|
1009 |
+
$str.='<a id="Khmer" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|km\'); return false;" title="Khmer" class="notranslate flag km"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/cambodia.png" height="24" width="24" alt="Khmer"/></a>';
|
1010 |
+
}
|
1011 |
+
|
1012 |
+
if ( isset ( $get_flag_choices['flag-ko'] ) ) {
|
1013 |
+
$str.='<a id="Korean" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ko\'); return false;" title="Korean" class="notranslate flag ko"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/korea.png" height="24" width="24" alt="Korea"/></a>';
|
1014 |
+
}
|
1015 |
+
|
1016 |
+
if ( isset ( $get_flag_choices['flag-lo'] ) ) {
|
1017 |
+
$str.='<a id="Lao" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|lo\'); return false;" title="Lao" class="notranslate flag lo"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/laos.png" height="24" width="24" alt="Laos"/></a>';
|
1018 |
+
}
|
1019 |
+
|
1020 |
+
if ( isset ( $get_flag_choices['flag-la'] ) ) {
|
1021 |
+
$str.='<a id="Latin" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|la\'); return false;" title="Latin" class="notranslate flag la"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/latin.png" height="24" width="24" alt="Latin"/></a>';
|
1022 |
+
}
|
1023 |
+
|
1024 |
+
if ( isset ( $get_flag_choices['flag-lv'] ) ) {
|
1025 |
+
$str.='<a id="Latvian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|lv\'); return false;" title="Latvian" class="notranslate flag lv"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/latvia.png" height="24" width="24" alt="Latvian"/></a>';
|
1026 |
+
}
|
1027 |
+
|
1028 |
+
if ( isset ( $get_flag_choices['flag-lt'] ) ) {
|
1029 |
+
$str.='<a id="Lithuanian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|lt\'); return false;" title="Lithuanian" class="notranslate flag lt"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/lithuania.png" height="24" width="24" alt="Lithuanian"/></a>';
|
1030 |
+
}
|
1031 |
+
|
1032 |
+
if ( isset ( $get_flag_choices['flag-mk'] ) ) {
|
1033 |
+
$str.='<a id="Macedonian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|mk\'); return false;" title="Macedonian" class="notranslate flag mk"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/macedonia.png" height="24" width="24" alt="Macedonian"/></a>';
|
1034 |
+
}
|
1035 |
+
|
1036 |
+
if ( isset ( $get_flag_choices['flag-ms'] ) ) {
|
1037 |
+
$str.='<a id="Malay" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ms\'); return false;" title="Malay" class="notranslate flag ms"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/malaysia.png" height="24" width="24" alt="Malay"/></a>';
|
1038 |
+
}
|
1039 |
+
|
1040 |
+
if ( isset ( $get_flag_choices['flag-mt'] ) ) {
|
1041 |
+
$str.='<a id="Maltese" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|mt\'); return false;" title="Maltese" class="notranslate flag mt"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/malta.png" height="24" width="24" alt="Malta"/></a>';
|
1042 |
+
}
|
1043 |
+
|
1044 |
+
if ( isset ( $get_flag_choices['flag-mi'] ) ) {
|
1045 |
+
$str.='<a id="Maori" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|mi\'); return false;" title="Maori" class="notranslate flag mi"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/newzealand.png" height="24" width="24" alt="Maori"/></a>';
|
1046 |
+
}
|
1047 |
+
|
1048 |
+
if ( isset ( $get_flag_choices['flag-mr'] ) ) {
|
1049 |
+
$str.='<a id="Marathi" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|mr\'); return false;" title="Marathi" class="notranslate flag mr"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/marathi.png" height="24" width="24" alt="Marathi"/></a>';
|
1050 |
+
}
|
1051 |
+
|
1052 |
+
if ( isset ( $get_flag_choices['flag-mn'] ) ) {
|
1053 |
+
$str.='<a id="Mongolian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|mn\'); return false;" title="Mongolian" class="notranslate flag mn"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/mongolia.png" height="24" width="24" alt="Mongolian"/></a>';
|
1054 |
+
}
|
1055 |
+
|
1056 |
+
if ( isset ( $get_flag_choices['flag-ne'] ) ) {
|
1057 |
+
$str.='<a id="Nepali" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ne\'); return false;" title="Nepali" class="notranslate flag ne"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/nepal.png" height="24" width="24" alt="Nepali"/></a>';
|
1058 |
+
}
|
1059 |
+
|
1060 |
+
if ( isset ( $get_flag_choices['flag-no'] ) ) {
|
1061 |
+
$str.='<a id="Norwegian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|no\'); return false;" title="Norwegian" class="notranslate flag no"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/norway.png" height="24" width="24" alt="Norwegian"/></a>';
|
1062 |
+
}
|
1063 |
+
|
1064 |
+
if ( isset ( $get_flag_choices['flag-fa'] ) ) {
|
1065 |
+
$str.='<a id="Persian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|fa\'); return false;" title="Persian" class="notranslate flag fa"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/iran.png" height="24" width="24" alt="Persian"/></a>';
|
1066 |
+
}
|
1067 |
+
|
1068 |
+
if ( isset ( $get_flag_choices['flag-pl'] ) ) {
|
1069 |
+
$str.='<a id="Polish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|pl\'); return false;" title="Polish" class="notranslate flag pl"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/poland.png" height="24" width="24" alt="Polish"/></a>';
|
1070 |
+
}
|
1071 |
+
|
1072 |
+
if ( isset ( $get_flag_choices['flag-pt'] ) ) {
|
1073 |
+
$str.='<a id="Portuguese" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|pt\'); return false;" title="Portuguese" class="notranslate flag pt"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/portugal.png" height="24" width="24" alt="Portuguese"/></a>';
|
1074 |
+
}
|
1075 |
+
|
1076 |
+
if ( isset ( $get_flag_choices['flag-pa'] ) ) {
|
1077 |
+
$str.='<a id="Punjabi" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|pa\'); return false;" title="Punjabi" class="notranslate flag pa"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/pakistan.png" height="24" width="24" alt="Punjabi"/></a>';
|
1078 |
+
}
|
1079 |
+
|
1080 |
+
if ( isset ( $get_flag_choices['flag-ro'] ) ) {
|
1081 |
+
$str.='<a id="Romanian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ro\'); return false;" title="Romanian" class="notranslate flag ro"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/romania.png" height="24" width="24" alt="Romanian"/></a>';
|
1082 |
+
}
|
1083 |
+
|
1084 |
+
if ( isset ( $get_flag_choices['flag-ru'] ) ) {
|
1085 |
+
$str.='<a id="Russian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ru\'); return false;" title="Russian" class="notranslate flag ru"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/russia.png" height="24" width="24" alt="Russian"/></a>';
|
1086 |
+
}
|
1087 |
+
|
1088 |
+
if ( isset ( $get_flag_choices['flag-sr'] ) ) {
|
1089 |
+
$str.='<a id="Serbian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|sr\'); return false;" title="Serbian" class="notranslate flag sr"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/serbia.png" height="24" width="24" alt="Serbian"/></a>';
|
1090 |
+
}
|
1091 |
+
|
1092 |
+
if ( isset ( $get_flag_choices['flag-sk'] ) ) {
|
1093 |
+
$str.='<a id="Slovak" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|sk\'); return false;" title="Slovak" class="notranslate flag sk"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/slovakia.png" height="24" width="24" alt="Slovak"/></a>';
|
1094 |
+
}
|
1095 |
+
|
1096 |
+
if ( isset ( $get_flag_choices['flag-sl'] ) ) {
|
1097 |
+
$str.='<a id="Slovenian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|sl\'); return false;" title="Slovenian" class="notranslate flag sl"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/slovenia.png" height="24" width="24" alt="Slovenian"/></a>';
|
1098 |
+
}
|
1099 |
+
|
1100 |
+
if ( isset ( $get_flag_choices['flag-so'] ) ) {
|
1101 |
+
$str.='<a id="Somali" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|so\'); return false;" title="Somali" class="notranslate flag so"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/somalia.png" height="24" width="24" alt="Somali"/></a>';
|
1102 |
+
}
|
1103 |
+
|
1104 |
+
if ( isset ( $get_flag_choices['flag-es'] ) ) {
|
1105 |
+
$str.='<a id="Spanish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|es\'); return false;" title="Spanish" class="notranslate flag es"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/spain.png" height="24" width="24" alt="Spanish"/></a>';
|
1106 |
+
}
|
1107 |
+
|
1108 |
+
if ( isset ( $get_flag_choices['flag-sw'] ) ) {
|
1109 |
+
$str.='<a id="Swahili" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|sw\'); return false;" title="Swahili" class="notranslate flag sw"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/kenya.png" height="24" width="24" alt="Swahili"/></a>';
|
1110 |
+
}
|
1111 |
+
|
1112 |
+
if ( isset ( $get_flag_choices['flag-sv'] ) ) {
|
1113 |
+
$str.='<a id="Swedish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|sv\'); return false;" title="Swedish" class="notranslate flag sv"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/sweden.png" height="24" width="24" alt="Swedish"/></a>';
|
1114 |
+
}
|
1115 |
+
|
1116 |
+
if ( isset ( $get_flag_choices['flag-ta'] ) ) {
|
1117 |
+
$str.='<a id="Tamil" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ta\'); return false;" title="Tamil" class="notranslate flag ta"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/tamil.png" height="24" width="24" alt="Tamil"/></a>';
|
1118 |
+
}
|
1119 |
+
|
1120 |
+
if ( isset ( $get_flag_choices['flag-te'] ) ) {
|
1121 |
+
$str.='<a id="Telugu" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|te\'); return false;" title="Telugu" class="notranslate flag te"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/telugu.png" height="24" width="24" alt="Telugu"/></a>';
|
1122 |
+
}
|
1123 |
+
|
1124 |
+
if ( isset ( $get_flag_choices['flag-th'] ) ) {
|
1125 |
+
$str.='<a id="Thai" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|th\'); return false;" title="Thai" class="notranslate flag th"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/thailand.png" height="24" width="24" alt="Thai"/></a>';
|
1126 |
+
}
|
1127 |
+
|
1128 |
+
if ( isset ( $get_flag_choices['flag-tr'] ) ) {
|
1129 |
+
$str.='<a id="Turkish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|tr\'); return false;" title="Turkish" class="notranslate flag tr"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/turkey.png" height="24" width="24" alt="Turkish"/></a>';
|
1130 |
+
}
|
1131 |
+
|
1132 |
+
if ( isset ( $get_flag_choices['flag-uk'] ) ) {
|
1133 |
+
$str.='<a id="Ukranian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|uk\'); return false;" title="Ukranian" class="notranslate flag uk"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/ukraine.png" height="24" width="24" alt="Ukranian"/></a>';
|
1134 |
+
}
|
1135 |
+
|
1136 |
+
if ( isset ( $get_flag_choices['flag-ur'] ) ) {
|
1137 |
+
$str.='<a id="Urdu" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ur\'); return false;" title="Urdu" class="notranslate flag ur"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/pakistan.png" height="24" width="24" alt="Urdu"/></a>';
|
1138 |
+
}
|
1139 |
+
|
1140 |
+
if ( isset ( $get_flag_choices['flag-vi'] ) ) {
|
1141 |
+
$str.='<a id="Vietnamese" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|vi\'); return false;" title="Vietnamese" class="notranslate flag vi"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/vietnam.png" height="24" width="24" alt="vietnamese"/></a>';
|
1142 |
+
}
|
1143 |
+
|
1144 |
+
if ( isset ( $get_flag_choices['flag-cy'] ) ) {
|
1145 |
+
$str.='<a id="Welsh" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|cy\'); return false;" title="Welsh" class="notranslate flag cy"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/wales.png" height="24" width="24" alt="Welsh"/></a>';
|
1146 |
+
}
|
1147 |
+
|
1148 |
+
if ( isset ( $get_flag_choices['flag-yi'] ) ) {
|
1149 |
+
$str.='<a id="Yiddish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|yi\'); return false;" title="Yiddish (Jewish)" class="notranslate flag yi"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/yiddish.png" height="24" width="24" alt="Yiddish"/></a>';
|
1150 |
+
}
|
1151 |
+
|
1152 |
+
if ( isset ( $get_flag_choices['flag-yo'] ) ) {
|
1153 |
+
$str.='<a id="Yoruba" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|yo\'); return false;" title="Yoruba" class="notranslate flag yo"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/nigeria.png" height="24" width="24" alt="Yoruba"/></a>';
|
1154 |
+
}
|
1155 |
+
|
1156 |
+
if ( isset ( $get_flag_choices['flag-zu'] ) ) {
|
1157 |
+
$str.='<a id="Zulu" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|zu\'); return false;" title="Zulu" class="notranslate flag zu"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/southafrica.png" height="24" width="24" alt="Zulu"/></a>';
|
1158 |
+
}
|
1159 |
+
$str.='</div>';
|
1160 |
+
}
|
1161 |
+
|
1162 |
+
foreach ($get_flag_choices as $key) {
|
1163 |
+
}
|
1164 |
+
|
1165 |
+
$str.='<div id="flags">';
|
1166 |
+
|
1167 |
+
if ($key == '1') {
|
1168 |
+
if ( isset ( $get_flag_choices['flag-af'] ) ) {
|
1169 |
+
$str.='<a id="Afrikaans" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|af\'); return false;" title="Afrikaans" class="notranslate flag af"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/southafrica.png" height="18" width="18" alt="Afrikaans"/></a>';
|
1170 |
+
}
|
1171 |
+
if ( isset ( $get_flag_choices['flag-sq'] ) ) {
|
1172 |
+
$str.='<a id="Albanian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|sq\'); return false;" title="Albanian" class="notranslate flag sq"><img class="notranslate flag flag flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/albania.png" height="18" width="18" alt="Albanian"/></a>';
|
1173 |
+
}
|
1174 |
+
|
1175 |
+
if ( isset ( $get_flag_choices['flag-ar'] ) ) {
|
1176 |
+
$str.='<a id="Arabic" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ar\'); return false;" title="Arabic" class="notranslate flag ar"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/saudiaarabia.png" height="18" width="18" alt="Arabic"/></a>';
|
1177 |
+
}
|
1178 |
+
|
1179 |
+
if ( isset ( $get_flag_choices['flag-hy'] ) ) {
|
1180 |
+
$str.='<a id="Armenian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|hy\'); return false;" title="Armenian" class="notranslate flag hy"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/armenia.png" height="18" width="18" alt="Armenian"/></a>';
|
1181 |
+
}
|
1182 |
+
|
1183 |
+
if ( isset ( $get_flag_choices['flag-az'] ) ) {
|
1184 |
+
$str.='<a id="Azerbaijani" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|az\'); return false;" title="Azerbaijani" class="notranslate flag az"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/azerbaijan.png" height="18" width="18" alt="Azerbaijani"/></a>';
|
1185 |
+
}
|
1186 |
+
|
1187 |
+
if ( isset ( $get_flag_choices['flag-eu'] ) ) {
|
1188 |
+
$str.='<a id="Basque" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|eu\'); return false;" title="Basque" class="notranslate flag eu"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/basque.png" height="18" width="18" alt="Basque"/></a>';
|
1189 |
+
}
|
1190 |
+
|
1191 |
+
if ( isset ( $get_flag_choices['flag-be'] ) ) {
|
1192 |
+
$str.='<a id="Belarusian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|be\'); return false;" title="Belarusian" class="notranslate flag be"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/belarus.png" height="18" width="18" alt="Belarus"/></a>';
|
1193 |
+
}
|
1194 |
+
|
1195 |
+
if ( isset ( $get_flag_choices['flag-bn'] ) ) {
|
1196 |
+
$str.='<a id="Bengali" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|bn\'); return false;" title="Bengali" class="notranslate flag bn"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/bangladesh.png" height="18" width="18" alt="Bengali"/></a>';
|
1197 |
+
}
|
1198 |
+
|
1199 |
+
if ( isset ( $get_flag_choices['flag-bs'] ) ) {
|
1200 |
+
$str.='<a id="Bosnian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|bs\'); return false;" title="Bosnian" class="notranslate flag bs"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/bosnia.png" height="18" width="18" alt="Bosnian"/></a>';
|
1201 |
+
}
|
1202 |
+
|
1203 |
+
if ( isset ( $get_flag_choices['flag-bg'] ) ) {
|
1204 |
+
$str.='<a id="Bulgarian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|bg\'); return false;" title="Bulgarian" class="notranslate flag bg"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/bulgaria.png" height="18" width="18" alt="Bulgarian"/></a>';
|
1205 |
+
}
|
1206 |
+
|
1207 |
+
if ( isset ( $get_flag_choices['flag-ca'] ) ) {
|
1208 |
+
$str.='<a id="Catalan" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ca\'); return false;" title="Catalan" class="notranslate flag ca"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/catalonia.png" height="18" width="18" alt="Catalan"/></a>';
|
1209 |
+
}
|
1210 |
+
|
1211 |
+
if ( isset ( $get_flag_choices['flag-ceb'] ) ) {
|
1212 |
+
$str.='<a id="Cebuano" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ceb\'); return false;" title="Cebuano" class="notranslate flag ceb"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/philippines.png" height="18" width="18" alt="Afrikaans"/></a>';
|
1213 |
+
}
|
1214 |
+
|
1215 |
+
if ( isset ( $get_flag_choices['flag-zh-CN'] ) ) {
|
1216 |
+
$str.='<a id="Chinese-Simplified)" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|zh-CN\'); return false;" title="Chinese (Simplified)" class="notranslate flag zh-CN"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/china.png" height="18" width="18" alt="Chinese (Simplified)"/></a>';
|
1217 |
+
}
|
1218 |
+
|
1219 |
+
if ( isset ( $get_flag_choices['flag-zh-TW'] ) ) {
|
1220 |
+
$str.='<a id="Chinese-Traditional)" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|zh-TW\'); return false;" title="Chinese (Traditional)" class="notranslate flag zh-TW"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/china.png" height="18" width="18" alt="Chinese (Traditional)"/></a>';
|
1221 |
+
}
|
1222 |
+
|
1223 |
+
if ( isset ( $get_flag_choices['flag-cs'] ) ) {
|
1224 |
+
$str.='<a id="Czech" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|cs\'); return false;" title="Czech" class="notranslate flag cs"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/czechrepublic.png" height="18" width="18" alt="Czech"/></a>';
|
1225 |
+
}
|
1226 |
+
|
1227 |
+
if ( isset ( $get_flag_choices['flag-hr'] ) ) {
|
1228 |
+
$str.='<a id="Croatian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|hr\'); return false;" title="Croatian" class="notranslate flag hr"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/croatia.png" height="18" width="18" alt="Croatian"/></a>';
|
1229 |
+
}
|
1230 |
+
|
1231 |
+
if ( isset ( $get_flag_choices['flag-da'] ) ) {
|
1232 |
+
$str.='<a id="Danish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|da\'); return false;" title="Danish" class="notranslate flag da"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/denmark.png" height="18" width="18" alt="Danish"/></a>';
|
1233 |
+
}
|
1234 |
+
|
1235 |
+
if ( isset ( $get_flag_choices['flag-nl'] ) ) {
|
1236 |
+
$str.='<a id="Dutch" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|nl\'); return false;" title="Dutch" class="notranslate flag nl"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/netherlands.png" height="18" width="18" alt="Dutch"/></a>';
|
1237 |
+
}
|
1238 |
+
|
1239 |
+
if ( isset ( $get_flag_choices['flag-en'] ) ) {
|
1240 |
+
$str.='<a id="English" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|en\'); return false;" title="English" class="notranslate flag en"><img class="flagimg" title="English" src="'.plugins_url().'/google-language-translator/images/flags24/unitedkingdom.png" height="18" width="18" alt="English"/></a>';
|
1241 |
+
}
|
1242 |
+
|
1243 |
+
if ( isset ( $get_flag_choices['flag-eo'] ) ) {
|
1244 |
+
$str.='<a id="Esperanto" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|eo\'); return false;" title="Esperanto" class="notranslate flag eo"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/esperanto.png" height="18" width="18" alt="Esperanto"/></a>';
|
1245 |
+
}
|
1246 |
+
|
1247 |
+
if ( isset ( $get_flag_choices['flag-et'] ) ) {
|
1248 |
+
$str.='<a id="Estonian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|et\'); return false;" title="Estonian" class="notranslate flag et"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/estonia.png" height="18" width="18" alt="Estonian"/></a>';
|
1249 |
+
}
|
1250 |
+
|
1251 |
+
if ( isset ( $get_flag_choices['flag-tl'] ) ) {
|
1252 |
+
$str.='<a id="Filipino" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|tl\'); return false;" title="Filipino" class="notranslate flag tl"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/philippines.png" height="18" width="18" alt="Filipino"/></a>';
|
1253 |
+
}
|
1254 |
+
|
1255 |
+
if ( isset ( $get_flag_choices['flag-fi'] ) ) {
|
1256 |
+
$str.='<a id="Finnish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|fi\'); return false;" title="Finnish" class="notranslate flag fi"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/finland.png" height="18" width="18" alt="Finnish"/></a>';
|
1257 |
+
}
|
1258 |
+
|
1259 |
+
if ( isset ( $get_flag_choices['flag-fr'] ) ) {
|
1260 |
+
$str.='<a id="French" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|fr\'); return false;" title="French" class="notranslate flag fr"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/france.png" height="18" width="18" alt="French"/></a>';
|
1261 |
+
}
|
1262 |
+
|
1263 |
+
if ( isset ( $get_flag_choices['flag-gl'] ) ) {
|
1264 |
+
$str.='<a id="Galician" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|gl\'); return false;" title="Galician" class="notranslate flag gl"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/galicia.png" height="18" width="18" alt="Galician"/></a>';
|
1265 |
+
}
|
1266 |
+
|
1267 |
+
if ( isset ( $get_flag_choices['flag-ka'] ) ) {
|
1268 |
+
$str.='<a id="Georgian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ka\'); return false;" title="Georgian" class="notranslate flag ka"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/georgia.png" height="18" width="18" alt="Georgian"/></a>';
|
1269 |
+
}
|
1270 |
+
|
1271 |
+
if ( isset ( $get_flag_choices['flag-de'] ) ) {
|
1272 |
+
$str.='<a id="German" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|de\'); return false;" title="German" class="notranslate flag de"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/germany.png" height="18" width="18" alt="German"/></a>';
|
1273 |
+
}
|
1274 |
+
|
1275 |
+
if ( isset ( $get_flag_choices['flag-el'] ) ) {
|
1276 |
+
$str.='<a id="Greek" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|el\'); return false;" title="Greek" class="notranslate flag el"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/greece.png" height="18" width="18" alt="Greek"/></a>';
|
1277 |
+
}
|
1278 |
+
|
1279 |
+
if ( isset ( $get_flag_choices['flag-gu'] ) ) {
|
1280 |
+
$str.='<a id="Gujarati" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|gu\'); return false;" title="Gujarati" class="notranslate flag gu"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/india.png" height="18" width="18" alt="Gujarati"/></a>';
|
1281 |
+
}
|
1282 |
+
|
1283 |
+
if ( isset ( $get_flag_choices['flag-ht'] ) ) {
|
1284 |
+
$str.='<a id="Haitian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ht\'); return false;" title="Haitian" class="notranslate flag ht"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/haiti.png" height="18" width="18" alt="Haitian"/></a>';
|
1285 |
+
}
|
1286 |
+
|
1287 |
+
if ( isset ( $get_flag_choices['flag-ha'] ) ) {
|
1288 |
+
$str.='<a id="Hausa" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ha\'); return false;" title="Hausa" class="notranslate flag ha"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/niger.png" height="18" width="18" alt="Hausa"/></a>';
|
1289 |
+
}
|
1290 |
+
|
1291 |
+
if ( isset ( $get_flag_choices['flag-iw'] ) ) {
|
1292 |
+
$str.='<a id="Hebrew" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|iw\'); return false;" title="Hebrew" class="notranslate flag iw"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/israel.png" height="18" width="18" alt="Hebrew"/></a>';
|
1293 |
+
}
|
1294 |
+
|
1295 |
+
if ( isset ( $get_flag_choices['flag-hi'] ) ) {
|
1296 |
+
$str.='<a id="Hindi" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|hi\'); return false;" title="Hindi" class="notranslate flag hi"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/india.png" height="18" width="18" alt="Hindi"/></a>';
|
1297 |
+
}
|
1298 |
+
|
1299 |
+
if ( isset ( $get_flag_choices['flag-hmn'] ) ) {
|
1300 |
+
$str.='<a id="Hmong" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|hmn\'); return false;" title="Hmong" class="notranslate flag hmn"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/hmong.png" height="18" width="18" alt="Hmong"/></a>';
|
1301 |
+
}
|
1302 |
+
|
1303 |
+
if ( isset ( $get_flag_choices['flag-hu'] ) ) {
|
1304 |
+
$str.='<a id="Hungarian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|hu\'); return false;" title="Hungarian" class="notranslate flag hu"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/hungary.png" height="18" width="18" alt="Hungarian"/></a>';
|
1305 |
+
}
|
1306 |
+
|
1307 |
+
if ( isset ( $get_flag_choices['flag-is'] ) ) {
|
1308 |
+
$str.='<a id="Icelandic" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|is\'); return false;" title="Icelandic" class="notranslate flag is"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/iceland.png" height="18" width="18" alt="Icelandic"/></a>';
|
1309 |
+
}
|
1310 |
+
|
1311 |
+
if ( isset ( $get_flag_choices['flag-ig'] ) ) {
|
1312 |
+
$str.='<a id="Igbo" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ig\'); return false;" title="Igbo" class="notranslate flag ig"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/niger.png" height="18" width="18" alt="Igbo"/></a>';
|
1313 |
+
}
|
1314 |
+
|
1315 |
+
if ( isset ( $get_flag_choices['flag-id'] ) ) {
|
1316 |
+
$str.='<a id="Indonesian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|id\'); return false;" title="Indonesian" class="notranslate flag id"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/indonesia.png" height="18" width="18" alt="Indonesian"/></a>';
|
1317 |
+
}
|
1318 |
+
|
1319 |
+
if ( isset ( $get_flag_choices['flag-ga'] ) ) {
|
1320 |
+
$str.='<a id="Irish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ga\'); return false;" title="Irish" class="notranslate flag ga"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/ireland.png" height="18" width="18" alt="Irish"/></a>';
|
1321 |
+
}
|
1322 |
+
|
1323 |
+
if ( isset ( $get_flag_choices['flag-it'] ) ) {
|
1324 |
+
$str.='<a id="Italian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|it\'); return false;" title="Italian" class="notranslate flag it"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/italy.png" height="18" width="18" alt="Italian"/></a>';
|
1325 |
+
}
|
1326 |
+
|
1327 |
+
if ( isset ( $get_flag_choices['flag-ja'] ) ) {
|
1328 |
+
$str.='<a id="Japanese" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ja\'); return false;" title="Japanese" class="notranslate flag ja"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/japan.png" height="18" width="18" alt="Japanese"/></a>';
|
1329 |
+
}
|
1330 |
+
|
1331 |
+
if ( isset ( $get_flag_choices['flag-jw'] ) ) {
|
1332 |
+
$str.='<a id="Javanese" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|jw\'); return false;" title="Javanese" class="notranslate flag jw"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/indonesia.png" height="18" width="18" alt="Javanese"/></a>';
|
1333 |
+
}
|
1334 |
+
|
1335 |
+
if ( isset ( $get_flag_choices['flag-kn'] ) ) {
|
1336 |
+
$str.='<a id="Kannada" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|kn\'); return false;" title="Kannada" class="notranslate flag kn"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/kannada.png" height="18" width="18" alt="Kannada"/></a>';
|
1337 |
+
}
|
1338 |
+
|
1339 |
+
if ( isset ( $get_flag_choices['flag-km'] ) ) {
|
1340 |
+
$str.='<a id="Khmer" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|km\'); return false;" title="Khmer" class="notranslate flag km"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/cambodia.png" height="18" width="18" alt="Khmer"/></a>';
|
1341 |
+
}
|
1342 |
+
|
1343 |
+
if ( isset ( $get_flag_choices['flag-ko'] ) ) {
|
1344 |
+
$str.='<a id="Korean" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ko\'); return false;" title="Korean" class="notranslate flag ko"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/korea.png" height="18" width="18" alt="Korea"/></a>';
|
1345 |
+
}
|
1346 |
+
|
1347 |
+
if ( isset ( $get_flag_choices['flag-lo'] ) ) {
|
1348 |
+
$str.='<a id="Lao" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|lo\'); return false;" title="Lao" class="notranslate flag lo"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/laos.png" height="18" width="18" alt="Laos"/></a>';
|
1349 |
+
}
|
1350 |
+
|
1351 |
+
if ( isset ( $get_flag_choices['flag-la'] ) ) {
|
1352 |
+
$str.='<a id="Latin" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|la\'); return false;" title="Latin" class="notranslate flag la"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/latin.png" height="18" width="18" alt="Latin"/></a>';
|
1353 |
+
}
|
1354 |
+
|
1355 |
+
if ( isset ( $get_flag_choices['flag-lv'] ) ) {
|
1356 |
+
$str.='<a id="Latvian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|lv\'); return false;" title="Latvian" class="notranslate flag lv"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/latvia.png" height="18" width="18" alt="Latvian"/></a>';
|
1357 |
+
}
|
1358 |
+
|
1359 |
+
if ( isset ( $get_flag_choices['flag-lt'] ) ) {
|
1360 |
+
$str.='<a id="Lithuanian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|lt\'); return false;" title="Lithuanian" class="notranslate flag lt"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/lithuania.png" height="18" width="18" alt="Lithuanian"/></a>';
|
1361 |
+
}
|
1362 |
+
|
1363 |
+
if ( isset ( $get_flag_choices['flag-mk'] ) ) {
|
1364 |
+
$str.='<a id="Macedonian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|mk\'); return false;" title="Macedonian" class="notranslate flag mk"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/macedonia.png" height="18" width="18" alt="Macedonian"/></a>';
|
1365 |
+
}
|
1366 |
+
|
1367 |
+
if ( isset ( $get_flag_choices['flag-ms'] ) ) {
|
1368 |
+
$str.='<a id="Malay" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ms\'); return false;" title="Malay" class="notranslate flag ms"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/malaysia.png" height="18" width="18" alt="Malay"/></a>';
|
1369 |
+
}
|
1370 |
+
|
1371 |
+
if ( isset ( $get_flag_choices['flag-mt'] ) ) {
|
1372 |
+
$str.='<a id="Maltese" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|mt\'); return false;" title="Maltese" class="notranslate flag mt"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/malta.png" height="18" width="18" alt="Malta"/></a>';
|
1373 |
+
}
|
1374 |
+
|
1375 |
+
if ( isset ( $get_flag_choices['flag-mi'] ) ) {
|
1376 |
+
$str.='<a id="Maori" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|mi\'); return false;" title="Maori" class="notranslate flag mi"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/newzealand.png" height="18" width="18" alt="Maori"/></a>';
|
1377 |
+
}
|
1378 |
+
|
1379 |
+
if ( isset ( $get_flag_choices['flag-mr'] ) ) {
|
1380 |
+
$str.='<a id="Marathi" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|mr\'); return false;" title="Marathi" class="notranslate flag mr"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/marathi.png" height="18" width="18" alt="Marathi"/></a>';
|
1381 |
+
}
|
1382 |
+
|
1383 |
+
if ( isset ( $get_flag_choices['flag-mn'] ) ) {
|
1384 |
+
$str.='<a id="Mongolian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|mn\'); return false;" title="Mongolian" class="notranslate flag mn"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/mongolia.png" height="18" width="18" alt="Mongolian"/></a>';
|
1385 |
+
}
|
1386 |
+
|
1387 |
+
if ( isset ( $get_flag_choices['flag-ne'] ) ) {
|
1388 |
+
$str.='<a id="Nepali" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ne\'); return false;" title="Nepali" class="notranslate flag ne"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/nepal.png" height="18" width="18" alt="Nepali"/></a>';
|
1389 |
+
}
|
1390 |
+
|
1391 |
+
if ( isset ( $get_flag_choices['flag-no'] ) ) {
|
1392 |
+
$str.='<a id="Norwegian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|no\'); return false;" title="Norwegian" class="notranslate flag no"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/norway.png" height="18" width="18" alt="Norwegian"/></a>';
|
1393 |
+
}
|
1394 |
+
|
1395 |
+
if ( isset ( $get_flag_choices['flag-fa'] ) ) {
|
1396 |
+
$str.='<a id="Persian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|fa\'); return false;" title="Persian" class="notranslate flag fa"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/iran.png" height="18" width="18" alt="Persian"/></a>';
|
1397 |
+
}
|
1398 |
+
|
1399 |
+
if ( isset ( $get_flag_choices['flag-pl'] ) ) {
|
1400 |
+
$str.='<a id="Polish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|pl\'); return false;" title="Polish" class="notranslate flag pl"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/poland.png" height="18" width="18" alt="Polish"/></a>';
|
1401 |
+
}
|
1402 |
+
|
1403 |
+
if ( isset ( $get_flag_choices['flag-pt'] ) ) {
|
1404 |
+
$str.='<a id="Portuguese" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|pt\'); return false;" title="Portuguese" class="notranslate flag pt"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/portugal.png" height="18" width="18" alt="Portuguese"/></a>';
|
1405 |
+
}
|
1406 |
+
|
1407 |
+
if ( isset ( $get_flag_choices['flag-pa'] ) ) {
|
1408 |
+
$str.='<a id="Punjabi" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|pa\'); return false;" title="Punjabi" class="notranslate flag pa"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/pakistan.png" height="18" width="18" alt="Punjabi"/></a>';
|
1409 |
+
}
|
1410 |
+
|
1411 |
+
if ( isset ( $get_flag_choices['flag-ro'] ) ) {
|
1412 |
+
$str.='<a id="Romanian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ro\'); return false;" title="Romanian" class="notranslate flag ro"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/romania.png" height="18" width="18" alt="Romanian"/></a>';
|
1413 |
+
}
|
1414 |
+
|
1415 |
+
if ( isset ( $get_flag_choices['flag-ru'] ) ) {
|
1416 |
+
$str.='<a id="Russian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ru\'); return false;" title="Russian" class="notranslate flag ru"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/russia.png" height="18" width="18" alt="Russian"/></a>';
|
1417 |
+
}
|
1418 |
+
|
1419 |
+
if ( isset ( $get_flag_choices['flag-sr'] ) ) {
|
1420 |
+
$str.='<a id="Serbian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|sr\'); return false;" title="Serbian" class="notranslate flag sr"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/serbia.png" height="18" width="18" alt="Serbian"/></a>';
|
1421 |
+
}
|
1422 |
+
|
1423 |
+
if ( isset ( $get_flag_choices['flag-sk'] ) ) {
|
1424 |
+
$str.='<a id="Slovak" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|sk\'); return false;" title="Slovak" class="notranslate flag sk"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/slovakia.png" height="18" width="18" alt="Slovak"/></a>';
|
1425 |
+
}
|
1426 |
+
|
1427 |
+
if ( isset ( $get_flag_choices['flag-sl'] ) ) {
|
1428 |
+
$str.='<a id="Slovenian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|sl\'); return false;" title="Slovenian" class="notranslate flag sl"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/slovenia.png" height="18" width="18" alt="Slovenian"/></a>';
|
1429 |
+
}
|
1430 |
+
|
1431 |
+
if ( isset ( $get_flag_choices['flag-so'] ) ) {
|
1432 |
+
$str.='<a id="Somali" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|so\'); return false;" title="Somali" class="notranslate flag so"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/somalia.png" height="18" width="18" alt="Somali"/></a>';
|
1433 |
+
}
|
1434 |
+
|
1435 |
+
if ( isset ( $get_flag_choices['flag-es'] ) ) {
|
1436 |
+
$str.='<a id="Spanish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|es\'); return false;" title="Spanish" class="notranslate flag es"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/spain.png" height="18" width="18" alt="Spanish"/></a>';
|
1437 |
+
}
|
1438 |
+
|
1439 |
+
if ( isset ( $get_flag_choices['flag-sw'] ) ) {
|
1440 |
+
$str.='<a id="Swahili" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|sw\'); return false;" title="Swahili" class="notranslate flag sw"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/kenya.png" height="18" width="18" alt="Swahili"/></a>';
|
1441 |
+
}
|
1442 |
+
|
1443 |
+
if ( isset ( $get_flag_choices['flag-sv'] ) ) {
|
1444 |
+
$str.='<a id="Swedish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|sv\'); return false;" title="Swedish" class="notranslate flag sv"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/sweden.png" height="18" width="18" alt="Swedish"/></a>';
|
1445 |
+
}
|
1446 |
+
|
1447 |
+
if ( isset ( $get_flag_choices['flag-ta'] ) ) {
|
1448 |
+
$str.='<a id="Tamil" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ta\'); return false;" title="Tamil" class="notranslate flag ta"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/tamil.png" height="18" width="18" alt="Tamil"/></a>';
|
1449 |
+
}
|
1450 |
+
|
1451 |
+
if ( isset ( $get_flag_choices['flag-te'] ) ) {
|
1452 |
+
$str.='<a id="Telugu" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|te\'); return false;" title="Telugu" class="notranslate flag te"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/telugu.png" height="18" width="18" alt="Telugu"/></a>';
|
1453 |
+
}
|
1454 |
+
|
1455 |
+
if ( isset ( $get_flag_choices['flag-th'] ) ) {
|
1456 |
+
$str.='<a id="Thai" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|th\'); return false;" title="Thai" class="notranslate flag th"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/thailand.png" height="18" width="18" alt="Thai"/></a>';
|
1457 |
+
}
|
1458 |
+
|
1459 |
+
if ( isset ( $get_flag_choices['flag-tr'] ) ) {
|
1460 |
+
$str.='<a id="Turkish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|tr\'); return false;" title="Turkish" class="notranslate flag tr"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/turkey.png" height="18" width="18" alt="Turkish"/></a>';
|
1461 |
+
}
|
1462 |
+
|
1463 |
+
if ( isset ( $get_flag_choices['flag-uk'] ) ) {
|
1464 |
+
$str.='<a id="Ukranian" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|uk\'); return false;" title="Ukranian" class="notranslate flag uk"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/ukraine.png" height="18" width="18" alt="Ukranian"/></a>';
|
1465 |
+
}
|
1466 |
+
|
1467 |
+
if ( isset ( $get_flag_choices['flag-ur'] ) ) {
|
1468 |
+
$str.='<a id="Urdu" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|ur\'); return false;" title="Urdu" class="notranslate flag ur"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/pakistan.png" height="18" width="18" alt="Urdu"/></a>';
|
1469 |
+
}
|
1470 |
+
|
1471 |
+
if ( isset ( $get_flag_choices['flag-vi'] ) ) {
|
1472 |
+
$str.='<a id="Vietnamese" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|vi\'); return false;" title="Vietnamese" class="notranslate flag vi"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/vietnam.png" height="18" width="18" alt="vietnamese"/></a>';
|
1473 |
+
}
|
1474 |
+
|
1475 |
+
if ( isset ( $get_flag_choices['flag-cy'] ) ) {
|
1476 |
+
$str.='<a id="Welsh" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|cy\'); return false;" title="Welsh" class="notranslate flag cy"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/wales.png" height="18" width="18" alt="Welsh"/></a>';
|
1477 |
+
}
|
1478 |
+
|
1479 |
+
if ( isset ( $get_flag_choices['flag-yi'] ) ) {
|
1480 |
+
$str.='<a id="Yiddish" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|yi\'); return false;" title="Yiddish (Jewish)" class="notranslate flag yi"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/yiddish.png" height="18" width="18" alt="Yiddish"/></a>';
|
1481 |
+
}
|
1482 |
+
|
1483 |
+
if ( isset ( $get_flag_choices['flag-yo'] ) ) {
|
1484 |
+
$str.='<a id="Yoruba" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|yo\'); return false;" title="Yoruba" class="notranslate flag yo"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/nigeria.png" height="18" width="18" alt="Yoruba"/></a>';
|
1485 |
+
}
|
1486 |
+
|
1487 |
+
if ( isset ( $get_flag_choices['flag-zu'] ) ) {
|
1488 |
+
$str.='<a id="Zulu" href="#" onclick="doGoogleLanguageTranslator(\''.get_option('googlelanguagetranslator_language').'|zu\'); return false;" title="Zulu" class="notranslate flag zu"><img class="flagimg" src="'.plugins_url().'/google-language-translator/images/flags24/southafrica.png" height="18" width="18" alt="Zulu"/></a>';
|
1489 |
+
}
|
1490 |
+
$str.='</div>';
|
1491 |
+
|
1492 |
+
$is_multilanguage = get_option('googlelanguagetranslator_multilanguage');
|
1493 |
+
$horizontal_layout = ', layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL';
|
1494 |
+
$auto_display = ', autoDisplay: false';
|
1495 |
+
|
1496 |
+
if ($is_multilanguage == 1) {
|
1497 |
+
$multilanguagePage = ', multilanguagePage:true';
|
1498 |
+
|
1499 |
+
$str.='<script type="text/javascript">
|
1500 |
+
function GoogleLanguageTranslatorInit() {
|
1501 |
+
new google.translate.TranslateElement({pageLanguage: \''.get_option('googlelanguagetranslator_language').'\''. $language_choices . $horizontal_layout . $auto_display . $multilanguagePage . $this->analytics().'}, \'google_language_translator\');}
|
1502 |
+
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=GoogleLanguageTranslatorInit"></script>
|
1503 |
+
<div id="google_language_translator"></div>';
|
1504 |
+
return $str;
|
1505 |
+
} elseif ($is_multilanguage == 0) {
|
1506 |
+
|
1507 |
+
$str.='<script type="text/javascript">
|
1508 |
+
function GoogleLanguageTranslatorInit() {
|
1509 |
+
new google.translate.TranslateElement({pageLanguage: \''.get_option('googlelanguagetranslator_language').'\''. $language_choices . $horizontal_layout . $auto_display . $this->analytics().'}, \'google_language_translator\');}
|
1510 |
+
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=GoogleLanguageTranslatorInit"></script>
|
1511 |
+
<div id="google_language_translator"></div>';
|
1512 |
+
return $str;
|
1513 |
+
}
|
1514 |
+
}
|
1515 |
+
}
|
1516 |
+
} // End glt_horizontal
|
1517 |
+
|
1518 |
+
public function initialize_settings() {
|
1519 |
+
|
1520 |
+
// First, we register a section. This is necessary since all future options must belong to one.
|
1521 |
+
add_settings_section(
|
1522 |
+
'glt_settings', // ID used to identify this section and with which to register options
|
1523 |
+
'Settings', // Title to be displayed on the administration page
|
1524 |
+
'', // Callback used to render the description of the section
|
1525 |
+
'google_language_translator' // Page on which to add this section of options
|
1526 |
+
);
|
1527 |
+
|
1528 |
+
//Fieldset 1
|
1529 |
+
add_settings_field( 'googlelanguagetranslator_active','Plugin status:','googlelanguagetranslator_active_cb','google_language_translator','glt_settings');
|
1530 |
+
add_settings_field( 'googlelanguagetranslator_language','Choose the original language of your website','','googlelanguagetranslator_language_cb','glt_settings');
|
1531 |
+
add_settings_field( 'googlelanguagetranslator_language_option','What translation languages will you display to website visitors?','googlelanguagetranslator_language_option_cb','google_language_translator','glt_settings');
|
1532 |
+
add_settings_field( 'language_display_settings','Your language choices','language_display_settings_cb','google_language_translator','glt_settings');
|
1533 |
+
add_settings_field( 'googlelanguagetranslator_flags','Show Flag Images?','googlelanguagetranslator_flags_cb','google_language_translator','glt_settings');
|
1534 |
+
add_settings_field( 'flag_display_settings','Flag Options','flag_display_settings_cb','google_language_translator','glt_settings');
|
1535 |
+
add_settings_field( 'googlelanguagetranslator_translatebox','Show Translate Box?','googlelanguagetranslator_translatebox_cb','google_language_translator','glt_settings');
|
1536 |
+
add_settings_field( 'googlelanguagetranslator_display', 'Layout Options','googlelanguagetranslator_display_cb','google_language_translator','glt_settings');
|
1537 |
+
add_settings_field( 'googlelanguagetranslator_toolbar', 'Show Toolbar','googlelanguagetranslator_toolbar_cb','google_language_translator','glt_settings');
|
1538 |
+
add_settings_field( 'googlelanguagetranslator_showbranding', 'Show Google Branding','googlelanguagetranslator_showbranding_cb','google_language_translator','glt_settings');
|
1539 |
+
add_settings_field( 'googlelanguagetranslator_flags_alignment', 'Align Flags Right or Left', 'googlelanguagetranslator_flags_alignment_cb','google_language_translator','glt_settings');
|
1540 |
+
add_settings_field( 'googlelanguagetranslator_analytics','Activate Google Analytics tracking?','googlelanguagetranslator_analytics_cb','google_language_translator','glt_settings');
|
1541 |
+
add_settings_field( 'googlelanguagetranslator_analytics_id','Enter your Google Analytics ID','googlelanguagetranslator_analytics_id_cb','google_language_translator','glt_settings');
|
1542 |
+
add_settings_field( 'googlelanguagetranslator_css','Custom CSS Overrides','googlelanguagetranslator_css_cb','google_language_translator','glt_settings');
|
1543 |
+
add_settings_field( 'googlelanguagetranslator_manage_translations','Turn on translation management?','googlelanguagetranslator_manage_translations_cb','google_language_translator','glt_settings');
|
1544 |
+
add_settings_field( 'googlelanguagetranslator_multilanguage','Multilanguage webpages?','googlelanguagetranslator_multilanguage_cb','google_language_translator','glt_settings');
|
1545 |
+
add_settings_field( 'googlelanguagetranslator_floating_widget','Show floating translation widget?','googlelanguagetranslator_floating_widget_cb','google_language_translator','glt_settings');
|
1546 |
+
|
1547 |
+
//Register Fieldset 1
|
1548 |
+
register_setting( 'google_language_translator','googlelanguagetranslator_active');
|
1549 |
+
register_setting( 'google_language_translator','googlelanguagetranslator_language');
|
1550 |
+
register_setting( 'google_language_translator','googlelanguagetranslator_language_option');
|
1551 |
+
register_setting( 'google_language_translator','language_display_settings');
|
1552 |
+
register_setting( 'google_language_translator','googlelanguagetranslator_flags');
|
1553 |
+
register_setting( 'google_language_translator','flag_display_settings');
|
1554 |
+
register_setting( 'google_language_translator','googlelanguagetranslator_translatebox');
|
1555 |
+
register_setting( 'google_language_translator','googlelanguagetranslator_display');
|
1556 |
+
register_setting( 'google_language_translator','googlelanguagetranslator_toolbar');
|
1557 |
+
register_setting( 'google_language_translator','googlelanguagetranslator_showbranding');
|
1558 |
+
register_setting( 'google_language_translator','googlelanguagetranslator_flags_alignment');
|
1559 |
+
register_setting( 'google_language_translator','googlelanguagetranslator_disable_mootools');
|
1560 |
+
register_setting( 'google_language_translator','googlelanguagetranslator_disable_modal');
|
1561 |
+
register_setting( 'google_language_translator','googlelanguagetranslator_analytics');
|
1562 |
+
register_setting( 'google_language_translator','googlelanguagetranslator_analytics_id');
|
1563 |
+
register_setting( 'google_language_translator','googlelanguagetranslator_css');
|
1564 |
+
register_setting( 'google_language_translator','googlelanguagetranslator_manage_translations');
|
1565 |
+
register_setting( 'google_language_translator','googlelanguagetranslator_multilanguage');
|
1566 |
+
register_setting( 'google_language_translator','googlelanguagetranslator_floating_widget');
|
1567 |
+
}
|
1568 |
+
|
1569 |
+
public function googlelanguagetranslator_active_cb() {
|
1570 |
+
|
1571 |
+
$option_name = 'googlelanguagetranslator_active' ;
|
1572 |
+
$new_value = 1;
|
1573 |
+
|
1574 |
+
if ( get_option( $option_name ) === false ) {
|
1575 |
+
|
1576 |
+
// The option does not exist, so we update it.
|
1577 |
+
update_option( $option_name, $new_value );
|
1578 |
+
}
|
1579 |
+
|
1580 |
+
$options = get_option (''.$option_name.'');
|
1581 |
+
|
1582 |
+
$html = '<input type="checkbox" name="googlelanguagetranslator_active" id="googlelanguagetranslator_active" value="1" '.checked(1,$options,false).'/> Activate Google Language Translator?';
|
1583 |
+
echo $html;
|
1584 |
+
}
|
1585 |
+
|
1586 |
+
public function googlelanguagetranslator_language_cb() {
|
1587 |
+
|
1588 |
+
$option_name = 'googlelanguagetranslator_language';
|
1589 |
+
$new_value = 'en';
|
1590 |
+
|
1591 |
+
if ( get_option( $option_name ) === false ) {
|
1592 |
+
|
1593 |
+
// The option does not exist, so we update it.
|
1594 |
+
update_option( $option_name, $new_value );
|
1595 |
+
}
|
1596 |
+
|
1597 |
+
$options = get_option (''.$option_name.''); ?>
|
1598 |
+
<select name="googlelanguagetranslator_language" id="googlelanguagetranslator_language">
|
1599 |
+
<option value="af" <?php if($options=='af'){echo "selected";}?>>Afrikaans</option>
|
1600 |
+
<option value="sq" <?php if($options=='sq'){echo "selected";}?>>Albanian</option>
|
1601 |
+
<option value="ar" <?php if($options=='ar'){echo "selected";}?>>Arabic</option>
|
1602 |
+
<option value="hy" <?php if($options=='hy'){echo "selected";}?>>Armenian</option>
|
1603 |
+
<option value="az" <?php if($options=='az'){echo "selected";}?>>Azerbaijani</option>
|
1604 |
+
<option value="eu" <?php if($options=='eu'){echo "selected";}?>>Basque</option>
|
1605 |
+
<option value="be" <?php if($options=='be'){echo "selected";}?>>Belarusian</option>
|
1606 |
+
<option value="bn" <?php if($options=='bn'){echo "selected";}?>>Bengali</option>
|
1607 |
+
<option value="bs" <?php if($options=='bs'){echo "selected";}?>>Bosnian</option>
|
1608 |
+
<option value="bg" <?php if($options=='bg'){echo "selected";}?>>Bulgarian</option>
|
1609 |
+
<option value="ca" <?php if($options=='ca'){echo "selected";}?>>Catalan</option>
|
1610 |
+
<option value="ceb" <?php if($options=='ceb'){echo "selected";}?>>Cebuano</option>
|
1611 |
+
<option value="zh-CN" <?php if($options=='zh-CN'){echo "selected";}?>>Chinese</option>
|
1612 |
+
<option value="zh-TW" <?php if($options=='zh-TW'){echo "selected";}?>>Chinese (Han)</option>
|
1613 |
+
<option value="hr" <?php if($options=='hr'){echo "selected";}?>>Croatian</option>
|
1614 |
+
<option value="cs" <?php if($options=='cs'){echo "selected";}?>>Czech</option>
|
1615 |
+
<option value="da" <?php if($options=='da'){echo "selected";}?>>Danish</option>
|
1616 |
+
<option value="nl" <?php if($options=='nl'){echo "selected";}?>>Dutch</option>
|
1617 |
+
<option value="en" <?php if($options=='en'){echo "selected";}?>>English</option>
|
1618 |
+
<option value="eo" <?php if($options=='eo'){echo "selected";}?>>Esperanto</option>
|
1619 |
+
<option value="et" <?php if($options=='et'){echo "selected";}?>>Estonian</option>
|
1620 |
+
<option value="tl" <?php if($options=='tl'){echo "selected";}?>>Filipino</option>
|
1621 |
+
<option value="fi" <?php if($options=='fi'){echo "selected";}?>>Finnish</option>
|
1622 |
+
<option value="fr" <?php if($options=='fr'){echo "selected";}?>>French</option>
|
1623 |
+
<option value="gl" <?php if($options=='gl'){echo "selected";}?>>Galician</option>
|
1624 |
+
<option value="ka" <?php if($options=='ka'){echo "selected";}?>>Georgian</option>
|
1625 |
+
<option value="de" <?php if($options=='de'){echo "selected";}?>>German</option>
|
1626 |
+
<option value="el" <?php if($options=='el'){echo "selected";}?>>Greek</option>
|
1627 |
+
<option value="gu" <?php if($options=='gu'){echo "selected";}?>>Gujarati</option>
|
1628 |
+
<option value="ht" <?php if($options=='ht'){echo "selected";}?>>Haitian Creole</option>
|
1629 |
+
<option value="ha" <?php if($options=='ha'){echo "selected";}?>>Hausa</option>
|
1630 |
+
<option value="iw" <?php if($options=='iw'){echo "selected";}?>>Hebrew</option>
|
1631 |
+
<option value="hi" <?php if($options=='hi'){echo "selected";}?>>Hindi</option>
|
1632 |
+
<option value="hmn" <?php if($options=='hmn'){echo "selected";}?>>Hmong</option>
|
1633 |
+
<option value="hu" <?php if($options=='hu'){echo "selected";}?>>Hungarian</option>
|
1634 |
+
<option value="is" <?php if($options=='is'){echo "selected";}?>>Icelandic</option>
|
1635 |
+
<option value="ig" <?php if($options=='ig'){echo "selected";}?>>Igbo</option>
|
1636 |
+
<option value="id" <?php if($options=='id'){echo "selected";}?>>Indonesian</option>
|
1637 |
+
<option value="ga" <?php if($options=='ga'){echo "selected";}?>>Irish</option>
|
1638 |
+
<option value="it" <?php if($options=='it'){echo "selected";}?>>Italian</option>
|
1639 |
+
<option value="ja" <?php if($options=='ja'){echo "selected";}?>>Japanese</option>
|
1640 |
+
<option value="jw" <?php if($options=='jw'){echo "selected";}?>>Javanese</option>
|
1641 |
+
<option value="kn" <?php if($options=='kn'){echo "selected";}?>>Kannada</option>
|
1642 |
+
<option value="km" <?php if($options=='km'){echo "selected";}?>>Khmer</option>
|
1643 |
+
<option value="ko" <?php if($options=='ko'){echo "selected";}?>>Korean</option>
|
1644 |
+
<option value="lo" <?php if($options=='lo'){echo "selected";}?>>Lao</option>
|
1645 |
+
<option value="la" <?php if($options=='la'){echo "selected";}?>>Latin</option>
|
1646 |
+
<option value="lv" <?php if($options=='lv'){echo "selected";}?>>Latvian</option>
|
1647 |
+
<option value="lt" <?php if($options=='lt'){echo "selected";}?>>Lithuanian</option>
|
1648 |
+
<option value="mk" <?php if($options=='mk'){echo "selected";}?>>Macedonian</option>
|
1649 |
+
<option value="ms" <?php if($options=='ms'){echo "selected";}?>>Malay</option>
|
1650 |
+
<option value="mt" <?php if($options=='mt'){echo "selected";}?>>Maltese</option>
|
1651 |
+
<option value="mi" <?php if($options=='mi'){echo "selected";}?>>Maori</option>
|
1652 |
+
<option value="mr" <?php if($options=='mr'){echo "selected";}?>>Marathi</option>
|
1653 |
+
<option value="mn" <?php if($options=='mn'){echo "selected";}?>>Mongolian</option>
|
1654 |
+
<option value="ne" <?php if($options=='ne'){echo "selected";}?>>Nepali</option>
|
1655 |
+
<option value="no" <?php if($options=='no'){echo "selected";}?>>Norwegian</option>
|
1656 |
+
<option value="fa" <?php if($options=='fa'){echo "selected";}?>>Persian</option>
|
1657 |
+
<option value="pl" <?php if($options=='pl'){echo "selected";}?>>Polish</option>
|
1658 |
+
<option value="pt" <?php if($options=='pt'){echo "selected";}?>>Portuguese</option>
|
1659 |
+
<option value="pa" <?php if($options=='pa'){echo "selected";}?>>Punjabi</option>
|
1660 |
+
<option value="ro" <?php if($options=='ro'){echo "selected";}?>>Romanian</option>
|
1661 |
+
<option value="ru" <?php if($options=='ru'){echo "selected";}?>>Russian</option>
|
1662 |
+
<option value="sr" <?php if($options=='sr'){echo "selected";}?>>Serbian</option>
|
1663 |
+
<option value="sk" <?php if($options=='sk'){echo "selected";}?>>Slovak</option>
|
1664 |
+
<option value="sl" <?php if($options=='sl'){echo "selected";}?>>Slovenian</option>
|
1665 |
+
<option value="so" <?php if($options=='so'){echo "selected";}?>>Somali</option>
|
1666 |
+
<option value="es" <?php if($options=='es'){echo "selected";}?>>Spanish</option>
|
1667 |
+
<option value="sw" <?php if($options=='sw'){echo "selected";}?>>Swahili</option>
|
1668 |
+
<option value="sv" <?php if($options=='sv'){echo "selected";}?>>Swedish</option>
|
1669 |
+
<option value="ta" <?php if($options=='ta'){echo "selected";}?>>Tamil</option>
|
1670 |
+
<option value="te" <?php if($options=='te'){echo "selected";}?>>Telugu</option>
|
1671 |
+
<option value="th" <?php if($options=='th'){echo "selected";}?>>Thai</option>
|
1672 |
+
<option value="tr" <?php if($options=='tr'){echo "selected";}?>>Turkish</option>
|
1673 |
+
<option value="uk" <?php if($options=='uk'){echo "selected";}?>>Ukranian</option>
|
1674 |
+
<option value="ur" <?php if($options=='ur'){echo "selected";}?>>Urdu</option>
|
1675 |
+
<option value="vi" <?php if($options=='vi'){echo "selected";}?>>Vietnamese</option>
|
1676 |
+
<option value="cy" <?php if($options=='cy'){echo "selected";}?>>Welsh</option>
|
1677 |
+
<option value="yi" <?php if($options=='yi'){echo "selected";}?>>Yiddish</option>
|
1678 |
+
<option value="cy" <?php if($options=='cy'){echo "selected";}?>>Yoruba</option>
|
1679 |
+
<option value="yi" <?php if($options=='yi'){echo "selected";}?>>Zulu</option>
|
1680 |
+
|
1681 |
+
</select>
|
1682 |
+
<?php
|
1683 |
+
}
|
1684 |
+
|
1685 |
+
public function googlelanguagetranslator_language_option_cb() {
|
1686 |
+
|
1687 |
+
$option_name = 'googlelanguagetranslator_language_option' ;
|
1688 |
+
$new_value = 'all';
|
1689 |
+
|
1690 |
+
if ( get_option( $option_name ) === false ) {
|
1691 |
+
|
1692 |
+
// The option does not exist, so we update it.
|
1693 |
+
update_option( $option_name, $new_value );
|
1694 |
+
}
|
1695 |
+
|
1696 |
+
$options = get_option (''.$option_name.''); ?>
|
1697 |
+
|
1698 |
+
<input type="radio" name="googlelanguagetranslator_language_option" id="googlelanguagetranslator_language_option" value="all" <?php if($options=='all'){echo "checked";}?>/> All Languages<br/>
|
1699 |
+
<input type="radio" name="googlelanguagetranslator_language_option" id="googlelanguagetranslator_language_option" value="specific" <?php if($options=='specific'){echo "checked";}?>/> Specific Languages
|
1700 |
+
<?php
|
1701 |
+
}
|
1702 |
+
|
1703 |
+
public function language_display_settings_cb() {
|
1704 |
+
$defaults = array (
|
1705 |
+
'en' => 1
|
1706 |
+
);
|
1707 |
+
|
1708 |
+
$option_name = 'language_display_settings' ;
|
1709 |
+
$new_value = $defaults;
|
1710 |
+
|
1711 |
+
if ( get_option( $option_name ) === false ) {
|
1712 |
+
|
1713 |
+
// The option does not exist, so we update it.
|
1714 |
+
update_option( $option_name, $new_value );
|
1715 |
+
}
|
1716 |
+
|
1717 |
+
$get_language_choices = get_option (''.$option_name.'');
|
1718 |
+
|
1719 |
+
if (!isset ( $get_language_choices ['af'] ) ) {
|
1720 |
+
$get_language_choices['af'] = 0;
|
1721 |
+
}
|
1722 |
+
|
1723 |
+
if (!isset ( $get_language_choices ['sq'] ) ) {
|
1724 |
+
$get_language_choices['sq'] = 0;
|
1725 |
+
}
|
1726 |
+
|
1727 |
+
if (!isset ( $get_language_choices ['ar'] ) ) {
|
1728 |
+
$get_language_choices['ar'] = 0;
|
1729 |
+
}
|
1730 |
+
|
1731 |
+
if (!isset ( $get_language_choices ['hy'] ) ) {
|
1732 |
+
$get_language_choices['hy'] = 0;
|
1733 |
+
}
|
1734 |
+
|
1735 |
+
if (!isset ( $get_language_choices ['az'] ) ) {
|
1736 |
+
$get_language_choices['az'] = 0;
|
1737 |
+
}
|
1738 |
+
|
1739 |
+
if (!isset ( $get_language_choices ['eu'] ) ) {
|
1740 |
+
$get_language_choices['eu'] = 0;
|
1741 |
+
}
|
1742 |
+
|
1743 |
+
if (!isset ( $get_language_choices ['be'] ) ) {
|
1744 |
+
$get_language_choices['be'] = 0;
|
1745 |
+
}
|
1746 |
+
|
1747 |
+
if (!isset ( $get_language_choices ['bn'] ) ) {
|
1748 |
+
$get_language_choices['bn'] = 0;
|
1749 |
+
}
|
1750 |
+
|
1751 |
+
if (!isset ( $get_language_choices ['bs'] ) ) {
|
1752 |
+
$get_language_choices['bs'] = 0;
|
1753 |
+
}
|
1754 |
+
|
1755 |
+
if (!isset ( $get_language_choices ['bg'] ) ) {
|
1756 |
+
$get_language_choices['bg'] = 0;
|
1757 |
+
}
|
1758 |
+
|
1759 |
+
if (!isset ( $get_language_choices ['ca'] ) ) {
|
1760 |
+
$get_language_choices['ca'] = 0;
|
1761 |
+
}
|
1762 |
+
|
1763 |
+
if (!isset ( $get_language_choices ['ceb'] ) ) {
|
1764 |
+
$get_language_choices['ceb'] = 0;
|
1765 |
+
}
|
1766 |
+
|
1767 |
+
if (!isset ( $get_language_choices ['zh-CN'] ) ) {
|
1768 |
+
$get_language_choices['zh-CN'] = 0;
|
1769 |
+
}
|
1770 |
+
|
1771 |
+
if (!isset ( $get_language_choices ['zh-TW'] ) ) {
|
1772 |
+
$get_language_choices['zh-TW'] = 0;
|
1773 |
+
}
|
1774 |
+
|
1775 |
+
if (!isset ( $get_language_choices ['hr'] ) ) {
|
1776 |
+
$get_language_choices['hr'] = 0;
|
1777 |
+
}
|
1778 |
+
|
1779 |
+
if (!isset ( $get_language_choices ['cs'] ) ) {
|
1780 |
+
$get_language_choices['cs'] = 0;
|
1781 |
+
}
|
1782 |
+
|
1783 |
+
if (!isset ( $get_language_choices ['da'] ) ) {
|
1784 |
+
$get_language_choices['da'] = 0;
|
1785 |
+
}
|
1786 |
+
|
1787 |
+
if (!isset ( $get_language_choices ['nl'] ) ) {
|
1788 |
+
$get_language_choices['nl'] = 0;
|
1789 |
+
}
|
1790 |
+
|
1791 |
+
if (!isset ( $get_language_choices ['en'] ) ) {
|
1792 |
+
$get_language_choices['en'] = 1;
|
1793 |
+
}
|
1794 |
+
|
1795 |
+
if (!isset ( $get_language_choices ['eo'] ) ) {
|
1796 |
+
$get_language_choices['eo'] = 0;
|
1797 |
+
}
|
1798 |
+
|
1799 |
+
if (!isset ( $get_language_choices ['et'] ) ) {
|
1800 |
+
$get_language_choices['et'] = 0;
|
1801 |
+
}
|
1802 |
+
|
1803 |
+
if (!isset ( $get_language_choices ['tl'] ) ) {
|
1804 |
+
$get_language_choices['tl'] = 0;
|
1805 |
+
}
|
1806 |
+
|
1807 |
+
if (!isset ( $get_language_choices ['fi'] ) ) {
|
1808 |
+
$get_language_choices['fi'] = 0;
|
1809 |
+
}
|
1810 |
+
|
1811 |
+
if (!isset ( $get_language_choices ['fr'] ) ) {
|
1812 |
+
$get_language_choices['fr'] = 0;
|
1813 |
+
}
|
1814 |
+
|
1815 |
+
if (!isset ( $get_language_choices ['gl'] ) ) {
|
1816 |
+
$get_language_choices['gl'] = 0;
|
1817 |
+
}
|
1818 |
+
|
1819 |
+
if (!isset ( $get_language_choices ['ka'] ) ) {
|
1820 |
+
$get_language_choices['ka'] = 0;
|
1821 |
+
}
|
1822 |
+
|
1823 |
+
if (!isset ( $get_language_choices ['de'] ) ) {
|
1824 |
+
$get_language_choices['de'] = 0;
|
1825 |
+
}
|
1826 |
+
|
1827 |
+
if (!isset ( $get_language_choices ['el'] ) ) {
|
1828 |
+
$get_language_choices['el'] = 0;
|
1829 |
+
}
|
1830 |
+
|
1831 |
+
if (!isset ( $get_language_choices ['gu'] ) ) {
|
1832 |
+
$get_language_choices['gu'] = 0;
|
1833 |
+
}
|
1834 |
+
|
1835 |
+
if (!isset ( $get_language_choices ['ht'] ) ) {
|
1836 |
+
$get_language_choices['ht'] = 0;
|
1837 |
+
}
|
1838 |
+
|
1839 |
+
if (!isset ( $get_language_choices ['ha'] ) ) {
|
1840 |
+
$get_language_choices['ha'] = 0;
|
1841 |
+
}
|
1842 |
+
|
1843 |
+
if (!isset ( $get_language_choices ['iw'] ) ) {
|
1844 |
+
$get_language_choices['iw'] = 0;
|
1845 |
+
}
|
1846 |
+
|
1847 |
+
if (!isset ( $get_language_choices ['hi'] ) ) {
|
1848 |
+
$get_language_choices['hi'] = 0;
|
1849 |
+
}
|
1850 |
+
|
1851 |
+
if (!isset ( $get_language_choices ['hmn'] ) ) {
|
1852 |
+
$get_language_choices['hmn'] = 0;
|
1853 |
+
}
|
1854 |
+
|
1855 |
+
if (!isset ( $get_language_choices ['hu'] ) ) {
|
1856 |
+
$get_language_choices['hu'] = 0;
|
1857 |
+
}
|
1858 |
+
|
1859 |
+
if (!isset ( $get_language_choices ['is'] ) ) {
|
1860 |
+
$get_language_choices['is'] = 0;
|
1861 |
+
}
|
1862 |
+
|
1863 |
+
if (!isset ( $get_language_choices ['ig'] ) ) {
|
1864 |
+
$get_language_choices['ig'] = 0;
|
1865 |
+
}
|
1866 |
+
|
1867 |
+
if (!isset ( $get_language_choices ['id'] ) ) {
|
1868 |
+
$get_language_choices['id'] = 0;
|
1869 |
+
}
|
1870 |
+
|
1871 |
+
if (!isset ( $get_language_choices ['ga'] ) ) {
|
1872 |
+
$get_language_choices['ga'] = 0;
|
1873 |
+
}
|
1874 |
+
|
1875 |
+
if (!isset ( $get_language_choices ['it'] ) ) {
|
1876 |
+
$get_language_choices['it'] = 0;
|
1877 |
+
}
|
1878 |
+
|
1879 |
+
if (!isset ( $get_language_choices ['ja'] ) ) {
|
1880 |
+
$get_language_choices['ja'] = 0;
|
1881 |
+
}
|
1882 |
+
|
1883 |
+
if (!isset ( $get_language_choices ['jw'] ) ) {
|
1884 |
+
$get_language_choices['jw'] = 0;
|
1885 |
+
}
|
1886 |
+
|
1887 |
+
if (!isset ( $get_language_choices ['kn'] ) ) {
|
1888 |
+
$get_language_choices['kn'] = 0;
|
1889 |
+
}
|
1890 |
+
|
1891 |
+
if (!isset ( $get_language_choices ['km'] ) ) {
|
1892 |
+
$get_language_choices['km'] = 0;
|
1893 |
+
}
|
1894 |
+
|
1895 |
+
if (!isset ( $get_language_choices ['ko'] ) ) {
|
1896 |
+
$get_language_choices['ko'] = 0;
|
1897 |
+
}
|
1898 |
+
|
1899 |
+
if (!isset ( $get_language_choices ['lo'] ) ) {
|
1900 |
+
$get_language_choices['lo'] = 0;
|
1901 |
+
}
|
1902 |
+
|
1903 |
+
if (!isset ( $get_language_choices ['la'] ) ) {
|
1904 |
+
$get_language_choices['la'] = 0;
|
1905 |
+
}
|
1906 |
+
|
1907 |
+
if (!isset ( $get_language_choices ['lv'] ) ) {
|
1908 |
+
$get_language_choices['lv'] = 0;
|
1909 |
+
}
|
1910 |
+
|
1911 |
+
if (!isset ( $get_language_choices ['lt'] ) ) {
|
1912 |
+
$get_language_choices['lt'] = 0;
|
1913 |
+
}
|
1914 |
+
|
1915 |
+
if (!isset ( $get_language_choices ['mk'] ) ) {
|
1916 |
+
$get_language_choices['mk'] = 0;
|
1917 |
+
}
|
1918 |
+
|
1919 |
+
if (!isset ( $get_language_choices ['ms'] ) ) {
|
1920 |
+
$get_language_choices['ms'] = 0;
|
1921 |
+
}
|
1922 |
+
|
1923 |
+
if (!isset ( $get_language_choices ['mt'] ) ) {
|
1924 |
+
$get_language_choices['mt'] = 0;
|
1925 |
+
}
|
1926 |
+
|
1927 |
+
if (!isset ( $get_language_choices ['mi'] ) ) {
|
1928 |
+
$get_language_choices['mi'] = 0;
|
1929 |
+
}
|
1930 |
+
|
1931 |
+
if (!isset ( $get_language_choices ['mr'] ) ) {
|
1932 |
+
$get_language_choices['mr'] = 0;
|
1933 |
+
}
|
1934 |
+
|
1935 |
+
if (!isset ( $get_language_choices ['mn'] ) ) {
|
1936 |
+
$get_language_choices['mn'] = 0;
|
1937 |
+
}
|
1938 |
+
|
1939 |
+
if (!isset ( $get_language_choices ['ne'] ) ) {
|
1940 |
+
$get_language_choices['ne'] = 0;
|
1941 |
+
}
|
1942 |
+
|
1943 |
+
if (!isset ( $get_language_choices ['no'] ) ) {
|
1944 |
+
$get_language_choices['no'] = 0;
|
1945 |
+
}
|
1946 |
+
|
1947 |
+
if (!isset ( $get_language_choices ['fa'] ) ) {
|
1948 |
+
$get_language_choices['fa'] = 0;
|
1949 |
+
}
|
1950 |
+
|
1951 |
+
if (!isset ( $get_language_choices ['pl'] ) ) {
|
1952 |
+
$get_language_choices['pl'] = 0;
|
1953 |
+
}
|
1954 |
+
|
1955 |
+
if (!isset ( $get_language_choices ['pt'] ) ) {
|
1956 |
+
$get_language_choices['pt'] = 0;
|
1957 |
+
}
|
1958 |
+
|
1959 |
+
if (!isset ( $get_language_choices ['pa'] ) ) {
|
1960 |
+
$get_language_choices['pa'] = 0;
|
1961 |
+
}
|
1962 |
+
|
1963 |
+
if (!isset ( $get_language_choices ['ro'] ) ) {
|
1964 |
+
$get_language_choices['ro'] = 0;
|
1965 |
+
}
|
1966 |
+
|
1967 |
+
if (!isset ( $get_language_choices ['ru'] ) ) {
|
1968 |
+
$get_language_choices['ru'] = 0;
|
1969 |
+
}
|
1970 |
+
|
1971 |
+
if (!isset ( $get_language_choices ['sr'] ) ) {
|
1972 |
+
$get_language_choices['sr'] = 0;
|
1973 |
+
}
|
1974 |
+
|
1975 |
+
if (!isset ( $get_language_choices ['sk'] ) ) {
|
1976 |
+
$get_language_choices['sk'] = 0;
|
1977 |
+
}
|
1978 |
+
|
1979 |
+
if (!isset ( $get_language_choices ['sl'] ) ) {
|
1980 |
+
$get_language_choices['sl'] = 0;
|
1981 |
+
}
|
1982 |
+
|
1983 |
+
if (!isset ( $get_language_choices ['so'] ) ) {
|
1984 |
+
$get_language_choices['so'] = 0;
|
1985 |
+
}
|
1986 |
+
|
1987 |
+
if (!isset ( $get_language_choices ['es'] ) ) {
|
1988 |
+
$get_language_choices['es'] = 0;
|
1989 |
+
}
|
1990 |
+
|
1991 |
+
if (!isset ( $get_language_choices ['sw'] ) ) {
|
1992 |
+
$get_language_choices['sw'] = 0;
|
1993 |
+
}
|
1994 |
+
|
1995 |
+
if (!isset ( $get_language_choices ['sv'] ) ) {
|
1996 |
+
$get_language_choices['sv'] = 0;
|
1997 |
+
}
|
1998 |
+
|
1999 |
+
if (!isset ( $get_language_choices ['ta'] ) ) {
|
2000 |
+
$get_language_choices['ta'] = 0;
|
2001 |
+
}
|
2002 |
+
|
2003 |
+
if (!isset ( $get_language_choices ['te'] ) ) {
|
2004 |
+
$get_language_choices['te'] = 0;
|
2005 |
+
}
|
2006 |
+
|
2007 |
+
if (!isset ( $get_language_choices ['th'] ) ) {
|
2008 |
+
$get_language_choices['th'] = 0;
|
2009 |
+
}
|
2010 |
+
|
2011 |
+
if (!isset ( $get_language_choices ['tr'] ) ) {
|
2012 |
+
$get_language_choices['tr'] = 0;
|
2013 |
+
}
|
2014 |
+
|
2015 |
+
if (!isset ( $get_language_choices ['uk'] ) ) {
|
2016 |
+
$get_language_choices['uk'] = 0;
|
2017 |
+
}
|
2018 |
+
|
2019 |
+
if (!isset ( $get_language_choices ['ur'] ) ) {
|
2020 |
+
$get_language_choices['ur'] = 0;
|
2021 |
+
}
|
2022 |
+
|
2023 |
+
if (!isset ( $get_language_choices ['vi'] ) ) {
|
2024 |
+
$get_language_choices['vi'] = 0;
|
2025 |
+
}
|
2026 |
+
|
2027 |
+
if (!isset ( $get_language_choices ['cy'] ) ) {
|
2028 |
+
$get_language_choices['cy'] = 0;
|
2029 |
+
}
|
2030 |
+
|
2031 |
+
if (!isset ( $get_language_choices ['yi'] ) ) {
|
2032 |
+
$get_language_choices['yi'] = 0;
|
2033 |
+
}
|
2034 |
+
|
2035 |
+
if (!isset ( $get_language_choices ['yo'] ) ) {
|
2036 |
+
$get_language_choices['yo'] = 0;
|
2037 |
+
}
|
2038 |
+
|
2039 |
+
if (!isset ( $get_language_choices ['zu'] ) ) {
|
2040 |
+
$get_language_choices['zu'] = 0;
|
2041 |
+
} ?>
|
2042 |
+
|
2043 |
+
<div class="languages" style="width:25%; float:left">
|
2044 |
+
<div><input type="checkbox" name="language_display_settings[af]" value="1" <?php if ( 1 == $get_language_choices['af'] ) echo 'checked="checked"'; ?>/> Afrikaans</div>
|
2045 |
+
<div><input type="checkbox" name="language_display_settings[sq]" value="1" <?php if ( 1 == $get_language_choices['sq'] ) echo 'checked="checked"'; ?>/> Albanian</div>
|
2046 |
+
<div><input type="checkbox" name="language_display_settings[ar]" value="1" <?php if ( 1 == $get_language_choices['ar'] ) echo 'checked="checked"'; ?>/> Arabic</div>
|
2047 |
+
<div><input type="checkbox" name="language_display_settings[hy]" value="1" <?php if ( 1 == $get_language_choices['hy'] ) echo 'checked="checked"'; ?>/> Armenian</div>
|
2048 |
+
<div><input type="checkbox" name="language_display_settings[az]" value="1" <?php if ( 1 == $get_language_choices['az'] ) echo 'checked="checked"'; ?>/> Azerbaijani</div>
|
2049 |
+
<div><input type="checkbox" name="language_display_settings[eu]" value="1" <?php if ( 1 == $get_language_choices['eu'] ) echo 'checked="checked"'; ?>/> Basque</div>
|
2050 |
+
<div><input type="checkbox" name="language_display_settings[be]" value="1" <?php if ( 1 == $get_language_choices['be'] ) echo 'checked="checked"'; ?>/> Belarusian</div>
|
2051 |
+
<div><input type="checkbox" name="language_display_settings[bn]" value="1" <?php if ( 1 == $get_language_choices['bn'] ) echo 'checked="checked"'; ?>/> Bengali</div>
|
2052 |
+
<div><input type="checkbox" name="language_display_settings[bs]" value="1" <?php if ( 1 == $get_language_choices['bs'] ) echo 'checked="checked"'; ?>/> Bosnian</div>
|
2053 |
+
<div><input type="checkbox" name="language_display_settings[bg]" value="1" <?php if ( 1 == $get_language_choices['bg'] ) echo 'checked="checked"'; ?>/> Bulgarian</div>
|
2054 |
+
<div><input type="checkbox" name="language_display_settings[ca]" value="1" <?php if ( 1 == $get_language_choices['ca'] ) echo 'checked="checked"'; ?>/> Catalan</div>
|
2055 |
+
<div><input type="checkbox" name="language_display_settings[ceb]" value="1" <?php if ( 1 == $get_language_choices['ceb'] ) echo 'checked="checked"'; ?>/> Cebuano</div>
|
2056 |
+
<div><input type="checkbox" name="language_display_settings[zh-CN]" value="1" <?php if ( 1 == $get_language_choices['zh-CN'] ) echo 'checked="checked"'; ?>/> Chinese</div>
|
2057 |
+
<div><input type="checkbox" name="language_display_settings[zh-TW]" value="1" <?php if ( 1 == $get_language_choices['zh-TW'] ) echo 'checked="checked"'; ?>/> Chinese (Han)</div>
|
2058 |
+
<div><input type="checkbox" name="language_display_settings[hr]" value="1" <?php if ( 1 == $get_language_choices['hr'] ) echo 'checked="checked"'; ?>/> Croatian</div>
|
2059 |
+
<div><input type="checkbox" name="language_display_settings[cs]" value="1" <?php if ( 1 == $get_language_choices['cs'] ) echo 'checked="checked"'; ?>/> Czech</div>
|
2060 |
+
<div><input type="checkbox" name="language_display_settings[da]" value="1" <?php if ( 1 == $get_language_choices['da'] ) echo 'checked="checked"'; ?>/> Danish</div>
|
2061 |
+
<div><input type="checkbox" name="language_display_settings[nl]" value="1" <?php if ( 1 == $get_language_choices['nl'] ) echo 'checked="checked"'; ?>/> Dutch</div>
|
2062 |
+
<div><input type="checkbox" name="language_display_settings[en]" value="1" <?php if ( 1 == $get_language_choices['en'] ) echo 'checked="checked"'; ?>/> English</div>
|
2063 |
+
<div><input type="checkbox" name="language_display_settings[eo]" value="1" <?php if ( 1 == $get_language_choices['eo'] ) echo 'checked="checked"'; ?>/> Esperanto</div>
|
2064 |
+
<div><input type="checkbox" name="language_display_settings[et]" value="1" <?php if ( 1 == $get_language_choices['et'] ) echo 'checked="checked"'; ?>/> Estonian</div>
|
2065 |
+
</div>
|
2066 |
+
|
2067 |
+
<div class="languages" style="width:25%; float:left">
|
2068 |
+
<div><input type="checkbox" name="language_display_settings[tl]" value="1" <?php if ( 1 == $get_language_choices['tl'] ) echo 'checked="checked"'; ?>/> Filipino</div>
|
2069 |
+
<div><input type="checkbox" name="language_display_settings[fi]" value="1" <?php if ( 1 == $get_language_choices['fi'] ) echo 'checked="checked"'; ?>/> Finnish</div>
|
2070 |
+
<div><input type="checkbox" name="language_display_settings[fr]" value="1" <?php if ( 1 == $get_language_choices['fr'] ) echo 'checked="checked"'; ?>/> French</div>
|
2071 |
+
<div><input type="checkbox" name="language_display_settings[gl]" value="1" <?php if ( 1 == $get_language_choices['gl'] ) echo 'checked="checked"'; ?>/> Galician</div>
|
2072 |
+
<div><input type="checkbox" name="language_display_settings[ka]" value="1" <?php if ( 1 == $get_language_choices['ka'] ) echo 'checked="checked"'; ?>/> Georgian</div>
|
2073 |
+
<div><input type="checkbox" name="language_display_settings[de]" value="1" <?php if ( 1 == $get_language_choices['de'] ) echo 'checked="checked"'; ?>/> German</div>
|
2074 |
+
<div><input type="checkbox" name="language_display_settings[el]" value="1" <?php if ( 1 == $get_language_choices['el'] ) echo 'checked="checked"'; ?>/> Greek</div>
|
2075 |
+
<div><input type="checkbox" name="language_display_settings[gu]" value="1" <?php if ( 1 == $get_language_choices['gu'] ) echo 'checked="checked"'; ?>/> Gujarati</div>
|
2076 |
+
<div><input type="checkbox" name="language_display_settings[ht]" value="1" <?php if ( 1 == $get_language_choices['ht'] ) echo 'checked="checked"'; ?>/> Haitian Creole</div>
|
2077 |
+
<div><input type="checkbox" name="language_display_settings[ha]" value="1" <?php if ( 1 == $get_language_choices['ha'] ) echo 'checked="checked"'; ?>/> Hausa</div>
|
2078 |
+
<div><input type="checkbox" name="language_display_settings[iw]" value="1" <?php if ( 1 == $get_language_choices['iw'] ) echo 'checked="checked"'; ?>/> Hebrew</div>
|
2079 |
+
<div><input type="checkbox" name="language_display_settings[hi]" value="1" <?php if ( 1 == $get_language_choices['hi'] ) echo 'checked="checked"'; ?>/> Hindi</div>
|
2080 |
+
<div><input type="checkbox" name="language_display_settings[hmn]" value="1" <?php if ( 1 == $get_language_choices['hmn'] ) echo 'checked="checked"'; ?>/> Hmong</div>
|
2081 |
+
<div><input type="checkbox" name="language_display_settings[hu]" value="1" <?php if ( 1 == $get_language_choices['hu'] ) echo 'checked="checked"'; ?>/> Hungarian</div>
|
2082 |
+
<div><input type="checkbox" name="language_display_settings[is]" value="1" <?php if ( 1 == $get_language_choices['is'] ) echo 'checked="checked"'; ?>/> Icelandic</div>
|
2083 |
+
<div><input type="checkbox" name="language_display_settings[ig]" value="1" <?php if ( 1 == $get_language_choices['ig'] ) echo 'checked="checked"'; ?>/> Igbo</div>
|
2084 |
+
<div><input type="checkbox" name="language_display_settings[id]" value="1" <?php if ( 1 == $get_language_choices['id'] ) echo 'checked="checked"'; ?>/> Indonesian</div>
|
2085 |
+
<div><input type="checkbox" name="language_display_settings[ga]" value="1" <?php if ( 1 == $get_language_choices['ga'] ) echo 'checked="checked"'; ?>/> Irish</div>
|
2086 |
+
<div><input type="checkbox" name="language_display_settings[it]" value="1" <?php if ( 1 == $get_language_choices['it'] ) echo 'checked="checked"'; ?>/> Italian</div>
|
2087 |
+
<div><input type="checkbox" name="language_display_settings[ja]" value="1" <?php if ( 1 == $get_language_choices['ja'] ) echo 'checked="checked"'; ?>/> Japanese</div>
|
2088 |
+
<div><input type="checkbox" name="language_display_settings[jw]" value="1" <?php if ( 1 == $get_language_choices['jw'] ) echo 'checked="checked"'; ?>/> Javanese</div>
|
2089 |
+
</div>
|
2090 |
+
|
2091 |
+
<div class="languages" style="width:25%; float:left">
|
2092 |
+
<div><input type="checkbox" name="language_display_settings[kn]" value="1" <?php if ( 1 == $get_language_choices['kn'] ) echo 'checked="checked"'; ?>/> Kannada</div>
|
2093 |
+
<div><input type="checkbox" name="language_display_settings[km]" value="1" <?php if ( 1 == $get_language_choices['km'] ) echo 'checked="checked"'; ?>/> Khmer</div>
|
2094 |
+
<div><input type="checkbox" name="language_display_settings[ko]" value="1" <?php if ( 1 == $get_language_choices['ko'] ) echo 'checked="checked"'; ?>/> Korean</div>
|
2095 |
+
<div><input type="checkbox" name="language_display_settings[lo]" value="1" <?php if ( 1 == $get_language_choices['lo'] ) echo 'checked="checked"'; ?>/> Lao</div>
|
2096 |
+
<div><input type="checkbox" name="language_display_settings[la]" value="1" <?php if ( 1 == $get_language_choices['la'] ) echo 'checked="checked"'; ?>/> Latin</div>
|
2097 |
+
<div><input type="checkbox" name="language_display_settings[lv]" value="1" <?php if ( 1 == $get_language_choices['lv'] ) echo 'checked="checked"'; ?>/> Latvian</div>
|
2098 |
+
<div><input type="checkbox" name="language_display_settings[lt]" value="1" <?php if ( 1 == $get_language_choices['lt'] ) echo 'checked="checked"'; ?>/> Lithuanian</div>
|
2099 |
+
<div><input type="checkbox" name="language_display_settings[mk]" value="1" <?php if ( 1 == $get_language_choices['mk'] ) echo 'checked="checked"'; ?>/> Macedonian</div>
|
2100 |
+
<div><input type="checkbox" name="language_display_settings[ms]" value="1" <?php if ( 1 == $get_language_choices['ms'] ) echo 'checked="checked"'; ?>/> Malay</div>
|
2101 |
+
<div><input type="checkbox" name="language_display_settings[mt]" value="1" <?php if ( 1 == $get_language_choices['mt'] ) echo 'checked="checked"'; ?>/> Maltese</div>
|
2102 |
+
<div><input type="checkbox" name="language_display_settings[mi]" value="1" <?php if ( 1 == $get_language_choices['mi'] ) echo 'checked="checked"'; ?>/> Maori</div>
|
2103 |
+
<div><input type="checkbox" name="language_display_settings[mr]" value="1" <?php if ( 1 == $get_language_choices['mr'] ) echo 'checked="checked"'; ?>/> Marathi</div>
|
2104 |
+
<div><input type="checkbox" name="language_display_settings[mn]" value="1" <?php if ( 1 == $get_language_choices['mn'] ) echo 'checked="checked"'; ?>/> Mongolian</div>
|
2105 |
+
<div><input type="checkbox" name="language_display_settings[ne]" value="1" <?php if ( 1 == $get_language_choices['ne'] ) echo 'checked="checked"'; ?>/> Nepali</div>
|
2106 |
+
<div><input type="checkbox" name="language_display_settings[no]" value="1" <?php if ( 1 == $get_language_choices['no'] ) echo 'checked="checked"'; ?>/> Norwegian</div>
|
2107 |
+
<div><input type="checkbox" name="language_display_settings[fa]" value="1" <?php if ( 1 == $get_language_choices['fa'] ) echo 'checked="checked"'; ?>/> Persian</div>
|
2108 |
+
<div><input type="checkbox" name="language_display_settings[pl]" value="1" <?php if ( 1 == $get_language_choices['pl'] ) echo 'checked="checked"'; ?>/> Polish</div>
|
2109 |
+
<div><input type="checkbox" name="language_display_settings[pt]" value="1" <?php if ( 1 == $get_language_choices['pt'] ) echo 'checked="checked"'; ?>/> Portuguese</div>
|
2110 |
+
<div><input type="checkbox" name="language_display_settings[pa]" value="1" <?php if ( 1 == $get_language_choices['pa'] ) echo 'checked="checked"'; ?>/> Punjabi</div>
|
2111 |
+
<div><input type="checkbox" name="language_display_settings[ro]" value="1" <?php if ( 1 == $get_language_choices['ro'] ) echo 'checked="checked"'; ?>/> Romanian</div>
|
2112 |
+
<div><input type="checkbox" name="language_display_settings[ru]" value="1" <?php if ( 1 == $get_language_choices['ru'] ) echo 'checked="checked"'; ?>/> Russian</div>
|
2113 |
+
</div>
|
2114 |
+
|
2115 |
+
<div class="languages" style="width:25%; float:left">
|
2116 |
+
<div><input type="checkbox" name="language_display_settings[sr]" value="1" <?php if ( 1 == $get_language_choices['sr'] ) echo 'checked="checked"'; ?>/> Serbian</div>
|
2117 |
+
<div><input type="checkbox" name="language_display_settings[sk]" value="1" <?php if ( 1 == $get_language_choices['sk'] ) echo 'checked="checked"'; ?>/> Slovak</div>
|
2118 |
+
<div><input type="checkbox" name="language_display_settings[sl]" value="1" <?php if ( 1 == $get_language_choices['sl'] ) echo 'checked="checked"'; ?>/> Slovenian</div>
|
2119 |
+
<div><input type="checkbox" name="language_display_settings[so]" value="1" <?php if ( 1 == $get_language_choices['so'] ) echo 'checked="checked"'; ?>/> Somali</div>
|
2120 |
+
<div><input type="checkbox" name="language_display_settings[es]" value="1" <?php if ( 1 == $get_language_choices['es'] ) echo 'checked="checked"'; ?>/> Spanish</div>
|
2121 |
+
<div><input type="checkbox" name="language_display_settings[sw]" value="1" <?php if ( 1 == $get_language_choices['sw'] ) echo 'checked="checked"'; ?>/> Swahili</div>
|
2122 |
+
<div><input type="checkbox" name="language_display_settings[sv]" value="1" <?php if ( 1 == $get_language_choices['sv'] ) echo 'checked="checked"'; ?>/> Swedish</div>
|
2123 |
+
<div><input type="checkbox" name="language_display_settings[ta]" value="1" <?php if ( 1 == $get_language_choices['ta'] ) echo 'checked="checked"'; ?>/> Tamil</div>
|
2124 |
+
<div><input type="checkbox" name="language_display_settings[te]" value="1" <?php if ( 1 == $get_language_choices['te'] ) echo 'checked="checked"'; ?>/> Telugu</div>
|
2125 |
+
<div><input type="checkbox" name="language_display_settings[th]" value="1" <?php if ( 1 == $get_language_choices['th'] ) echo 'checked="checked"'; ?>/> Thai</div>
|
2126 |
+
<div><input type="checkbox" name="language_display_settings[tr]" value="1" <?php if ( 1 == $get_language_choices['tr'] ) echo 'checked="checked"'; ?>/> Turkish</div>
|
2127 |
+
<div><input type="checkbox" name="language_display_settings[uk]" value="1" <?php if ( 1 == $get_language_choices['uk'] ) echo 'checked="checked"'; ?>/> Ukranian</div>
|
2128 |
+
<div><input type="checkbox" name="language_display_settings[ur]" value="1" <?php if ( 1 == $get_language_choices['ur'] ) echo 'checked="checked"'; ?>/> Urdu</div>
|
2129 |
+
<div><input type="checkbox" name="language_display_settings[vi]" value="1" <?php if ( 1 == $get_language_choices['vi'] ) echo 'checked="checked"'; ?>/> Vietnamese</div>
|
2130 |
+
<div><input type="checkbox" name="language_display_settings[cy]" value="1" <?php if ( 1 == $get_language_choices['cy'] ) echo 'checked="checked"'; ?>/> Welsh</div>
|
2131 |
+
<div><input type="checkbox" name="language_display_settings[yi]" value="1" <?php if ( 1 == $get_language_choices['yi'] ) echo 'checked="checked"'; ?>/> Yiddish</div>
|
2132 |
+
<div><input type="checkbox" name="language_display_settings[yo]" value="1" <?php if ( 1 == $get_language_choices['yo'] ) echo 'checked="checked"'; ?>/> Yoruba</div>
|
2133 |
+
<div><input type="checkbox" name="language_display_settings[zu]" value="1" <?php if ( 1 == $get_language_choices['zu'] ) echo 'checked="checked"'; ?>/> Zulu</div>
|
2134 |
+
|
2135 |
+
</div>
|
2136 |
+
|
2137 |
+
<div style="clear:both"></div>
|
2138 |
+
<?php }
|
2139 |
+
|
2140 |
+
public function googlelanguagetranslator_flags_cb() {
|
2141 |
+
|
2142 |
+
$option_name = 'googlelanguagetranslator_flags' ;
|
2143 |
+
$new_value = 'show_flags';
|
2144 |
+
|
2145 |
+
if ( get_option( $option_name ) === false ) {
|
2146 |
+
|
2147 |
+
// The option does not exist, so we update it.
|
2148 |
+
update_option( $option_name, $new_value );
|
2149 |
+
}
|
2150 |
+
|
2151 |
+
$options = get_option (''.$option_name.''); ?>
|
2152 |
+
|
2153 |
+
<input type="radio" name="googlelanguagetranslator_flags" id="googlelanguagetranslator_flags" value="show_flags" <?php if($options=='show_flags'){echo "checked";}?>/> Yes, show flag images<br/>
|
2154 |
+
<input type="radio" name="googlelanguagetranslator_flags" id="googlelanguagetranslator_flags" value="hide_flags" <?php if($options=='hide_flags'){echo "checked";}?>/> No, hide flag images
|
2155 |
+
<?php
|
2156 |
+
}
|
2157 |
+
|
2158 |
+
public function flag_display_settings_cb() {
|
2159 |
+
$defaults = array(
|
2160 |
+
'flag-en' => 1
|
2161 |
+
);
|
2162 |
+
|
2163 |
+
$option_name = 'flag_display_settings' ;
|
2164 |
+
$new_value = $defaults;
|
2165 |
+
|
2166 |
+
if ( get_option( $option_name ) === false ) {
|
2167 |
+
|
2168 |
+
// The option does not exist, so we update it.
|
2169 |
+
update_option( $option_name, $new_value );
|
2170 |
+
}
|
2171 |
+
|
2172 |
+
$get_flag_choices = get_option (''.$option_name.'');
|
2173 |
+
|
2174 |
+
if (!isset ( $get_flag_choices ['flag-af'] ) ) {
|
2175 |
+
$get_flag_choices['flag-af'] = 0;
|
2176 |
+
}
|
2177 |
+
|
2178 |
+
if (!isset ( $get_flag_choices ['flag-sq'] ) ) {
|
2179 |
+
$get_flag_choices['flag-sq'] = 0;
|
2180 |
+
}
|
2181 |
+
|
2182 |
+
if (!isset ( $get_flag_choices ['flag-ar'] ) ) {
|
2183 |
+
$get_flag_choices['flag-ar'] = 0;
|
2184 |
+
}
|
2185 |
+
|
2186 |
+
if (!isset ( $get_flag_choices ['flag-hy'] ) ) {
|
2187 |
+
$get_flag_choices['flag-hy'] = 0;
|
2188 |
+
}
|
2189 |
+
|
2190 |
+
if (!isset ( $get_flag_choices ['flag-az'] ) ) {
|
2191 |
+
$get_flag_choices['flag-az'] = 0;
|
2192 |
+
}
|
2193 |
+
|
2194 |
+
if (!isset ( $get_flag_choices ['flag-eu'] ) ) {
|
2195 |
+
$get_flag_choices['flag-eu'] = 0;
|
2196 |
+
}
|
2197 |
+
|
2198 |
+
if (!isset ( $get_flag_choices ['flag-be'] ) ) {
|
2199 |
+
$get_flag_choices['flag-be'] = 0;
|
2200 |
+
}
|
2201 |
+
|
2202 |
+
if (!isset ( $get_flag_choices ['flag-bn'] ) ) {
|
2203 |
+
$get_flag_choices['flag-bn'] = 0;
|
2204 |
+
}
|
2205 |
+
|
2206 |
+
if (!isset ( $get_flag_choices ['flag-bs'] ) ) {
|
2207 |
+
$get_flag_choices['flag-bs'] = 0;
|
2208 |
+
}
|
2209 |
+
|
2210 |
+
if (!isset ( $get_flag_choices ['flag-bg'] ) ) {
|
2211 |
+
$get_flag_choices['flag-bg'] = 0;
|
2212 |
+
}
|
2213 |
+
|
2214 |
+
if (!isset ( $get_flag_choices ['flag-ca'] ) ) {
|
2215 |
+
$get_flag_choices['flag-ca'] = 0;
|
2216 |
+
}
|
2217 |
+
|
2218 |
+
if (!isset ( $get_flag_choices ['flag-ceb'] ) ) {
|
2219 |
+
$get_flag_choices['flag-ceb'] = 0;
|
2220 |
+
}
|
2221 |
+
|
2222 |
+
if (!isset ( $get_flag_choices ['flag-zh-CN'] ) ) {
|
2223 |
+
$get_flag_choices['flag-zh-CN'] = 0;
|
2224 |
+
}
|
2225 |
+
|
2226 |
+
if (!isset ( $get_flag_choices ['flag-zh-TW'] ) ) {
|
2227 |
+
$get_flag_choices['flag-zh-TW'] = 0;
|
2228 |
+
}
|
2229 |
+
|
2230 |
+
if (!isset ( $get_flag_choices ['flag-hr'] ) ) {
|
2231 |
+
$get_flag_choices['flag-hr'] = 0;
|
2232 |
+
}
|
2233 |
+
|
2234 |
+
if (!isset ( $get_flag_choices ['flag-cs'] ) ) {
|
2235 |
+
$get_flag_choices['flag-cs'] = 0;
|
2236 |
+
}
|
2237 |
+
|
2238 |
+
if (!isset ( $get_flag_choices ['flag-da'] ) ) {
|
2239 |
+
$get_flag_choices['flag-da'] = 0;
|
2240 |
+
}
|
2241 |
+
|
2242 |
+
if (!isset ( $get_flag_choices ['flag-nl'] ) ) {
|
2243 |
+
$get_flag_choices['flag-nl'] = 0;
|
2244 |
+
}
|
2245 |
+
|
2246 |
+
if (!isset ( $get_flag_choices ['flag-en'] ) ) {
|
2247 |
+
$get_flag_choices['flag-en'] = 1;
|
2248 |
+
}
|
2249 |
+
|
2250 |
+
if (!isset ( $get_flag_choices ['flag-eo'] ) ) {
|
2251 |
+
$get_flag_choices['flag-eo'] = 0;
|
2252 |
+
}
|
2253 |
+
|
2254 |
+
if (!isset ( $get_flag_choices ['flag-et'] ) ) {
|
2255 |
+
$get_flag_choices['flag-et'] = 0;
|
2256 |
+
}
|
2257 |
+
|
2258 |
+
if (!isset ( $get_flag_choices ['flag-tl'] ) ) {
|
2259 |
+
$get_flag_choices['flag-tl'] = 0;
|
2260 |
+
}
|
2261 |
+
|
2262 |
+
if (!isset ( $get_flag_choices ['flag-fi'] ) ) {
|
2263 |
+
$get_flag_choices['flag-fi'] = 0;
|
2264 |
+
}
|
2265 |
+
|
2266 |
+
if (!isset ( $get_flag_choices ['flag-fr'] ) ) {
|
2267 |
+
$get_flag_choices['flag-fr'] = 0;
|
2268 |
+
}
|
2269 |
+
|
2270 |
+
if (!isset ( $get_flag_choices ['flag-gl'] ) ) {
|
2271 |
+
$get_flag_choices['flag-gl'] = 0;
|
2272 |
+
}
|
2273 |
+
|
2274 |
+
if (!isset ( $get_flag_choices ['flag-ka'] ) ) {
|
2275 |
+
$get_flag_choices['flag-ka'] = 0;
|
2276 |
+
}
|
2277 |
+
|
2278 |
+
if (!isset ( $get_flag_choices ['flag-de'] ) ) {
|
2279 |
+
$get_flag_choices['flag-de'] = 0;
|
2280 |
+
}
|
2281 |
+
|
2282 |
+
if (!isset ( $get_flag_choices ['flag-el'] ) ) {
|
2283 |
+
$get_flag_choices['flag-el'] = 0;
|
2284 |
+
}
|
2285 |
+
|
2286 |
+
if (!isset ( $get_flag_choices ['flag-gu'] ) ) {
|
2287 |
+
$get_flag_choices['flag-gu'] = 0;
|
2288 |
+
}
|
2289 |
+
|
2290 |
+
if (!isset ( $get_flag_choices ['flag-ht'] ) ) {
|
2291 |
+
$get_flag_choices['flag-ht'] = 0;
|
2292 |
+
}
|
2293 |
+
|
2294 |
+
if (!isset ( $get_flag_choices ['flag-ha'] ) ) {
|
2295 |
+
$get_flag_choices['flag-ha'] = 0;
|
2296 |
+
}
|
2297 |
+
|
2298 |
+
if (!isset ( $get_flag_choices ['flag-iw'] ) ) {
|
2299 |
+
$get_flag_choices['flag-iw'] = 0;
|
2300 |
+
}
|
2301 |
+
|
2302 |
+
if (!isset ( $get_flag_choices ['flag-hi'] ) ) {
|
2303 |
+
$get_flag_choices['flag-hi'] = 0;
|
2304 |
+
}
|
2305 |
+
|
2306 |
+
if (!isset ( $get_flag_choices ['flag-hmn'] ) ) {
|
2307 |
+
$get_flag_choices['flag-hmn'] = 0;
|
2308 |
+
}
|
2309 |
+
|
2310 |
+
if (!isset ( $get_flag_choices ['flag-hu'] ) ) {
|
2311 |
+
$get_flag_choices['flag-hu'] = 0;
|
2312 |
+
}
|
2313 |
+
|
2314 |
+
if (!isset ( $get_flag_choices ['flag-is'] ) ) {
|
2315 |
+
$get_flag_choices['flag-is'] = 0;
|
2316 |
+
}
|
2317 |
+
|
2318 |
+
if (!isset ( $get_flag_choices ['flag-ig'] ) ) {
|
2319 |
+
$get_flag_choices['flag-ig'] = 0;
|
2320 |
+
}
|
2321 |
+
|
2322 |
+
if (!isset ( $get_flag_choices ['flag-id'] ) ) {
|
2323 |
+
$get_flag_choices['flag-id'] = 0;
|
2324 |
+
}
|
2325 |
+
|
2326 |
+
if (!isset ( $get_flag_choices ['flag-ga'] ) ) {
|
2327 |
+
$get_flag_choices['flag-ga'] = 0;
|
2328 |
+
}
|
2329 |
+
|
2330 |
+
if (!isset ( $get_flag_choices ['flag-it'] ) ) {
|
2331 |
+
$get_flag_choices['flag-it'] = 0;
|
2332 |
+
}
|
2333 |
+
|
2334 |
+
if (!isset ( $get_flag_choices ['flag-ja'] ) ) {
|
2335 |
+
$get_flag_choices['flag-ja'] = 0;
|
2336 |
+
}
|
2337 |
+
|
2338 |
+
if (!isset ( $get_flag_choices ['flag-jw'] ) ) {
|
2339 |
+
$get_flag_choices['flag-jw'] = 0;
|
2340 |
+
}
|
2341 |
+
|
2342 |
+
if (!isset ( $get_flag_choices ['flag-kn'] ) ) {
|
2343 |
+
$get_flag_choices['flag-kn'] = 0;
|
2344 |
+
}
|
2345 |
+
|
2346 |
+
if (!isset ( $get_flag_choices ['flag-km'] ) ) {
|
2347 |
+
$get_flag_choices['flag-km'] = 0;
|
2348 |
+
}
|
2349 |
+
|
2350 |
+
if (!isset ( $get_flag_choices ['flag-ko'] ) ) {
|
2351 |
+
$get_flag_choices['flag-ko'] = 0;
|
2352 |
+
}
|
2353 |
+
|
2354 |
+
if (!isset ( $get_flag_choices ['flag-lo'] ) ) {
|
2355 |
+
$get_flag_choices['flag-lo'] = 0;
|
2356 |
+
}
|
2357 |
+
|
2358 |
+
if (!isset ( $get_flag_choices ['flag-la'] ) ) {
|
2359 |
+
$get_flag_choices['flag-la'] = 0;
|
2360 |
+
}
|
2361 |
+
|
2362 |
+
if (!isset ( $get_flag_choices ['flag-lv'] ) ) {
|
2363 |
+
$get_flag_choices['flag-lv'] = 0;
|
2364 |
+
}
|
2365 |
+
|
2366 |
+
if (!isset ( $get_flag_choices ['flag-lt'] ) ) {
|
2367 |
+
$get_flag_choices['flag-lt'] = 0;
|
2368 |
+
}
|
2369 |
+
|
2370 |
+
if (!isset ( $get_flag_choices ['flag-mk'] ) ) {
|
2371 |
+
$get_flag_choices['flag-mk'] = 0;
|
2372 |
+
}
|
2373 |
+
|
2374 |
+
if (!isset ( $get_flag_choices ['flag-ms'] ) ) {
|
2375 |
+
$get_flag_choices['flag-ms'] = 0;
|
2376 |
+
}
|
2377 |
+
|
2378 |
+
if (!isset ( $get_flag_choices ['flag-mt'] ) ) {
|
2379 |
+
$get_flag_choices['flag-mt'] = 0;
|
2380 |
+
}
|
2381 |
+
|
2382 |
+
if (!isset ( $get_flag_choices ['flag-mi'] ) ) {
|
2383 |
+
$get_flag_choices['flag-mi'] = 0;
|
2384 |
+
}
|
2385 |
+
|
2386 |
+
if (!isset ( $get_flag_choices ['flag-mr'] ) ) {
|
2387 |
+
$get_flag_choices['flag-mr'] = 0;
|
2388 |
+
}
|
2389 |
+
|
2390 |
+
if (!isset ( $get_flag_choices ['flag-mn'] ) ) {
|
2391 |
+
$get_flag_choices['flag-mn'] = 0;
|
2392 |
+
}
|
2393 |
+
|
2394 |
+
if (!isset ( $get_flag_choices ['flag-ne'] ) ) {
|
2395 |
+
$get_flag_choices['flag-ne'] = 0;
|
2396 |
+
}
|
2397 |
+
|
2398 |
+
if (!isset ( $get_flag_choices ['flag-no'] ) ) {
|
2399 |
+
$get_flag_choices['flag-no'] = 0;
|
2400 |
+
}
|
2401 |
+
|
2402 |
+
if (!isset ( $get_flag_choices ['flag-fa'] ) ) {
|
2403 |
+
$get_flag_choices['flag-fa'] = 0;
|
2404 |
+
}
|
2405 |
+
|
2406 |
+
if (!isset ( $get_flag_choices ['flag-pl'] ) ) {
|
2407 |
+
$get_flag_choices['flag-pl'] = 0;
|
2408 |
+
}
|
2409 |
+
|
2410 |
+
if (!isset ( $get_flag_choices ['flag-pt'] ) ) {
|
2411 |
+
$get_flag_choices['flag-pt'] = 0;
|
2412 |
+
}
|
2413 |
+
|
2414 |
+
if (!isset ( $get_flag_choices ['flag-pa'] ) ) {
|
2415 |
+
$get_flag_choices['flag-pa'] = 0;
|
2416 |
+
}
|
2417 |
+
|
2418 |
+
if (!isset ( $get_flag_choices ['flag-ro'] ) ) {
|
2419 |
+
$get_flag_choices['flag-ro'] = 0;
|
2420 |
+
}
|
2421 |
+
|
2422 |
+
if (!isset ( $get_flag_choices ['flag-ru'] ) ) {
|
2423 |
+
$get_flag_choices['flag-ru'] = 0;
|
2424 |
+
}
|
2425 |
+
|
2426 |
+
if (!isset ( $get_flag_choices ['flag-sr'] ) ) {
|
2427 |
+
$get_flag_choices['flag-sr'] = 0;
|
2428 |
+
}
|
2429 |
+
|
2430 |
+
if (!isset ( $get_flag_choices ['flag-sk'] ) ) {
|
2431 |
+
$get_flag_choices['flag-sk'] = 0;
|
2432 |
+
}
|
2433 |
+
|
2434 |
+
if (!isset ( $get_flag_choices ['flag-sl'] ) ) {
|
2435 |
+
$get_flag_choices['flag-sl'] = 0;
|
2436 |
+
}
|
2437 |
+
|
2438 |
+
if (!isset ( $get_flag_choices ['flag-so'] ) ) {
|
2439 |
+
$get_flag_choices['flag-so'] = 0;
|
2440 |
+
}
|
2441 |
+
|
2442 |
+
if (!isset ( $get_flag_choices ['flag-so'] ) ) {
|
2443 |
+
$get_flag_choices['flag-so'] = 0;
|
2444 |
+
}
|
2445 |
+
|
2446 |
+
if (!isset ( $get_flag_choices ['flag-es'] ) ) {
|
2447 |
+
$get_flag_choices['flag-es'] = 0;
|
2448 |
+
}
|
2449 |
+
|
2450 |
+
if (!isset ( $get_flag_choices ['flag-sw'] ) ) {
|
2451 |
+
$get_flag_choices['flag-sw'] = 0;
|
2452 |
+
}
|
2453 |
+
|
2454 |
+
if (!isset ( $get_flag_choices ['flag-sv'] ) ) {
|
2455 |
+
$get_flag_choices['flag-sv'] = 0;
|
2456 |
+
}
|
2457 |
+
|
2458 |
+
if (!isset ( $get_flag_choices ['flag-ta'] ) ) {
|
2459 |
+
$get_flag_choices['flag-ta'] = 0;
|
2460 |
+
}
|
2461 |
+
|
2462 |
+
if (!isset ( $get_flag_choices ['flag-te'] ) ) {
|
2463 |
+
$get_flag_choices['flag-te'] = 0;
|
2464 |
+
}
|
2465 |
+
|
2466 |
+
if (!isset ( $get_flag_choices ['flag-th'] ) ) {
|
2467 |
+
$get_flag_choices['flag-th'] = 0;
|
2468 |
+
}
|
2469 |
+
|
2470 |
+
if (!isset ( $get_flag_choices ['flag-tr'] ) ) {
|
2471 |
+
$get_flag_choices['flag-tr'] = 0;
|
2472 |
+
}
|
2473 |
+
|
2474 |
+
if (!isset ( $get_flag_choices ['flag-uk'] ) ) {
|
2475 |
+
$get_flag_choices['flag-uk'] = 0;
|
2476 |
+
}
|
2477 |
+
|
2478 |
+
if (!isset ( $get_flag_choices ['flag-ur'] ) ) {
|
2479 |
+
$get_flag_choices['flag-ur'] = 0;
|
2480 |
+
}
|
2481 |
+
|
2482 |
+
if (!isset ( $get_flag_choices ['flag-vi'] ) ) {
|
2483 |
+
$get_flag_choices['flag-vi'] = 0;
|
2484 |
+
}
|
2485 |
+
|
2486 |
+
if (!isset ( $get_flag_choices ['flag-cy'] ) ) {
|
2487 |
+
$get_flag_choices['flag-cy'] = 0;
|
2488 |
+
}
|
2489 |
+
|
2490 |
+
if (!isset ( $get_flag_choices ['flag-yi'] ) ) {
|
2491 |
+
$get_flag_choices['flag-yi'] = 0;
|
2492 |
+
}
|
2493 |
+
|
2494 |
+
if (!isset ( $get_flag_choices ['flag-yo'] ) ) {
|
2495 |
+
$get_flag_choices['flag-yo'] = 0;
|
2496 |
+
}
|
2497 |
+
|
2498 |
+
?>
|
2499 |
+
<div class="flagdisplay" style="width:25%; float:left">
|
2500 |
+
<div><input type="checkbox" name="flag_display_settings[flag-af]" value="1" <?php checked( 1,$get_flag_choices['flag-af']); ?>/> Afrikaans</div>
|
2501 |
+
<div><input type="checkbox" name="flag_display_settings[flag-sq]" value="1" <?php checked( 1,$get_flag_choices['flag-sq']); ?>/> Albanian</div>
|
2502 |
+
<div><input type="checkbox" name="flag_display_settings[flag-ar]" value="1" <?php checked( 1,$get_flag_choices['flag-ar']); ?>/> Arabic</div>
|
2503 |
+
<div><input type="checkbox" name="flag_display_settings[flag-hy]" value="1" <?php checked( 1,$get_flag_choices['flag-hy']); ?>/> Armenian</div>
|
2504 |
+
<div><input type="checkbox" name="flag_display_settings[flag-az]" value="1" <?php checked( 1,$get_flag_choices['flag-az']); ?>/> Azerbaijani</div>
|
2505 |
+
<div><input type="checkbox" name="flag_display_settings[flag-eu]" value="1" <?php checked( 1,$get_flag_choices['flag-eu']); ?>/> Basque</div>
|
2506 |
+
<div><input type="checkbox" name="flag_display_settings[flag-be]" value="1" <?php checked( 1,$get_flag_choices['flag-be']); ?>/> Belarusian</div>
|
2507 |
+
<div><input type="checkbox" name="flag_display_settings[flag-bn]" value="1" <?php checked( 1,$get_flag_choices['flag-bn']); ?>/> Bengali</div>
|
2508 |
+
<div><input type="checkbox" name="flag_display_settings[flag-bs]" value="1" <?php checked( 1,$get_flag_choices['flag-bs']); ?>/> Bosnian</div>
|
2509 |
+
<div><input type="checkbox" name="flag_display_settings[flag-bg]" value="1" <?php checked( 1,$get_flag_choices['flag-bg']); ?>/> Bulgarian</div>
|
2510 |
+
<div><input type="checkbox" name="flag_display_settings[flag-ca]" value="1" <?php checked( 1,$get_flag_choices['flag-ca']); ?>/> Catalan</div>
|
2511 |
+
<div><input type="checkbox" name="flag_display_settings[flag-ceb]" value="1" <?php checked( 1,$get_flag_choices['flag-ceb']); ?>/> Cebuano</div>
|
2512 |
+
<div><input type="checkbox" name="flag_display_settings[flag-zh-CN]" value="1" <?php checked( 1,$get_flag_choices['flag-zh-CN']); ?>/> Chinese</div>
|
2513 |
+
<div><input type="checkbox" name="flag_display_settings[flag-zh-TW]" value="1" <?php checked( 1,$get_flag_choices['flag-zh-TW']); ?>/> Chinese (Han)</div>
|
2514 |
+
<div><input type="checkbox" name="flag_display_settings[flag-hr]" value="1" <?php checked( 1,$get_flag_choices['flag-hr']); ?>/> Croatian</div>
|
2515 |
+
<div><input type="checkbox" name="flag_display_settings[flag-cs]" value="1" <?php checked( 1,$get_flag_choices['flag-cs']); ?>/> Czech</div>
|
2516 |
+
<div><input type="checkbox" name="flag_display_settings[flag-da]" value="1" <?php checked( 1,$get_flag_choices['flag-da']); ?>/> Danish</div>
|
2517 |
+
<div><input type="checkbox" name="flag_display_settings[flag-nl]" value="1" <?php checked( 1,$get_flag_choices['flag-nl']); ?>/> Dutch</div>
|
2518 |
+
<div><input type="checkbox" name="flag_display_settings[flag-en]" value="1" <?php checked(1,$get_flag_choices['flag-en']); ?>/> English</div>
|
2519 |
+
<div><input type="checkbox" name="flag_display_settings[flag-eo]" value="1" <?php checked( 1,$get_flag_choices['flag-eo']); ?>/> Esperanto</div>
|
2520 |
+
<div><input type="checkbox" name="flag_display_settings[flag-et]" value="1" <?php checked( 1,$get_flag_choices['flag-et']); ?>/> Estonian</div>
|
2521 |
+
</div>
|
2522 |
+
|
2523 |
+
<div class="flagdisplay" style="width:25%; float:left">
|
2524 |
+
<div><input type="checkbox" name="flag_display_settings[flag-tl]" value="1" <?php checked( 1,$get_flag_choices['flag-tl']); ?>/> Filipino</div>
|
2525 |
+
<div><input type="checkbox" name="flag_display_settings[flag-fi]" value="1" <?php checked( 1,$get_flag_choices['flag-fi']); ?>/> Finnish</div>
|
2526 |
+
<div><input type="checkbox" name="flag_display_settings[flag-fr]" value="1" <?php checked( 1,$get_flag_choices['flag-fr']); ?>/> French</div>
|
2527 |
+
<div><input type="checkbox" name="flag_display_settings[flag-gl]" value="1" <?php checked( 1,$get_flag_choices['flag-gl']); ?>/> Galician</div>
|
2528 |
+
<div><input type="checkbox" name="flag_display_settings[flag-ka]" value="1" <?php checked( 1,$get_flag_choices['flag-ka']); ?>/> Georgian</div>
|
2529 |
+
<div><input type="checkbox" name="flag_display_settings[flag-de]" value="1" <?php checked( 1,$get_flag_choices['flag-de']); ?>/> German</div>
|
2530 |
+
<div><input type="checkbox" name="flag_display_settings[flag-el]" value="1" <?php checked( 1,$get_flag_choices['flag-el']); ?>/> Greek</div>
|
2531 |
+
<div><input type="checkbox" name="flag_display_settings[flag-gu]" value="1" <?php checked( 1,$get_flag_choices['flag-gu']); ?>/> Gujarati</div>
|
2532 |
+
<div><input type="checkbox" name="flag_display_settings[flag-ht]" value="1" <?php checked( 1,$get_flag_choices['flag-ht']); ?>/> Haitian Creole</div>
|
2533 |
+
<div><input type="checkbox" name="flag_display_settings[flag-ha]" value="1" <?php checked( 1,$get_flag_choices['flag-ha']); ?>/> Hausa</div>
|
2534 |
+
<div><input type="checkbox" name="flag_display_settings[flag-iw]" value="1" <?php checked( 1,$get_flag_choices['flag-iw']); ?>/> Hebrew</div>
|
2535 |
+
<div><input type="checkbox" name="flag_display_settings[flag-hi]" value="1" <?php checked( 1,$get_flag_choices['flag-hi']); ?>/> Hindi</div>
|
2536 |
+
<div><input type="checkbox" name="flag_display_settings[flag-hmn]" value="1" <?php checked( 1,$get_flag_choices['flag-hmn']); ?>/> Hmong</div>
|
2537 |
+
<div><input type="checkbox" name="flag_display_settings[flag-hu]" value="1" <?php checked( 1,$get_flag_choices['flag-hu']); ?>/> Hungarian</div>
|
2538 |
+
<div><input type="checkbox" name="flag_display_settings[flag-is]" value="1" <?php checked( 1,$get_flag_choices['flag-is']); ?>/> Icelandic</div>
|
2539 |
+
<div><input type="checkbox" name="flag_display_settings[flag-ig]" value="1" <?php checked( 1,$get_flag_choices['flag-ig']); ?>/> Igbo</div>
|
2540 |
+
<div><input type="checkbox" name="flag_display_settings[flag-id]" value="1" <?php checked( 1,$get_flag_choices['flag-id']); ?>/> Indonesian</div>
|
2541 |
+
<div><input type="checkbox" name="flag_display_settings[flag-ga]" value="1" <?php checked( 1,$get_flag_choices['flag-ga']); ?>/> Irish</div>
|
2542 |
+
<div><input type="checkbox" name="flag_display_settings[flag-it]" value="1" <?php checked( 1,$get_flag_choices['flag-it']); ?>/> Italian</div>
|
2543 |
+
<div><input type="checkbox" name="flag_display_settings[flag-ja]" value="1" <?php checked( 1,$get_flag_choices['flag-ja']); ?>/> Japanese</div>
|
2544 |
+
<div><input type="checkbox" name="flag_display_settings[flag-jw]" value="1" <?php checked( 1,$get_flag_choices['flag-jw']); ?>/> Javanese</div>
|
2545 |
+
</div>
|
2546 |
+
|
2547 |
+
<div class="flagdisplay" style="width:25%; float:left">
|
2548 |
+
<div><input type="checkbox" name="flag_display_settings[flag-kn]" value="1" <?php checked( 1,$get_flag_choices['flag-kn']); ?>/> Kannada</div>
|
2549 |
+
<div><input type="checkbox" name="flag_display_settings[flag-km]" value="1" <?php checked( 1,$get_flag_choices['flag-km']); ?>/> Khmer</div>
|
2550 |
+
<div><input type="checkbox" name="flag_display_settings[flag-ko]" value="1" <?php checked( 1,$get_flag_choices['flag-ko']); ?>/> Korean</div>
|
2551 |
+
<div><input type="checkbox" name="flag_display_settings[flag-lo]" value="1" <?php checked( 1,$get_flag_choices['flag-lo']); ?>/> Lao</div>
|
2552 |
+
<div><input type="checkbox" name="flag_display_settings[flag-la]" value="1" <?php checked( 1,$get_flag_choices['flag-la']); ?>/> Latin</div>
|
2553 |
+
<div><input type="checkbox" name="flag_display_settings[flag-lv]" value="1" <?php checked( 1,$get_flag_choices['flag-lv']); ?>/> Latvian</div>
|
2554 |
+
<div><input type="checkbox" name="flag_display_settings[flag-lt]" value="1" <?php checked( 1,$get_flag_choices['flag-lt']); ?>/> Lithuanian</div>
|
2555 |
+
<div><input type="checkbox" name="flag_display_settings[flag-mk]" value="1" <?php checked( 1,$get_flag_choices['flag-mk']); ?>/> Macedonian</div>
|
2556 |
+
<div><input type="checkbox" name="flag_display_settings[flag-ms]" value="1" <?php checked( 1,$get_flag_choices['flag-ms']); ?>/> Malay</div>
|
2557 |
+
<div><input type="checkbox" name="flag_display_settings[flag-mt]" value="1" <?php checked( 1,$get_flag_choices['flag-mt']); ?>/> Maltese</div>
|
2558 |
+
<div><input type="checkbox" name="flag_display_settings[flag-mi]" value="1" <?php checked( 1,$get_flag_choices['flag-mi']); ?>/> Maori</div>
|
2559 |
+
<div><input type="checkbox" name="flag_display_settings[flag-mr]" value="1" <?php checked( 1,$get_flag_choices['flag-mr']); ?>/> Marathi</div>
|
2560 |
+
<div><input type="checkbox" name="flag_display_settings[flag-mn]" value="1" <?php checked( 1,$get_flag_choices['flag-mn']); ?>/> Mongolian</div>
|
2561 |
+
<div><input type="checkbox" name="flag_display_settings[flag-ne]" value="1" <?php checked( 1,$get_flag_choices['flag-ne']); ?>/> Nepali</div>
|
2562 |
+
<div><input type="checkbox" name="flag_display_settings[flag-no]" value="1" <?php checked( 1,$get_flag_choices['flag-no']); ?>/> Norwegian</div>
|
2563 |
+
<div><input type="checkbox" name="flag_display_settings[flag-fa]" value="1" <?php checked( 1,$get_flag_choices['flag-fa']); ?>/> Persian</div>
|
2564 |
+
<div><input type="checkbox" name="flag_display_settings[flag-pl]" value="1" <?php checked( 1,$get_flag_choices['flag-pl']); ?>/> Polish</div>
|
2565 |
+
<div><input type="checkbox" name="flag_display_settings[flag-pt]" value="1" <?php checked( 1,$get_flag_choices['flag-pt']); ?>/> Portuguese</div>
|
2566 |
+
<div><input type="checkbox" name="flag_display_settings[flag-pa]" value="1" <?php checked( 1,$get_flag_choices['flag-pa']); ?>/> Punjabi</div>
|
2567 |
+
<div><input type="checkbox" name="flag_display_settings[flag-ro]" value="1" <?php checked( 1,$get_flag_choices['flag-ro']); ?>/> Romanian</div>
|
2568 |
+
<div><input type="checkbox" name="flag_display_settings[flag-ru]" value="1" <?php checked( 1,$get_flag_choices['flag-ru']); ?>/> Russian</div>
|
2569 |
+
</div>
|
2570 |
+
|
2571 |
+
<div class="flagdisplay" style="width:25%; float:left">
|
2572 |
+
<div><input type="checkbox" name="flag_display_settings[flag-sr]" value="1" <?php checked( 1,$get_flag_choices['flag-sr']); ?>/> Serbian</div>
|
2573 |
+
<div><input type="checkbox" name="flag_display_settings[flag-sk]" value="1" <?php checked( 1,$get_flag_choices['flag-sk']); ?>/> Slovak</div>
|
2574 |
+
<div><input type="checkbox" name="flag_display_settings[flag-sl]" value="1" <?php checked( 1,$get_flag_choices['flag-sl']); ?>/> Slovenian</div>
|
2575 |
+
<div><input type="checkbox" name="flag_display_settings[flag-so]" value="1" <?php checked( 1,$get_flag_choices['flag-so']); ?>/> Somali</div>
|
2576 |
+
<div><input type="checkbox" name="flag_display_settings[flag-es]" value="1" <?php checked( 1,$get_flag_choices['flag-es']); ?>/> Spanish</div>
|
2577 |
+
<div><input type="checkbox" name="flag_display_settings[flag-sw]" value="1" <?php checked( 1,$get_flag_choices['flag-sw']); ?>/> Swahili</div>
|
2578 |
+
<div><input type="checkbox" name="flag_display_settings[flag-sv]" value="1" <?php checked( 1,$get_flag_choices['flag-sv']); ?>/> Swedish</div>
|
2579 |
+
<div><input type="checkbox" name="flag_display_settings[flag-ta]" value="1" <?php checked( 1,$get_flag_choices['flag-ta']); ?>/> Tamil</div>
|
2580 |
+
<div><input type="checkbox" name="flag_display_settings[flag-te]" value="1" <?php checked( 1,$get_flag_choices['flag-te']); ?>/> Telugu</div>
|
2581 |
+
<div><input type="checkbox" name="flag_display_settings[flag-th]" value="1" <?php checked( 1,$get_flag_choices['flag-th']); ?>/> Thai</div>
|
2582 |
+
<div><input type="checkbox" name="flag_display_settings[flag-tr]" value="1" <?php checked( 1,$get_flag_choices['flag-tr']); ?>/> Turkish</div>
|
2583 |
+
<div><input type="checkbox" name="flag_display_settings[flag-uk]" value="1" <?php checked( 1,$get_flag_choices['flag-uk']); ?>/> Ukranian</div>
|
2584 |
+
<div><input type="checkbox" name="flag_display_settings[flag-ur]" value="1" <?php checked( 1,$get_flag_choices['flag-ur']); ?>/> Urdu</div>
|
2585 |
+
<div><input type="checkbox" name="flag_display_settings[flag-vi]" value="1" <?php checked( 1,$get_flag_choices['flag-vi']); ?>/> Vietnamese</div>
|
2586 |
+
<div><input type="checkbox" name="flag_display_settings[flag-cy]" value="1" <?php checked( 1,$get_flag_choices['flag-cy']); ?>/> Welsh</div>
|
2587 |
+
<div><input type="checkbox" name="flag_display_settings[flag-yi]" value="1" <?php checked( 1,$get_flag_choices['flag-yi']); ?>/> Yiddish</div>
|
2588 |
+
<div><input type="checkbox" name="flag_display_settings[flag-yo]" value="1" <?php checked( 1,$get_flag_choices['flag-yo']); ?>/> Yoruba</div>
|
2589 |
+
<div><input type="checkbox" name="flag_display_settings[flag-zu]" value="1" <?php checked( 1,$get_flag_choices['flag-zu']); ?>/> Zulu</div>
|
2590 |
+
|
2591 |
+
</div>
|
2592 |
+
<div style="clear:both"></div>
|
2593 |
+
<?php }
|
2594 |
+
|
2595 |
+
public function googlelanguagetranslator_floating_widget_cb() {
|
2596 |
+
|
2597 |
+
$option_name = 'googlelanguagetranslator_floating_widget' ;
|
2598 |
+
$new_value = 'yes';
|
2599 |
+
|
2600 |
+
if ( get_option( $option_name ) === false ) {
|
2601 |
+
|
2602 |
+
// The option does not exist, so we update it.
|
2603 |
+
update_option( $option_name, $new_value );
|
2604 |
+
}
|
2605 |
+
|
2606 |
+
$options = get_option (''.$option_name.''); ?>
|
2607 |
+
|
2608 |
+
<select name="googlelanguagetranslator_floating_widget" id="googlelanguagetranslator_floating_widget" style="width:170px">
|
2609 |
+
<option value="yes" <?php if($options=='yes'){echo "selected";}?>>Yes, show widget</option>
|
2610 |
+
<option value="no" <?php if($options=='no'){echo "selected";}?>>No, hide widget</option>
|
2611 |
+
</select>
|
2612 |
+
<?php }
|
2613 |
+
|
2614 |
+
public function googlelanguagetranslator_translatebox_cb() {
|
2615 |
+
|
2616 |
+
$option_name = 'googlelanguagetranslator_translatebox' ;
|
2617 |
+
$new_value = 'yes';
|
2618 |
+
|
2619 |
+
if ( get_option( $option_name ) === false ) {
|
2620 |
+
|
2621 |
+
// The option does not exist, so we update it.
|
2622 |
+
update_option( $option_name, $new_value );
|
2623 |
+
}
|
2624 |
+
|
2625 |
+
$options = get_option (''.$option_name.''); ?>
|
2626 |
+
|
2627 |
+
<select name="googlelanguagetranslator_translatebox" id="googlelanguagetranslator_translatebox" style="width:190px">
|
2628 |
+
<option value="yes" <?php if($options=='yes'){echo "selected";}?>>Yes, show language box</option>
|
2629 |
+
<option value="no" <?php if($options=='no'){echo "selected";}?>>No, hide language box</option>
|
2630 |
+
</select>
|
2631 |
+
<?php }
|
2632 |
+
|
2633 |
+
public function googlelanguagetranslator_display_cb() {
|
2634 |
+
|
2635 |
+
$option_name = 'googlelanguagetranslator_display' ;
|
2636 |
+
$new_value = 'Vertical';
|
2637 |
+
|
2638 |
+
if ( get_option( $option_name ) === false ) {
|
2639 |
+
|
2640 |
+
// The option does not exist, so we update it.
|
2641 |
+
update_option( $option_name, $new_value );
|
2642 |
+
}
|
2643 |
+
|
2644 |
+
$options = get_option (''.$option_name.''); ?>
|
2645 |
+
|
2646 |
+
<select name="googlelanguagetranslator_display" id="googlelanguagetranslator_display" style="width:170px;">
|
2647 |
+
<option value="Vertical" <?php if(get_option('googlelanguagetranslator_display')=='Vertical'){echo "selected";}?>>Vertical</option>
|
2648 |
+
<option value="Horizontal" <?php if(get_option('googlelanguagetranslator_display')=='Horizontal'){echo "selected";}?>>Horizontal</option>
|
2649 |
+
</select>
|
2650 |
+
<?php }
|
2651 |
+
|
2652 |
+
public function googlelanguagetranslator_toolbar_cb() {
|
2653 |
+
|
2654 |
+
$option_name = 'googlelanguagetranslator_toolbar' ;
|
2655 |
+
$new_value = 'Yes';
|
2656 |
+
|
2657 |
+
if ( get_option( $option_name ) === false ) {
|
2658 |
+
|
2659 |
+
// The option does not exist, so we update it.
|
2660 |
+
update_option( $option_name, $new_value );
|
2661 |
+
}
|
2662 |
+
|
2663 |
+
$options = get_option (''.$option_name.''); ?>
|
2664 |
+
|
2665 |
+
<select name="googlelanguagetranslator_toolbar" id="googlelanguagetranslator_toolbar" style="width:170px;">
|
2666 |
+
<option value="Yes" <?php if(get_option('googlelanguagetranslator_toolbar')=='Yes'){echo "selected";}?>>Yes</option>
|
2667 |
+
<option value="No" <?php if(get_option('googlelanguagetranslator_toolbar')=='No'){echo "selected";}?>>No</option>
|
2668 |
+
</select>
|
2669 |
+
<?php }
|
2670 |
+
|
2671 |
+
public function googlelanguagetranslator_showbranding_cb() {
|
2672 |
+
|
2673 |
+
$option_name = 'googlelanguagetranslator_showbranding' ;
|
2674 |
+
$new_value = 'Yes';
|
2675 |
+
|
2676 |
+
if ( get_option( $option_name ) === false ) {
|
2677 |
+
|
2678 |
+
// The option does not exist, so we update it.
|
2679 |
+
update_option( $option_name, $new_value );
|
2680 |
+
}
|
2681 |
+
|
2682 |
+
$options = get_option (''.$option_name.''); ?>
|
2683 |
+
|
2684 |
+
<select name="googlelanguagetranslator_showbranding" id="googlelanguagetranslator_showbranding" style="width:170px;">
|
2685 |
+
<option value="Yes" <?php if(get_option('googlelanguagetranslator_showbranding')=='Yes'){echo "selected";}?>>Yes</option>
|
2686 |
+
<option value="No" <?php if(get_option('googlelanguagetranslator_showbranding')=='No'){echo "selected";}?>>No</option>
|
2687 |
+
</select>
|
2688 |
+
<?php }
|
2689 |
+
|
2690 |
+
public function googlelanguagetranslator_flags_alignment_cb() {
|
2691 |
+
|
2692 |
+
$option_name = 'googlelanguagetranslator_flags_alignment' ;
|
2693 |
+
$new_value = 'flags_left';
|
2694 |
+
|
2695 |
+
if ( get_option( $option_name ) === false ) {
|
2696 |
+
|
2697 |
+
// The option does not exist, so we update it.
|
2698 |
+
update_option( $option_name, 'flags_left' );
|
2699 |
+
}
|
2700 |
+
|
2701 |
+
$options = get_option (''.$option_name.''); ?>
|
2702 |
+
|
2703 |
+
<input type="radio" name="googlelanguagetranslator_flags_alignment" id="flags_left" value="flags_left" <?php if($options=='flags_left'){echo "checked";}?>/> Align Left<br/>
|
2704 |
+
<input type="radio" name="googlelanguagetranslator_flags_alignment" id="flags_right" value="flags_right" <?php if($options=='flags_right'){echo "checked";}?>/> Align Right
|
2705 |
+
<?php }
|
2706 |
+
|
2707 |
+
public function googlelanguagetranslator_analytics_cb() {
|
2708 |
+
|
2709 |
+
$option_name = 'googlelanguagetranslator_analytics' ;
|
2710 |
+
$new_value = 0;
|
2711 |
+
|
2712 |
+
if ( get_option( $option_name ) === false ) {
|
2713 |
+
|
2714 |
+
// The option does not exist, so we update it.
|
2715 |
+
update_option( $option_name, $new_value );
|
2716 |
+
}
|
2717 |
+
|
2718 |
+
$options = get_option (''.$option_name.'');
|
2719 |
+
|
2720 |
+
$html = '<input type="checkbox" name="googlelanguagetranslator_analytics" id="googlelanguagetranslator_analytics" value="1" '.checked(1,$options,false).'/> Activate Google Analytics tracking?';
|
2721 |
+
echo $html;
|
2722 |
+
}
|
2723 |
+
|
2724 |
+
public function googlelanguagetranslator_analytics_id_cb() {
|
2725 |
+
|
2726 |
+
$option_name = 'googlelanguagetranslator_analytics_id' ;
|
2727 |
+
$new_value = '';
|
2728 |
+
|
2729 |
+
if ( get_option( $option_name ) === false ) {
|
2730 |
+
|
2731 |
+
// The option does not exist, so we update it.
|
2732 |
+
update_option( $option_name, $new_value );
|
2733 |
+
}
|
2734 |
+
|
2735 |
+
$options = get_option (''.$option_name.'');
|
2736 |
+
|
2737 |
+
$html = '<input type="text" name="googlelanguagetranslator_analytics_id" id="googlelanguagetranslator_analytics_id" value="'.$options.'" />';
|
2738 |
+
echo $html;
|
2739 |
+
}
|
2740 |
+
|
2741 |
+
public function googlelanguagetranslator_css_cb() {
|
2742 |
+
|
2743 |
+
$option_name = 'googlelanguagetranslator_css' ;
|
2744 |
+
$new_value = '';
|
2745 |
+
|
2746 |
+
if ( get_option( $option_name ) === false ) {
|
2747 |
+
|
2748 |
+
// The option does not exist, so we update it.
|
2749 |
+
update_option( $option_name, $new_value );
|
2750 |
+
}
|
2751 |
+
|
2752 |
+
$options = get_option (''.$option_name.'');
|
2753 |
+
|
2754 |
+
$html = '<textarea style="width:100%; height:200px" name="googlelanguagetranslator_css" id="googlelanguagetranslator_css">'.$options.'</textarea>';
|
2755 |
+
echo $html;
|
2756 |
+
}
|
2757 |
+
|
2758 |
+
public function googlelanguagetranslator_manage_translations_cb() {
|
2759 |
+
$option_name = 'googlelanguagetranslator_manage_translations' ;
|
2760 |
+
$new_value = 0;
|
2761 |
+
|
2762 |
+
if ( get_option( $option_name ) === false ) {
|
2763 |
+
|
2764 |
+
// The option does not exist, so we update it.
|
2765 |
+
update_option( $option_name, $new_value );
|
2766 |
+
}
|
2767 |
+
|
2768 |
+
$options = get_option (''.$option_name.'');
|
2769 |
+
|
2770 |
+
$html = '<input type="checkbox" name="googlelanguagetranslator_manage_translations" id="googlelanguagetranslator_manage_translations" value="1" '.checked(1,$options,false).'/> Turn on translation management?';
|
2771 |
+
echo $html;
|
2772 |
+
}
|
2773 |
+
|
2774 |
+
public function googlelanguagetranslator_multilanguage_cb() {
|
2775 |
+
|
2776 |
+
$option_name = 'googlelanguagetranslator_multilanguage' ;
|
2777 |
+
$new_value = 0;
|
2778 |
+
|
2779 |
+
if ( get_option( $option_name ) === false ) {
|
2780 |
+
|
2781 |
+
// The option does not exist, so we update it.
|
2782 |
+
update_option( $option_name, $new_value );
|
2783 |
+
}
|
2784 |
+
|
2785 |
+
$options = get_option (''.$option_name.'');
|
2786 |
+
|
2787 |
+
$html = '<input type="checkbox" name="googlelanguagetranslator_multilanguage" id="googlelanguagetranslator_multilanguage" value="1" '.checked(1,$options,false).'/> Turn on multilanguage mode?';
|
2788 |
+
echo $html;
|
2789 |
+
}
|
2790 |
+
|
2791 |
+
public function page_layout_cb() { ?>
|
2792 |
+
<div class="wrap">
|
2793 |
+
<div id="icon-options-general" class="icon32"></div>
|
2794 |
+
<h2><span class="notranslate">Google Language Translator</span></h2>
|
2795 |
+
<form action="<?php echo admin_url('options.php'); ?>" method="post">
|
2796 |
+
<div class="metabox-holder has-right-sidebar" style="float:left; width:65%">
|
2797 |
+
<div class="postbox" style="width: 100%">
|
2798 |
+
<h3 class="notranslate">Settings</h3>
|
2799 |
+
|
2800 |
+
<?php settings_fields('google_language_translator'); ?>
|
2801 |
+
<table style="border-collapse:separate" width="100%" border="0" cellspacing="8" cellpadding="0" class="form-table">
|
2802 |
+
<tr>
|
2803 |
+
<td style="width:60%" class="notranslate">Plugin Status:</td>
|
2804 |
+
<td class="notranslate"><?php $this->googlelanguagetranslator_active_cb(); ?></td>
|
2805 |
+
</tr>
|
2806 |
+
|
2807 |
+
<tr class="notranslate">
|
2808 |
+
<td>Choose the original language of your website</td>
|
2809 |
+
<td><?php $this->googlelanguagetranslator_language_cb(); ?></td>
|
2810 |
+
</tr>
|
2811 |
+
|
2812 |
+
<tr class="notranslate">
|
2813 |
+
<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>
|
2814 |
+
<td><?php $this->googlelanguagetranslator_language_option_cb(); ?></td>
|
2815 |
+
</tr>
|
2816 |
+
|
2817 |
+
<tr class="notranslate">
|
2818 |
+
<td colspan="2"><?php $this->language_display_settings_cb(); ?></td>
|
2819 |
+
</tr>
|
2820 |
+
|
2821 |
+
<tr class="notranslate">
|
2822 |
+
<td class="choose_flags_intro">Show flag images?<br/>(Display up to 81 flags above the translator)</td>
|
2823 |
+
<td class="choose_flags_intro"><?php $this->googlelanguagetranslator_flags_cb(); ?></td>
|
2824 |
+
</tr>
|
2825 |
+
|
2826 |
+
<tr class="notranslate">
|
2827 |
+
<td class="choose_flags">Choose the flags you want to display:</td>
|
2828 |
+
<td></td>
|
2829 |
+
</tr>
|
2830 |
+
|
2831 |
+
<tr class="notranslate">
|
2832 |
+
<td colspan="2" class="choose_flags"><?php $this->flag_display_settings_cb(); ?></td>
|
2833 |
+
</tr>
|
2834 |
+
|
2835 |
+
<tr class="notranslate">
|
2836 |
+
<td>Show floating translation widget? <strong style="color:red">(New!)</strong><br/>
|
2837 |
+
<span>("All Languages" option <strong><u>must</u></strong> be chosen to show widget.)</span>
|
2838 |
+
</td>
|
2839 |
+
<td><?php $this->googlelanguagetranslator_floating_widget_cb(); ?></td>
|
2840 |
+
</tr>
|
2841 |
+
|
2842 |
+
<tr class="notranslate">
|
2843 |
+
<td>Show translate box?</td>
|
2844 |
+
<td><?php $this->googlelanguagetranslator_translatebox_cb(); ?></td>
|
2845 |
+
</tr>
|
2846 |
+
|
2847 |
+
<tr class="notranslate">
|
2848 |
+
<td>Layout options:</td>
|
2849 |
+
<td><?php $this->googlelanguagetranslator_display_cb(); ?></td>
|
2850 |
+
</tr>
|
2851 |
+
|
2852 |
+
<tr class="notranslate">
|
2853 |
+
<td>Show Google Toolbar?</td>
|
2854 |
+
<td><?php $this->googlelanguagetranslator_toolbar_cb(); ?></td>
|
2855 |
+
</tr>
|
2856 |
+
|
2857 |
+
<tr class="notranslate">
|
2858 |
+
<td>Show Google Branding?<br/>
|
2859 |
+
<span>(<a href="https://developers.google.com/translate/v2/attribution" target="_blank">Learn more</a> about Google's Attribution Requirements.)</span>
|
2860 |
+
</td>
|
2861 |
+
<td><?php $this->googlelanguagetranslator_showbranding_cb(); ?></td>
|
2862 |
+
</tr>
|
2863 |
+
|
2864 |
+
<tr class="alignment notranslate">
|
2865 |
+
<td class="flagdisplay">Align the translator left or right?</td>
|
2866 |
+
<td class="flagdisplay"><?php $this->googlelanguagetranslator_flags_alignment_cb(); ?></td>
|
2867 |
+
</tr>
|
2868 |
+
|
2869 |
+
<tr class="manage_translations notranslate">
|
2870 |
+
<td>Turn on translation management?<br/>(Managed directly through your Google account. Requires <a href="http://translate.google.com/manager/website/settings" target="_blank">Google Translate</a> meta tag installed in header.)</td>
|
2871 |
+
<td><?php $this->googlelanguagetranslator_manage_translations_cb(); ?></td>
|
2872 |
+
</tr>
|
2873 |
+
|
2874 |
+
<tr class="multilanguage notranslate">
|
2875 |
+
<td>Multilanguage Page Option?: (<em>not recommended)</em><br/>(If checked, a "forced" translation of your webpage will be served when returned to the default language, instead of delivering original content.)</td>
|
2876 |
+
<td><?php $this->googlelanguagetranslator_multilanguage_cb(); ?></td>
|
2877 |
+
</tr>
|
2878 |
+
|
2879 |
+
<tr class="notranslate">
|
2880 |
+
<td>Google Analytics:</td>
|
2881 |
+
<td><?php $this->googlelanguagetranslator_analytics_cb(); ?></td>
|
2882 |
+
</tr>
|
2883 |
+
|
2884 |
+
<tr class="analytics notranslate">
|
2885 |
+
<td>Google Analytics ID (Ex. 'UA-11117410-2')</td>
|
2886 |
+
<td><?php $this->googlelanguagetranslator_analytics_id_cb(); ?></td>
|
2887 |
+
</tr>
|
2888 |
+
|
2889 |
+
<tr class="notranslate">
|
2890 |
+
<td>Copy/Paste this shortcode if adding to pages/posts:</td>
|
2891 |
+
<td>[google-translator]</td>
|
2892 |
+
</tr>
|
2893 |
+
</table>
|
2894 |
+
|
2895 |
+
<table style="border-collapse:separate" width="100%" border="0" cellspacing="8" cellpadding="0" class="form-table">
|
2896 |
+
<tr class="notranslate">
|
2897 |
+
<td>Copy/Paste this code if adding to header/footer:</td>
|
2898 |
+
<td><?php echo do_shortcode('[google-translator]'); ?></td>
|
2899 |
+
</tr>
|
2900 |
+
|
2901 |
+
<tr class="notranslate">
|
2902 |
+
<td><?php submit_button(); ?></td>
|
2903 |
+
<td></td>
|
2904 |
+
</tr>
|
2905 |
+
</table>
|
2906 |
+
|
2907 |
+
</div> <!-- .postbox -->
|
2908 |
+
</div> <!-- .metbox-holder -->
|
2909 |
+
|
2910 |
+
<div class="metabox-holder" style="float:right; clear:right; width:33%">
|
2911 |
+
<div class="postbox">
|
2912 |
+
<h3 class="notranslate">Preview</h3>
|
2913 |
+
<table style="width:100%">
|
2914 |
+
<tr>
|
2915 |
+
<td style="height:80px; box-sizing:border-box; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; padding:15px 15px; margin:0px"><?php echo do_shortcode('[google-translator]'); ?><p class="hello"><span class="notranslate">Translated text:</span> <span>Hello</span></p></td>
|
2916 |
+
</tr>
|
2917 |
+
</table>
|
2918 |
+
</div> <!-- .postbox -->
|
2919 |
+
</div> <!-- .metabox-holder -->
|
2920 |
+
|
2921 |
+
|
2922 |
+
<div class="metabox-holder notranslate" style="float: right; width: 33%;">
|
2923 |
+
<div class="postbox">
|
2924 |
+
<h3>Add CSS Styles</h3>
|
2925 |
+
<div class="inside">
|
2926 |
+
<p>You can apply any necessary CSS styles below:</p>
|
2927 |
+
<?php $this->googlelanguagetranslator_css_cb(); ?>
|
2928 |
+
</div>
|
2929 |
+
</div>
|
2930 |
+
</div>
|
2931 |
+
</form>
|
2932 |
+
|
2933 |
+
<div class="metabox-holder notranslate" style="float: right; width: 33%;">
|
2934 |
+
<div class="postbox">
|
2935 |
+
<h3>GLT Premium is Here! $12</h3>
|
2936 |
+
<div class="inside"><a href="http://www.wp-studio.net/" target="_blank"><img style="background:#444; border-radius:3px; -webkit-border-radius:3px; -moz-border-radius:3px" src="<?php echo plugins_url('google-language-translator/images/logo.png'); ?>"></a><br />
|
2937 |
+
<ul id="features">
|
2938 |
+
<li>Get more design and functionality options</li>
|
2939 |
+
<li>Loads directly with page content, not afterward</li>
|
2940 |
+
<li>jQuery-powered "Elegant" theme to engage your visitors</li>
|
2941 |
+
<li>Manage your website's translations</li>
|
2942 |
+
<li>Show or hide any features you want</li>
|
2943 |
+
<li>Full access to our support forum</li>
|
2944 |
+
<li>Full access to future updates, for life of the plugin</li>
|
2945 |
+
</ul>
|
2946 |
+
</div>
|
2947 |
+
</div>
|
2948 |
+
</div>
|
2949 |
+
|
2950 |
+
<div class="metabox-holder notranslate" style="float: right; width: 33%;">
|
2951 |
+
<div class="postbox">
|
2952 |
+
<h3>Please Consider A Donation</h3>
|
2953 |
+
<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 />
|
2954 |
+
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
2955 |
+
<input type="hidden" name="cmd" value="_donations">
|
2956 |
+
<input type="hidden" name="business" value="robertmyrick@hotmail.com">
|
2957 |
+
<input type="hidden" name="lc" value="US">
|
2958 |
+
<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!">
|
2959 |
+
<input type="hidden" name="no_note" value="0">
|
2960 |
+
<input type="hidden" name="currency_code" value="USD">
|
2961 |
+
<input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHostedGuest">
|
2962 |
+
<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!">
|
2963 |
+
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
|
2964 |
+
</form>
|
2965 |
+
<br />
|
2966 |
+
<br />
|
2967 |
+
</div>
|
2968 |
+
</div>
|
2969 |
+
</div>
|
2970 |
+
</div> <!-- .wrap -->
|
2971 |
+
<?php
|
2972 |
+
}
|
2973 |
+
}
|
2974 |
+
|
2975 |
+
$google_language_translator = new google_language_translator();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Plugin link: http://www.studio88design.com/plugins/google-language-translator
|
|
5 |
Tags: language translator, google translator, language translate, google, google language translator, translation, translate, multi language
|
6 |
Requires at least: 2.9
|
7 |
Tested up to: 3.8.1
|
8 |
-
stable tag: 3.0.
|
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 |
|
@@ -22,10 +22,16 @@ Settings include: inline or vertical layout, show/hide specific languages, hide/
|
|
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 |
== Changelog ==
|
28 |
|
|
|
|
|
|
|
|
|
|
|
29 |
3.0.8
|
30 |
|
31 |
- Added 9 new languages into the plugin (Hausa, Igbo, Maori, Mongolian, Nepali, Punjabi, Somali, Yoruba, Zulu).
|
5 |
Tags: language translator, google translator, language translate, google, google language translator, translation, translate, multi language
|
6 |
Requires at least: 2.9
|
7 |
Tested up to: 3.8.1
|
8 |
+
stable tag: 3.0.9
|
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 |
|
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 |
+
|
26 |
== Frequently Asked Questions ==
|
27 |
|
28 |
== Changelog ==
|
29 |
|
30 |
+
3.0.9
|
31 |
+
|
32 |
+
- Added a title field to the Google Language Translator widget.
|
33 |
+
- Removed "unexpected text characters" error upon activation (due to error in activation hook).
|
34 |
+
|
35 |
3.0.8
|
36 |
|
37 |
- Added 9 new languages into the plugin (Hausa, Igbo, Maori, Mongolian, Nepali, Punjabi, Somali, Yoruba, Zulu).
|
widget.php
CHANGED
@@ -1,53 +1,51 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class glt_widget extends WP_Widget {
|
4 |
-
|
5 |
-
function __construct() {
|
6 |
-
parent::__construct(
|
7 |
-
'glt_widget', // Base ID
|
8 |
-
__('Google Language Translator', 'text_domain'), // Name
|
9 |
-
array( 'description' => __( 'Add the Google Language Translator website tool.', 'text_domain' ), )
|
10 |
-
);
|
11 |
-
}
|
12 |
-
|
13 |
-
public function widget( $args, $instance ) {
|
14 |
-
$title = apply_filters( 'widget_title', $instance['title'] );
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
<
|
34 |
-
<
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
$instance =
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
register_widget( 'glt_widget' );
|
52 |
-
}
|
53 |
add_action( 'widgets_init', 'register_foo_widget' );
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class glt_widget extends WP_Widget {
|
4 |
+
|
5 |
+
function __construct() {
|
6 |
+
parent::__construct(
|
7 |
+
'glt_widget', // Base ID
|
8 |
+
__('Google Language Translator', 'text_domain'), // Name
|
9 |
+
array( 'description' => __( 'Add the Google Language Translator website tool.', 'text_domain' ), )
|
10 |
+
);
|
11 |
+
}
|
12 |
+
|
13 |
+
public function widget( $args, $instance ) {
|
14 |
+
$title = apply_filters( 'widget_title', $instance['title'] );
|
15 |
+
echo $args['before_widget'];
|
16 |
+
if ( ! empty( $title ) )
|
17 |
+
echo $args['before_title'] . $title . $args['after_title'];
|
18 |
+
$google_language_translator_class = new google_language_translator();
|
19 |
+
$glt_shortcode = $google_language_translator_class->google_translator_shortcode();
|
20 |
+
echo $glt_shortcode;
|
21 |
+
echo $args['after_widget'];
|
22 |
+
}
|
23 |
+
|
24 |
+
public function form( $instance ) {
|
25 |
+
if ( isset( $instance[ 'title' ] ) ) {
|
26 |
+
$title = $instance[ 'title' ];
|
27 |
+
}
|
28 |
+
else {
|
29 |
+
$title = __( 'Translate:', 'text_domain' );
|
30 |
+
}
|
31 |
+
?>
|
32 |
+
<p>
|
33 |
+
<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:' ); ?></label>
|
34 |
+
<input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>">
|
35 |
+
</p>
|
36 |
+
<?php
|
37 |
+
}
|
38 |
+
|
39 |
+
public function update( $new_instance, $old_instance ) {
|
40 |
+
$instance = array();
|
41 |
+
$instance['title'] = ( ! empty( $new_instance['title'] ) ) ? strip_tags( $new_instance['title'] ) : '';
|
42 |
+
|
43 |
+
return $instance;
|
44 |
+
}
|
45 |
+
|
46 |
+
} // class glt_widget
|
47 |
+
|
48 |
+
function register_foo_widget() {
|
49 |
+
register_widget( 'glt_widget' );
|
50 |
+
}
|
|
|
|
|
51 |
add_action( 'widgets_init', 'register_foo_widget' );
|