Simple Social Media Share Buttons – Social Sharing for Everyone - Version 1.5.1

Version Description

Download this release

Release Info

Developer xradar
Plugin Icon 128x128 Simple Social Media Share Buttons – Social Sharing for Everyone
Version 1.5.1
Comparing to
See all releases

Code changes from version 1.5 to 1.5.1

Files changed (132) hide show
  1. tags/1.0/lang/simplesocialbuttons-pl_PL.mo +0 -0
  2. tags/1.0/lang/simplesocialbuttons-pl_PL.po +182 -0
  3. tags/1.0/readme.txt +77 -0
  4. screenshot-1.png → tags/1.0/screenshot-1.png +0 -0
  5. screenshot-2.png → tags/1.0/screenshot-2.png +0 -0
  6. screenshot-3.jpg → tags/1.0/screenshot-3.jpg +0 -0
  7. tags/1.0/simple-social-buttons.php +222 -0
  8. tags/1.0/ssb-admin.php +188 -0
  9. tags/1.0/uninstall.php +23 -0
  10. tags/1.1/lang/simplesocialbuttons-fr_FR.mo +0 -0
  11. tags/1.1/lang/simplesocialbuttons-fr_FR.po +184 -0
  12. tags/1.1/lang/simplesocialbuttons-pl_PL.mo +0 -0
  13. tags/1.1/lang/simplesocialbuttons-pl_PL.po +182 -0
  14. tags/1.1/readme.txt +81 -0
  15. tags/1.1/screenshot-1.png +0 -0
  16. tags/1.1/screenshot-2.png +0 -0
  17. tags/1.1/screenshot-3.jpg +0 -0
  18. tags/1.1/simple-social-buttons.php +230 -0
  19. tags/1.1/ssb-admin.php +188 -0
  20. tags/1.1/uninstall.php +23 -0
  21. tags/1.2/lang/simplesocialbuttons-fr_FR.mo +0 -0
  22. tags/1.2/lang/simplesocialbuttons-fr_FR.po +184 -0
  23. tags/1.2/lang/simplesocialbuttons-pl_PL.mo +0 -0
  24. tags/1.2/lang/simplesocialbuttons-pl_PL.po +182 -0
  25. tags/1.2/readme.txt +81 -0
  26. tags/1.2/screenshot-1.png +0 -0
  27. tags/1.2/screenshot-2.png +0 -0
  28. tags/1.2/screenshot-3.jpg +0 -0
  29. tags/1.2/simple-social-buttons.php +230 -0
  30. tags/1.2/ssb-admin.php +188 -0
  31. tags/1.2/uninstall.php +23 -0
  32. tags/1.3/lang/simplesocialbuttons-fr_FR.mo +0 -0
  33. tags/1.3/lang/simplesocialbuttons-fr_FR.po +184 -0
  34. tags/1.3/lang/simplesocialbuttons-pl_PL.mo +0 -0
  35. tags/1.3/lang/simplesocialbuttons-pl_PL.po +192 -0
  36. tags/1.3/readme.txt +100 -0
  37. tags/1.3/screenshot-1.png +0 -0
  38. tags/1.3/screenshot-2.png +0 -0
  39. tags/1.3/screenshot-3.jpg +0 -0
  40. tags/1.3/simple-social-buttons.php +411 -0
  41. tags/1.3/ssb-admin.php +208 -0
  42. tags/1.3/uninstall.php +23 -0
  43. {lang → tags/1.4.1/lang}/simplesocialbuttons-de_DE.mo +0 -0
  44. {lang → tags/1.4.1/lang}/simplesocialbuttons-de_DE.po +0 -0
  45. {lang → tags/1.4.1/lang}/simplesocialbuttons-es_ES.mo +0 -0
  46. {lang → tags/1.4.1/lang}/simplesocialbuttons-es_ES.po +0 -0
  47. {lang → tags/1.4.1/lang}/simplesocialbuttons-fr_FR.mo +0 -0
  48. {lang → tags/1.4.1/lang}/simplesocialbuttons-fr_FR.po +0 -0
  49. {lang → tags/1.4.1/lang}/simplesocialbuttons-pl_PL.mo +0 -0
  50. {lang → tags/1.4.1/lang}/simplesocialbuttons-pl_PL.po +0 -0
  51. tags/1.4.1/readme.txt +126 -0
  52. tags/1.4.1/screenshot-1.png +0 -0
  53. tags/1.4.1/screenshot-2.png +0 -0
  54. tags/1.4.1/screenshot-3.jpg +0 -0
  55. screenshot-4.png → tags/1.4.1/screenshot-4.png +0 -0
  56. tags/1.4.1/simple-social-buttons.php +537 -0
  57. tags/1.4.1/ssb-admin.php +208 -0
  58. tags/1.4.2/lang/simplesocialbuttons-de_DE.mo +0 -0
  59. tags/1.4.2/lang/simplesocialbuttons-de_DE.po +204 -0
  60. tags/1.4.2/lang/simplesocialbuttons-es_ES.mo +0 -0
  61. tags/1.4.2/lang/simplesocialbuttons-es_ES.po +203 -0
  62. tags/1.4.2/lang/simplesocialbuttons-fr_FR.mo +0 -0
  63. tags/1.4.2/lang/simplesocialbuttons-fr_FR.po +204 -0
  64. tags/1.4.2/lang/simplesocialbuttons-pl_PL.mo +0 -0
  65. tags/1.4.2/lang/simplesocialbuttons-pl_PL.po +200 -0
  66. tags/1.4.2/readme.txt +126 -0
  67. tags/1.4.2/screenshot-1.png +0 -0
  68. tags/1.4.2/screenshot-2.png +0 -0
  69. tags/1.4.2/screenshot-3.jpg +0 -0
  70. tags/1.4.2/screenshot-4.png +0 -0
  71. tags/1.4.2/simple-social-buttons.php +537 -0
  72. tags/1.4.2/ssb-admin.php +208 -0
  73. tags/1.4.3/lang/simplesocialbuttons-de_DE.mo +0 -0
  74. tags/1.4.3/lang/simplesocialbuttons-de_DE.po +204 -0
  75. tags/1.4.3/lang/simplesocialbuttons-es_ES.mo +0 -0
  76. tags/1.4.3/lang/simplesocialbuttons-es_ES.po +203 -0
  77. tags/1.4.3/lang/simplesocialbuttons-fr_FR.mo +0 -0
  78. tags/1.4.3/lang/simplesocialbuttons-fr_FR.po +204 -0
  79. tags/1.4.3/lang/simplesocialbuttons-pl_PL.mo +0 -0
  80. tags/1.4.3/lang/simplesocialbuttons-pl_PL.po +200 -0
  81. tags/1.4.3/readme.txt +126 -0
  82. tags/1.4.3/screenshot-1.png +0 -0
  83. tags/1.4.3/screenshot-2.png +0 -0
  84. tags/1.4.3/screenshot-3.jpg +0 -0
  85. tags/1.4.3/screenshot-4.png +0 -0
  86. tags/1.4.3/simple-social-buttons.php +537 -0
  87. tags/1.4.3/ssb-admin.php +208 -0
  88. tags/1.4/lang/simplesocialbuttons-de_DE.mo +0 -0
  89. tags/1.4/lang/simplesocialbuttons-de_DE.po +204 -0
  90. tags/1.4/lang/simplesocialbuttons-es_ES.mo +0 -0
  91. tags/1.4/lang/simplesocialbuttons-es_ES.po +203 -0
  92. tags/1.4/lang/simplesocialbuttons-fr_FR.mo +0 -0
  93. tags/1.4/lang/simplesocialbuttons-fr_FR.po +204 -0
  94. tags/1.4/lang/simplesocialbuttons-pl_PL.mo +0 -0
  95. tags/1.4/lang/simplesocialbuttons-pl_PL.po +200 -0
  96. tags/1.4/readme.txt +126 -0
  97. tags/1.4/screenshot-1.png +0 -0
  98. tags/1.4/screenshot-2.png +0 -0
  99. tags/1.4/screenshot-3.jpg +0 -0
  100. tags/1.4/screenshot-4.png +0 -0
  101. tags/1.4/simple-social-buttons.php +537 -0
  102. tags/1.4/ssb-admin.php +208 -0
  103. tags/1.5/lang/simplesocialbuttons-de_DE.mo +0 -0
  104. tags/1.5/lang/simplesocialbuttons-de_DE.po +204 -0
  105. tags/1.5/lang/simplesocialbuttons-es_ES.mo +0 -0
  106. tags/1.5/lang/simplesocialbuttons-es_ES.po +203 -0
  107. tags/1.5/lang/simplesocialbuttons-fr_FR.mo +0 -0
  108. tags/1.5/lang/simplesocialbuttons-fr_FR.po +204 -0
  109. tags/1.5/lang/simplesocialbuttons-pl_PL.mo +0 -0
  110. tags/1.5/lang/simplesocialbuttons-pl_PL.po +200 -0
  111. readme.txt → tags/1.5/readme.txt +0 -0
  112. tags/1.5/screenshot-1.png +0 -0
  113. tags/1.5/screenshot-2.png +0 -0
  114. tags/1.5/screenshot-3.jpg +0 -0
  115. tags/1.5/screenshot-4.png +0 -0
  116. simple-social-buttons.php → tags/1.5/simple-social-buttons.php +0 -0
  117. ssb-admin.php → tags/1.5/ssb-admin.php +0 -0
  118. trunk/lang/simplesocialbuttons-de_DE.mo +0 -0
  119. trunk/lang/simplesocialbuttons-de_DE.po +204 -0
  120. trunk/lang/simplesocialbuttons-es_ES.mo +0 -0
  121. trunk/lang/simplesocialbuttons-es_ES.po +203 -0
  122. trunk/lang/simplesocialbuttons-fr_FR.mo +0 -0
  123. trunk/lang/simplesocialbuttons-fr_FR.po +204 -0
  124. trunk/lang/simplesocialbuttons-pl_PL.mo +0 -0
  125. trunk/lang/simplesocialbuttons-pl_PL.po +200 -0
  126. trunk/readme.txt +136 -0
  127. trunk/screenshot-1.png +0 -0
  128. trunk/screenshot-2.png +0 -0
  129. trunk/screenshot-3.jpg +0 -0
  130. trunk/screenshot-4.png +0 -0
  131. trunk/simple-social-buttons.php +551 -0
  132. trunk/ssb-admin.php +208 -0
tags/1.0/lang/simplesocialbuttons-pl_PL.mo ADDED
Binary file
tags/1.0/lang/simplesocialbuttons-pl_PL.po ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2011-09-20 09:50+0100\n"
6
+ "PO-Revision-Date: 2011-09-20 09:51+0100\n"
7
+ "Last-Translator: Paweł Rabinek <pawel@rabinek.pl>\n"
8
+ "Language-Team: Paweł Rabinek <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: Polish\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-SearchPath-0: ..\n"
17
+
18
+ #: ../simple-social-buttons.php:199
19
+ #: ../ssb-admin.php:11
20
+ msgid "Settings"
21
+ msgstr "Ustawienia"
22
+
23
+ #: ../ssb-admin.php:13
24
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
25
+ msgstr "<strong>Simple Social Buttons</strong>, autor <strong>Paweł Rabinek</strong>. Wtyczka dodaje do wpisów przyciski: <strong>Google +1</strong>, <strong>Facebook Lubię to</strong> oraz <strong>Twitter</strong>. Najlepsza wtyczka z przyciskami social media dla Wordpress."
26
+
27
+ #: ../ssb-admin.php:90
28
+ msgid "Select buttons"
29
+ msgstr "Wybór przycisków"
30
+
31
+ #: ../ssb-admin.php:92
32
+ msgid "Select social media buttons:"
33
+ msgstr "Wybierz przyciski do wyświetlenia:"
34
+
35
+ #: ../ssb-admin.php:94
36
+ msgid "Google plus one (+1)"
37
+ msgstr "Google plus jeden (+1)"
38
+
39
+ #: ../ssb-admin.php:95
40
+ msgid "Facebook Like it"
41
+ msgstr "Facebook Lubię to"
42
+
43
+ #: ../ssb-admin.php:96
44
+ msgid "Twitter share"
45
+ msgstr "Wyślij na Twitter"
46
+
47
+ #: ../ssb-admin.php:101
48
+ msgid "Single posts - display settings"
49
+ msgstr "Pojedyńcze wpisy - ustawienia"
50
+
51
+ #: ../ssb-admin.php:103
52
+ msgid "Place buttons on single post:"
53
+ msgstr "Miejsce przycisków na podstronie wpisu:"
54
+
55
+ #: ../ssb-admin.php:104
56
+ #: ../ssb-admin.php:128
57
+ msgid "Before the content"
58
+ msgstr "Nad treścią wpisu"
59
+
60
+ #: ../ssb-admin.php:105
61
+ #: ../ssb-admin.php:129
62
+ msgid "After the content"
63
+ msgstr "Pod treścią wpisu"
64
+
65
+ #: ../ssb-admin.php:110
66
+ msgid "Single pages - display settings"
67
+ msgstr "Pojedyńcze strony - ustawienia"
68
+
69
+ #: ../ssb-admin.php:112
70
+ msgid "Place buttons on single pages:"
71
+ msgstr "Miejsce przycisków na stronach:"
72
+
73
+ #: ../ssb-admin.php:113
74
+ msgid "Before the page content"
75
+ msgstr "Nad treścią strony"
76
+
77
+ #: ../ssb-admin.php:114
78
+ msgid "After the page content"
79
+ msgstr "Pod treścią strony"
80
+
81
+ #: ../ssb-admin.php:119
82
+ msgid "Archives - display settings"
83
+ msgstr "Archiwa - ustawienia"
84
+
85
+ #: ../ssb-admin.php:121
86
+ msgid "Select additional places to display buttons:"
87
+ msgstr "Dodatkowe miejsca do wyświetlenia przycisków:"
88
+
89
+ #: ../ssb-admin.php:122
90
+ msgid "Show at frontpage"
91
+ msgstr "Pokazuj na stronie głównej"
92
+
93
+ #: ../ssb-admin.php:123
94
+ msgid "Show at category pages"
95
+ msgstr "Pokazuj na stroniach kategorii"
96
+
97
+ #: ../ssb-admin.php:124
98
+ msgid "Show at archive pages"
99
+ msgstr "Pokazuje w archiwum dat"
100
+
101
+ #: ../ssb-admin.php:125
102
+ msgid "Show at tag pages"
103
+ msgstr "Pokazuj na stronach tagów"
104
+
105
+ #: ../ssb-admin.php:127
106
+ msgid "Place buttons on archives:"
107
+ msgstr "Miejsce przycisków na stronach archiwum:"
108
+
109
+ #: ../ssb-admin.php:135
110
+ msgid "Save settings"
111
+ msgstr "Zapisz ustawienia"
112
+
113
+ #: ../ssb-admin.php:145
114
+ msgid "About this plugin:"
115
+ msgstr "Informacje o wtyczce:"
116
+
117
+ #: ../ssb-admin.php:147
118
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
119
+ msgstr "Napisz do mnie <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> na Twitterze, jeżeli znalazłeś błąd lub masz pomysł na ulepszenie wtyczki."
120
+
121
+ #: ../ssb-admin.php:148
122
+ msgid "Enjoy the plugin?"
123
+ msgstr "Podoba Ci się wtyczka?"
124
+
125
+ #: ../ssb-admin.php:149
126
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
127
+ msgstr "<a href=\"http://twitter.com/?status=Używam wtyczki do Wordpressa od @rabinek - WordPress Simple Social Buttons! http://blog.rabinek.pl/\" target=\"_blank\">Powiedz o niej na Twitterze</a> i rozważ wsparcie dla tej wtyczki (poniżej)."
128
+
129
+ #: ../ssb-admin.php:150
130
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
131
+ msgstr "<strong>Wsparcie:</strong> Wiele pracy trzeba włożyć w napisanie takiej wtyczki. Jeżeli korzystasz z niej i podoba Ci się, postaw mi piwo klikając Donate."
132
+
133
+ #: ../ssb-admin.php:162
134
+ msgid "About the author:"
135
+ msgstr "Informacje o autorze:"
136
+
137
+ #: ../ssb-admin.php:164
138
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
139
+ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar). Zawodowo zajmuje się SEO i mediami społecznościowymi. Programuję w PHP, często z wykorzystaniem Wordpressa."
140
+
141
+ #: ../ssb-admin.php:166
142
+ msgid "My blog about SEO"
143
+ msgstr "Mój blog o SEO"
144
+
145
+ #: ../ssb-admin.php:166
146
+ msgid "[Polish]"
147
+ msgstr " "
148
+
149
+ #: ../ssb-admin.php:167
150
+ msgid "Follow me on Twitter"
151
+ msgstr "Napisz do mnie na Twitter"
152
+
153
+ #: ../ssb-admin.php:168
154
+ msgid "Paweł Rabinek on Facebook"
155
+ msgstr "Paweł Rabinek na Facebook"
156
+
157
+ #: ../ssb-admin.php:169
158
+ msgid "Paweł Rabinek on Google Plus"
159
+ msgstr "Paweł Rabinek na Google Plus"
160
+
161
+ #: ../ssb-admin.php:170
162
+ msgid "LinkedIn profile"
163
+ msgstr "Profil na LinkedIn"
164
+
165
+ #: ../ssb-admin.php:176
166
+ msgid "Usefull links:"
167
+ msgstr "Przydatne linki:"
168
+
169
+ #: ../ssb-admin.php:179
170
+ msgid "Unlimited web hosting"
171
+ msgstr "Nielimitowany hosting stron"
172
+
173
+ #: ../ssb-admin.php:180
174
+ msgid "Best SEO software"
175
+ msgstr "Najlepsze oprogramowanie SEO"
176
+
177
+ #: ../ssb-admin.php:181
178
+ msgid "Wordpress templates"
179
+ msgstr "Szablony do Wordpress"
180
+
181
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
182
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
tags/1.0/readme.txt ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Plugin Name ===
2
+ Contributors: xradar
3
+ Donate link: http://blog.rabinek.pl/
4
+ Tags: facebook, google, twitter, plus one, like it, like, share
5
+ Requires at least: 2.8
6
+ Tested up to: 3.2.1
7
+ Stable tag: 1.0
8
+
9
+ Insert and customize social buttons: Facebook Like it, Google plus +1 and Twitter share. Share your content with friends.
10
+
11
+ == Description ==
12
+
13
+ Simple Social Buttons adds to your posts social network buttons, such as: Facebook "Like it!", Google plus on "+1" and Twitter share. Plugin is fully customizable. You can decide where to put those buttons:
14
+
15
+ - Buttons above the post content
16
+ - Buttons under the post content
17
+ - Buttons above and under the post
18
+
19
+ That's not all. Simple Social Buttons can also add social media buttons to:
20
+
21
+ - Static Pages
22
+ - Front Page
23
+ - Posts Categories
24
+ - Date Archives
25
+ - Tags Archives
26
+
27
+ Let your visitors share your content with friends and let them promote your blog. Facebook, Google plus and Twitter are the most popular social networks nowadays. Don't miss the opportunity, and help publish your content and links to those social media networks.
28
+
29
+ Simple Social Buttons is currently in the following languages:
30
+
31
+ - English
32
+ - Polish (język polski)
33
+
34
+ Feel free if you want to create a translation of this plugin. Contact me via e-mail or Twitter, and I'll add your's translation to Simple Social Buttons.
35
+
36
+
37
+
38
+ == Installation ==
39
+
40
+ 1. Download the latest version of Simple Social Buttons
41
+ 2. Upload folder named simple-social-buttons to the /wp-content/plugins/ directory
42
+ 3. Activate the plugin through the 'Plugins' menu in WordPress
43
+ 4. (Optional) Customize the buttons in the Settings > Simple Social Buttons menu
44
+
45
+ That's it. Buttons will show on your blog posts.
46
+
47
+
48
+ == Frequently Asked Questions ==
49
+
50
+ = Is the plugin free? =
51
+
52
+ Yes, it's free. I hope you like it :) If so you can buy me a coffee by doing paypal donate.
53
+
54
+ = Is the plug will be developed? =
55
+
56
+ Yes. I've some plans about developing Simple Social Buttons. There will be more buttons, more customization, and more powerfull! Follow me on Twitter @rabinek and stay tuned.
57
+
58
+ = Why use this plugin? =
59
+
60
+ This plugin automatically adds the Facebook Like button, Google plus one +1 and Twitter share button for each post on your blog. This is the simples and effective way to promote your blog in social media networks.
61
+
62
+ = How about support? =
63
+
64
+ Follow me at Twitter @rabinek or send me a mention. I'll reply as soon as I get it.
65
+
66
+ == Screenshots ==
67
+
68
+ 1. Simple Social Buttons - plugin options
69
+ 2. Plugin example
70
+ 3. Plugin on archive
71
+
72
+
73
+ == Changelog ==
74
+
75
+ = 1.0 =
76
+ * First stable release.
77
+
screenshot-1.png → tags/1.0/screenshot-1.png RENAMED
File without changes
screenshot-2.png → tags/1.0/screenshot-2.png RENAMED
File without changes
screenshot-3.jpg → tags/1.0/screenshot-3.jpg RENAMED
File without changes
tags/1.0/simple-social-buttons.php ADDED
@@ -0,0 +1,222 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: Simple Social Buttons
4
+ Plugin URI: http://blog.rabinek.pl/
5
+ Description: Insert social buttons into posts and archives: Facebook "Like it", Google Plus One "+1" and Twitter share.
6
+ Author: Paweł Rabinek
7
+ Version: 1.0
8
+ Author URI: http://blog.rabinek.pl/simple-social-buttons/
9
+ */
10
+
11
+ /* Copyright 2011, Paweł Rabinek (xradar) (email : pawel@rabinek.pl)
12
+
13
+ This program is free software; you can redistribute it and/or modify
14
+ it under the terms of the GNU General Public License, version 2, as
15
+ published by the Free Software Foundation.
16
+
17
+ This program is distributed in the hope that it will be useful,
18
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
19
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
+ GNU General Public License for more details.
21
+
22
+ You should have received a copy of the GNU General Public License
23
+ along with this program; if not, write to the Free Software
24
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
+ */
26
+
27
+ function ssb_include_social_js() { ?>
28
+
29
+ <!-- Simple Social Buttons plugin -->
30
+ <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
31
+ <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
32
+ <script type="text/javascript" src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
33
+ <!-- End of Simple Social Buttons -->
34
+
35
+ <?php }
36
+
37
+
38
+ add_action('wp_footer', 'ssb_include_social_js');
39
+
40
+ function ssb_include_css() { ?>
41
+
42
+ <!-- Simple Social Buttons style sheet -->
43
+ <style type="text/css">
44
+ div.simplesocialbuttons { height: 20px; margin: 10px auto 10px 0; text-align: center; clear: left; }
45
+ div.simplesocialbutton { float: left; text-align: center; }
46
+ </style>
47
+ <!-- End of Simple Social Buttons -->
48
+
49
+ <?php }
50
+
51
+ add_action('wp_head', 'ssb_include_css');
52
+
53
+
54
+ //insert the buttons after post contents
55
+ function ssb_insert_buttons($content) {
56
+
57
+ if(!ssb_where_to_insert()) {
58
+ return $content;
59
+ }
60
+
61
+ // get post permalink
62
+ $permalink = get_permalink();
63
+ $title = get_the_title();
64
+
65
+ // get settings from database
66
+ $ssb_googleplus = get_option('ssb_googleplus');
67
+ $ssb_fblike = get_option('ssb_fblike');
68
+ $ssb_twitter = get_option('ssb_twitter');
69
+
70
+ $ssb_beforepost = get_option('ssb_beforepost');
71
+ $ssb_afterpost = get_option('ssb_afterpost');
72
+
73
+ $ssb_beforepage = get_option('ssb_beforepage');
74
+ $ssb_afterpage = get_option('ssb_afterpage');
75
+
76
+ $ssb_beforearchive = get_option('ssb_beforearchive');
77
+ $ssb_afterarchive = get_option('ssb_afterarchive');
78
+
79
+
80
+ $ssb_buttonscode = '<div class="simplesocialbuttons">'."\n";
81
+ if($ssb_googleplus) {
82
+ $ssb_buttonscode .= '<div class="simplesocialbutton"><!-- Google Plus One--><g:plusone size="medium" count="true" href="'.$permalink.'"></g:plusone></div>'."\n";
83
+ }
84
+ if($ssb_fblike) {
85
+ $ssb_buttonscode .= '<div class="simplesocialbutton"><!-- Facebook like--><div id="fb-root"></div><fb:like href="'.$permalink.'" send="false" layout="button_count" width="100" show_faces="false" action="like" font=""></fb:like></div>'."\n";
86
+ }
87
+ if($ssb_twitter) {
88
+ $ssb_buttonscode .= '<div class="simplesocialbutton"><!-- Twitter--><a name="twitter_share" data-count="horizontal" href="http://twitter.com/share" data-text="'.$title.'" data-url="'.$permalink.'" class="twitter-share-button" rel="nofollow"></a></div>'."\n";
89
+ }
90
+ $ssb_buttonscode .= '</div>'."\n";
91
+
92
+
93
+ if(is_single()) {
94
+ if($ssb_beforepost) {
95
+ $content = $ssb_buttonscode.$content;
96
+ }
97
+ if($ssb_afterpost) {
98
+ $content = $content.$ssb_buttonscode;
99
+ }
100
+ }else if(is_page()) {
101
+ if($ssb_beforepage) {
102
+ $content = $ssb_buttonscode.$content;
103
+ }
104
+ if($ssb_afterpage) {
105
+ $content = $content.$ssb_buttonscode;
106
+ }
107
+ }else{
108
+ if($ssb_beforearchive) {
109
+ $content = $ssb_buttonscode.$content;
110
+ }
111
+ if($ssb_afterarchive) {
112
+ $content = $content.$ssb_buttonscode;
113
+ }
114
+ }
115
+
116
+ return $content;
117
+
118
+
119
+ }
120
+
121
+ function ssb_where_to_insert()
122
+ {
123
+
124
+ // display on single post?
125
+ $ssb_beforepost = get_option('ssb_beforepost');
126
+ $ssb_afterpost = get_option('ssb_afterpost');
127
+ if(is_single() && ($ssb_beforepost || $ssb_afterpost))
128
+ {
129
+ return true;
130
+ }
131
+
132
+ // display on single page?
133
+ $ssb_beforepage = get_option('ssb_beforepage');
134
+ $ssb_afterpage = get_option('ssb_afterpage');
135
+ if(is_page() && ($ssb_beforepage || $ssb_afterpage))
136
+ {
137
+ return true;
138
+ }
139
+
140
+ // display on frontpage, categories, archives, tags?
141
+ $ssb_showfront = get_option('ssb_showfront');
142
+ $ssb_showcategory = get_option('ssb_showcategory');
143
+ $ssb_showarchive = get_option('ssb_showarchive');
144
+ $ssb_showtag = get_option('ssb_showtag');
145
+
146
+ if(is_front_page() && $ssb_showfront)
147
+ {
148
+ return true;
149
+ }
150
+
151
+ if(is_category() && $ssb_showcategory)
152
+ {
153
+ return true;
154
+ }
155
+
156
+ if(is_date() && $ssb_showarchive)
157
+ {
158
+ return true;
159
+ }
160
+
161
+ if(is_tag() && $ssb_showtag)
162
+ {
163
+ return true;
164
+ }
165
+ return false;
166
+ }
167
+
168
+ add_filter ('the_content', 'ssb_insert_buttons');
169
+ add_filter ('the_excerpt', 'ssb_insert_buttons');
170
+
171
+ function ssb_menu()
172
+ {
173
+ global $wpdb;
174
+ include 'ssb-admin.php';
175
+ }
176
+
177
+ function ssb_admin_actions()
178
+ {
179
+ add_options_page("Simple Social Buttons ", "Simple Social Buttons ", 1, "simple-social-buttons", "ssb_menu");
180
+ }
181
+
182
+ add_action('admin_menu', 'ssb_admin_actions');
183
+
184
+
185
+
186
+ add_filter('plugin_action_links', 'ssb_plugin_action_links', 10, 2);
187
+
188
+ function ssb_plugin_action_links($links, $file) {
189
+ static $this_plugin;
190
+
191
+ if (!$this_plugin) {
192
+ $this_plugin = plugin_basename(__FILE__);
193
+ }
194
+
195
+ if ($file == $this_plugin) {
196
+ // The "page" query string value must be equal to the slug
197
+ // of the Settings admin page we defined earlier, which in
198
+ // this case equals "myplugin-settings".
199
+ $settings_link = '<a href="' . get_bloginfo('wpurl') . '/wp-admin/admin.php?page=simple-social-buttons">'.__("Settings", "simplesocialbuttons").'</a>';
200
+ array_unshift($links, $settings_link);
201
+ }
202
+
203
+ return $links;
204
+ }
205
+
206
+ // install and default settings
207
+ function ssb_set_defaults()
208
+ {
209
+ add_option( "ssb_googleplus", "1", "", "yes" );
210
+ add_option( "ssb_fblike", "1", "", "yes" );
211
+ add_option( "ssb_twitter", "1", "", "yes" );
212
+ add_option( "ssb_beforepost", "1", "", "yes" );
213
+ }
214
+ register_activation_hook( __FILE__, 'ssb_set_defaults' );
215
+
216
+ function ssb_init()
217
+ {
218
+ load_plugin_textdomain( 'simplesocialbuttons', '', dirname(plugin_basename( __FILE__ ))."/lang" );
219
+ }
220
+ add_action( 'init', 'ssb_init' );
221
+
222
+ ?>
tags/1.0/ssb-admin.php ADDED
@@ -0,0 +1,188 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="wrap">
2
+
3
+ <style type="text/css">
4
+ div.inside ul li {
5
+ line-height: 16px;
6
+ list-style-type: square;
7
+ margin-left: 15px;
8
+ }
9
+ </style>
10
+
11
+ <h2>Simple Social Buttons - <?php _e('Settings', 'simplesocialbuttons'); ?></h2>
12
+
13
+ <p><?php _e('<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever.', 'simplesocialbuttons'); ?></p>
14
+
15
+ <?php
16
+
17
+ if($_POST['hiddenconfirm'] == 'Y') {
18
+
19
+ // save settings
20
+
21
+ $ssb_googleplus = $_POST['ssb_googleplus'];
22
+ update_option('ssb_googleplus', $ssb_googleplus);
23
+
24
+ $ssb_fblike = $_POST['ssb_fblike'];
25
+ update_option('ssb_fblike', $ssb_fblike);
26
+
27
+ $ssb_twitter = $_POST['ssb_twitter'];
28
+ update_option('ssb_twitter', $ssb_twitter);
29
+
30
+ $ssb_beforepost = $_POST['ssb_beforepost'];
31
+ update_option('ssb_beforepost', $ssb_beforepost);
32
+
33
+ $ssb_afterpost = $_POST['ssb_afterpost'];
34
+ update_option('ssb_afterpost', $ssb_afterpost);
35
+
36
+ $ssb_beforepage = $_POST['ssb_beforepage'];
37
+ update_option('ssb_beforepage', $ssb_beforepage);
38
+
39
+ $ssb_afterpage = $_POST['ssb_afterpage'];
40
+ update_option('ssb_afterpage', $ssb_afterpage);
41
+
42
+ $ssb_showfront = $_POST['ssb_showfront'];
43
+ update_option('ssb_showfront', $ssb_showfront);
44
+
45
+ $ssb_showcategory = $_POST['ssb_showcategory'];
46
+ update_option('ssb_showcategory', $ssb_showcategory);
47
+
48
+ $ssb_showarchive = $_POST['ssb_showarchive'];
49
+ update_option('ssb_showarchive', $ssb_showarchive);
50
+
51
+ $ssb_showtag = $_POST['ssb_showtag'];
52
+ update_option('ssb_showtag', $ssb_showtag);
53
+
54
+ $ssb_beforearchive = $_POST['ssb_beforearchive'];
55
+ update_option('ssb_beforearchive', $ssb_beforearchive);
56
+
57
+ $ssb_afterarchive = $_POST['ssb_afterarchive'];
58
+ update_option('ssb_afterarchive', $ssb_afterarchive);
59
+
60
+ }else{
61
+
62
+ // get settings from database
63
+ $ssb_googleplus = get_option('ssb_googleplus');
64
+ $ssb_fblike = get_option('ssb_fblike');
65
+ $ssb_twitter = get_option('ssb_twitter');
66
+
67
+ $ssb_beforepost = get_option('ssb_beforepost');
68
+ $ssb_afterpost = get_option('ssb_afterpost');
69
+
70
+ $ssb_beforepage = get_option('ssb_beforepage');
71
+ $ssb_afterpage = get_option('ssb_afterpage');
72
+
73
+ $ssb_showfront = get_option('ssb_showfront');
74
+ $ssb_showcategory = get_option('ssb_showcategory');
75
+ $ssb_showarchive = get_option('ssb_showarchive');
76
+ $ssb_showtag = get_option('ssb_showtag');
77
+
78
+ $ssb_beforearchive = get_option('ssb_beforearchive');
79
+ $ssb_afterarchive = get_option('ssb_afterarchive');
80
+ }
81
+
82
+ ?>
83
+
84
+
85
+ <div class="postbox-container" style="width:69%">
86
+ <div id="poststuff">
87
+ <form name="ssb_form" method="post" action="">
88
+
89
+ <div class="postbox">
90
+ <h3><?php _e('Select buttons', 'simplesocialbuttons'); ?></h3>
91
+ <div class="inside">
92
+ <h4><?php _e('Select social media buttons:', 'simplesocialbuttons'); ?></h4>
93
+
94
+ <p><input type="checkbox" name="ssb_googleplus" id="ssb_googleplus" value="1" <?php if(!empty($ssb_googleplus)) { ?>checked="checked"<?php } ?> /> <label for="ssb_googleplus"><?php _e('Google plus one (+1)', 'simplesocialbuttons'); ?></label></p>
95
+ <p><input type="checkbox" name="ssb_fblike" id="ssb_fblike" value="1" <?php if(!empty($ssb_fblike)) { ?>checked="checked"<?php } ?> /> <label for="ssb_fblike"><?php _e('Facebook Like it', 'simplesocialbuttons'); ?></label></p>
96
+ <p><input type="checkbox" name="ssb_twitter" id="ssb_twitter" value="1" <?php if(!empty($ssb_twitter)) { ?>checked="checked"<?php } ?> /> <label for="ssb_twitter"><?php _e('Twitter share', 'simplesocialbuttons'); ?></label></p>
97
+ </div>
98
+ </div>
99
+
100
+ <div class="postbox">
101
+ <h3><?php _e('Single posts - display settings', 'simplesocialbuttons'); ?></h3>
102
+ <div class="inside">
103
+ <h4><?php _e('Place buttons on single post:', 'simplesocialbuttons'); ?></h4>
104
+ <p><input type="checkbox" name="ssb_beforepost" id="ssb_beforepost" value="1" <?php if(!empty($ssb_beforepost)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforepost"><?php _e('Before the content', 'simplesocialbuttons'); ?></label></p>
105
+ <p><input type="checkbox" name="ssb_afterpost" id="ssb_afterpost" value="1" <?php if(!empty($ssb_afterpost)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterpost"><?php _e('After the content', 'simplesocialbuttons'); ?></label></p>
106
+ </div>
107
+ </div>
108
+
109
+ <div class="postbox">
110
+ <h3><?php _e('Single pages - display settings', 'simplesocialbuttons'); ?></h3>
111
+ <div class="inside">
112
+ <h4><?php _e('Place buttons on single pages:', 'simplesocialbuttons'); ?></h4>
113
+ <p><input type="checkbox" name="ssb_beforepage" id="ssb_beforepage" value="1" <?php if(!empty($ssb_beforepage)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforepage"><?php _e('Before the page content', 'simplesocialbuttons'); ?></label></p>
114
+ <p><input type="checkbox" name="ssb_afterpage" id="ssb_afterpage" value="1" <?php if(!empty($ssb_afterpage)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterpage"><?php _e('After the page content', 'simplesocialbuttons'); ?></label></p>
115
+ </div>
116
+ </div>
117
+
118
+ <div class="postbox">
119
+ <h3><?php _e('Archives - display settings', 'simplesocialbuttons'); ?></h3>
120
+ <div class="inside">
121
+ <h4><?php _e('Select additional places to display buttons:', 'simplesocialbuttons'); ?></h4>
122
+ <p><input type="checkbox" name="ssb_showfront" id="ssb_showfront" value="1" <?php if(!empty($ssb_showfront)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showfront"><?php _e('Show at frontpage', 'simplesocialbuttons'); ?></label></p>
123
+ <p><input type="checkbox" name="ssb_showcategory" id="ssb_showcategory" value="1" <?php if(!empty($ssb_showcategory)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showcategory"><?php _e('Show at category pages', 'simplesocialbuttons'); ?></label></p>
124
+ <p><input type="checkbox" name="ssb_showarchive" id="ssb_showarchive" value="1" <?php if(!empty($ssb_showarchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showarchive"><?php _e('Show at archive pages', 'simplesocialbuttons'); ?></label></p>
125
+ <p><input type="checkbox" name="ssb_showtag" id="ssb_showtag" value="1" <?php if(!empty($ssb_showtag)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showtag"><?php _e('Show at tag pages', 'simplesocialbuttons'); ?></label></p>
126
+
127
+ <h4><?php _e('Place buttons on archives:', 'simplesocialbuttons'); ?></h4>
128
+ <p><input type="checkbox" name="ssb_beforearchive" id="ssb_beforearchive" value="1" <?php if(!empty($ssb_beforearchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforearchive"><?php _e('Before the content', 'simplesocialbuttons'); ?></label></p>
129
+ <p><input type="checkbox" name="ssb_afterarchive" id="ssb_afterarchive" value="1" <?php if(!empty($ssb_afterarchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterarchive"><?php _e('After the content', 'simplesocialbuttons'); ?></label></p>
130
+ </div>
131
+ </div>
132
+
133
+ <div class="submit">
134
+ <input type="hidden" name="hiddenconfirm" value="Y" />
135
+ <input type="submit" name="Submit" class="button-primary" value="<?php _e('Save settings', 'simplesocialbuttons'); ?>" />
136
+ </div>
137
+
138
+ </form>
139
+ </div>
140
+ </div>
141
+
142
+ <div class="postbox-container" style="width:29%">
143
+ <div id="poststuff">
144
+ <div class="postbox">
145
+ <h3><?php _e('About this plugin:', 'simplesocialbuttons'); ?></h3>
146
+ <div class="inside">
147
+ <p><?php _e('Talk to <a href="http://twitter.com/rabinek" target="_blank">@rabinek</a> on twitter for bugs or feature requests.', 'simplesocialbuttons'); ?></p>
148
+ <p><strong><?php _e('Enjoy the plugin?', 'simplesocialbuttons'); ?></strong><br />
149
+ <?php _e('<a href="http://twitter.com/?status=I\'m using @rabinek\'s WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/" target="_blank">Tweet about it</a> and consider donating.', 'simplesocialbuttons'); ?></p>
150
+ <p><?php _e('<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!', 'simplesocialbuttons'); ?><br />
151
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
152
+ <input type="hidden" name="cmd" value="_s-xclick">
153
+ <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----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-----END PKCS7-----">
154
+ <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
155
+ <img alt="" border="0" src="https://www.paypalobjects.com/pl_PL/i/scr/pixel.gif" width="1" height="1">
156
+ </form>
157
+ </p>
158
+ </div>
159
+ </div>
160
+
161
+ <div class="postbox">
162
+ <h3><?php _e('About the author:', 'simplesocialbuttons'); ?></h3>
163
+ <div class="inside">
164
+ <p><?php _e('Hi! My name is Paweł Rabinek (aka xradar). I\'m interesed in SEO and social media, PHP and Wordpress developement.', 'simplesocialbuttons'); ?></p>
165
+ <ul>
166
+ <li><a href="http://blog.rabinek.pl/" target="_blank"><?php _e('My blog about SEO', 'simplesocialbuttons'); ?></a> <?php _e('[Polish]', 'simplesocialbuttons'); ?></li>
167
+ <li><?php _e('Follow me on Twitter', 'simplesocialbuttons'); ?> <a href="http://www.twitter.com/rabinek" target="_blank">@rabinek</a></li>
168
+ <li><a href="http://www.facebook.com/rabinek" target="_blank"><?php _e('Paweł Rabinek on Facebook', 'simplesocialbuttons'); ?></a></li>
169
+ <li><a href="http://plus.google.com/114311287272342088386/" target="_blank"><?php _e('Paweł Rabinek on Google Plus', 'simplesocialbuttons'); ?></a></li>
170
+ <li><a href="http://pl.linkedin.com/in/rabinek" target="_blank"><?php _e('LinkedIn profile', 'simplesocialbuttons'); ?></a></li>
171
+ </ul>
172
+ </div>
173
+ </div>
174
+
175
+ <div class="postbox">
176
+ <h3><?php _e('Usefull links:', 'simplesocialbuttons'); ?></h3>
177
+ <div class="inside">
178
+ <ul>
179
+ <li><a href="http://www.site5.com/in.php?id=53542" target="_blank"><?php _e('Unlimited web hosting', 'simplesocialbuttons'); ?></a></li>
180
+ <li><a href="http://www.webceo.com/cgi-bin/go/clickthru.cgi?id=xradar" target="_blank"><?php _e('Best SEO software', 'simplesocialbuttons'); ?></a></li>
181
+ <li><a href="http://themeforest.net?ref=xradar" target="_blank"><?php _e('Wordpress templates', 'simplesocialbuttons'); ?></a><li>
182
+ </ul>
183
+ </div>
184
+ </div>
185
+
186
+ </div>
187
+ </div>
188
+ </div>
tags/1.0/uninstall.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if( !defined( 'ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') ) {
3
+ exit();
4
+ }
5
+
6
+ // clean up the databes before the uninstall plugin
7
+
8
+ delete_option('ssb_googleplus');
9
+ delete_option('ssb_fblike');
10
+ delete_option('ssb_twitter');
11
+
12
+ delete_option('ssb_beforepost');
13
+ delete_option('ssb_afterpost');
14
+
15
+ delete_option('ssb_showfront');
16
+ delete_option('ssb_showcategory');
17
+ delete_option('ssb_showarchive');
18
+ delete_option('ssb_showtag');
19
+
20
+ delete_option('ssb_beforearchive');
21
+ delete_option('ssb_afterarchive');
22
+
23
+ ?>
tags/1.1/lang/simplesocialbuttons-fr_FR.mo ADDED
Binary file
tags/1.1/lang/simplesocialbuttons-fr_FR.po ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2011-09-22 14:53+0100\n"
6
+ "PO-Revision-Date: 2011-09-22 16:41+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Paweł Rabinek (FR: Emmanuel Beziat) <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: French\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-Country: FRANCE\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ # Traduit par @RhooManu - www.infographizm.com
20
+ #: ../simple-social-buttons.php:199
21
+ #: ../ssb-admin.php:11
22
+ msgid "Settings"
23
+ msgstr "Paramètres"
24
+
25
+ #: ../ssb-admin.php:13
26
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
27
+ msgstr "<strong>Simple Social Buttons</strong>, par <strong>Paweł Rabinek</strong>. Cette extension ajoute des boutons de réseaux sociaux, comme <strong>Google +1</strong>, <strong>Facebook J'aime</strong> et <strong>Twitter</strong>. La plus flexible des extensions de boutons de réseaux sociaux !"
28
+
29
+ #: ../ssb-admin.php:90
30
+ msgid "Select buttons"
31
+ msgstr "Choisir les boutons"
32
+
33
+ #: ../ssb-admin.php:92
34
+ msgid "Select social media buttons:"
35
+ msgstr "Choisissez les boutons de réseaux sociaux :"
36
+
37
+ #: ../ssb-admin.php:94
38
+ msgid "Google plus one (+1)"
39
+ msgstr "Google plus un (+1)"
40
+
41
+ #: ../ssb-admin.php:95
42
+ msgid "Facebook Like it"
43
+ msgstr "Facebook J'aime"
44
+
45
+ #: ../ssb-admin.php:96
46
+ msgid "Twitter share"
47
+ msgstr "Partage twitter"
48
+
49
+ #: ../ssb-admin.php:101
50
+ msgid "Single posts - display settings"
51
+ msgstr "Articles seuls - paramètres d'affichages"
52
+
53
+ #: ../ssb-admin.php:103
54
+ msgid "Place buttons on single post:"
55
+ msgstr "Placer les boutons sur un article seul :"
56
+
57
+ #: ../ssb-admin.php:104
58
+ #: ../ssb-admin.php:128
59
+ msgid "Before the content"
60
+ msgstr "Avant le contenu"
61
+
62
+ #: ../ssb-admin.php:105
63
+ #: ../ssb-admin.php:129
64
+ msgid "After the content"
65
+ msgstr "Après le contenu"
66
+
67
+ #: ../ssb-admin.php:110
68
+ msgid "Single pages - display settings"
69
+ msgstr "Pages - paramètres d'affichage"
70
+
71
+ #: ../ssb-admin.php:112
72
+ msgid "Place buttons on single pages:"
73
+ msgstr "Placer les boutons sur les pages :"
74
+
75
+ #: ../ssb-admin.php:113
76
+ msgid "Before the page content"
77
+ msgstr "Avant le contenu de la page"
78
+
79
+ #: ../ssb-admin.php:114
80
+ msgid "After the page content"
81
+ msgstr "Après le contenu de la page"
82
+
83
+ #: ../ssb-admin.php:119
84
+ msgid "Archives - display settings"
85
+ msgstr "Archives - paramètres d'affichage"
86
+
87
+ #: ../ssb-admin.php:121
88
+ msgid "Select additional places to display buttons:"
89
+ msgstr "Choisissez une place supplémentaire pour afficher les boutons :"
90
+
91
+ #: ../ssb-admin.php:122
92
+ msgid "Show at frontpage"
93
+ msgstr "Afficher sur la page principale"
94
+
95
+ #: ../ssb-admin.php:123
96
+ msgid "Show at category pages"
97
+ msgstr "Afficher sur les pages de catégories"
98
+
99
+ #: ../ssb-admin.php:124
100
+ msgid "Show at archive pages"
101
+ msgstr "Afficher sur les pages d'archives"
102
+
103
+ #: ../ssb-admin.php:125
104
+ msgid "Show at tag pages"
105
+ msgstr "Affichers sur les pages de tags"
106
+
107
+ #: ../ssb-admin.php:127
108
+ msgid "Place buttons on archives:"
109
+ msgstr "Placer les boutons sur les archives :"
110
+
111
+ #: ../ssb-admin.php:135
112
+ msgid "Save settings"
113
+ msgstr "Enregistrer les changement"
114
+
115
+ #: ../ssb-admin.php:145
116
+ msgid "About this plugin:"
117
+ msgstr "À propos de cette extension"
118
+
119
+ #: ../ssb-admin.php:147
120
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
121
+ msgstr "Parlez à <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> sur Twitter pour signaler les bugs ou demander des ajouts."
122
+
123
+ #: ../ssb-admin.php:148
124
+ msgid "Enjoy the plugin?"
125
+ msgstr "Cette extension vous plaît ?"
126
+
127
+ #: ../ssb-admin.php:149
128
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
129
+ msgstr "<a href=\"http://twitter.com/?status=J'utilise @rabinek - WordPress Simple Social Buttons ! http://blog.rabinek.pl/\" target=\"_blank\">Twittez cette info</a> et n'hésitez pas à faire un don !"
130
+
131
+ #: ../ssb-admin.php:150
132
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
133
+ msgstr "<strong>Faire un don :</strong> Faire une extension demande beaucoup de travail - aidez les développeurs à améliorer leur travail. Merci !"
134
+
135
+ #: ../ssb-admin.php:162
136
+ msgid "About the author:"
137
+ msgstr "À propos de l'auteur :"
138
+
139
+ #: ../ssb-admin.php:164
140
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
141
+ msgstr "Salut ! Mon nom est Paweł Rabinek (surnommé xradar). Je m'intéresse beaucoup au référencement et aux réseaux sociaux, au développement PHP et pour WordPress."
142
+
143
+ #: ../ssb-admin.php:166
144
+ msgid "My blog about SEO"
145
+ msgstr "Mon blog sur le référencement (SEO)"
146
+
147
+ #: ../ssb-admin.php:166
148
+ msgid "[Polish]"
149
+ msgstr " "
150
+
151
+ #: ../ssb-admin.php:167
152
+ msgid "Follow me on Twitter"
153
+ msgstr "Suivez-moi sur twitter !"
154
+
155
+ #: ../ssb-admin.php:168
156
+ msgid "Paweł Rabinek on Facebook"
157
+ msgstr "Paweł Rabinek sur Facebook"
158
+
159
+ #: ../ssb-admin.php:169
160
+ msgid "Paweł Rabinek on Google Plus"
161
+ msgstr "Paweł Rabinek sur Google Plus"
162
+
163
+ #: ../ssb-admin.php:170
164
+ msgid "LinkedIn profile"
165
+ msgstr "Profil LinkedIn"
166
+
167
+ #: ../ssb-admin.php:176
168
+ msgid "Usefull links:"
169
+ msgstr "Liens utiles :"
170
+
171
+ #: ../ssb-admin.php:179
172
+ msgid "Unlimited web hosting"
173
+ msgstr "Hébergement web illimité"
174
+
175
+ #: ../ssb-admin.php:180
176
+ msgid "Best SEO software"
177
+ msgstr "Meilleur logiciel de référencement"
178
+
179
+ #: ../ssb-admin.php:181
180
+ msgid "Wordpress templates"
181
+ msgstr "Thèmes pour WordPress"
182
+
183
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
184
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
tags/1.1/lang/simplesocialbuttons-pl_PL.mo ADDED
Binary file
tags/1.1/lang/simplesocialbuttons-pl_PL.po ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2011-09-20 09:50+0100\n"
6
+ "PO-Revision-Date: 2011-09-20 09:51+0100\n"
7
+ "Last-Translator: Paweł Rabinek <pawel@rabinek.pl>\n"
8
+ "Language-Team: Paweł Rabinek <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: Polish\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-SearchPath-0: ..\n"
17
+
18
+ #: ../simple-social-buttons.php:199
19
+ #: ../ssb-admin.php:11
20
+ msgid "Settings"
21
+ msgstr "Ustawienia"
22
+
23
+ #: ../ssb-admin.php:13
24
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
25
+ msgstr "<strong>Simple Social Buttons</strong>, autor <strong>Paweł Rabinek</strong>. Wtyczka dodaje do wpisów przyciski: <strong>Google +1</strong>, <strong>Facebook Lubię to</strong> oraz <strong>Twitter</strong>. Najlepsza wtyczka z przyciskami social media dla Wordpress."
26
+
27
+ #: ../ssb-admin.php:90
28
+ msgid "Select buttons"
29
+ msgstr "Wybór przycisków"
30
+
31
+ #: ../ssb-admin.php:92
32
+ msgid "Select social media buttons:"
33
+ msgstr "Wybierz przyciski do wyświetlenia:"
34
+
35
+ #: ../ssb-admin.php:94
36
+ msgid "Google plus one (+1)"
37
+ msgstr "Google plus jeden (+1)"
38
+
39
+ #: ../ssb-admin.php:95
40
+ msgid "Facebook Like it"
41
+ msgstr "Facebook Lubię to"
42
+
43
+ #: ../ssb-admin.php:96
44
+ msgid "Twitter share"
45
+ msgstr "Wyślij na Twitter"
46
+
47
+ #: ../ssb-admin.php:101
48
+ msgid "Single posts - display settings"
49
+ msgstr "Pojedyńcze wpisy - ustawienia"
50
+
51
+ #: ../ssb-admin.php:103
52
+ msgid "Place buttons on single post:"
53
+ msgstr "Miejsce przycisków na podstronie wpisu:"
54
+
55
+ #: ../ssb-admin.php:104
56
+ #: ../ssb-admin.php:128
57
+ msgid "Before the content"
58
+ msgstr "Nad treścią wpisu"
59
+
60
+ #: ../ssb-admin.php:105
61
+ #: ../ssb-admin.php:129
62
+ msgid "After the content"
63
+ msgstr "Pod treścią wpisu"
64
+
65
+ #: ../ssb-admin.php:110
66
+ msgid "Single pages - display settings"
67
+ msgstr "Pojedyńcze strony - ustawienia"
68
+
69
+ #: ../ssb-admin.php:112
70
+ msgid "Place buttons on single pages:"
71
+ msgstr "Miejsce przycisków na stronach:"
72
+
73
+ #: ../ssb-admin.php:113
74
+ msgid "Before the page content"
75
+ msgstr "Nad treścią strony"
76
+
77
+ #: ../ssb-admin.php:114
78
+ msgid "After the page content"
79
+ msgstr "Pod treścią strony"
80
+
81
+ #: ../ssb-admin.php:119
82
+ msgid "Archives - display settings"
83
+ msgstr "Archiwa - ustawienia"
84
+
85
+ #: ../ssb-admin.php:121
86
+ msgid "Select additional places to display buttons:"
87
+ msgstr "Dodatkowe miejsca do wyświetlenia przycisków:"
88
+
89
+ #: ../ssb-admin.php:122
90
+ msgid "Show at frontpage"
91
+ msgstr "Pokazuj na stronie głównej"
92
+
93
+ #: ../ssb-admin.php:123
94
+ msgid "Show at category pages"
95
+ msgstr "Pokazuj na stroniach kategorii"
96
+
97
+ #: ../ssb-admin.php:124
98
+ msgid "Show at archive pages"
99
+ msgstr "Pokazuje w archiwum dat"
100
+
101
+ #: ../ssb-admin.php:125
102
+ msgid "Show at tag pages"
103
+ msgstr "Pokazuj na stronach tagów"
104
+
105
+ #: ../ssb-admin.php:127
106
+ msgid "Place buttons on archives:"
107
+ msgstr "Miejsce przycisków na stronach archiwum:"
108
+
109
+ #: ../ssb-admin.php:135
110
+ msgid "Save settings"
111
+ msgstr "Zapisz ustawienia"
112
+
113
+ #: ../ssb-admin.php:145
114
+ msgid "About this plugin:"
115
+ msgstr "Informacje o wtyczce:"
116
+
117
+ #: ../ssb-admin.php:147
118
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
119
+ msgstr "Napisz do mnie <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> na Twitterze, jeżeli znalazłeś błąd lub masz pomysł na ulepszenie wtyczki."
120
+
121
+ #: ../ssb-admin.php:148
122
+ msgid "Enjoy the plugin?"
123
+ msgstr "Podoba Ci się wtyczka?"
124
+
125
+ #: ../ssb-admin.php:149
126
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
127
+ msgstr "<a href=\"http://twitter.com/?status=Używam wtyczki do Wordpressa od @rabinek - WordPress Simple Social Buttons! http://blog.rabinek.pl/\" target=\"_blank\">Powiedz o niej na Twitterze</a> i rozważ wsparcie dla tej wtyczki (poniżej)."
128
+
129
+ #: ../ssb-admin.php:150
130
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
131
+ msgstr "<strong>Wsparcie:</strong> Wiele pracy trzeba włożyć w napisanie takiej wtyczki. Jeżeli korzystasz z niej i podoba Ci się, postaw mi piwo klikając Donate."
132
+
133
+ #: ../ssb-admin.php:162
134
+ msgid "About the author:"
135
+ msgstr "Informacje o autorze:"
136
+
137
+ #: ../ssb-admin.php:164
138
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
139
+ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar). Zawodowo zajmuje się SEO i mediami społecznościowymi. Programuję w PHP, często z wykorzystaniem Wordpressa."
140
+
141
+ #: ../ssb-admin.php:166
142
+ msgid "My blog about SEO"
143
+ msgstr "Mój blog o SEO"
144
+
145
+ #: ../ssb-admin.php:166
146
+ msgid "[Polish]"
147
+ msgstr " "
148
+
149
+ #: ../ssb-admin.php:167
150
+ msgid "Follow me on Twitter"
151
+ msgstr "Napisz do mnie na Twitter"
152
+
153
+ #: ../ssb-admin.php:168
154
+ msgid "Paweł Rabinek on Facebook"
155
+ msgstr "Paweł Rabinek na Facebook"
156
+
157
+ #: ../ssb-admin.php:169
158
+ msgid "Paweł Rabinek on Google Plus"
159
+ msgstr "Paweł Rabinek na Google Plus"
160
+
161
+ #: ../ssb-admin.php:170
162
+ msgid "LinkedIn profile"
163
+ msgstr "Profil na LinkedIn"
164
+
165
+ #: ../ssb-admin.php:176
166
+ msgid "Usefull links:"
167
+ msgstr "Przydatne linki:"
168
+
169
+ #: ../ssb-admin.php:179
170
+ msgid "Unlimited web hosting"
171
+ msgstr "Nielimitowany hosting stron"
172
+
173
+ #: ../ssb-admin.php:180
174
+ msgid "Best SEO software"
175
+ msgstr "Najlepsze oprogramowanie SEO"
176
+
177
+ #: ../ssb-admin.php:181
178
+ msgid "Wordpress templates"
179
+ msgstr "Szablony do Wordpress"
180
+
181
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
182
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
tags/1.1/readme.txt ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Plugin Name ===
2
+ Contributors: xradar
3
+ Donate link: http://blog.rabinek.pl/
4
+ Tags: facebook, google, twitter, plus one, like it, like, share
5
+ Requires at least: 2.8
6
+ Tested up to: 3.2.1
7
+ Stable tag: 1.1
8
+
9
+ Insert and customize social buttons: Facebook Like it, Google plus +1 and Twitter share. Share your content with friends.
10
+
11
+ == Description ==
12
+
13
+ Simple Social Buttons adds to your posts social network buttons, such as: Facebook "Like it!", Google plus on "+1" and Twitter share. Plugin is fully customizable. You can decide where to put those buttons:
14
+
15
+ - Buttons above the post content
16
+ - Buttons under the post content
17
+ - Buttons above and under the post
18
+
19
+ That's not all. Simple Social Buttons can also add social media buttons to:
20
+
21
+ - Static Pages
22
+ - Front Page
23
+ - Posts Categories
24
+ - Date Archives
25
+ - Tags Archives
26
+
27
+ Let your visitors share your content with friends and let them promote your blog. Facebook, Google plus and Twitter are the most popular social networks nowadays. Don't miss the opportunity, and help publish your content and links to those social media networks.
28
+
29
+ Simple Social Buttons is currently in the following languages:
30
+
31
+ - English
32
+ - French, thanks to [RhooManu](https://twitter.com/RhooManu "RhooManu on Twitter")
33
+ - Polish (język polski)
34
+
35
+ Feel free if you want to create a translation of this plugin. Contact me via e-mail or Twitter, and I'll add your's translation to Simple Social Buttons.
36
+
37
+ For more information about Wordpress and SEO, visit my [SEO Blog](http://blog.rabinek.pl "Paweł Rabinek - Blog SEO") (in polish).
38
+
39
+ == Installation ==
40
+
41
+ 1. Download the latest version of Simple Social Buttons
42
+ 2. Upload folder named simple-social-buttons to the /wp-content/plugins/ directory
43
+ 3. Activate the plugin through the 'Plugins' menu in WordPress
44
+ 4. (Optional) Customize the buttons in the Settings > Simple Social Buttons menu
45
+
46
+ That's it. Buttons will show on your blog posts.
47
+
48
+
49
+ == Frequently Asked Questions ==
50
+
51
+ = Is the plugin free? =
52
+
53
+ Yes, it's free. I hope you like it :) If so you can buy me a coffee by doing paypal donate.
54
+
55
+ = Is the plug will be developed? =
56
+
57
+ Yes. I've some plans about developing Simple Social Buttons. There will be more buttons, more customization, and more powerfull! Follow me on Twitter @rabinek and stay tuned.
58
+
59
+ = Why use this plugin? =
60
+
61
+ This plugin automatically adds the Facebook Like button, Google plus one +1 and Twitter share button for each post on your blog. This is the simples and effective way to promote your blog in social media networks.
62
+
63
+ = How about support? =
64
+
65
+ Follow me at Twitter @rabinek or send me a mention. I'll reply as soon as I get it.
66
+
67
+ == Screenshots ==
68
+
69
+ 1. Simple Social Buttons - plugin options
70
+ 2. Plugin example
71
+ 3. Plugin on archive
72
+
73
+
74
+ == Changelog ==
75
+
76
+ = 1.0 =
77
+ * First stable release.
78
+
79
+ = 1.1 =
80
+ * Added french translation
81
+ * Added language support in Facebook and Google+ JavaScript
tags/1.1/screenshot-1.png ADDED
Binary file
tags/1.1/screenshot-2.png ADDED
Binary file
tags/1.1/screenshot-3.jpg ADDED
Binary file
tags/1.1/simple-social-buttons.php ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: Simple Social Buttons
4
+ Plugin URI: http://blog.rabinek.pl/
5
+ Description: Insert social buttons into posts and archives: Facebook "Like it", Google Plus One "+1" and Twitter share.
6
+ Author: Paweł Rabinek
7
+ Version: 1.0
8
+ Author URI: http://blog.rabinek.pl/
9
+ */
10
+
11
+ /* Copyright 2011, Paweł Rabinek (xradar) (email : pawel@rabinek.pl)
12
+
13
+ This program is free software; you can redistribute it and/or modify
14
+ it under the terms of the GNU General Public License, version 2, as
15
+ published by the Free Software Foundation.
16
+
17
+ This program is distributed in the hope that it will be useful,
18
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
19
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
+ GNU General Public License for more details.
21
+
22
+ You should have received a copy of the GNU General Public License
23
+ along with this program; if not, write to the Free Software
24
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
+ */
26
+
27
+ function ssb_include_social_js() {
28
+ $lang = get_bloginfo("language");
29
+ $lang_g = strtolower(substr($lang, 0, 2));
30
+ $lang_fb = str_replace("-", "_", $lang);
31
+ ?>
32
+
33
+ <!-- Simple Social Buttons plugin -->
34
+ <script type="text/javascript" src="https://apis.google.com/js/plusone.js">
35
+ //<![CDATA[
36
+ {lang: '<?php echo $lang_g; ?>'}
37
+ //]]>
38
+ </script>
39
+ <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
40
+ <script type="text/javascript" src="http://connect.facebook.net/<?php echo $lang_fb; ?>/all.js#xfbml=1"></script>
41
+ <!-- End of Simple Social Buttons -->
42
+
43
+ <?php }
44
+
45
+
46
+ add_action('wp_footer', 'ssb_include_social_js');
47
+
48
+ function ssb_include_css() { ?>
49
+
50
+ <!-- Simple Social Buttons style sheet -->
51
+ <style type="text/css">
52
+ div.simplesocialbuttons { height: 20px; margin: 10px auto 10px 0; text-align: center; clear: left; }
53
+ div.simplesocialbutton { float: left; text-align: center; }
54
+ </style>
55
+ <!-- End of Simple Social Buttons -->
56
+
57
+ <?php }
58
+
59
+ add_action('wp_head', 'ssb_include_css');
60
+
61
+
62
+ //insert the buttons after post contents
63
+ function ssb_insert_buttons($content) {
64
+
65
+ if(!ssb_where_to_insert()) {
66
+ return $content;
67
+ }
68
+
69
+ // get post permalink
70
+ $permalink = get_permalink();
71
+ $title = get_the_title();
72
+
73
+ // get settings from database
74
+ $ssb_googleplus = get_option('ssb_googleplus');
75
+ $ssb_fblike = get_option('ssb_fblike');
76
+ $ssb_twitter = get_option('ssb_twitter');
77
+
78
+ $ssb_beforepost = get_option('ssb_beforepost');
79
+ $ssb_afterpost = get_option('ssb_afterpost');
80
+
81
+ $ssb_beforepage = get_option('ssb_beforepage');
82
+ $ssb_afterpage = get_option('ssb_afterpage');
83
+
84
+ $ssb_beforearchive = get_option('ssb_beforearchive');
85
+ $ssb_afterarchive = get_option('ssb_afterarchive');
86
+
87
+
88
+ $ssb_buttonscode = '<div class="simplesocialbuttons">'."\n";
89
+ if($ssb_googleplus) {
90
+ $ssb_buttonscode .= '<div class="simplesocialbutton"><!-- Google Plus One--><g:plusone size="medium" count="true" href="'.$permalink.'"></g:plusone></div>'."\n";
91
+ }
92
+ if($ssb_fblike) {
93
+ $ssb_buttonscode .= '<div class="simplesocialbutton"><!-- Facebook like--><div id="fb-root"></div><fb:like href="'.$permalink.'" send="false" layout="button_count" width="100" show_faces="false" action="like" font=""></fb:like></div>'."\n";
94
+ }
95
+ if($ssb_twitter) {
96
+ $ssb_buttonscode .= '<div class="simplesocialbutton"><!-- Twitter--><a name="twitter_share" data-count="horizontal" href="http://twitter.com/share" data-text="'.$title.'" data-url="'.$permalink.'" class="twitter-share-button" rel="nofollow"></a></div>'."\n";
97
+ }
98
+ $ssb_buttonscode .= '</div>'."\n";
99
+
100
+
101
+ if(is_single()) {
102
+ if($ssb_beforepost) {
103
+ $content = $ssb_buttonscode.$content;
104
+ }
105
+ if($ssb_afterpost) {
106
+ $content = $content.$ssb_buttonscode;
107
+ }
108
+ }else if(is_page()) {
109
+ if($ssb_beforepage) {
110
+ $content = $ssb_buttonscode.$content;
111
+ }
112
+ if($ssb_afterpage) {
113
+ $content = $content.$ssb_buttonscode;
114
+ }
115
+ }else{
116
+ if($ssb_beforearchive) {
117
+ $content = $ssb_buttonscode.$content;
118
+ }
119
+ if($ssb_afterarchive) {
120
+ $content = $content.$ssb_buttonscode;
121
+ }
122
+ }
123
+
124
+ return $content;
125
+
126
+
127
+ }
128
+
129
+ function ssb_where_to_insert()
130
+ {
131
+
132
+ // display on single post?
133
+ $ssb_beforepost = get_option('ssb_beforepost');
134
+ $ssb_afterpost = get_option('ssb_afterpost');
135
+ if(is_single() && ($ssb_beforepost || $ssb_afterpost))
136
+ {
137
+ return true;
138
+ }
139
+
140
+ // display on single page?
141
+ $ssb_beforepage = get_option('ssb_beforepage');
142
+ $ssb_afterpage = get_option('ssb_afterpage');
143
+ if(is_page() && ($ssb_beforepage || $ssb_afterpage))
144
+ {
145
+ return true;
146
+ }
147
+
148
+ // display on frontpage, categories, archives, tags?
149
+ $ssb_showfront = get_option('ssb_showfront');
150
+ $ssb_showcategory = get_option('ssb_showcategory');
151
+ $ssb_showarchive = get_option('ssb_showarchive');
152
+ $ssb_showtag = get_option('ssb_showtag');
153
+
154
+ if(is_front_page() && $ssb_showfront)
155
+ {
156
+ return true;
157
+ }
158
+
159
+ if(is_category() && $ssb_showcategory)
160
+ {
161
+ return true;
162
+ }
163
+
164
+ if(is_date() && $ssb_showarchive)
165
+ {
166
+ return true;
167
+ }
168
+
169
+ if(is_tag() && $ssb_showtag)
170
+ {
171
+ return true;
172
+ }
173
+ return false;
174
+ }
175
+
176
+ add_filter ('the_content', 'ssb_insert_buttons');
177
+ add_filter ('the_excerpt', 'ssb_insert_buttons');
178
+
179
+ function ssb_menu()
180
+ {
181
+ global $wpdb;
182
+ include 'ssb-admin.php';
183
+ }
184
+
185
+ function ssb_admin_actions()
186
+ {
187
+ add_options_page("Simple Social Buttons ", "Simple Social Buttons ", 1, "simple-social-buttons", "ssb_menu");
188
+ }
189
+
190
+ add_action('admin_menu', 'ssb_admin_actions');
191
+
192
+
193
+
194
+ add_filter('plugin_action_links', 'ssb_plugin_action_links', 10, 2);
195
+
196
+ function ssb_plugin_action_links($links, $file) {
197
+ static $this_plugin;
198
+
199
+ if (!$this_plugin) {
200
+ $this_plugin = plugin_basename(__FILE__);
201
+ }
202
+
203
+ if ($file == $this_plugin) {
204
+ // The "page" query string value must be equal to the slug
205
+ // of the Settings admin page we defined earlier, which in
206
+ // this case equals "myplugin-settings".
207
+ $settings_link = '<a href="' . get_bloginfo('wpurl') . '/wp-admin/admin.php?page=simple-social-buttons">'.__("Settings", "simplesocialbuttons").'</a>';
208
+ array_unshift($links, $settings_link);
209
+ }
210
+
211
+ return $links;
212
+ }
213
+
214
+ // install and default settings
215
+ function ssb_set_defaults()
216
+ {
217
+ add_option( "ssb_googleplus", "1", "", "yes" );
218
+ add_option( "ssb_fblike", "1", "", "yes" );
219
+ add_option( "ssb_twitter", "1", "", "yes" );
220
+ add_option( "ssb_beforepost", "1", "", "yes" );
221
+ }
222
+ register_activation_hook( __FILE__, 'ssb_set_defaults' );
223
+
224
+ function ssb_init()
225
+ {
226
+ load_plugin_textdomain( 'simplesocialbuttons', '', dirname(plugin_basename( __FILE__ ))."/lang" );
227
+ }
228
+ add_action( 'init', 'ssb_init' );
229
+
230
+ ?>
tags/1.1/ssb-admin.php ADDED
@@ -0,0 +1,188 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="wrap">
2
+
3
+ <style type="text/css">
4
+ div.inside ul li {
5
+ line-height: 16px;
6
+ list-style-type: square;
7
+ margin-left: 15px;
8
+ }
9
+ </style>
10
+
11
+ <h2>Simple Social Buttons - <?php _e('Settings', 'simplesocialbuttons'); ?></h2>
12
+
13
+ <p><?php _e('<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever.', 'simplesocialbuttons'); ?></p>
14
+
15
+ <?php
16
+
17
+ if($_POST['hiddenconfirm'] == 'Y') {
18
+
19
+ // save settings
20
+
21
+ $ssb_googleplus = $_POST['ssb_googleplus'];
22
+ update_option('ssb_googleplus', $ssb_googleplus);
23
+
24
+ $ssb_fblike = $_POST['ssb_fblike'];
25
+ update_option('ssb_fblike', $ssb_fblike);
26
+
27
+ $ssb_twitter = $_POST['ssb_twitter'];
28
+ update_option('ssb_twitter', $ssb_twitter);
29
+
30
+ $ssb_beforepost = $_POST['ssb_beforepost'];
31
+ update_option('ssb_beforepost', $ssb_beforepost);
32
+
33
+ $ssb_afterpost = $_POST['ssb_afterpost'];
34
+ update_option('ssb_afterpost', $ssb_afterpost);
35
+
36
+ $ssb_beforepage = $_POST['ssb_beforepage'];
37
+ update_option('ssb_beforepage', $ssb_beforepage);
38
+
39
+ $ssb_afterpage = $_POST['ssb_afterpage'];
40
+ update_option('ssb_afterpage', $ssb_afterpage);
41
+
42
+ $ssb_showfront = $_POST['ssb_showfront'];
43
+ update_option('ssb_showfront', $ssb_showfront);
44
+
45
+ $ssb_showcategory = $_POST['ssb_showcategory'];
46
+ update_option('ssb_showcategory', $ssb_showcategory);
47
+
48
+ $ssb_showarchive = $_POST['ssb_showarchive'];
49
+ update_option('ssb_showarchive', $ssb_showarchive);
50
+
51
+ $ssb_showtag = $_POST['ssb_showtag'];
52
+ update_option('ssb_showtag', $ssb_showtag);
53
+
54
+ $ssb_beforearchive = $_POST['ssb_beforearchive'];
55
+ update_option('ssb_beforearchive', $ssb_beforearchive);
56
+
57
+ $ssb_afterarchive = $_POST['ssb_afterarchive'];
58
+ update_option('ssb_afterarchive', $ssb_afterarchive);
59
+
60
+ }else{
61
+
62
+ // get settings from database
63
+ $ssb_googleplus = get_option('ssb_googleplus');
64
+ $ssb_fblike = get_option('ssb_fblike');
65
+ $ssb_twitter = get_option('ssb_twitter');
66
+
67
+ $ssb_beforepost = get_option('ssb_beforepost');
68
+ $ssb_afterpost = get_option('ssb_afterpost');
69
+
70
+ $ssb_beforepage = get_option('ssb_beforepage');
71
+ $ssb_afterpage = get_option('ssb_afterpage');
72
+
73
+ $ssb_showfront = get_option('ssb_showfront');
74
+ $ssb_showcategory = get_option('ssb_showcategory');
75
+ $ssb_showarchive = get_option('ssb_showarchive');
76
+ $ssb_showtag = get_option('ssb_showtag');
77
+
78
+ $ssb_beforearchive = get_option('ssb_beforearchive');
79
+ $ssb_afterarchive = get_option('ssb_afterarchive');
80
+ }
81
+
82
+ ?>
83
+
84
+
85
+ <div class="postbox-container" style="width:69%">
86
+ <div id="poststuff">
87
+ <form name="ssb_form" method="post" action="">
88
+
89
+ <div class="postbox">
90
+ <h3><?php _e('Select buttons', 'simplesocialbuttons'); ?></h3>
91
+ <div class="inside">
92
+ <h4><?php _e('Select social media buttons:', 'simplesocialbuttons'); ?></h4>
93
+
94
+ <p><input type="checkbox" name="ssb_googleplus" id="ssb_googleplus" value="1" <?php if(!empty($ssb_googleplus)) { ?>checked="checked"<?php } ?> /> <label for="ssb_googleplus"><?php _e('Google plus one (+1)', 'simplesocialbuttons'); ?></label></p>
95
+ <p><input type="checkbox" name="ssb_fblike" id="ssb_fblike" value="1" <?php if(!empty($ssb_fblike)) { ?>checked="checked"<?php } ?> /> <label for="ssb_fblike"><?php _e('Facebook Like it', 'simplesocialbuttons'); ?></label></p>
96
+ <p><input type="checkbox" name="ssb_twitter" id="ssb_twitter" value="1" <?php if(!empty($ssb_twitter)) { ?>checked="checked"<?php } ?> /> <label for="ssb_twitter"><?php _e('Twitter share', 'simplesocialbuttons'); ?></label></p>
97
+ </div>
98
+ </div>
99
+
100
+ <div class="postbox">
101
+ <h3><?php _e('Single posts - display settings', 'simplesocialbuttons'); ?></h3>
102
+ <div class="inside">
103
+ <h4><?php _e('Place buttons on single post:', 'simplesocialbuttons'); ?></h4>
104
+ <p><input type="checkbox" name="ssb_beforepost" id="ssb_beforepost" value="1" <?php if(!empty($ssb_beforepost)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforepost"><?php _e('Before the content', 'simplesocialbuttons'); ?></label></p>
105
+ <p><input type="checkbox" name="ssb_afterpost" id="ssb_afterpost" value="1" <?php if(!empty($ssb_afterpost)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterpost"><?php _e('After the content', 'simplesocialbuttons'); ?></label></p>
106
+ </div>
107
+ </div>
108
+
109
+ <div class="postbox">
110
+ <h3><?php _e('Single pages - display settings', 'simplesocialbuttons'); ?></h3>
111
+ <div class="inside">
112
+ <h4><?php _e('Place buttons on single pages:', 'simplesocialbuttons'); ?></h4>
113
+ <p><input type="checkbox" name="ssb_beforepage" id="ssb_beforepage" value="1" <?php if(!empty($ssb_beforepage)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforepage"><?php _e('Before the page content', 'simplesocialbuttons'); ?></label></p>
114
+ <p><input type="checkbox" name="ssb_afterpage" id="ssb_afterpage" value="1" <?php if(!empty($ssb_afterpage)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterpage"><?php _e('After the page content', 'simplesocialbuttons'); ?></label></p>
115
+ </div>
116
+ </div>
117
+
118
+ <div class="postbox">
119
+ <h3><?php _e('Archives - display settings', 'simplesocialbuttons'); ?></h3>
120
+ <div class="inside">
121
+ <h4><?php _e('Select additional places to display buttons:', 'simplesocialbuttons'); ?></h4>
122
+ <p><input type="checkbox" name="ssb_showfront" id="ssb_showfront" value="1" <?php if(!empty($ssb_showfront)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showfront"><?php _e('Show at frontpage', 'simplesocialbuttons'); ?></label></p>
123
+ <p><input type="checkbox" name="ssb_showcategory" id="ssb_showcategory" value="1" <?php if(!empty($ssb_showcategory)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showcategory"><?php _e('Show at category pages', 'simplesocialbuttons'); ?></label></p>
124
+ <p><input type="checkbox" name="ssb_showarchive" id="ssb_showarchive" value="1" <?php if(!empty($ssb_showarchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showarchive"><?php _e('Show at archive pages', 'simplesocialbuttons'); ?></label></p>
125
+ <p><input type="checkbox" name="ssb_showtag" id="ssb_showtag" value="1" <?php if(!empty($ssb_showtag)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showtag"><?php _e('Show at tag pages', 'simplesocialbuttons'); ?></label></p>
126
+
127
+ <h4><?php _e('Place buttons on archives:', 'simplesocialbuttons'); ?></h4>
128
+ <p><input type="checkbox" name="ssb_beforearchive" id="ssb_beforearchive" value="1" <?php if(!empty($ssb_beforearchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforearchive"><?php _e('Before the content', 'simplesocialbuttons'); ?></label></p>
129
+ <p><input type="checkbox" name="ssb_afterarchive" id="ssb_afterarchive" value="1" <?php if(!empty($ssb_afterarchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterarchive"><?php _e('After the content', 'simplesocialbuttons'); ?></label></p>
130
+ </div>
131
+ </div>
132
+
133
+ <div class="submit">
134
+ <input type="hidden" name="hiddenconfirm" value="Y" />
135
+ <input type="submit" name="Submit" class="button-primary" value="<?php _e('Save settings', 'simplesocialbuttons'); ?>" />
136
+ </div>
137
+
138
+ </form>
139
+ </div>
140
+ </div>
141
+
142
+ <div class="postbox-container" style="width:29%">
143
+ <div id="poststuff">
144
+ <div class="postbox">
145
+ <h3><?php _e('About this plugin:', 'simplesocialbuttons'); ?></h3>
146
+ <div class="inside">
147
+ <p><?php _e('Talk to <a href="http://twitter.com/rabinek" target="_blank">@rabinek</a> on twitter for bugs or feature requests.', 'simplesocialbuttons'); ?></p>
148
+ <p><strong><?php _e('Enjoy the plugin?', 'simplesocialbuttons'); ?></strong><br />
149
+ <?php _e('<a href="http://twitter.com/?status=I\'m using @rabinek\'s WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/" target="_blank">Tweet about it</a> and consider donating.', 'simplesocialbuttons'); ?></p>
150
+ <p><?php _e('<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!', 'simplesocialbuttons'); ?><br />
151
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
152
+ <input type="hidden" name="cmd" value="_s-xclick">
153
+ <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----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-----END PKCS7-----">
154
+ <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
155
+ <img alt="" border="0" src="https://www.paypalobjects.com/pl_PL/i/scr/pixel.gif" width="1" height="1">
156
+ </form>
157
+ </p>
158
+ </div>
159
+ </div>
160
+
161
+ <div class="postbox">
162
+ <h3><?php _e('About the author:', 'simplesocialbuttons'); ?></h3>
163
+ <div class="inside">
164
+ <p><?php _e('Hi! My name is Paweł Rabinek (aka xradar). I\'m interesed in SEO and social media, PHP and Wordpress developement.', 'simplesocialbuttons'); ?></p>
165
+ <ul>
166
+ <li><a href="http://blog.rabinek.pl/" target="_blank"><?php _e('My blog about SEO', 'simplesocialbuttons'); ?></a> <?php _e('[Polish]', 'simplesocialbuttons'); ?></li>
167
+ <li><?php _e('Follow me on Twitter', 'simplesocialbuttons'); ?> <a href="http://www.twitter.com/rabinek" target="_blank">@rabinek</a></li>
168
+ <li><a href="http://www.facebook.com/rabinek" target="_blank"><?php _e('Paweł Rabinek on Facebook', 'simplesocialbuttons'); ?></a></li>
169
+ <li><a href="http://plus.google.com/114311287272342088386/" target="_blank"><?php _e('Paweł Rabinek on Google Plus', 'simplesocialbuttons'); ?></a></li>
170
+ <li><a href="http://pl.linkedin.com/in/rabinek" target="_blank"><?php _e('LinkedIn profile', 'simplesocialbuttons'); ?></a></li>
171
+ </ul>
172
+ </div>
173
+ </div>
174
+
175
+ <div class="postbox">
176
+ <h3><?php _e('Usefull links:', 'simplesocialbuttons'); ?></h3>
177
+ <div class="inside">
178
+ <ul>
179
+ <li><a href="http://www.site5.com/in.php?id=53542" target="_blank"><?php _e('Unlimited web hosting', 'simplesocialbuttons'); ?></a></li>
180
+ <li><a href="http://www.webceo.com/cgi-bin/go/clickthru.cgi?id=xradar" target="_blank"><?php _e('Best SEO software', 'simplesocialbuttons'); ?></a></li>
181
+ <li><a href="http://themeforest.net?ref=xradar" target="_blank"><?php _e('Wordpress templates', 'simplesocialbuttons'); ?></a><li>
182
+ </ul>
183
+ </div>
184
+ </div>
185
+
186
+ </div>
187
+ </div>
188
+ </div>
tags/1.1/uninstall.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if( !defined( 'ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') ) {
3
+ exit();
4
+ }
5
+
6
+ // clean up the databes before the uninstall plugin
7
+
8
+ delete_option('ssb_googleplus');
9
+ delete_option('ssb_fblike');
10
+ delete_option('ssb_twitter');
11
+
12
+ delete_option('ssb_beforepost');
13
+ delete_option('ssb_afterpost');
14
+
15
+ delete_option('ssb_showfront');
16
+ delete_option('ssb_showcategory');
17
+ delete_option('ssb_showarchive');
18
+ delete_option('ssb_showtag');
19
+
20
+ delete_option('ssb_beforearchive');
21
+ delete_option('ssb_afterarchive');
22
+
23
+ ?>
tags/1.2/lang/simplesocialbuttons-fr_FR.mo ADDED
Binary file
tags/1.2/lang/simplesocialbuttons-fr_FR.po ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2011-09-22 14:53+0100\n"
6
+ "PO-Revision-Date: 2011-09-22 16:41+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Paweł Rabinek (FR: Emmanuel Beziat) <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: French\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-Country: FRANCE\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ # Traduit par @RhooManu - www.infographizm.com
20
+ #: ../simple-social-buttons.php:199
21
+ #: ../ssb-admin.php:11
22
+ msgid "Settings"
23
+ msgstr "Paramètres"
24
+
25
+ #: ../ssb-admin.php:13
26
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
27
+ msgstr "<strong>Simple Social Buttons</strong>, par <strong>Paweł Rabinek</strong>. Cette extension ajoute des boutons de réseaux sociaux, comme <strong>Google +1</strong>, <strong>Facebook J'aime</strong> et <strong>Twitter</strong>. La plus flexible des extensions de boutons de réseaux sociaux !"
28
+
29
+ #: ../ssb-admin.php:90
30
+ msgid "Select buttons"
31
+ msgstr "Choisir les boutons"
32
+
33
+ #: ../ssb-admin.php:92
34
+ msgid "Select social media buttons:"
35
+ msgstr "Choisissez les boutons de réseaux sociaux :"
36
+
37
+ #: ../ssb-admin.php:94
38
+ msgid "Google plus one (+1)"
39
+ msgstr "Google plus un (+1)"
40
+
41
+ #: ../ssb-admin.php:95
42
+ msgid "Facebook Like it"
43
+ msgstr "Facebook J'aime"
44
+
45
+ #: ../ssb-admin.php:96
46
+ msgid "Twitter share"
47
+ msgstr "Partage twitter"
48
+
49
+ #: ../ssb-admin.php:101
50
+ msgid "Single posts - display settings"
51
+ msgstr "Articles seuls - paramètres d'affichages"
52
+
53
+ #: ../ssb-admin.php:103
54
+ msgid "Place buttons on single post:"
55
+ msgstr "Placer les boutons sur un article seul :"
56
+
57
+ #: ../ssb-admin.php:104
58
+ #: ../ssb-admin.php:128
59
+ msgid "Before the content"
60
+ msgstr "Avant le contenu"
61
+
62
+ #: ../ssb-admin.php:105
63
+ #: ../ssb-admin.php:129
64
+ msgid "After the content"
65
+ msgstr "Après le contenu"
66
+
67
+ #: ../ssb-admin.php:110
68
+ msgid "Single pages - display settings"
69
+ msgstr "Pages - paramètres d'affichage"
70
+
71
+ #: ../ssb-admin.php:112
72
+ msgid "Place buttons on single pages:"
73
+ msgstr "Placer les boutons sur les pages :"
74
+
75
+ #: ../ssb-admin.php:113
76
+ msgid "Before the page content"
77
+ msgstr "Avant le contenu de la page"
78
+
79
+ #: ../ssb-admin.php:114
80
+ msgid "After the page content"
81
+ msgstr "Après le contenu de la page"
82
+
83
+ #: ../ssb-admin.php:119
84
+ msgid "Archives - display settings"
85
+ msgstr "Archives - paramètres d'affichage"
86
+
87
+ #: ../ssb-admin.php:121
88
+ msgid "Select additional places to display buttons:"
89
+ msgstr "Choisissez une place supplémentaire pour afficher les boutons :"
90
+
91
+ #: ../ssb-admin.php:122
92
+ msgid "Show at frontpage"
93
+ msgstr "Afficher sur la page principale"
94
+
95
+ #: ../ssb-admin.php:123
96
+ msgid "Show at category pages"
97
+ msgstr "Afficher sur les pages de catégories"
98
+
99
+ #: ../ssb-admin.php:124
100
+ msgid "Show at archive pages"
101
+ msgstr "Afficher sur les pages d'archives"
102
+
103
+ #: ../ssb-admin.php:125
104
+ msgid "Show at tag pages"
105
+ msgstr "Affichers sur les pages de tags"
106
+
107
+ #: ../ssb-admin.php:127
108
+ msgid "Place buttons on archives:"
109
+ msgstr "Placer les boutons sur les archives :"
110
+
111
+ #: ../ssb-admin.php:135
112
+ msgid "Save settings"
113
+ msgstr "Enregistrer les changement"
114
+
115
+ #: ../ssb-admin.php:145
116
+ msgid "About this plugin:"
117
+ msgstr "À propos de cette extension"
118
+
119
+ #: ../ssb-admin.php:147
120
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
121
+ msgstr "Parlez à <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> sur Twitter pour signaler les bugs ou demander des ajouts."
122
+
123
+ #: ../ssb-admin.php:148
124
+ msgid "Enjoy the plugin?"
125
+ msgstr "Cette extension vous plaît ?"
126
+
127
+ #: ../ssb-admin.php:149
128
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
129
+ msgstr "<a href=\"http://twitter.com/?status=J'utilise @rabinek - WordPress Simple Social Buttons ! http://blog.rabinek.pl/\" target=\"_blank\">Twittez cette info</a> et n'hésitez pas à faire un don !"
130
+
131
+ #: ../ssb-admin.php:150
132
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
133
+ msgstr "<strong>Faire un don :</strong> Faire une extension demande beaucoup de travail - aidez les développeurs à améliorer leur travail. Merci !"
134
+
135
+ #: ../ssb-admin.php:162
136
+ msgid "About the author:"
137
+ msgstr "À propos de l'auteur :"
138
+
139
+ #: ../ssb-admin.php:164
140
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
141
+ msgstr "Salut ! Mon nom est Paweł Rabinek (surnommé xradar). Je m'intéresse beaucoup au référencement et aux réseaux sociaux, au développement PHP et pour WordPress."
142
+
143
+ #: ../ssb-admin.php:166
144
+ msgid "My blog about SEO"
145
+ msgstr "Mon blog sur le référencement (SEO)"
146
+
147
+ #: ../ssb-admin.php:166
148
+ msgid "[Polish]"
149
+ msgstr " "
150
+
151
+ #: ../ssb-admin.php:167
152
+ msgid "Follow me on Twitter"
153
+ msgstr "Suivez-moi sur twitter !"
154
+
155
+ #: ../ssb-admin.php:168
156
+ msgid "Paweł Rabinek on Facebook"
157
+ msgstr "Paweł Rabinek sur Facebook"
158
+
159
+ #: ../ssb-admin.php:169
160
+ msgid "Paweł Rabinek on Google Plus"
161
+ msgstr "Paweł Rabinek sur Google Plus"
162
+
163
+ #: ../ssb-admin.php:170
164
+ msgid "LinkedIn profile"
165
+ msgstr "Profil LinkedIn"
166
+
167
+ #: ../ssb-admin.php:176
168
+ msgid "Usefull links:"
169
+ msgstr "Liens utiles :"
170
+
171
+ #: ../ssb-admin.php:179
172
+ msgid "Unlimited web hosting"
173
+ msgstr "Hébergement web illimité"
174
+
175
+ #: ../ssb-admin.php:180
176
+ msgid "Best SEO software"
177
+ msgstr "Meilleur logiciel de référencement"
178
+
179
+ #: ../ssb-admin.php:181
180
+ msgid "Wordpress templates"
181
+ msgstr "Thèmes pour WordPress"
182
+
183
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
184
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
tags/1.2/lang/simplesocialbuttons-pl_PL.mo ADDED
Binary file
tags/1.2/lang/simplesocialbuttons-pl_PL.po ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2011-09-20 09:50+0100\n"
6
+ "PO-Revision-Date: 2011-09-20 09:51+0100\n"
7
+ "Last-Translator: Paweł Rabinek <pawel@rabinek.pl>\n"
8
+ "Language-Team: Paweł Rabinek <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: Polish\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-SearchPath-0: ..\n"
17
+
18
+ #: ../simple-social-buttons.php:199
19
+ #: ../ssb-admin.php:11
20
+ msgid "Settings"
21
+ msgstr "Ustawienia"
22
+
23
+ #: ../ssb-admin.php:13
24
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
25
+ msgstr "<strong>Simple Social Buttons</strong>, autor <strong>Paweł Rabinek</strong>. Wtyczka dodaje do wpisów przyciski: <strong>Google +1</strong>, <strong>Facebook Lubię to</strong> oraz <strong>Twitter</strong>. Najlepsza wtyczka z przyciskami social media dla Wordpress."
26
+
27
+ #: ../ssb-admin.php:90
28
+ msgid "Select buttons"
29
+ msgstr "Wybór przycisków"
30
+
31
+ #: ../ssb-admin.php:92
32
+ msgid "Select social media buttons:"
33
+ msgstr "Wybierz przyciski do wyświetlenia:"
34
+
35
+ #: ../ssb-admin.php:94
36
+ msgid "Google plus one (+1)"
37
+ msgstr "Google plus jeden (+1)"
38
+
39
+ #: ../ssb-admin.php:95
40
+ msgid "Facebook Like it"
41
+ msgstr "Facebook Lubię to"
42
+
43
+ #: ../ssb-admin.php:96
44
+ msgid "Twitter share"
45
+ msgstr "Wyślij na Twitter"
46
+
47
+ #: ../ssb-admin.php:101
48
+ msgid "Single posts - display settings"
49
+ msgstr "Pojedyńcze wpisy - ustawienia"
50
+
51
+ #: ../ssb-admin.php:103
52
+ msgid "Place buttons on single post:"
53
+ msgstr "Miejsce przycisków na podstronie wpisu:"
54
+
55
+ #: ../ssb-admin.php:104
56
+ #: ../ssb-admin.php:128
57
+ msgid "Before the content"
58
+ msgstr "Nad treścią wpisu"
59
+
60
+ #: ../ssb-admin.php:105
61
+ #: ../ssb-admin.php:129
62
+ msgid "After the content"
63
+ msgstr "Pod treścią wpisu"
64
+
65
+ #: ../ssb-admin.php:110
66
+ msgid "Single pages - display settings"
67
+ msgstr "Pojedyńcze strony - ustawienia"
68
+
69
+ #: ../ssb-admin.php:112
70
+ msgid "Place buttons on single pages:"
71
+ msgstr "Miejsce przycisków na stronach:"
72
+
73
+ #: ../ssb-admin.php:113
74
+ msgid "Before the page content"
75
+ msgstr "Nad treścią strony"
76
+
77
+ #: ../ssb-admin.php:114
78
+ msgid "After the page content"
79
+ msgstr "Pod treścią strony"
80
+
81
+ #: ../ssb-admin.php:119
82
+ msgid "Archives - display settings"
83
+ msgstr "Archiwa - ustawienia"
84
+
85
+ #: ../ssb-admin.php:121
86
+ msgid "Select additional places to display buttons:"
87
+ msgstr "Dodatkowe miejsca do wyświetlenia przycisków:"
88
+
89
+ #: ../ssb-admin.php:122
90
+ msgid "Show at frontpage"
91
+ msgstr "Pokazuj na stronie głównej"
92
+
93
+ #: ../ssb-admin.php:123
94
+ msgid "Show at category pages"
95
+ msgstr "Pokazuj na stroniach kategorii"
96
+
97
+ #: ../ssb-admin.php:124
98
+ msgid "Show at archive pages"
99
+ msgstr "Pokazuje w archiwum dat"
100
+
101
+ #: ../ssb-admin.php:125
102
+ msgid "Show at tag pages"
103
+ msgstr "Pokazuj na stronach tagów"
104
+
105
+ #: ../ssb-admin.php:127
106
+ msgid "Place buttons on archives:"
107
+ msgstr "Miejsce przycisków na stronach archiwum:"
108
+
109
+ #: ../ssb-admin.php:135
110
+ msgid "Save settings"
111
+ msgstr "Zapisz ustawienia"
112
+
113
+ #: ../ssb-admin.php:145
114
+ msgid "About this plugin:"
115
+ msgstr "Informacje o wtyczce:"
116
+
117
+ #: ../ssb-admin.php:147
118
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
119
+ msgstr "Napisz do mnie <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> na Twitterze, jeżeli znalazłeś błąd lub masz pomysł na ulepszenie wtyczki."
120
+
121
+ #: ../ssb-admin.php:148
122
+ msgid "Enjoy the plugin?"
123
+ msgstr "Podoba Ci się wtyczka?"
124
+
125
+ #: ../ssb-admin.php:149
126
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
127
+ msgstr "<a href=\"http://twitter.com/?status=Używam wtyczki do Wordpressa od @rabinek - WordPress Simple Social Buttons! http://blog.rabinek.pl/\" target=\"_blank\">Powiedz o niej na Twitterze</a> i rozważ wsparcie dla tej wtyczki (poniżej)."
128
+
129
+ #: ../ssb-admin.php:150
130
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
131
+ msgstr "<strong>Wsparcie:</strong> Wiele pracy trzeba włożyć w napisanie takiej wtyczki. Jeżeli korzystasz z niej i podoba Ci się, postaw mi piwo klikając Donate."
132
+
133
+ #: ../ssb-admin.php:162
134
+ msgid "About the author:"
135
+ msgstr "Informacje o autorze:"
136
+
137
+ #: ../ssb-admin.php:164
138
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
139
+ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar). Zawodowo zajmuje się SEO i mediami społecznościowymi. Programuję w PHP, często z wykorzystaniem Wordpressa."
140
+
141
+ #: ../ssb-admin.php:166
142
+ msgid "My blog about SEO"
143
+ msgstr "Mój blog o SEO"
144
+
145
+ #: ../ssb-admin.php:166
146
+ msgid "[Polish]"
147
+ msgstr " "
148
+
149
+ #: ../ssb-admin.php:167
150
+ msgid "Follow me on Twitter"
151
+ msgstr "Napisz do mnie na Twitter"
152
+
153
+ #: ../ssb-admin.php:168
154
+ msgid "Paweł Rabinek on Facebook"
155
+ msgstr "Paweł Rabinek na Facebook"
156
+
157
+ #: ../ssb-admin.php:169
158
+ msgid "Paweł Rabinek on Google Plus"
159
+ msgstr "Paweł Rabinek na Google Plus"
160
+
161
+ #: ../ssb-admin.php:170
162
+ msgid "LinkedIn profile"
163
+ msgstr "Profil na LinkedIn"
164
+
165
+ #: ../ssb-admin.php:176
166
+ msgid "Usefull links:"
167
+ msgstr "Przydatne linki:"
168
+
169
+ #: ../ssb-admin.php:179
170
+ msgid "Unlimited web hosting"
171
+ msgstr "Nielimitowany hosting stron"
172
+
173
+ #: ../ssb-admin.php:180
174
+ msgid "Best SEO software"
175
+ msgstr "Najlepsze oprogramowanie SEO"
176
+
177
+ #: ../ssb-admin.php:181
178
+ msgid "Wordpress templates"
179
+ msgstr "Szablony do Wordpress"
180
+
181
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
182
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
tags/1.2/readme.txt ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Plugin Name ===
2
+ Contributors: xradar
3
+ Donate link: http://blog.rabinek.pl/
4
+ Tags: facebook, google, twitter, plus one, like it, like, share
5
+ Requires at least: 2.8
6
+ Tested up to: 3.2.1
7
+ Stable tag: 1.1
8
+
9
+ Insert and customize social buttons: Facebook Like it, Google plus +1 and Twitter share. Share your content with friends.
10
+
11
+ == Description ==
12
+
13
+ Simple Social Buttons adds to your posts social network buttons, such as: Facebook "Like it!", Google plus on "+1" and Twitter share. Plugin is fully customizable. You can decide where to put those buttons:
14
+
15
+ - Buttons above the post content
16
+ - Buttons under the post content
17
+ - Buttons above and under the post
18
+
19
+ That's not all. Simple Social Buttons can also add social media buttons to:
20
+
21
+ - Static Pages
22
+ - Front Page
23
+ - Posts Categories
24
+ - Date Archives
25
+ - Tags Archives
26
+
27
+ Let your visitors share your content with friends and let them promote your blog. Facebook, Google plus and Twitter are the most popular social networks nowadays. Don't miss the opportunity, and help publish your content and links to those social media networks.
28
+
29
+ Simple Social Buttons is currently in the following languages:
30
+
31
+ - English
32
+ - French, thanks to [@RhooManu](https://twitter.com/RhooManu "RhooManu on Twitter")
33
+ - Polish (język polski)
34
+
35
+ Feel free if you want to create a translation of this plugin. Contact me via e-mail or Twitter [@rabinek](https://twitter.com/rabinek "Paweł Rabinek on Twitter"), and I'll add your's translation to Simple Social Buttons.
36
+
37
+ For more information about Wordpress and SEO, visit my [SEO Blog](http://blog.rabinek.pl "Paweł Rabinek - Blog SEO") (in polish).
38
+
39
+ == Installation ==
40
+
41
+ 1. Download the latest version of Simple Social Buttons
42
+ 2. Upload folder named simple-social-buttons to the /wp-content/plugins/ directory
43
+ 3. Activate the plugin through the 'Plugins' menu in WordPress
44
+ 4. (Optional) Customize the buttons in the Settings > Simple Social Buttons menu
45
+
46
+ That's it. Buttons will show on your blog posts.
47
+
48
+
49
+ == Frequently Asked Questions ==
50
+
51
+ = Is the plugin free? =
52
+
53
+ Yes, it's free. I hope you like it :) If so you can buy me a coffee by doing paypal donate.
54
+
55
+ = Is the plug will be developed? =
56
+
57
+ Yes. I've some plans about developing Simple Social Buttons. There will be more buttons, more customization, and more powerfull! Follow me on Twitter [@rabinek](http://twitter.com/rabinek "Paweł Rabinek na Twitter") and stay tuned.
58
+
59
+ = Why use this plugin? =
60
+
61
+ This plugin automatically adds the Facebook Like button, Google plus one +1 and Twitter share button for each post on your blog. This is the simples and effective way to promote your blog in social media networks.
62
+
63
+ = How about support? =
64
+
65
+ Follow me at Twitter [@rabinek](http://twitter.com/rabinek "Paweł Rabinek na Twitter") or send me a mention. I'll reply as soon as I get it.
66
+
67
+ == Screenshots ==
68
+
69
+ 1. Simple Social Buttons - plugin options
70
+ 2. Plugin example
71
+ 3. Plugin on archive
72
+
73
+
74
+ == Changelog ==
75
+
76
+ = 1.0 =
77
+ * First stable release.
78
+
79
+ = 1.1 =
80
+ * Added french translation
81
+ * Added language support in Facebook and Google+ JavaScript
tags/1.2/screenshot-1.png ADDED
Binary file
tags/1.2/screenshot-2.png ADDED
Binary file
tags/1.2/screenshot-3.jpg ADDED
Binary file
tags/1.2/simple-social-buttons.php ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: Simple Social Buttons
4
+ Plugin URI: http://blog.rabinek.pl/
5
+ Description: Insert social buttons into posts and archives: Facebook "Like it", Google Plus One "+1" and Twitter share.
6
+ Author: Paweł Rabinek
7
+ Version: 1.0
8
+ Author URI: http://blog.rabinek.pl/
9
+ */
10
+
11
+ /* Copyright 2011, Paweł Rabinek (xradar) (email : pawel@rabinek.pl)
12
+
13
+ This program is free software; you can redistribute it and/or modify
14
+ it under the terms of the GNU General Public License, version 2, as
15
+ published by the Free Software Foundation.
16
+
17
+ This program is distributed in the hope that it will be useful,
18
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
19
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
+ GNU General Public License for more details.
21
+
22
+ You should have received a copy of the GNU General Public License
23
+ along with this program; if not, write to the Free Software
24
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
+ */
26
+
27
+ function ssb_include_social_js() {
28
+ $lang = get_bloginfo("language");
29
+ $lang_g = strtolower(substr($lang, 0, 2));
30
+ $lang_fb = str_replace("-", "_", $lang);
31
+ ?>
32
+
33
+ <!-- Simple Social Buttons plugin -->
34
+ <script type="text/javascript" src="https://apis.google.com/js/plusone.js">
35
+ //<![CDATA[
36
+ {lang: '<?php echo $lang_g; ?>'}
37
+ //]]>
38
+ </script>
39
+ <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
40
+ <script type="text/javascript" src="http://connect.facebook.net/<?php echo $lang_fb; ?>/all.js#xfbml=1"></script>
41
+ <!-- End of Simple Social Buttons -->
42
+
43
+ <?php }
44
+
45
+
46
+ add_action('wp_footer', 'ssb_include_social_js');
47
+
48
+ function ssb_include_css() { ?>
49
+
50
+ <!-- Simple Social Buttons style sheet -->
51
+ <style type="text/css">
52
+ div.simplesocialbuttons { height: 20px; margin: 10px auto 10px 0; text-align: center; clear: left; }
53
+ div.simplesocialbutton { float: left; text-align: center; }
54
+ </style>
55
+ <!-- End of Simple Social Buttons -->
56
+
57
+ <?php }
58
+
59
+ add_action('wp_head', 'ssb_include_css');
60
+
61
+
62
+ //insert the buttons after post contents
63
+ function ssb_insert_buttons($content) {
64
+
65
+ if(!ssb_where_to_insert()) {
66
+ return $content;
67
+ }
68
+
69
+ // get post permalink
70
+ $permalink = get_permalink();
71
+ $title = get_the_title();
72
+
73
+ // get settings from database
74
+ $ssb_googleplus = get_option('ssb_googleplus');
75
+ $ssb_fblike = get_option('ssb_fblike');
76
+ $ssb_twitter = get_option('ssb_twitter');
77
+
78
+ $ssb_beforepost = get_option('ssb_beforepost');
79
+ $ssb_afterpost = get_option('ssb_afterpost');
80
+
81
+ $ssb_beforepage = get_option('ssb_beforepage');
82
+ $ssb_afterpage = get_option('ssb_afterpage');
83
+
84
+ $ssb_beforearchive = get_option('ssb_beforearchive');
85
+ $ssb_afterarchive = get_option('ssb_afterarchive');
86
+
87
+
88
+ $ssb_buttonscode = '<div class="simplesocialbuttons">'."\n";
89
+ if($ssb_googleplus) {
90
+ $ssb_buttonscode .= '<div class="simplesocialbutton"><!-- Google Plus One--><g:plusone size="medium" count="true" href="'.$permalink.'"></g:plusone></div>'."\n";
91
+ }
92
+ if($ssb_fblike) {
93
+ $ssb_buttonscode .= '<div class="simplesocialbutton"><!-- Facebook like--><div id="fb-root"></div><fb:like href="'.$permalink.'" send="false" layout="button_count" width="100" show_faces="false" action="like" font=""></fb:like></div>'."\n";
94
+ }
95
+ if($ssb_twitter) {
96
+ $ssb_buttonscode .= '<div class="simplesocialbutton"><!-- Twitter--><a name="twitter_share" data-count="horizontal" href="http://twitter.com/share" data-text="'.$title.'" data-url="'.$permalink.'" class="twitter-share-button" rel="nofollow"></a></div>'."\n";
97
+ }
98
+ $ssb_buttonscode .= '</div>'."\n";
99
+
100
+
101
+ if(is_single()) {
102
+ if($ssb_beforepost) {
103
+ $content = $ssb_buttonscode.$content;
104
+ }
105
+ if($ssb_afterpost) {
106
+ $content = $content.$ssb_buttonscode;
107
+ }
108
+ }else if(is_page()) {
109
+ if($ssb_beforepage) {
110
+ $content = $ssb_buttonscode.$content;
111
+ }
112
+ if($ssb_afterpage) {
113
+ $content = $content.$ssb_buttonscode;
114
+ }
115
+ }else{
116
+ if($ssb_beforearchive) {
117
+ $content = $ssb_buttonscode.$content;
118
+ }
119
+ if($ssb_afterarchive) {
120
+ $content = $content.$ssb_buttonscode;
121
+ }
122
+ }
123
+
124
+ return $content;
125
+
126
+
127
+ }
128
+
129
+ function ssb_where_to_insert()
130
+ {
131
+
132
+ // display on single post?
133
+ $ssb_beforepost = get_option('ssb_beforepost');
134
+ $ssb_afterpost = get_option('ssb_afterpost');
135
+ if(is_single() && ($ssb_beforepost || $ssb_afterpost))
136
+ {
137
+ return true;
138
+ }
139
+
140
+ // display on single page?
141
+ $ssb_beforepage = get_option('ssb_beforepage');
142
+ $ssb_afterpage = get_option('ssb_afterpage');
143
+ if(is_page() && ($ssb_beforepage || $ssb_afterpage))
144
+ {
145
+ return true;
146
+ }
147
+
148
+ // display on frontpage, categories, archives, tags?
149
+ $ssb_showfront = get_option('ssb_showfront');
150
+ $ssb_showcategory = get_option('ssb_showcategory');
151
+ $ssb_showarchive = get_option('ssb_showarchive');
152
+ $ssb_showtag = get_option('ssb_showtag');
153
+
154
+ if(is_front_page() && $ssb_showfront)
155
+ {
156
+ return true;
157
+ }
158
+
159
+ if(is_category() && $ssb_showcategory)
160
+ {
161
+ return true;
162
+ }
163
+
164
+ if(is_date() && $ssb_showarchive)
165
+ {
166
+ return true;
167
+ }
168
+
169
+ if(is_tag() && $ssb_showtag)
170
+ {
171
+ return true;
172
+ }
173
+ return false;
174
+ }
175
+
176
+ add_filter ('the_content', 'ssb_insert_buttons');
177
+ add_filter ('the_excerpt', 'ssb_insert_buttons');
178
+
179
+ function ssb_menu()
180
+ {
181
+ global $wpdb;
182
+ include 'ssb-admin.php';
183
+ }
184
+
185
+ function ssb_admin_actions()
186
+ {
187
+ add_options_page("Simple Social Buttons ", "Simple Social Buttons ", 1, "simple-social-buttons", "ssb_menu");
188
+ }
189
+
190
+ add_action('admin_menu', 'ssb_admin_actions');
191
+
192
+
193
+
194
+ add_filter('plugin_action_links', 'ssb_plugin_action_links', 10, 2);
195
+
196
+ function ssb_plugin_action_links($links, $file) {
197
+ static $this_plugin;
198
+
199
+ if (!$this_plugin) {
200
+ $this_plugin = plugin_basename(__FILE__);
201
+ }
202
+
203
+ if ($file == $this_plugin) {
204
+ // The "page" query string value must be equal to the slug
205
+ // of the Settings admin page we defined earlier, which in
206
+ // this case equals "myplugin-settings".
207
+ $settings_link = '<a href="' . get_bloginfo('wpurl') . '/wp-admin/admin.php?page=simple-social-buttons">'.__("Settings", "simplesocialbuttons").'</a>';
208
+ array_unshift($links, $settings_link);
209
+ }
210
+
211
+ return $links;
212
+ }
213
+
214
+ // install and default settings
215
+ function ssb_set_defaults()
216
+ {
217
+ add_option( "ssb_googleplus", "1", "", "yes" );
218
+ add_option( "ssb_fblike", "1", "", "yes" );
219
+ add_option( "ssb_twitter", "1", "", "yes" );
220
+ add_option( "ssb_beforepost", "1", "", "yes" );
221
+ }
222
+ register_activation_hook( __FILE__, 'ssb_set_defaults' );
223
+
224
+ function ssb_init()
225
+ {
226
+ load_plugin_textdomain( 'simplesocialbuttons', '', dirname(plugin_basename( __FILE__ ))."/lang" );
227
+ }
228
+ add_action( 'init', 'ssb_init' );
229
+
230
+ ?>
tags/1.2/ssb-admin.php ADDED
@@ -0,0 +1,188 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="wrap">
2
+
3
+ <style type="text/css">
4
+ div.inside ul li {
5
+ line-height: 16px;
6
+ list-style-type: square;
7
+ margin-left: 15px;
8
+ }
9
+ </style>
10
+
11
+ <h2>Simple Social Buttons - <?php _e('Settings', 'simplesocialbuttons'); ?></h2>
12
+
13
+ <p><?php _e('<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever.', 'simplesocialbuttons'); ?></p>
14
+
15
+ <?php
16
+
17
+ if($_POST['hiddenconfirm'] == 'Y') {
18
+
19
+ // save settings
20
+
21
+ $ssb_googleplus = $_POST['ssb_googleplus'];
22
+ update_option('ssb_googleplus', $ssb_googleplus);
23
+
24
+ $ssb_fblike = $_POST['ssb_fblike'];
25
+ update_option('ssb_fblike', $ssb_fblike);
26
+
27
+ $ssb_twitter = $_POST['ssb_twitter'];
28
+ update_option('ssb_twitter', $ssb_twitter);
29
+
30
+ $ssb_beforepost = $_POST['ssb_beforepost'];
31
+ update_option('ssb_beforepost', $ssb_beforepost);
32
+
33
+ $ssb_afterpost = $_POST['ssb_afterpost'];
34
+ update_option('ssb_afterpost', $ssb_afterpost);
35
+
36
+ $ssb_beforepage = $_POST['ssb_beforepage'];
37
+ update_option('ssb_beforepage', $ssb_beforepage);
38
+
39
+ $ssb_afterpage = $_POST['ssb_afterpage'];
40
+ update_option('ssb_afterpage', $ssb_afterpage);
41
+
42
+ $ssb_showfront = $_POST['ssb_showfront'];
43
+ update_option('ssb_showfront', $ssb_showfront);
44
+
45
+ $ssb_showcategory = $_POST['ssb_showcategory'];
46
+ update_option('ssb_showcategory', $ssb_showcategory);
47
+
48
+ $ssb_showarchive = $_POST['ssb_showarchive'];
49
+ update_option('ssb_showarchive', $ssb_showarchive);
50
+
51
+ $ssb_showtag = $_POST['ssb_showtag'];
52
+ update_option('ssb_showtag', $ssb_showtag);
53
+
54
+ $ssb_beforearchive = $_POST['ssb_beforearchive'];
55
+ update_option('ssb_beforearchive', $ssb_beforearchive);
56
+
57
+ $ssb_afterarchive = $_POST['ssb_afterarchive'];
58
+ update_option('ssb_afterarchive', $ssb_afterarchive);
59
+
60
+ }else{
61
+
62
+ // get settings from database
63
+ $ssb_googleplus = get_option('ssb_googleplus');
64
+ $ssb_fblike = get_option('ssb_fblike');
65
+ $ssb_twitter = get_option('ssb_twitter');
66
+
67
+ $ssb_beforepost = get_option('ssb_beforepost');
68
+ $ssb_afterpost = get_option('ssb_afterpost');
69
+
70
+ $ssb_beforepage = get_option('ssb_beforepage');
71
+ $ssb_afterpage = get_option('ssb_afterpage');
72
+
73
+ $ssb_showfront = get_option('ssb_showfront');
74
+ $ssb_showcategory = get_option('ssb_showcategory');
75
+ $ssb_showarchive = get_option('ssb_showarchive');
76
+ $ssb_showtag = get_option('ssb_showtag');
77
+
78
+ $ssb_beforearchive = get_option('ssb_beforearchive');
79
+ $ssb_afterarchive = get_option('ssb_afterarchive');
80
+ }
81
+
82
+ ?>
83
+
84
+
85
+ <div class="postbox-container" style="width:69%">
86
+ <div id="poststuff">
87
+ <form name="ssb_form" method="post" action="">
88
+
89
+ <div class="postbox">
90
+ <h3><?php _e('Select buttons', 'simplesocialbuttons'); ?></h3>
91
+ <div class="inside">
92
+ <h4><?php _e('Select social media buttons:', 'simplesocialbuttons'); ?></h4>
93
+
94
+ <p><input type="checkbox" name="ssb_googleplus" id="ssb_googleplus" value="1" <?php if(!empty($ssb_googleplus)) { ?>checked="checked"<?php } ?> /> <label for="ssb_googleplus"><?php _e('Google plus one (+1)', 'simplesocialbuttons'); ?></label></p>
95
+ <p><input type="checkbox" name="ssb_fblike" id="ssb_fblike" value="1" <?php if(!empty($ssb_fblike)) { ?>checked="checked"<?php } ?> /> <label for="ssb_fblike"><?php _e('Facebook Like it', 'simplesocialbuttons'); ?></label></p>
96
+ <p><input type="checkbox" name="ssb_twitter" id="ssb_twitter" value="1" <?php if(!empty($ssb_twitter)) { ?>checked="checked"<?php } ?> /> <label for="ssb_twitter"><?php _e('Twitter share', 'simplesocialbuttons'); ?></label></p>
97
+ </div>
98
+ </div>
99
+
100
+ <div class="postbox">
101
+ <h3><?php _e('Single posts - display settings', 'simplesocialbuttons'); ?></h3>
102
+ <div class="inside">
103
+ <h4><?php _e('Place buttons on single post:', 'simplesocialbuttons'); ?></h4>
104
+ <p><input type="checkbox" name="ssb_beforepost" id="ssb_beforepost" value="1" <?php if(!empty($ssb_beforepost)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforepost"><?php _e('Before the content', 'simplesocialbuttons'); ?></label></p>
105
+ <p><input type="checkbox" name="ssb_afterpost" id="ssb_afterpost" value="1" <?php if(!empty($ssb_afterpost)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterpost"><?php _e('After the content', 'simplesocialbuttons'); ?></label></p>
106
+ </div>
107
+ </div>
108
+
109
+ <div class="postbox">
110
+ <h3><?php _e('Single pages - display settings', 'simplesocialbuttons'); ?></h3>
111
+ <div class="inside">
112
+ <h4><?php _e('Place buttons on single pages:', 'simplesocialbuttons'); ?></h4>
113
+ <p><input type="checkbox" name="ssb_beforepage" id="ssb_beforepage" value="1" <?php if(!empty($ssb_beforepage)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforepage"><?php _e('Before the page content', 'simplesocialbuttons'); ?></label></p>
114
+ <p><input type="checkbox" name="ssb_afterpage" id="ssb_afterpage" value="1" <?php if(!empty($ssb_afterpage)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterpage"><?php _e('After the page content', 'simplesocialbuttons'); ?></label></p>
115
+ </div>
116
+ </div>
117
+
118
+ <div class="postbox">
119
+ <h3><?php _e('Archives - display settings', 'simplesocialbuttons'); ?></h3>
120
+ <div class="inside">
121
+ <h4><?php _e('Select additional places to display buttons:', 'simplesocialbuttons'); ?></h4>
122
+ <p><input type="checkbox" name="ssb_showfront" id="ssb_showfront" value="1" <?php if(!empty($ssb_showfront)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showfront"><?php _e('Show at frontpage', 'simplesocialbuttons'); ?></label></p>
123
+ <p><input type="checkbox" name="ssb_showcategory" id="ssb_showcategory" value="1" <?php if(!empty($ssb_showcategory)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showcategory"><?php _e('Show at category pages', 'simplesocialbuttons'); ?></label></p>
124
+ <p><input type="checkbox" name="ssb_showarchive" id="ssb_showarchive" value="1" <?php if(!empty($ssb_showarchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showarchive"><?php _e('Show at archive pages', 'simplesocialbuttons'); ?></label></p>
125
+ <p><input type="checkbox" name="ssb_showtag" id="ssb_showtag" value="1" <?php if(!empty($ssb_showtag)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showtag"><?php _e('Show at tag pages', 'simplesocialbuttons'); ?></label></p>
126
+
127
+ <h4><?php _e('Place buttons on archives:', 'simplesocialbuttons'); ?></h4>
128
+ <p><input type="checkbox" name="ssb_beforearchive" id="ssb_beforearchive" value="1" <?php if(!empty($ssb_beforearchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforearchive"><?php _e('Before the content', 'simplesocialbuttons'); ?></label></p>
129
+ <p><input type="checkbox" name="ssb_afterarchive" id="ssb_afterarchive" value="1" <?php if(!empty($ssb_afterarchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterarchive"><?php _e('After the content', 'simplesocialbuttons'); ?></label></p>
130
+ </div>
131
+ </div>
132
+
133
+ <div class="submit">
134
+ <input type="hidden" name="hiddenconfirm" value="Y" />
135
+ <input type="submit" name="Submit" class="button-primary" value="<?php _e('Save settings', 'simplesocialbuttons'); ?>" />
136
+ </div>
137
+
138
+ </form>
139
+ </div>
140
+ </div>
141
+
142
+ <div class="postbox-container" style="width:29%">
143
+ <div id="poststuff">
144
+ <div class="postbox">
145
+ <h3><?php _e('About this plugin:', 'simplesocialbuttons'); ?></h3>
146
+ <div class="inside">
147
+ <p><?php _e('Talk to <a href="http://twitter.com/rabinek" target="_blank">@rabinek</a> on twitter for bugs or feature requests.', 'simplesocialbuttons'); ?></p>
148
+ <p><strong><?php _e('Enjoy the plugin?', 'simplesocialbuttons'); ?></strong><br />
149
+ <?php _e('<a href="http://twitter.com/?status=I\'m using @rabinek\'s WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/" target="_blank">Tweet about it</a> and consider donating.', 'simplesocialbuttons'); ?></p>
150
+ <p><?php _e('<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!', 'simplesocialbuttons'); ?><br />
151
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
152
+ <input type="hidden" name="cmd" value="_s-xclick">
153
+ <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----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-----END PKCS7-----">
154
+ <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
155
+ <img alt="" border="0" src="https://www.paypalobjects.com/pl_PL/i/scr/pixel.gif" width="1" height="1">
156
+ </form>
157
+ </p>
158
+ </div>
159
+ </div>
160
+
161
+ <div class="postbox">
162
+ <h3><?php _e('About the author:', 'simplesocialbuttons'); ?></h3>
163
+ <div class="inside">
164
+ <p><?php _e('Hi! My name is Paweł Rabinek (aka xradar). I\'m interesed in SEO and social media, PHP and Wordpress developement.', 'simplesocialbuttons'); ?></p>
165
+ <ul>
166
+ <li><a href="http://blog.rabinek.pl/" target="_blank"><?php _e('My blog about SEO', 'simplesocialbuttons'); ?></a> <?php _e('[Polish]', 'simplesocialbuttons'); ?></li>
167
+ <li><?php _e('Follow me on Twitter', 'simplesocialbuttons'); ?> <a href="http://www.twitter.com/rabinek" target="_blank">@rabinek</a></li>
168
+ <li><a href="http://www.facebook.com/rabinek" target="_blank"><?php _e('Paweł Rabinek on Facebook', 'simplesocialbuttons'); ?></a></li>
169
+ <li><a href="http://plus.google.com/114311287272342088386/" target="_blank"><?php _e('Paweł Rabinek on Google Plus', 'simplesocialbuttons'); ?></a></li>
170
+ <li><a href="http://pl.linkedin.com/in/rabinek" target="_blank"><?php _e('LinkedIn profile', 'simplesocialbuttons'); ?></a></li>
171
+ </ul>
172
+ </div>
173
+ </div>
174
+
175
+ <div class="postbox">
176
+ <h3><?php _e('Usefull links:', 'simplesocialbuttons'); ?></h3>
177
+ <div class="inside">
178
+ <ul>
179
+ <li><a href="http://www.site5.com/in.php?id=53542" target="_blank"><?php _e('Unlimited web hosting', 'simplesocialbuttons'); ?></a></li>
180
+ <li><a href="http://www.webceo.com/cgi-bin/go/clickthru.cgi?id=xradar" target="_blank"><?php _e('Best SEO software', 'simplesocialbuttons'); ?></a></li>
181
+ <li><a href="http://themeforest.net?ref=xradar" target="_blank"><?php _e('Wordpress templates', 'simplesocialbuttons'); ?></a><li>
182
+ </ul>
183
+ </div>
184
+ </div>
185
+
186
+ </div>
187
+ </div>
188
+ </div>
tags/1.2/uninstall.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if( !defined( 'ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') ) {
3
+ exit();
4
+ }
5
+
6
+ // clean up the databes before the uninstall plugin
7
+
8
+ delete_option('ssb_googleplus');
9
+ delete_option('ssb_fblike');
10
+ delete_option('ssb_twitter');
11
+
12
+ delete_option('ssb_beforepost');
13
+ delete_option('ssb_afterpost');
14
+
15
+ delete_option('ssb_showfront');
16
+ delete_option('ssb_showcategory');
17
+ delete_option('ssb_showarchive');
18
+ delete_option('ssb_showtag');
19
+
20
+ delete_option('ssb_beforearchive');
21
+ delete_option('ssb_afterarchive');
22
+
23
+ ?>
tags/1.3/lang/simplesocialbuttons-fr_FR.mo ADDED
Binary file
tags/1.3/lang/simplesocialbuttons-fr_FR.po ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2011-09-22 14:53+0100\n"
6
+ "PO-Revision-Date: 2011-09-22 16:41+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Paweł Rabinek (FR: Emmanuel Beziat) <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: French\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-Country: FRANCE\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ # Traduit par @RhooManu - www.infographizm.com
20
+ #: ../simple-social-buttons.php:199
21
+ #: ../ssb-admin.php:11
22
+ msgid "Settings"
23
+ msgstr "Paramètres"
24
+
25
+ #: ../ssb-admin.php:13
26
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
27
+ msgstr "<strong>Simple Social Buttons</strong>, par <strong>Paweł Rabinek</strong>. Cette extension ajoute des boutons de réseaux sociaux, comme <strong>Google +1</strong>, <strong>Facebook J'aime</strong> et <strong>Twitter</strong>. La plus flexible des extensions de boutons de réseaux sociaux !"
28
+
29
+ #: ../ssb-admin.php:90
30
+ msgid "Select buttons"
31
+ msgstr "Choisir les boutons"
32
+
33
+ #: ../ssb-admin.php:92
34
+ msgid "Select social media buttons:"
35
+ msgstr "Choisissez les boutons de réseaux sociaux :"
36
+
37
+ #: ../ssb-admin.php:94
38
+ msgid "Google plus one (+1)"
39
+ msgstr "Google plus un (+1)"
40
+
41
+ #: ../ssb-admin.php:95
42
+ msgid "Facebook Like it"
43
+ msgstr "Facebook J'aime"
44
+
45
+ #: ../ssb-admin.php:96
46
+ msgid "Twitter share"
47
+ msgstr "Partage twitter"
48
+
49
+ #: ../ssb-admin.php:101
50
+ msgid "Single posts - display settings"
51
+ msgstr "Articles seuls - paramètres d'affichages"
52
+
53
+ #: ../ssb-admin.php:103
54
+ msgid "Place buttons on single post:"
55
+ msgstr "Placer les boutons sur un article seul :"
56
+
57
+ #: ../ssb-admin.php:104
58
+ #: ../ssb-admin.php:128
59
+ msgid "Before the content"
60
+ msgstr "Avant le contenu"
61
+
62
+ #: ../ssb-admin.php:105
63
+ #: ../ssb-admin.php:129
64
+ msgid "After the content"
65
+ msgstr "Après le contenu"
66
+
67
+ #: ../ssb-admin.php:110
68
+ msgid "Single pages - display settings"
69
+ msgstr "Pages - paramètres d'affichage"
70
+
71
+ #: ../ssb-admin.php:112
72
+ msgid "Place buttons on single pages:"
73
+ msgstr "Placer les boutons sur les pages :"
74
+
75
+ #: ../ssb-admin.php:113
76
+ msgid "Before the page content"
77
+ msgstr "Avant le contenu de la page"
78
+
79
+ #: ../ssb-admin.php:114
80
+ msgid "After the page content"
81
+ msgstr "Après le contenu de la page"
82
+
83
+ #: ../ssb-admin.php:119
84
+ msgid "Archives - display settings"
85
+ msgstr "Archives - paramètres d'affichage"
86
+
87
+ #: ../ssb-admin.php:121
88
+ msgid "Select additional places to display buttons:"
89
+ msgstr "Choisissez une place supplémentaire pour afficher les boutons :"
90
+
91
+ #: ../ssb-admin.php:122
92
+ msgid "Show at frontpage"
93
+ msgstr "Afficher sur la page principale"
94
+
95
+ #: ../ssb-admin.php:123
96
+ msgid "Show at category pages"
97
+ msgstr "Afficher sur les pages de catégories"
98
+
99
+ #: ../ssb-admin.php:124
100
+ msgid "Show at archive pages"
101
+ msgstr "Afficher sur les pages d'archives"
102
+
103
+ #: ../ssb-admin.php:125
104
+ msgid "Show at tag pages"
105
+ msgstr "Affichers sur les pages de tags"
106
+
107
+ #: ../ssb-admin.php:127
108
+ msgid "Place buttons on archives:"
109
+ msgstr "Placer les boutons sur les archives :"
110
+
111
+ #: ../ssb-admin.php:135
112
+ msgid "Save settings"
113
+ msgstr "Enregistrer les changement"
114
+
115
+ #: ../ssb-admin.php:145
116
+ msgid "About this plugin:"
117
+ msgstr "À propos de cette extension"
118
+
119
+ #: ../ssb-admin.php:147
120
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
121
+ msgstr "Parlez à <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> sur Twitter pour signaler les bugs ou demander des ajouts."
122
+
123
+ #: ../ssb-admin.php:148
124
+ msgid "Enjoy the plugin?"
125
+ msgstr "Cette extension vous plaît ?"
126
+
127
+ #: ../ssb-admin.php:149
128
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
129
+ msgstr "<a href=\"http://twitter.com/?status=J'utilise @rabinek - WordPress Simple Social Buttons ! http://blog.rabinek.pl/\" target=\"_blank\">Twittez cette info</a> et n'hésitez pas à faire un don !"
130
+
131
+ #: ../ssb-admin.php:150
132
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
133
+ msgstr "<strong>Faire un don :</strong> Faire une extension demande beaucoup de travail - aidez les développeurs à améliorer leur travail. Merci !"
134
+
135
+ #: ../ssb-admin.php:162
136
+ msgid "About the author:"
137
+ msgstr "À propos de l'auteur :"
138
+
139
+ #: ../ssb-admin.php:164
140
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
141
+ msgstr "Salut ! Mon nom est Paweł Rabinek (surnommé xradar). Je m'intéresse beaucoup au référencement et aux réseaux sociaux, au développement PHP et pour WordPress."
142
+
143
+ #: ../ssb-admin.php:166
144
+ msgid "My blog about SEO"
145
+ msgstr "Mon blog sur le référencement (SEO)"
146
+
147
+ #: ../ssb-admin.php:166
148
+ msgid "[Polish]"
149
+ msgstr " "
150
+
151
+ #: ../ssb-admin.php:167
152
+ msgid "Follow me on Twitter"
153
+ msgstr "Suivez-moi sur twitter !"
154
+
155
+ #: ../ssb-admin.php:168
156
+ msgid "Paweł Rabinek on Facebook"
157
+ msgstr "Paweł Rabinek sur Facebook"
158
+
159
+ #: ../ssb-admin.php:169
160
+ msgid "Paweł Rabinek on Google Plus"
161
+ msgstr "Paweł Rabinek sur Google Plus"
162
+
163
+ #: ../ssb-admin.php:170
164
+ msgid "LinkedIn profile"
165
+ msgstr "Profil LinkedIn"
166
+
167
+ #: ../ssb-admin.php:176
168
+ msgid "Usefull links:"
169
+ msgstr "Liens utiles :"
170
+
171
+ #: ../ssb-admin.php:179
172
+ msgid "Unlimited web hosting"
173
+ msgstr "Hébergement web illimité"
174
+
175
+ #: ../ssb-admin.php:180
176
+ msgid "Best SEO software"
177
+ msgstr "Meilleur logiciel de référencement"
178
+
179
+ #: ../ssb-admin.php:181
180
+ msgid "Wordpress templates"
181
+ msgstr "Thèmes pour WordPress"
182
+
183
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
184
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
tags/1.3/lang/simplesocialbuttons-pl_PL.mo ADDED
Binary file
tags/1.3/lang/simplesocialbuttons-pl_PL.po ADDED
@@ -0,0 +1,192 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2011-09-26 15:07+0100\n"
6
+ "PO-Revision-Date: 2011-09-26 15:08+0100\n"
7
+ "Last-Translator: Paweł Rabinek <pawel@rabinek.pl>\n"
8
+ "Language-Team: Paweł Rabinek <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: Polish\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-SearchPath-0: ..\n"
17
+
18
+ #: ../simple-social-buttons.php:397
19
+ #: ../ssb-admin.php:11
20
+ msgid "Settings"
21
+ msgstr "Ustawienia"
22
+
23
+ #: ../ssb-admin.php:13
24
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
25
+ msgstr "<strong>Simple Social Buttons</strong>, autor <strong>Paweł Rabinek</strong>. Wtyczka dodaje do wpisów przyciski: <strong>Google +1</strong>, <strong>Facebook Lubię to</strong> oraz <strong>Twitter</strong>. Najlepsza wtyczka z przyciskami social media dla Wordpress."
26
+
27
+ #: ../ssb-admin.php:68
28
+ msgid "Select buttons"
29
+ msgstr "Wybór przycisków"
30
+
31
+ #: ../ssb-admin.php:70
32
+ msgid "Select social media buttons:"
33
+ msgstr "Wybierz przyciski do wyświetlenia:"
34
+
35
+ #: ../ssb-admin.php:76
36
+ #: ../ssb-admin.php:90
37
+ #: ../ssb-admin.php:105
38
+ msgid "inactive"
39
+ msgstr "nieaktywny"
40
+
41
+ #: ../ssb-admin.php:84
42
+ msgid "Google plus one (+1)"
43
+ msgstr "Google plus jeden (+1)"
44
+
45
+ #: ../ssb-admin.php:98
46
+ msgid "Facebook Like it"
47
+ msgstr "Facebook Lubię to"
48
+
49
+ #: ../ssb-admin.php:113
50
+ msgid "Twitter share"
51
+ msgstr "Wyślij na Twitter"
52
+
53
+ #: ../ssb-admin.php:116
54
+ msgid "Disable plugin CSS (only advanced users)"
55
+ msgstr "Wyłącz style CSS wtyczki (tylko dla zaawansowanych użytkowników)"
56
+
57
+ #: ../ssb-admin.php:121
58
+ msgid "Single posts - display settings"
59
+ msgstr "Pojedyńcze wpisy - ustawienia"
60
+
61
+ #: ../ssb-admin.php:123
62
+ msgid "Place buttons on single post:"
63
+ msgstr "Miejsce przycisków na podstronie wpisu:"
64
+
65
+ #: ../ssb-admin.php:124
66
+ #: ../ssb-admin.php:148
67
+ msgid "Before the content"
68
+ msgstr "Nad treścią wpisu"
69
+
70
+ #: ../ssb-admin.php:125
71
+ #: ../ssb-admin.php:149
72
+ msgid "After the content"
73
+ msgstr "Pod treścią wpisu"
74
+
75
+ #: ../ssb-admin.php:130
76
+ msgid "Single pages - display settings"
77
+ msgstr "Pojedyńcze strony - ustawienia"
78
+
79
+ #: ../ssb-admin.php:132
80
+ msgid "Place buttons on single pages:"
81
+ msgstr "Miejsce przycisków na stronach:"
82
+
83
+ #: ../ssb-admin.php:133
84
+ msgid "Before the page content"
85
+ msgstr "Nad treścią strony"
86
+
87
+ #: ../ssb-admin.php:134
88
+ msgid "After the page content"
89
+ msgstr "Pod treścią strony"
90
+
91
+ #: ../ssb-admin.php:139
92
+ msgid "Archives - display settings"
93
+ msgstr "Archiwa - ustawienia"
94
+
95
+ #: ../ssb-admin.php:141
96
+ msgid "Select additional places to display buttons:"
97
+ msgstr "Dodatkowe miejsca do wyświetlenia przycisków:"
98
+
99
+ #: ../ssb-admin.php:142
100
+ msgid "Show at frontpage"
101
+ msgstr "Pokazuj na stronie głównej"
102
+
103
+ #: ../ssb-admin.php:143
104
+ msgid "Show at category pages"
105
+ msgstr "Pokazuj na stroniach kategorii"
106
+
107
+ #: ../ssb-admin.php:144
108
+ msgid "Show at archive pages"
109
+ msgstr "Pokazuje w archiwum dat"
110
+
111
+ #: ../ssb-admin.php:145
112
+ msgid "Show at tag pages"
113
+ msgstr "Pokazuj na stronach tagów"
114
+
115
+ #: ../ssb-admin.php:147
116
+ msgid "Place buttons on archives:"
117
+ msgstr "Miejsce przycisków na stronach archiwum:"
118
+
119
+ #: ../ssb-admin.php:155
120
+ msgid "Save Changes"
121
+ msgstr "Zapisz ustawienia"
122
+
123
+ #: ../ssb-admin.php:165
124
+ msgid "About this plugin:"
125
+ msgstr "Informacje o wtyczce:"
126
+
127
+ #: ../ssb-admin.php:167
128
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
129
+ msgstr "Napisz do mnie <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> na Twitterze, jeżeli znalazłeś błąd lub masz pomysł na ulepszenie wtyczki."
130
+
131
+ #: ../ssb-admin.php:168
132
+ msgid "Enjoy the plugin?"
133
+ msgstr "Podoba Ci się wtyczka?"
134
+
135
+ #: ../ssb-admin.php:169
136
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
137
+ msgstr "<a href=\"http://twitter.com/?status=Używam wtyczki do Wordpressa od @rabinek - WordPress Simple Social Buttons! http://blog.rabinek.pl/\" target=\"_blank\">Powiedz o niej na Twitterze</a> i rozważ wsparcie dla tej wtyczki (poniżej)."
138
+
139
+ #: ../ssb-admin.php:170
140
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
141
+ msgstr "<strong>Wsparcie:</strong> Wiele pracy trzeba włożyć w napisanie takiej wtyczki. Jeżeli korzystasz z niej i podoba Ci się, postaw mi piwo klikając Donate."
142
+
143
+ #: ../ssb-admin.php:182
144
+ msgid "About the author:"
145
+ msgstr "Informacje o autorze:"
146
+
147
+ #: ../ssb-admin.php:184
148
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
149
+ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar). Zawodowo zajmuje się SEO i mediami społecznościowymi. Programuję w PHP, często z wykorzystaniem Wordpressa."
150
+
151
+ #: ../ssb-admin.php:186
152
+ msgid "My blog about SEO"
153
+ msgstr "Mój blog o SEO"
154
+
155
+ #: ../ssb-admin.php:186
156
+ msgid "[Polish]"
157
+ msgstr " "
158
+
159
+ #: ../ssb-admin.php:187
160
+ msgid "Follow me on Twitter"
161
+ msgstr "Napisz do mnie na Twitter"
162
+
163
+ #: ../ssb-admin.php:188
164
+ msgid "Paweł Rabinek on Facebook"
165
+ msgstr "Paweł Rabinek na Facebook"
166
+
167
+ #: ../ssb-admin.php:189
168
+ msgid "Paweł Rabinek on Google Plus"
169
+ msgstr "Paweł Rabinek na Google Plus"
170
+
171
+ #: ../ssb-admin.php:190
172
+ msgid "LinkedIn profile"
173
+ msgstr "Profil na LinkedIn"
174
+
175
+ #: ../ssb-admin.php:196
176
+ msgid "Usefull links:"
177
+ msgstr "Przydatne linki:"
178
+
179
+ #: ../ssb-admin.php:199
180
+ msgid "Unlimited web hosting"
181
+ msgstr "Nielimitowany hosting stron"
182
+
183
+ #: ../ssb-admin.php:200
184
+ msgid "Best SEO software"
185
+ msgstr "Najlepsze oprogramowanie SEO"
186
+
187
+ #: ../ssb-admin.php:201
188
+ msgid "Wordpress templates"
189
+ msgstr "Szablony do Wordpress"
190
+
191
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
192
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
tags/1.3/readme.txt ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Plugin Name ===
2
+ Contributors: xradar
3
+ Donate link: http://blog.rabinek.pl/
4
+ Tags: facebook, google, twitter, plus one, like it, like, share
5
+ Requires at least: 2.8
6
+ Tested up to: 3.2.1
7
+ Stable tag: 1.3
8
+
9
+ Insert and customize social buttons: Facebook Like it, Google plus +1 and Twitter share. Share your content with friends.
10
+
11
+ == Description ==
12
+
13
+ Simple Social Buttons adds to your posts social network buttons, such as: **Facebook "Like it!"**, **Google plus on "+1"** and **Twitter share**. Plugin is fully customizable. You can decide where to put those buttons:
14
+
15
+ - Buttons above the post content
16
+ - Buttons under the post content
17
+ - Buttons above and under the post
18
+
19
+ That's not all. Simple Social Buttons can also add social media buttons to:
20
+
21
+ - Static Pages
22
+ - Front Page
23
+ - Posts Categories
24
+ - Date Archives
25
+ - Tags Archives
26
+
27
+ Want's more? Now you can change the **order of buttons** on your post!
28
+
29
+ Let your visitors share your content with friends and let them **promote your blog**. Facebook, Google Plus and Twitter are the most popular social networks nowadays. Don't miss the opportunity, and help publish your content and links to those social media networks.
30
+
31
+ Simple Social Buttons is currently in the following languages:
32
+
33
+ - English
34
+ - French
35
+ - Polish (język polski)
36
+
37
+ Feel free if you want to create a translation of this plugin. Contact me via e-mail or Twitter [@rabinek](https://twitter.com/rabinek "Paweł Rabinek on Twitter"), and I'll add your's translation to Simple Social Buttons.
38
+
39
+ For more information about Wordpress and SEO, visit my [SEO Blog](http://blog.rabinek.pl "Paweł Rabinek - Blog SEO") (in polish).
40
+
41
+ **Big thanks to:**
42
+
43
+ - [@RhooManu](http://twitter.com/RhooManu "RhooManu on Twitter") for french translation
44
+ - [Usability Idealist](http://usability-idealist.de/ "Fabian Wolf - Usability Idealist") for converting code to object-oriented, adding buttons order and many fixes
45
+
46
+
47
+ == Installation ==
48
+
49
+ 1. Download the latest version of Simple Social Buttons
50
+ 2. Upload folder named simple-social-buttons to the /wp-content/plugins/ directory
51
+ 3. Activate the plugin through the 'Plugins' menu in WordPress
52
+ 4. (Optional) Customize the buttons in the Settings > Simple Social Buttons menu
53
+
54
+ That's it. Buttons will show on your blog posts.
55
+
56
+
57
+ == Frequently Asked Questions ==
58
+
59
+ = Is the plugin free? =
60
+
61
+ Yes, it's free. I hope you like it :) If so you can buy me a coffee by doing paypal donate.
62
+
63
+ = Is the plug will be developed? =
64
+
65
+ Yes. I've some plans about developing Simple Social Buttons. There will be more buttons, more customization, and more powerfull! Follow me on Twitter [@rabinek](http://twitter.com/rabinek "Paweł Rabinek na Twitter") and stay tuned.
66
+
67
+ = Why use this plugin? =
68
+
69
+ This plugin automatically adds the Facebook Like button, Google plus one +1 and Twitter share button for each post on your blog. This is the simples and effective way to promote your blog in social media networks.
70
+
71
+ = How about support? =
72
+
73
+ Follow me at Twitter [@rabinek](http://twitter.com/rabinek "Paweł Rabinek na Twitter") or send me a mention. I'll reply as soon as I get it. You can also visit my [SEO Blog](http://blog.rabinek.pl "Paweł Rabinek - Blog SEO") (in polish).
74
+
75
+ == Screenshots ==
76
+
77
+ 1. Simple Social Buttons - plugin options
78
+ 2. Plugin example
79
+ 3. Plugin on archive
80
+
81
+
82
+ == Changelog ==
83
+
84
+ = 1.0 =
85
+ * First stable release.
86
+
87
+ = 1.1 =
88
+ * Added french translation
89
+ * Added language support in Facebook and Google+ JavaScript
90
+
91
+ = 1.2.1 =
92
+ * Optimized settings storage
93
+
94
+ = 1.3 =
95
+ * Converted plugin to class (requires PHP 5, because it is using the constructor auto-method)
96
+ * Added sorting options
97
+ * Added uninstall hook
98
+ * Fixed plugin settings slot not being highlighted in the admin navigation / general settings
99
+ * Added "disable regular CSS" option to let advanced users use their own CSS code
100
+ * Lots of fine-tuning
tags/1.3/screenshot-1.png ADDED
Binary file
tags/1.3/screenshot-2.png ADDED
Binary file
tags/1.3/screenshot-3.jpg ADDED
Binary file
tags/1.3/simple-social-buttons.php ADDED
@@ -0,0 +1,411 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: Simple Social Buttons
4
+ Plugin URI: http://blog.rabinek.pl/simple-social-buttons-wordpress/
5
+ Description: Insert social buttons into posts and archives: Facebook "Like it", Google Plus One "+1" and Twitter share.
6
+ Author: Paweł Rabinek
7
+ Version: 1.3
8
+ Author URI: http://blog.rabinek.pl/
9
+ */
10
+
11
+ /* Copyright 2011, Paweł Rabinek (xradar) (email : pawel@rabinek.pl)
12
+
13
+ This program is free software; you can redistribute it and/or modify
14
+ it under the terms of the GNU General Public License, version 2, as
15
+ published by the Free Software Foundation.
16
+
17
+ This program is distributed in the hope that it will be useful,
18
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
19
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
+ GNU General Public License for more details.
21
+
22
+ You should have received a copy of the GNU General Public License
23
+ along with this program; if not, write to the Free Software
24
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
+ */
26
+
27
+ /**
28
+ * HACK: Converted to class, added buttons ordering, improve saving settings
29
+ * @author Fabian Wolf
30
+ * @link http://usability-idealist.de/
31
+ * @since 1.3
32
+ * @requires PHP 5
33
+ */
34
+
35
+
36
+ class SimpleSocialButtonsPR {
37
+ var $pluginName = 'Simple Social Buttons';
38
+ var $pluginVersion = '1.3';
39
+ var $pluginPrefix = 'ssb_pr_';
40
+
41
+ // plugin default settings
42
+ var $pluginDefaultSettings = array(
43
+ 'googleplus' => '1',
44
+ 'fblike' => '2',
45
+ 'twitter' => '3',
46
+ 'beforepost' => '1',
47
+ 'afterpost' => '0',
48
+ 'beforepage' => '1',
49
+ 'afterpage' => '0',
50
+ 'beforearchive' => '0',
51
+ 'afterarchive' => '0'
52
+ );
53
+
54
+ // defined buttons
55
+ var $arrKnownButtons = array('fblike', 'googleplus', 'twitter');
56
+
57
+
58
+ /**
59
+ * Constructor
60
+ */
61
+
62
+ function __construct() {
63
+ register_activation_hook( __FILE__, array(&$this, 'plugin_install') );
64
+ register_deactivation_hook( __FILE__, array(&$this, 'plugin_uninstall') );
65
+
66
+ /**
67
+ * Action hooks
68
+ */
69
+
70
+ /**
71
+ * basic init
72
+ */
73
+ add_action( 'init', array(&$this, 'plugin_init') );
74
+
75
+ // get settings
76
+ $currentSettings = $this->get_settings();
77
+
78
+ // social JS + CSS data
79
+ add_action( 'wp_footer', array(&$this, 'include_social_js') );
80
+ if(!isset($currentSettings['override_css'])) {
81
+ add_action( 'wp_head', array(&$this, 'include_css') );
82
+ }
83
+
84
+
85
+ /**
86
+ * Filter hooks
87
+ */
88
+
89
+ add_filter( 'the_content', array(&$this, 'insert_buttons') );
90
+ add_filter( 'the_excerpt', array(&$this, 'insert_buttons') );
91
+ }
92
+
93
+ function plugin_init() {
94
+ load_plugin_textdomain( 'simplesocialbuttons', '', dirname( plugin_basename( __FILE__ ) ).'/lang' );
95
+ }
96
+
97
+ /**
98
+ * Both avoids time-wasting https calls AND provides better SSL-protection if the current server is accessed using HTTPS
99
+ */
100
+
101
+ public function get_current_http( $echo = true ) {
102
+ $return = 'http' . (strtolower($_SERVER['HTTPS']) == 'on' ? 's' : '') . '://';
103
+
104
+ if($echo != false) {
105
+ echo $return;
106
+ return;
107
+ }
108
+
109
+ return $return;
110
+ }
111
+
112
+ function include_social_js() {
113
+ $lang = get_bloginfo('language');
114
+ $lang_g = strtolower(substr($lang, 0, 2));
115
+ $lang_fb = str_replace('-', '_', $lang);
116
+ ?>
117
+
118
+ <!-- Simple Social Buttons plugin -->
119
+ <script type="text/javascript" src="<?php $this->get_current_http(); ?>apis.google.com/js/plusone.js">
120
+ //<![CDATA[
121
+ {lang: '<?php echo $lang_g; ?>'}
122
+ //]]>
123
+ </script>
124
+ <script type="text/javascript" src="<?php $this->get_current_http(); ?>platform.twitter.com/widgets.js"></script>
125
+ <script type="text/javascript" src="<?php $this->get_current_http(); ?>connect.facebook.net/<?php echo $lang_fb; ?>/all.js#xfbml=1"></script>
126
+ <!-- /End of Simple Social Buttons -->
127
+
128
+ <?php
129
+ }
130
+
131
+
132
+ function include_css() {
133
+ ?>
134
+
135
+ <!-- Simple Social Buttons style sheet -->
136
+ <style type="text/css">
137
+ div.simplesocialbuttons { height: 20px; margin: 10px auto 10px 0; text-align: center; clear: left; }
138
+ div.simplesocialbutton { float: left; text-align: center; }
139
+ </style>
140
+ <!-- End of Simple Social Buttons -->
141
+
142
+ <?php
143
+ }
144
+
145
+ /**
146
+ * Called when installing = activating the plugin
147
+ */
148
+
149
+ function plugin_install() {
150
+ $defaultSettings = $this->check_old_settings();
151
+
152
+ /**
153
+ * @see http://codex.wordpress.org/Function_Reference/add_option
154
+ * @param string $name Name of the option to be added. Use underscores to separate words, and do not use uppercase - this is going to be placed into the database.
155
+ * @param mixed $value Value for this option name. Limited to 2^32 bytes of data.
156
+ * @param string $deprecated Deprecated in WordPress Version 2.3.
157
+ * @param string $autoload Should this option be automatically loaded by the function wp_load_alloptions() (puts options into object cache on each page load)? Valid values: yes or no. Default: yes
158
+ */
159
+ add_option( $this->pluginPrefix . 'settings', $defaultSettings, '', 'yes' );
160
+ add_option( $this->pluginPrefix . 'version', $this->pluginVersion, '', 'yes' ); // for backward-compatiblity checks
161
+
162
+ }
163
+
164
+ /**
165
+ * Backward compatiblity for newer versions
166
+ */
167
+
168
+ function check_old_settings() {
169
+ $return = $this->pluginDefaultSettings;
170
+
171
+ $oldSettings = get_option( $this->pluginPrefix . 'settings', array() );
172
+
173
+ if( !empty($oldSettings) && is_array($oldSettings) != false) {
174
+ $return = wp_parse_args( $oldSettings, $this->pluginDefaultSettings );
175
+ }
176
+
177
+ return $return;
178
+ }
179
+
180
+ /**
181
+ * Plugin unistall and database clean up
182
+ */
183
+
184
+ function plugin_uninstall() {
185
+ if( !defined( 'ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') ) {
186
+ exit();
187
+ }
188
+
189
+ delete_option( $this->pluginPrefix . 'settings' );
190
+ delete_option( $this->pluginPrefix . 'version' );
191
+
192
+ }
193
+
194
+
195
+ /**
196
+ * Get settings from database
197
+ */
198
+
199
+ public function get_settings() {
200
+ $return = get_option($this->pluginPrefix . 'settings' );
201
+ if(empty($return) != false) {
202
+ $return = $this->pluginDefaultSettings;
203
+ }
204
+
205
+ return $return;
206
+ }
207
+
208
+ /**
209
+ * Update settings
210
+ */
211
+ function update_settings( $newSettings = array() ) {
212
+ $return = false;
213
+
214
+ // compile settings
215
+ $currentSettings = $this->get_settings();
216
+
217
+ /**
218
+ * Compile settings array
219
+ * @see http://codex.wordpress.org/Function_Reference/wp_parse_args
220
+ * @param mixed $args
221
+ * @param mixed $defaults
222
+ */
223
+
224
+ $updatedSettings = wp_parse_args( $newSettings, $currentSettings );
225
+
226
+ if($currentSettings != $updatedSettings ) {
227
+ $return = update_option( $this->pluginPrefix . 'settings', $newSettings );
228
+ }
229
+
230
+ return $return;
231
+ }
232
+
233
+ /**
234
+ * Returns true on pages where buttons should be shown
235
+ */
236
+
237
+ function where_to_insert() {
238
+ $return = false;
239
+ // get settings from database
240
+ $settings = $this->get_settings();
241
+
242
+ extract( $settings, EXTR_PREFIX_ALL, 'ssb' );
243
+
244
+ // display on single post?
245
+ if(is_single() && ($ssb_beforepost || $ssb_afterpost)) {
246
+ $return = true;
247
+ }
248
+
249
+ // display on single page?
250
+ if(is_page() && ($ssb_beforepage || $ssb_afterpage)) {
251
+ $return = true;
252
+ }
253
+
254
+ // display on frontpage?
255
+ if(is_front_page() && $ssb_showfront) {
256
+ $return = true;
257
+ }
258
+
259
+ // display on category archive?
260
+ if(is_category() && $ssb_showcategory) {
261
+ $return = true;
262
+ }
263
+
264
+ // display on date archive?
265
+ if(is_date() && $ssb_showarchive)
266
+ {
267
+ $return = true;
268
+ }
269
+
270
+ // display on tag archive?
271
+ if(is_tag() && $ssb_showtag) {
272
+ $return = true;
273
+ }
274
+ return $return;
275
+ }
276
+
277
+ /**
278
+ * Insert the buttons to the content
279
+ */
280
+ function insert_buttons($content) {
281
+
282
+ // Insert or not?
283
+ if(!$this->where_to_insert() ) {
284
+ return $content;
285
+ }
286
+
287
+ // define empty buttons code to use
288
+ $ssb_buttonscode = '';
289
+
290
+ // get post permalink and title
291
+ $permalink = get_permalink();
292
+ $title = get_the_title();
293
+
294
+ // get settings from database
295
+ $settings = $this->get_settings();
296
+
297
+ extract( $settings, EXTR_PREFIX_ALL, 'ssb' );
298
+
299
+ /**
300
+ * Sorting the buttons
301
+ */
302
+
303
+ foreach($this->arrKnownButtons as $button_name) {
304
+ if(!empty($settings[$button_name]) ) {
305
+ $arrButtons[$button_name] = $settings[$button_name];
306
+ }
307
+ }
308
+ asort($arrButtons);
309
+
310
+ foreach($arrButtons as $button_name => $button_sort) {
311
+ switch($button_name) {
312
+ case 'googleplus':
313
+ $arrButtonsCode[] = '<div class="simplesocialbutton ssb-button-googleplus"><!-- Google Plus One--><g:plusone size="medium" count="true" href="'.$permalink.'"></g:plusone></div>';
314
+ break;
315
+ case 'fblike':
316
+ $arrButtonsCode[] = '<div class="simplesocialbutton ssb-button-fblike"><!-- Facebook like--><div id="fb-root"></div><fb:like href="'.$permalink.'" send="false" layout="button_count" width="100" show_faces="false" action="like" font=""></fb:like></div>';
317
+ break;
318
+ case 'twitter':
319
+ $arrButtonsCode[] = '<div class="simplesocialbutton ssb-buttom-twitter"><!-- Twitter--><a name="twitter_share" data-count="horizontal" href="http://twitter.com/share" data-text="'.$title.'" data-url="'.$permalink.'" class="twitter-share-button" rel="nofollow"></a></div>';
320
+ break;
321
+ }
322
+ }
323
+
324
+
325
+ if(isset($arrButtonsCode) != false) {
326
+ $ssb_buttonscode = '<div class="simplesocialbuttons">'."\n";
327
+ $ssb_buttonscode .= implode("\n", $arrButtonsCode) . "\n";
328
+ $ssb_buttonscode .= '</div>'."\n";
329
+ }
330
+
331
+ if(is_single()) {
332
+ if($ssb_beforepost) {
333
+ $content = $ssb_buttonscode.$content;
334
+ }
335
+ if($ssb_afterpost) {
336
+ $content = $content.$ssb_buttonscode;
337
+ }
338
+ } else if(is_page()) {
339
+ if($ssb_beforepage) {
340
+ $content = $ssb_buttonscode.$content;
341
+ }
342
+ if($ssb_afterpage) {
343
+ $content = $content.$ssb_buttonscode;
344
+ }
345
+ } else {
346
+ if($ssb_beforearchive) {
347
+ $content = $ssb_buttonscode.$content;
348
+ }
349
+ if($ssb_afterarchive) {
350
+ $content = $content.$ssb_buttonscode;
351
+ }
352
+ }
353
+
354
+ return $content;
355
+
356
+ }
357
+
358
+
359
+ } // end class
360
+
361
+
362
+ /**
363
+ * Admin class
364
+ *
365
+ * Gets only initiated if this plugin is called inside the admin section ;)
366
+ */
367
+
368
+ class SimpleSocialButtonsPR_Admin extends SimpleSocialButtonsPR {
369
+
370
+ function __construct() {
371
+ parent::__construct();
372
+
373
+ add_action('admin_menu', array(&$this, 'admin_actions') );
374
+ add_filter('plugin_action_links', array(&$this, 'plugin_action_links'), 10, 2 );
375
+ }
376
+
377
+ public function admin_actions() {
378
+ add_options_page('Simple Social Buttons ', 'Simple Social Buttons ', 1, 'simple-social-buttons', array(&$this, 'admin_page') );
379
+ }
380
+
381
+ public function admin_page() {
382
+ global $wpdb;
383
+
384
+ include dirname( __FILE__ ).'/ssb-admin.php';
385
+ }
386
+
387
+
388
+
389
+ public function plugin_action_links($links, $file) {
390
+ static $this_plugin;
391
+
392
+ if (!$this_plugin) {
393
+ $this_plugin = plugin_basename(__FILE__);
394
+ }
395
+
396
+ if ($file == $this_plugin) {
397
+ $settings_link = '<a href="' . get_bloginfo('wpurl') . '/wp-admin/options-general.php?page=simple-social-buttons">'.__('Settings').'</a>';
398
+ array_unshift($links, $settings_link);
399
+ }
400
+
401
+ return $links;
402
+ }
403
+ }
404
+
405
+ if(is_admin() ) {
406
+ $_ssb_pr = new SimpleSocialButtonsPR_Admin();
407
+ } else {
408
+ $_ssb_pr = new SimpleSocialButtonsPR();
409
+ }
410
+
411
+ ?>
tags/1.3/ssb-admin.php ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="wrap">
2
+
3
+ <style type="text/css">
4
+ div.inside ul li {
5
+ line-height: 16px;
6
+ list-style-type: square;
7
+ margin-left: 15px;
8
+ }
9
+ </style>
10
+
11
+ <h2>Simple Social Buttons - <?php _e('Settings'); ?>:</h2>
12
+
13
+ <p><?php _e('<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever.', 'simplesocialbuttons'); ?></p>
14
+
15
+ <?php
16
+
17
+ if(strtolower($_POST['hiddenconfirm']) == 'y') {
18
+
19
+ /**
20
+ * Compile settings array
21
+ * @see http://codex.wordpress.org/Function_Reference/wp_parse_args
22
+ */
23
+
24
+ $updateSettings = array(
25
+ 'googleplus' => $_POST['ssb_googleplus'],
26
+ 'fblike' => $_POST['ssb_fblike'],
27
+ 'twitter' => $_POST['ssb_twitter'],
28
+
29
+ 'beforepost' => $_POST['ssb_beforepost'],
30
+ 'afterpost' => $_POST['ssb_afterpost'],
31
+ 'beforepage' => $_POST['ssb_beforepage'],
32
+ 'afterpage' => $_POST['ssb_afterpage'],
33
+ 'beforearchive' => $_POST['ssb_beforearchive'],
34
+ 'afterarchive' => $_POST['ssb_afterarchive'],
35
+
36
+ 'showfront' => $_POST['ssb_showfront'],
37
+ 'showcategory' => $_POST['ssb_showcategory'],
38
+ 'showarchive' => $_POST['ssb_showarchive'],
39
+ 'showtag' => $_POST['ssb_showtag'],
40
+
41
+ 'override_css' => $_POST['ssb_override_css'],
42
+ );
43
+
44
+ $this->update_settings( $updateSettings );
45
+
46
+ }
47
+
48
+ /**
49
+ * HACK: Use one big array instead of a bunchload of single options
50
+ * @author Fabian Wolf
51
+ * @link http://usability-idealist.de/
52
+ * @since 1.2.1
53
+ */
54
+
55
+ // get settings from database
56
+ $settings = $this->get_settings();
57
+
58
+ extract( $settings, EXTR_PREFIX_ALL, 'ssb' );
59
+
60
+ ?>
61
+
62
+
63
+ <div class="postbox-container" style="width:69%">
64
+ <div id="poststuff">
65
+ <form name="ssb_form" method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
66
+
67
+ <div class="postbox">
68
+ <h3><?php _e('Select buttons', 'simplesocialbuttons'); ?></h3>
69
+ <div class="inside">
70
+ <h4><?php _e('Select social media buttons:', 'simplesocialbuttons'); ?></h4>
71
+
72
+
73
+ <p><select name="ssb_googleplus" id="ssb_googleplus">
74
+ <option value=""<?php if(empty($ssb_googleplus) != false) {
75
+ ?>selected="selected"<?php
76
+ } ?>><?php _e('inactive', 'simplesocialbuttons'); ?></option>
77
+
78
+ <?php for($pos = 1; $pos < 4; $pos++) { ?>
79
+ <option value="<?php echo $pos; ?>"<?php if($ssb_googleplus == $pos) {
80
+ ?>selected="selected"<?php
81
+ } ?>> # <?php echo $pos; ?> </option>
82
+ <?php } ?>
83
+ </select> &nbsp;
84
+ <label for="ssb_googleplus"><?php _e('Google plus one (+1)', 'simplesocialbuttons'); ?></label></p>
85
+
86
+ <!-- fblike -->
87
+ <p><select name="ssb_fblike" id="ssb_fblike">
88
+ <option value=""<?php if(empty($ssb_fblike) != false) {
89
+ ?>selected="selected"<?php
90
+ } ?>><?php _e('inactive', 'simplesocialbuttons'); ?></option>
91
+
92
+ <?php for($pos = 1; $pos < 4; $pos++) { ?>
93
+ <option value="<?php echo $pos; ?>"<?php if($ssb_fblike == $pos) {
94
+ ?>selected="selected"<?php
95
+ } ?>> # <?php echo $pos; ?> </option>
96
+ <?php } ?>
97
+ </select> &nbsp;
98
+ <label for="ssb_fblike"><?php _e('Facebook Like it', 'simplesocialbuttons'); ?></label></p>
99
+ <!-- /fblike -->
100
+
101
+ <!-- twitter -->
102
+ <p><select name="ssb_twitter" id="ssb_twitter">
103
+ <option value=""<?php if(empty($ssb_twitter) != false) {
104
+ ?>selected="selected"<?php
105
+ } ?>><?php _e('inactive', 'simplesocialbuttons'); ?></option>
106
+
107
+ <?php for($pos = 1; $pos < 4; $pos++) { ?>
108
+ <option value="<?php echo $pos; ?>"<?php if($ssb_twitter == $pos) {
109
+ ?>selected="selected"<?php
110
+ } ?>> # <?php echo $pos; ?> </option>
111
+ <?php } ?>
112
+ </select> &nbsp;
113
+ <label for="ssb_twitter"><?php _e('Twitter share', 'simplesocialbuttons'); ?></label></p>
114
+ <!-- /twitter -->
115
+
116
+ <p><label for="ssb_override_css"><input type="checkbox" name="ssb_override_css" id="ssb_override_css" value="1" <?php if($ssb_override_css) { echo 'checked="checked"'; } ?>/> <?php _e('Disable plugin CSS (only advanced users)'); ?></label></p>
117
+ </div>
118
+ </div>
119
+
120
+ <div class="postbox">
121
+ <h3><?php _e('Single posts - display settings', 'simplesocialbuttons'); ?></h3>
122
+ <div class="inside">
123
+ <h4><?php _e('Place buttons on single post:', 'simplesocialbuttons'); ?></h4>
124
+ <p><input type="checkbox" name="ssb_beforepost" id="ssb_beforepost" value="1" <?php if(!empty($ssb_beforepost)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforepost"><?php _e('Before the content', 'simplesocialbuttons'); ?></label></p>
125
+ <p><input type="checkbox" name="ssb_afterpost" id="ssb_afterpost" value="1" <?php if(!empty($ssb_afterpost)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterpost"><?php _e('After the content', 'simplesocialbuttons'); ?></label></p>
126
+ </div>
127
+ </div>
128
+
129
+ <div class="postbox">
130
+ <h3><?php _e('Single pages - display settings', 'simplesocialbuttons'); ?></h3>
131
+ <div class="inside">
132
+ <h4><?php _e('Place buttons on single pages:', 'simplesocialbuttons'); ?></h4>
133
+ <p><input type="checkbox" name="ssb_beforepage" id="ssb_beforepage" value="1" <?php if(!empty($ssb_beforepage)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforepage"><?php _e('Before the page content', 'simplesocialbuttons'); ?></label></p>
134
+ <p><input type="checkbox" name="ssb_afterpage" id="ssb_afterpage" value="1" <?php if(!empty($ssb_afterpage)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterpage"><?php _e('After the page content', 'simplesocialbuttons'); ?></label></p>
135
+ </div>
136
+ </div>
137
+
138
+ <div class="postbox">
139
+ <h3><?php _e('Archives - display settings', 'simplesocialbuttons'); ?></h3>
140
+ <div class="inside">
141
+ <h4><?php _e('Select additional places to display buttons:', 'simplesocialbuttons'); ?></h4>
142
+ <p><input type="checkbox" name="ssb_showfront" id="ssb_showfront" value="1" <?php if(!empty($ssb_showfront)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showfront"><?php _e('Show at frontpage', 'simplesocialbuttons'); ?></label></p>
143
+ <p><input type="checkbox" name="ssb_showcategory" id="ssb_showcategory" value="1" <?php if(!empty($ssb_showcategory)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showcategory"><?php _e('Show at category pages', 'simplesocialbuttons'); ?></label></p>
144
+ <p><input type="checkbox" name="ssb_showarchive" id="ssb_showarchive" value="1" <?php if(!empty($ssb_showarchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showarchive"><?php _e('Show at archive pages', 'simplesocialbuttons'); ?></label></p>
145
+ <p><input type="checkbox" name="ssb_showtag" id="ssb_showtag" value="1" <?php if(!empty($ssb_showtag)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showtag"><?php _e('Show at tag pages', 'simplesocialbuttons'); ?></label></p>
146
+
147
+ <h4><?php _e('Place buttons on archives:', 'simplesocialbuttons'); ?></h4>
148
+ <p><input type="checkbox" name="ssb_beforearchive" id="ssb_beforearchive" value="1" <?php if(!empty($ssb_beforearchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforearchive"><?php _e('Before the content', 'simplesocialbuttons'); ?></label></p>
149
+ <p><input type="checkbox" name="ssb_afterarchive" id="ssb_afterarchive" value="1" <?php if(!empty($ssb_afterarchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterarchive"><?php _e('After the content', 'simplesocialbuttons'); ?></label></p>
150
+ </div>
151
+ </div>
152
+
153
+ <div class="submit">
154
+ <input type="hidden" name="hiddenconfirm" value="Y" />
155
+ <input type="submit" name="Submit" class="button-primary" value="<?php _e('Save Changes'); ?>" />
156
+ </div>
157
+
158
+ </form>
159
+ </div>
160
+ </div>
161
+
162
+ <div class="postbox-container" style="width:29%">
163
+ <div id="poststuff">
164
+ <div class="postbox">
165
+ <h3><?php _e('About this plugin:', 'simplesocialbuttons'); ?></h3>
166
+ <div class="inside">
167
+ <p><?php _e('Talk to <a href="http://twitter.com/rabinek" target="_blank">@rabinek</a> on twitter for bugs or feature requests.', 'simplesocialbuttons'); ?></p>
168
+ <p><strong><?php _e('Enjoy the plugin?', 'simplesocialbuttons'); ?></strong><br />
169
+ <?php _e('<a href="http://twitter.com/?status=I\'m using @rabinek\'s WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/" target="_blank">Tweet about it</a> and consider donating.', 'simplesocialbuttons'); ?></p>
170
+ <p><?php _e('<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!', 'simplesocialbuttons'); ?><br />
171
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
172
+ <input type="hidden" name="cmd" value="_s-xclick">
173
+ <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----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-----END PKCS7-----">
174
+ <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
175
+ <img alt="" border="0" src="https://www.paypalobjects.com/pl_PL/i/scr/pixel.gif" width="1" height="1">
176
+ </form>
177
+ </p>
178
+ </div>
179
+ </div>
180
+
181
+ <div class="postbox">
182
+ <h3><?php _e('About the author:', 'simplesocialbuttons'); ?></h3>
183
+ <div class="inside">
184
+ <p><?php _e('Hi! My name is Paweł Rabinek (aka xradar). I\'m interesed in SEO and social media, PHP and Wordpress developement.', 'simplesocialbuttons'); ?></p>
185
+ <ul>
186
+ <li><a href="http://blog.rabinek.pl/" target="_blank"><?php _e('My blog about SEO', 'simplesocialbuttons'); ?></a> <?php _e('[Polish]', 'simplesocialbuttons'); ?></li>
187
+ <li><?php _e('Follow me on Twitter', 'simplesocialbuttons'); ?> <a href="http://www.twitter.com/rabinek" target="_blank">@rabinek</a></li>
188
+ <li><a href="http://www.facebook.com/rabinek" target="_blank"><?php _e('Paweł Rabinek on Facebook', 'simplesocialbuttons'); ?></a></li>
189
+ <li><a href="http://plus.google.com/114311287272342088386/" target="_blank"><?php _e('Paweł Rabinek on Google Plus', 'simplesocialbuttons'); ?></a></li>
190
+ <li><a href="http://pl.linkedin.com/in/rabinek" target="_blank"><?php _e('LinkedIn profile', 'simplesocialbuttons'); ?></a></li>
191
+ </ul>
192
+ </div>
193
+ </div>
194
+
195
+ <div class="postbox">
196
+ <h3><?php _e('Usefull links:', 'simplesocialbuttons'); ?></h3>
197
+ <div class="inside">
198
+ <ul>
199
+ <li><a href="http://www.site5.com/in.php?id=53542" target="_blank"><?php _e('Unlimited web hosting', 'simplesocialbuttons'); ?></a></li>
200
+ <li><a href="http://www.webceo.com/cgi-bin/go/clickthru.cgi?id=xradar" target="_blank"><?php _e('Best SEO software', 'simplesocialbuttons'); ?></a></li>
201
+ <li><a href="http://themeforest.net?ref=xradar" target="_blank"><?php _e('Wordpress templates', 'simplesocialbuttons'); ?></a><li>
202
+ </ul>
203
+ </div>
204
+ </div>
205
+
206
+ </div>
207
+ </div>
208
+ </div>
tags/1.3/uninstall.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if( !defined( 'ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') ) {
3
+ exit();
4
+ }
5
+
6
+ // clean up the databes before the uninstall plugin
7
+
8
+ delete_option('ssb_googleplus');
9
+ delete_option('ssb_fblike');
10
+ delete_option('ssb_twitter');
11
+
12
+ delete_option('ssb_beforepost');
13
+ delete_option('ssb_afterpost');
14
+
15
+ delete_option('ssb_showfront');
16
+ delete_option('ssb_showcategory');
17
+ delete_option('ssb_showarchive');
18
+ delete_option('ssb_showtag');
19
+
20
+ delete_option('ssb_beforearchive');
21
+ delete_option('ssb_afterarchive');
22
+
23
+ ?>
{lang → tags/1.4.1/lang}/simplesocialbuttons-de_DE.mo RENAMED
File without changes
{lang → tags/1.4.1/lang}/simplesocialbuttons-de_DE.po RENAMED
File without changes
{lang → tags/1.4.1/lang}/simplesocialbuttons-es_ES.mo RENAMED
File without changes
{lang → tags/1.4.1/lang}/simplesocialbuttons-es_ES.po RENAMED
File without changes
{lang → tags/1.4.1/lang}/simplesocialbuttons-fr_FR.mo RENAMED
File without changes
{lang → tags/1.4.1/lang}/simplesocialbuttons-fr_FR.po RENAMED
File without changes
{lang → tags/1.4.1/lang}/simplesocialbuttons-pl_PL.mo RENAMED
File without changes
{lang → tags/1.4.1/lang}/simplesocialbuttons-pl_PL.po RENAMED
File without changes
tags/1.4.1/readme.txt ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Plugin Name ===
2
+ Contributors: xradar
3
+ Donate link: http://blog.rabinek.pl/
4
+ Tags: facebook, google, twitter, plus one, like it, like, share
5
+ Requires at least: 2.8
6
+ Tested up to: 3.3.1
7
+ Stable tag: 1.4
8
+
9
+ Insert and customize social buttons: Facebook Like it, Google plus +1 and Twitter share. Share your content with friends.
10
+
11
+ == Description ==
12
+
13
+ Simple Social Buttons adds to your posts social network buttons, such as: **Facebook "Like it!"**, **Google plus on "+1"** and **Twitter share**. Plugin is fully customizable. You can decide where to put those buttons:
14
+
15
+ - Buttons above the post content
16
+ - Buttons under the post content
17
+ - Buttons above and under the post
18
+
19
+ That's not all. Simple Social Buttons can also add social media buttons to:
20
+
21
+ - Static Pages
22
+ - Front Page
23
+ - Posts Categories
24
+ - Date Archives
25
+ - Tags Archives
26
+
27
+ Want's more? Now you can change the **order of buttons** on your post!
28
+
29
+ Let your visitors share your content with friends and let them **promote your blog**. Facebook, Google Plus and Twitter are the most popular social networks nowadays. Don't miss the opportunity, and help publish your content and links to those social media networks.
30
+
31
+ Simple Social Buttons is currently in the following languages:
32
+
33
+ - English
34
+ - French
35
+ - Polish
36
+ - German
37
+ - Spanish
38
+
39
+ Feel free if you want to create a translation of this plugin. Contact me via e-mail or Twitter [@rabinek](https://twitter.com/rabinek "Paweł Rabinek on Twitter"), and I'll add your's translation to Simple Social Buttons.
40
+
41
+ For more information about Wordpress and SEO, visit my [SEO Blog](http://blog.rabinek.pl "Paweł Rabinek - Blog SEO") (in polish).
42
+ Also check my new SEO tool [SEO Audit](http://www.seoptimer.com "Free SEO Audit tool").
43
+
44
+ Big thanks for support in development of this plugin for:
45
+
46
+ - Karol from [Liga BBVA](http://www.ligabbva.pl "Liga hiszpańska BBVA") for PHP developement
47
+ - Talem Technologies - [Pozycjonowanie Bydgoszcz](http://www.talem.eu "SEO Pozycjonowanie Bydgoszcz") for time and resources
48
+ - See more thanks in FAQ section
49
+
50
+ == Installation ==
51
+
52
+ 1. Download the latest version of Simple Social Buttons
53
+ 2. Upload folder named simple-social-buttons to the /wp-content/plugins/ directory
54
+ 3. Activate the plugin through the 'Plugins' menu in WordPress
55
+ 4. (Optional) Customize the buttons in the Settings > Simple Social Buttons menu
56
+
57
+ That's it. Buttons will show on your blog posts.
58
+
59
+ You can also use this plugin directly in your template by function `<?php get_ssb([$order]); ?>`, where `$order` is a string with args ( example: `$order = "googleplus=1&fblike=2&twitter=3"` ) or an array ( example: `$order = array('googleplus' => 1, 'fblike' => 2, 'twitter' => 3)` ). If you would like to hide a specified button, you should set order to "0".
60
+
61
+
62
+ == Frequently Asked Questions ==
63
+
64
+ = Is the plugin free? =
65
+
66
+ Yes, it's free. I hope you like it :) If so you can buy me a coffee by doing paypal donate.
67
+
68
+ = Is the plug will be developed? =
69
+
70
+ Yes. I've some plans about developing Simple Social Buttons. There will be more buttons, more customization, and more powerfull! Follow me on Twitter [@rabinek](http://twitter.com/rabinek "Paweł Rabinek na Twitter") and stay tuned.
71
+
72
+ = Why use this plugin? =
73
+
74
+ This plugin automatically adds the Facebook Like button, Google plus one +1 and Twitter share button for each post on your blog. This is the simples and effective way to promote your blog in social media networks.
75
+
76
+ = How about support? =
77
+
78
+ Follow me at Twitter [@rabinek](http://twitter.com/rabinek "Paweł Rabinek na Twitter") or send me a mention. I'll reply as soon as I get it. You can also visit my [SEO Blog](http://blog.rabinek.pl "Paweł Rabinek - Blog SEO") (in polish).
79
+
80
+ = Is there a template tag for custom install? =
81
+
82
+ Yes, you can use `<?php get_ssb(); ?>` in your template file (see installation section). Default instalation don't require that.
83
+
84
+ = Who helped to improve Simple Social Buttons? =
85
+
86
+ **Big thanks to:**
87
+
88
+ - [@RhooManu](http://twitter.com/RhooManu "RhooManu on Twitter") for french translation
89
+ - [Usability Idealist](http://usability-idealist.de/ "Fabian Wolf - Usability Idealist") for converting code to object-oriented, adding buttons order and many fixes
90
+ - [@Dennis Schreiber](http://twitter.com/flammbar "Dennis Schreiber on Twitter") for german translation
91
+ - Marcos González for spanish translation
92
+
93
+ == Screenshots ==
94
+
95
+ 1. Simple Social Buttons - plugin options
96
+ 2. Plugin example
97
+ 3. Plugin on archive
98
+ 4. Widget in post edition
99
+
100
+
101
+ == Changelog ==
102
+
103
+ = 1.0 =
104
+ * First stable release.
105
+
106
+ = 1.1 =
107
+ * Added french translation
108
+ * Added language support in Facebook and Google+ JavaScript
109
+
110
+ = 1.2.1 =
111
+ * Optimized settings storage
112
+
113
+ = 1.3 =
114
+ * Converted plugin to class (requires PHP 5, because it is using the constructor auto-method)
115
+ * Added sorting options
116
+ * Added uninstall hook
117
+ * Fixed plugin settings slot not being highlighted in the admin navigation / general settings
118
+ * Added "disable regular CSS" option to let advanced users use their own CSS code
119
+ * Lots of fine-tuning
120
+
121
+ = 1.4 =
122
+ * Added custom meta to disable SSB plugin on sigle page/post (managed in admin menu)
123
+ * Function get_ssb() to directly use in template to show Simple Social Buttons in specified order
124
+ * Widget manage page in wp-admin available only for Administrator
125
+ * Added German and Spanish translation
126
+ * Fine-tuning
tags/1.4.1/screenshot-1.png ADDED
Binary file
tags/1.4.1/screenshot-2.png ADDED
Binary file
tags/1.4.1/screenshot-3.jpg ADDED
Binary file
screenshot-4.png → tags/1.4.1/screenshot-4.png RENAMED
File without changes
tags/1.4.1/simple-social-buttons.php ADDED
@@ -0,0 +1,537 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: Simple Social Buttons
4
+ Plugin URI: http://blog.rabinek.pl/simple-social-buttons-wordpress/
5
+ Description: Insert social buttons into posts and archives: Facebook "Like it", Google Plus One "+1" and Twitter share.
6
+ Author: Paweł Rabinek
7
+ Version: 1.3
8
+ Author URI: http://blog.rabinek.pl/
9
+ */
10
+
11
+ /* Copyright 2011, Paweł Rabinek (xradar) (email : pawel@rabinek.pl)
12
+
13
+ This program is free software; you can redistribute it and/or modify
14
+ it under the terms of the GNU General Public License, version 2, as
15
+ published by the Free Software Foundation.
16
+
17
+ This program is distributed in the hope that it will be useful,
18
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
19
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
+ GNU General Public License for more details.
21
+
22
+ You should have received a copy of the GNU General Public License
23
+ along with this program; if not, write to the Free Software
24
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
+ */
26
+
27
+ /**
28
+ * HACK: Converted to class, added buttons ordering, improve saving settings
29
+ * @author Fabian Wolf
30
+ * @link http://usability-idealist.de/
31
+ * @since 1.3
32
+ * @requires PHP 5
33
+ */
34
+
35
+
36
+ class SimpleSocialButtonsPR {
37
+ var $pluginName = 'Simple Social Buttons';
38
+ var $pluginVersion = '1.4';
39
+ var $pluginPrefix = 'ssb_pr_';
40
+ var $hideCustomMetaKey = '_ssb_hide';
41
+
42
+ // plugin default settings
43
+ var $pluginDefaultSettings = array(
44
+ 'googleplus' => '1',
45
+ 'fblike' => '2',
46
+ 'twitter' => '3',
47
+ 'beforepost' => '1',
48
+ 'afterpost' => '0',
49
+ 'beforepage' => '1',
50
+ 'afterpage' => '0',
51
+ 'beforearchive' => '0',
52
+ 'afterarchive' => '0'
53
+ );
54
+
55
+ // defined buttons
56
+ var $arrKnownButtons = array('fblike', 'googleplus', 'twitter');
57
+
58
+
59
+ /**
60
+ * Constructor
61
+ */
62
+ function __construct() {
63
+ register_activation_hook( __FILE__, array(&$this, 'plugin_install') );
64
+ register_deactivation_hook( __FILE__, array(&$this, 'plugin_uninstall') );
65
+
66
+ /**
67
+ * Action hooks
68
+ */
69
+ add_action( 'create_ssb', array(&$this, 'direct_display'), 10 , 1);
70
+
71
+ /**
72
+ * basic init
73
+ */
74
+ add_action( 'init', array(&$this, 'plugin_init') );
75
+
76
+ // get settings
77
+ $currentSettings = $this->get_settings();
78
+
79
+ // social JS + CSS data
80
+ add_action( 'wp_footer', array(&$this, 'include_social_js') );
81
+ if(!isset($currentSettings['override_css'])) {
82
+ add_action( 'wp_head', array(&$this, 'include_css') );
83
+ }
84
+
85
+ /**
86
+ * Filter hooks
87
+ */
88
+ add_filter( 'the_content', array(&$this, 'insert_buttons') );
89
+ add_filter( 'the_excerpt', array(&$this, 'insert_buttons') );
90
+ }
91
+
92
+ function plugin_init() {
93
+ load_plugin_textdomain( 'simplesocialbuttons', '', dirname( plugin_basename( __FILE__ ) ).'/lang' );
94
+ }
95
+
96
+ /**
97
+ * Both avoids time-wasting https calls AND provides better SSL-protection if the current server is accessed using HTTPS
98
+ */
99
+ public function get_current_http( $echo = true ) {
100
+ $return = 'http' . (strtolower($_SERVER['HTTPS']) == 'on' ? 's' : '') . '://';
101
+
102
+ if($echo != false) {
103
+ echo $return;
104
+ return;
105
+ }
106
+
107
+ return $return;
108
+ }
109
+
110
+ function include_social_js($force_include = false) {
111
+ $lang = get_bloginfo('language');
112
+ $lang_g = strtolower(substr($lang, 0, 2));
113
+ $lang_fb = str_replace('-', '_', $lang);
114
+
115
+ /**
116
+ * Disable loading of social network JS if disabled for specific post type
117
+ *
118
+ * NOTE: Conditional tags seem to work only AFTER the page has loaded, thus the code has been added here instead of at the plugin init
119
+ * @author Fabian Wolf
120
+ * @link http://usability-idealist.de/
121
+ * @date Di 20. Dez 17:50:01 CET 2011
122
+ */
123
+ if($this->where_to_insert() != false || $force_include == true) {
124
+ ?>
125
+
126
+ <!-- Simple Social Buttons plugin -->
127
+ <script type="text/javascript" src="<?php $this->get_current_http(); ?>apis.google.com/js/plusone.js">
128
+ //<![CDATA[
129
+ {lang: '<?php echo $lang_g; ?>'}
130
+ //]]>
131
+ </script>
132
+ <script type="text/javascript" src="<?php $this->get_current_http(); ?>platform.twitter.com/widgets.js"></script>
133
+ <script type="text/javascript" src="<?php $this->get_current_http(); ?>connect.facebook.net/<?php echo $lang_fb; ?>/all.js#xfbml=1"></script>
134
+ <!-- /End of Simple Social Buttons -->
135
+
136
+ <?php
137
+ }
138
+ }
139
+
140
+
141
+ function include_css() {
142
+ ?>
143
+
144
+ <!-- Simple Social Buttons style sheet -->
145
+ <style type="text/css">
146
+ div.simplesocialbuttons { height: 20px; margin: 10px auto 10px 0; text-align: center; clear: left; }
147
+ div.simplesocialbutton { float: left; text-align: center;}
148
+ </style>
149
+ <!-- End of Simple Social Buttons -->
150
+
151
+ <?php
152
+ }
153
+
154
+ /**
155
+ * Called when installing = activating the plugin
156
+ */
157
+ function plugin_install() {
158
+ $defaultSettings = $this->check_old_settings();
159
+
160
+ /**
161
+ * @see http://codex.wordpress.org/Function_Reference/add_option
162
+ * @param string $name Name of the option to be added. Use underscores to separate words, and do not use uppercase - this is going to be placed into the database.
163
+ * @param mixed $value Value for this option name. Limited to 2^32 bytes of data.
164
+ * @param string $deprecated Deprecated in WordPress Version 2.3.
165
+ * @param string $autoload Should this option be automatically loaded by the function wp_load_alloptions() (puts options into object cache on each page load)? Valid values: yes or no. Default: yes
166
+ */
167
+ add_option( $this->pluginPrefix . 'settings', $defaultSettings, '', 'yes' );
168
+ add_option( $this->pluginPrefix . 'version', $this->pluginVersion, '', 'yes' ); // for backward-compatiblity checks
169
+
170
+ }
171
+
172
+ /**
173
+ * Backward compatiblity for newer versions
174
+ */
175
+ function check_old_settings() {
176
+ $return = $this->pluginDefaultSettings;
177
+
178
+ $oldSettings = get_option( $this->pluginPrefix . 'settings', array() );
179
+
180
+ if( !empty($oldSettings) && is_array($oldSettings) != false) {
181
+ $return = wp_parse_args( $oldSettings, $this->pluginDefaultSettings );
182
+ }
183
+
184
+ return $return;
185
+ }
186
+
187
+ /**
188
+ * Plugin unistall and database clean up
189
+ */
190
+ function plugin_uninstall() {
191
+ if( !defined( 'ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') ) {
192
+ exit();
193
+ }
194
+
195
+ delete_option( $this->pluginPrefix . 'settings' );
196
+ delete_option( $this->pluginPrefix . 'version' );
197
+
198
+ }
199
+
200
+
201
+ /**
202
+ * Get settings from database
203
+ */
204
+ public function get_settings() {
205
+ $return = get_option($this->pluginPrefix . 'settings' );
206
+ if(empty($return) != false) {
207
+ $return = $this->pluginDefaultSettings;
208
+ }
209
+
210
+ return $return;
211
+ }
212
+
213
+ /**
214
+ * Update settings
215
+ */
216
+ function update_settings( $newSettings = array() ) {
217
+ $return = false;
218
+
219
+ // compile settings
220
+ $currentSettings = $this->get_settings();
221
+
222
+ /**
223
+ * Compile settings array
224
+ * @see http://codex.wordpress.org/Function_Reference/wp_parse_args
225
+ * @param mixed $args
226
+ * @param mixed $defaults
227
+ */
228
+ $updatedSettings = wp_parse_args( $newSettings, $currentSettings );
229
+
230
+ if($currentSettings != $updatedSettings ) {
231
+ $return = update_option( $this->pluginPrefix . 'settings', $newSettings );
232
+ }
233
+
234
+ return $return;
235
+ }
236
+
237
+ /**
238
+ * Returns true on pages where buttons should be shown
239
+ */
240
+ function where_to_insert() {
241
+ $return = false;
242
+
243
+ // get settings from database
244
+ $settings = $this->get_settings();
245
+
246
+ extract( $settings, EXTR_PREFIX_ALL, 'ssb' );
247
+
248
+ // display on single post?
249
+ if(is_single() && ($ssb_beforepost || $ssb_afterpost) && array_shift(get_post_meta(get_the_ID(), $this->hideCustomMetaKey)) != 'true') {
250
+ $return = true;
251
+ }
252
+
253
+ // display on single page?
254
+ if(is_page() && ($ssb_beforepage || $ssb_afterpage) && array_shift(get_post_meta(get_the_ID(), $this->hideCustomMetaKey)) != 'true') {
255
+ $return = true;
256
+ }
257
+
258
+ // display on frontpage?
259
+ if((is_front_page() || is_home()) && $ssb_showfront) {
260
+ $return = true;
261
+ }
262
+
263
+ // display on category archive?
264
+ if(is_category() && $ssb_showcategory) {
265
+ $return = true;
266
+ }
267
+
268
+ // display on date archive?
269
+ if(is_date() && $ssb_showarchive)
270
+ {
271
+ $return = true;
272
+ }
273
+
274
+ // display on tag archive?
275
+ if(is_tag() && $ssb_showtag) {
276
+ $return = true;
277
+ }
278
+ return $return;
279
+ }
280
+
281
+ /**
282
+ * Insert the buttons to the content
283
+ */
284
+ function insert_buttons($content) {
285
+ // Insert or not?
286
+ if(!$this->where_to_insert() ) {
287
+ return $content;
288
+ }
289
+
290
+ // get settings from database
291
+ $settings = $this->get_settings();
292
+
293
+ extract( $settings, EXTR_PREFIX_ALL, 'ssb' );
294
+
295
+ // creating order
296
+ $order = array();
297
+ foreach ($this->arrKnownButtons as $button_name) {
298
+ $order[$button_name] = $settings[$button_name];
299
+ }
300
+ $ssb_buttonscode = $this->generate_buttons_code($order);
301
+
302
+ if(is_single()) {
303
+ if($ssb_beforepost) {
304
+ $content = $ssb_buttonscode.$content;
305
+ }
306
+ if($ssb_afterpost) {
307
+ $content = $content.$ssb_buttonscode;
308
+ }
309
+ } else if(is_page()) {
310
+ if($ssb_beforepage) {
311
+ $content = $ssb_buttonscode.$content;
312
+ }
313
+ if($ssb_afterpage) {
314
+ $content = $content.$ssb_buttonscode;
315
+ }
316
+ } else {
317
+ if($ssb_beforearchive) {
318
+ $content = $ssb_buttonscode.$content;
319
+ }
320
+ if($ssb_afterarchive) {
321
+ $content = $content.$ssb_buttonscode;
322
+ }
323
+ }
324
+
325
+ return $content;
326
+
327
+ }
328
+
329
+ function direct_display($order = null)
330
+ {
331
+ // Return false if hide SSB for this page/post is disabled
332
+ if (is_single() && array_shift(get_post_meta(get_the_ID(), $this->hideCustomMetaKey)) == 'true') return false;
333
+
334
+ // Display buttons and scripts
335
+ $buttons_code = $this->generate_buttons_code($order);
336
+ echo $buttons_code;
337
+ $this->include_social_js(true);
338
+ }
339
+
340
+ /**
341
+ * Generate buttons html code with specified order
342
+ *
343
+ * @param mixed $order - order of social buttons
344
+ */
345
+ function generate_buttons_code($order = null)
346
+ {
347
+ foreach ($this->arrKnownButtons as $button_name) {
348
+ $defaultOrder[$button_name] = $this->pluginDefaultSettings[$button_name];
349
+ }
350
+
351
+ $order = wp_parse_args($order, $defaultOrder);
352
+
353
+ // define empty buttons code to use
354
+ $ssb_buttonscode = '';
355
+
356
+ // get post permalink and title
357
+ $permalink = get_permalink();
358
+ $title = get_the_title();
359
+
360
+ //Sorting the buttons
361
+ foreach($this->arrKnownButtons as $button_name) {
362
+ if(!empty($order[$button_name]) && (int)$order[$button_name] != 0) {
363
+ $arrButtons[$button_name] = $order[$button_name];
364
+ }
365
+ }
366
+ @asort($arrButtons);
367
+
368
+ $arrButtonsCode = array();
369
+ foreach($arrButtons as $button_name => $button_sort) {
370
+ switch($button_name) {
371
+ case 'googleplus':
372
+ $arrButtonsCode[] = '<div class="simplesocialbutton ssb-button-googleplus"><!-- Google Plus One--><g:plusone size="medium"></g:plusone></div>';
373
+ break;
374
+ case 'fblike':
375
+ $arrButtonsCode[] = '<div class="simplesocialbutton ssb-button-fblike"><!-- Facebook like--><div id="fb-root"></div><fb:like href="'.$permalink.'" send="false" layout="button_count" width="100" show_faces="false" action="like" font=""></fb:like></div>';
376
+ break;
377
+ case 'twitter':
378
+ $arrButtonsCode[] = '<div class="simplesocialbutton ssb-buttom-twitter"><!-- Twitter--><a name="twitter_share" data-count="horizontal" href="http://twitter.com/share" data-text="'.$title.'" data-url="'.$permalink.'" class="twitter-share-button" rel="nofollow"></a></div>';
379
+ break;
380
+ }
381
+ }
382
+
383
+ if(count($arrButtonsCode) > 0) {
384
+ $ssb_buttonscode = '<div class="simplesocialbuttons">'."\n";
385
+ $ssb_buttonscode .= implode("\n", $arrButtonsCode) . "\n";
386
+ $ssb_buttonscode .= '</div>'."\n";
387
+ }
388
+
389
+ return $ssb_buttonscode;
390
+ }
391
+ } // end class
392
+
393
+
394
+ /**
395
+ * Admin class
396
+ *
397
+ * Gets only initiated if this plugin is called inside the admin section ;)
398
+ */
399
+ class SimpleSocialButtonsPR_Admin extends SimpleSocialButtonsPR {
400
+
401
+ function __construct() {
402
+ parent::__construct();
403
+
404
+ add_action('admin_menu', array(&$this, 'admin_actions') );
405
+ add_action('add_meta_boxes', array(&$this, 'ssb_meta_box'));
406
+ add_action('save_post', array(&$this, 'ssb_save_meta'), 10, 2);
407
+
408
+ add_filter('plugin_action_links', array(&$this, 'plugin_action_links'), 10, 2 );
409
+ }
410
+
411
+ public function admin_actions() {
412
+ if (current_user_can('administrator'))
413
+ add_options_page('Simple Social Buttons ', 'Simple Social Buttons ', 1, 'simple-social-buttons', array(&$this, 'admin_page') );
414
+ }
415
+
416
+ public function admin_page() {
417
+ global $wpdb;
418
+
419
+ include dirname( __FILE__ ).'/ssb-admin.php';
420
+ }
421
+
422
+
423
+
424
+ public function plugin_action_links($links, $file) {
425
+ static $this_plugin;
426
+
427
+ if (!$this_plugin) {
428
+ $this_plugin = plugin_basename(__FILE__);
429
+ }
430
+
431
+ if ($file == $this_plugin) {
432
+ $settings_link = '<a href="' . get_bloginfo('wpurl') . '/wp-admin/options-general.php?page=simple-social-buttons">'.__('Settings', 'simplesocialbuttons').'</a>';
433
+ array_unshift($links, $settings_link);
434
+ }
435
+
436
+ return $links;
437
+ }
438
+
439
+ /**
440
+ * Register meta box to hide/show SSB plugin on single post or page
441
+ */
442
+ public function ssb_meta_box()
443
+ {
444
+ $postId = $_GET['post'];
445
+ $postType = get_post_type($postId);
446
+
447
+ if ($postType != 'page' && $postType != 'post') return false;
448
+
449
+ $currentSsbHide = get_post_custom_values($this->hideCustomMetaKey, $postId);
450
+ $currentSettings = $this->get_settings();
451
+
452
+ if ($currentSsbHide[0] == 'true') {
453
+ $checked = true;
454
+ } else {
455
+ $checked = false;
456
+ }
457
+
458
+ // Rendering meta box
459
+ if (!function_exists('add_meta_box')) include('includes/template.php');
460
+ add_meta_box('ssb_meta_box', __('SSB Settings', 'simplesocialbuttons'), array(&$this, 'render_ssb_meta_box'), $postType, 'side', 'default', array('type' => $postType, 'checked' => $checked));
461
+ }
462
+
463
+ /**
464
+ * Showing custom meta field
465
+ */
466
+ public function render_ssb_meta_box($post, $metabox)
467
+ {
468
+ wp_nonce_field( plugin_basename( __FILE__ ), 'ssb_noncename' );
469
+ ?>
470
+
471
+ <label for="<?php echo $this->hideCustomMetaKey;?>"><input type="checkbox" id="<?php echo $this->hideCustomMetaKey;?>" name="<?php echo $this->hideCustomMetaKey;?>" value="true" <?php if ($metabox['args']['checked']):?>checked="checked"<?php endif;?>/>&nbsp;<?php echo __('Hide Simple Social Buttons', 'simplesocialbuttons');?></label>
472
+
473
+ <?php
474
+ }
475
+
476
+
477
+ /**
478
+ * Saving custom meta value
479
+ */
480
+ public function ssb_save_meta($post_id, $post)
481
+ {
482
+ $postId = (int)$post_id;
483
+
484
+ // Verify if this is an auto save routine.
485
+ if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE )
486
+ return;
487
+
488
+ // Verify this came from the our screen and with proper authorization
489
+ if ( !wp_verify_nonce( $_POST['ssb_noncename'], plugin_basename( __FILE__ ) ) )
490
+ return;
491
+
492
+ // Check permissions
493
+ if ( 'page' == $_POST['post_type'] ) {
494
+ if ( !current_user_can( 'edit_page', $post_id ) )
495
+ return;
496
+ } else {
497
+ if ( !current_user_can( 'edit_post', $post_id ) )
498
+ return;
499
+ }
500
+
501
+ // Saving data
502
+ $newValue = (isset($_POST[$this->hideCustomMetaKey])) ? $_POST[$this->hideCustomMetaKey] : 'false';
503
+
504
+ update_post_meta($postId, $this->hideCustomMetaKey, $newValue);
505
+ }
506
+
507
+
508
+ } // end SimpleSocialButtonsPR_Admin
509
+
510
+ if(is_admin() ) {
511
+ $_ssb_pr = new SimpleSocialButtonsPR_Admin();
512
+ } else {
513
+ $_ssb_pr = new SimpleSocialButtonsPR();
514
+ }
515
+
516
+ /**
517
+ * Function to insert Simple Social Buttons directly in template.
518
+ *
519
+ * @param mixed $order - order of the buttons in array or string (parsed by wp_parse_args())
520
+ *
521
+ * @example 1 - use in template with default order
522
+ * get_ssb();
523
+ *
524
+ * @example 2 - use in template with specified order
525
+ * get_ssb('googleplus=3&fblike=2&twitter=1');
526
+ *
527
+ * @example 3 - hiding button by setting order to 0. By using code below googleplus button won't be displayed
528
+ * get_ssb('googleplus=0&fblike=1&twitter=2');
529
+ *
530
+ *
531
+ */
532
+ function get_ssb($order = null)
533
+ {
534
+ do_action('create_ssb', $order);
535
+ }
536
+
537
+ ?>
tags/1.4.1/ssb-admin.php ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="wrap">
2
+
3
+ <style type="text/css">
4
+ div.inside ul li {
5
+ line-height: 16px;
6
+ list-style-type: square;
7
+ margin-left: 15px;
8
+ }
9
+ </style>
10
+
11
+ <h2>Simple Social Buttons - <?php _e('Settings'); ?>:</h2>
12
+
13
+ <p><?php _e('<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever.', 'simplesocialbuttons'); ?></p>
14
+
15
+ <?php
16
+
17
+ if(strtolower($_POST['hiddenconfirm']) == 'y') {
18
+
19
+ /**
20
+ * Compile settings array
21
+ * @see http://codex.wordpress.org/Function_Reference/wp_parse_args
22
+ */
23
+
24
+ $updateSettings = array(
25
+ 'googleplus' => $_POST['ssb_googleplus'],
26
+ 'fblike' => $_POST['ssb_fblike'],
27
+ 'twitter' => $_POST['ssb_twitter'],
28
+
29
+ 'beforepost' => $_POST['ssb_beforepost'],
30
+ 'afterpost' => $_POST['ssb_afterpost'],
31
+ 'beforepage' => $_POST['ssb_beforepage'],
32
+ 'afterpage' => $_POST['ssb_afterpage'],
33
+ 'beforearchive' => $_POST['ssb_beforearchive'],
34
+ 'afterarchive' => $_POST['ssb_afterarchive'],
35
+
36
+ 'showfront' => $_POST['ssb_showfront'],
37
+ 'showcategory' => $_POST['ssb_showcategory'],
38
+ 'showarchive' => $_POST['ssb_showarchive'],
39
+ 'showtag' => $_POST['ssb_showtag'],
40
+
41
+ 'override_css' => $_POST['ssb_override_css'],
42
+ );
43
+
44
+ $this->update_settings( $updateSettings );
45
+
46
+ }
47
+
48
+ /**
49
+ * HACK: Use one big array instead of a bunchload of single options
50
+ * @author Fabian Wolf
51
+ * @link http://usability-idealist.de/
52
+ * @since 1.2.1
53
+ */
54
+
55
+ // get settings from database
56
+ $settings = $this->get_settings();
57
+
58
+ extract( $settings, EXTR_PREFIX_ALL, 'ssb' );
59
+
60
+ ?>
61
+
62
+
63
+ <div class="postbox-container" style="width:69%">
64
+ <div id="poststuff">
65
+ <form name="ssb_form" method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
66
+
67
+ <div class="postbox">
68
+ <h3><?php _e('Select buttons', 'simplesocialbuttons'); ?></h3>
69
+ <div class="inside">
70
+ <h4><?php _e('Select social media buttons:', 'simplesocialbuttons'); ?></h4>
71
+
72
+
73
+ <p><select name="ssb_googleplus" id="ssb_googleplus">
74
+ <option value=""<?php if(empty($ssb_googleplus) != false) {
75
+ ?>selected="selected"<?php
76
+ } ?>><?php _e('inactive', 'simplesocialbuttons'); ?></option>
77
+
78
+ <?php for($pos = 1; $pos < 4; $pos++) { ?>
79
+ <option value="<?php echo $pos; ?>"<?php if($ssb_googleplus == $pos) {
80
+ ?>selected="selected"<?php
81
+ } ?>> # <?php echo $pos; ?> </option>
82
+ <?php } ?>
83
+ </select> &nbsp;
84
+ <label for="ssb_googleplus"><?php _e('Google plus one (+1)', 'simplesocialbuttons'); ?></label></p>
85
+
86
+ <!-- fblike -->
87
+ <p><select name="ssb_fblike" id="ssb_fblike">
88
+ <option value=""<?php if(empty($ssb_fblike) != false) {
89
+ ?>selected="selected"<?php
90
+ } ?>><?php _e('inactive', 'simplesocialbuttons'); ?></option>
91
+
92
+ <?php for($pos = 1; $pos < 4; $pos++) { ?>
93
+ <option value="<?php echo $pos; ?>"<?php if($ssb_fblike == $pos) {
94
+ ?>selected="selected"<?php
95
+ } ?>> # <?php echo $pos; ?> </option>
96
+ <?php } ?>
97
+ </select> &nbsp;
98
+ <label for="ssb_fblike"><?php _e('Facebook Like it', 'simplesocialbuttons'); ?></label></p>
99
+ <!-- /fblike -->
100
+
101
+ <!-- twitter -->
102
+ <p><select name="ssb_twitter" id="ssb_twitter">
103
+ <option value=""<?php if(empty($ssb_twitter) != false) {
104
+ ?>selected="selected"<?php
105
+ } ?>><?php _e('inactive', 'simplesocialbuttons'); ?></option>
106
+
107
+ <?php for($pos = 1; $pos < 4; $pos++) { ?>
108
+ <option value="<?php echo $pos; ?>"<?php if($ssb_twitter == $pos) {
109
+ ?>selected="selected"<?php
110
+ } ?>> # <?php echo $pos; ?> </option>
111
+ <?php } ?>
112
+ </select> &nbsp;
113
+ <label for="ssb_twitter"><?php _e('Twitter share', 'simplesocialbuttons'); ?></label></p>
114
+ <!-- /twitter -->
115
+
116
+ <p><label for="ssb_override_css"><input type="checkbox" name="ssb_override_css" id="ssb_override_css" value="1" <?php if($ssb_override_css) { echo 'checked="checked"'; } ?>/> <?php _e('Disable plugin CSS (only advanced users)'); ?></label></p>
117
+ </div>
118
+ </div>
119
+
120
+ <div class="postbox">
121
+ <h3><?php _e('Single posts - display settings', 'simplesocialbuttons'); ?></h3>
122
+ <div class="inside">
123
+ <h4><?php _e('Place buttons on single post:', 'simplesocialbuttons'); ?></h4>
124
+ <p><input type="checkbox" name="ssb_beforepost" id="ssb_beforepost" value="1" <?php if(!empty($ssb_beforepost)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforepost"><?php _e('Before the content', 'simplesocialbuttons'); ?></label></p>
125
+ <p><input type="checkbox" name="ssb_afterpost" id="ssb_afterpost" value="1" <?php if(!empty($ssb_afterpost)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterpost"><?php _e('After the content', 'simplesocialbuttons'); ?></label></p>
126
+ </div>
127
+ </div>
128
+
129
+ <div class="postbox">
130
+ <h3><?php _e('Single pages - display settings', 'simplesocialbuttons'); ?></h3>
131
+ <div class="inside">
132
+ <h4><?php _e('Place buttons on single pages:', 'simplesocialbuttons'); ?></h4>
133
+ <p><input type="checkbox" name="ssb_beforepage" id="ssb_beforepage" value="1" <?php if(!empty($ssb_beforepage)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforepage"><?php _e('Before the page content', 'simplesocialbuttons'); ?></label></p>
134
+ <p><input type="checkbox" name="ssb_afterpage" id="ssb_afterpage" value="1" <?php if(!empty($ssb_afterpage)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterpage"><?php _e('After the page content', 'simplesocialbuttons'); ?></label></p>
135
+ </div>
136
+ </div>
137
+
138
+ <div class="postbox">
139
+ <h3><?php _e('Archives - display settings', 'simplesocialbuttons'); ?></h3>
140
+ <div class="inside">
141
+ <h4><?php _e('Select additional places to display buttons:', 'simplesocialbuttons'); ?></h4>
142
+ <p><input type="checkbox" name="ssb_showfront" id="ssb_showfront" value="1" <?php if(!empty($ssb_showfront)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showfront"><?php _e('Show at frontpage', 'simplesocialbuttons'); ?></label></p>
143
+ <p><input type="checkbox" name="ssb_showcategory" id="ssb_showcategory" value="1" <?php if(!empty($ssb_showcategory)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showcategory"><?php _e('Show at category pages', 'simplesocialbuttons'); ?></label></p>
144
+ <p><input type="checkbox" name="ssb_showarchive" id="ssb_showarchive" value="1" <?php if(!empty($ssb_showarchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showarchive"><?php _e('Show at archive pages', 'simplesocialbuttons'); ?></label></p>
145
+ <p><input type="checkbox" name="ssb_showtag" id="ssb_showtag" value="1" <?php if(!empty($ssb_showtag)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showtag"><?php _e('Show at tag pages', 'simplesocialbuttons'); ?></label></p>
146
+
147
+ <h4><?php _e('Place buttons on archives:', 'simplesocialbuttons'); ?></h4>
148
+ <p><input type="checkbox" name="ssb_beforearchive" id="ssb_beforearchive" value="1" <?php if(!empty($ssb_beforearchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforearchive"><?php _e('Before the content', 'simplesocialbuttons'); ?></label></p>
149
+ <p><input type="checkbox" name="ssb_afterarchive" id="ssb_afterarchive" value="1" <?php if(!empty($ssb_afterarchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterarchive"><?php _e('After the content', 'simplesocialbuttons'); ?></label></p>
150
+ </div>
151
+ </div>
152
+
153
+ <div class="submit">
154
+ <input type="hidden" name="hiddenconfirm" value="Y" />
155
+ <input type="submit" name="Submit" class="button-primary" value="<?php _e('Save Changes'); ?>" />
156
+ </div>
157
+
158
+ </form>
159
+ </div>
160
+ </div>
161
+
162
+ <div class="postbox-container" style="width:29%">
163
+ <div id="poststuff">
164
+ <div class="postbox">
165
+ <h3><?php _e('About this plugin:', 'simplesocialbuttons'); ?></h3>
166
+ <div class="inside">
167
+ <p><?php _e('Talk to <a href="http://twitter.com/rabinek" target="_blank">@rabinek</a> on twitter for bugs or feature requests.', 'simplesocialbuttons'); ?></p>
168
+ <p><strong><?php _e('Enjoy the plugin?', 'simplesocialbuttons'); ?></strong><br />
169
+ <?php _e('<a href="http://twitter.com/?status=I\'m using @rabinek\'s WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/" target="_blank">Tweet about it</a> and consider donating.', 'simplesocialbuttons'); ?></p>
170
+ <p><?php _e('<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!', 'simplesocialbuttons'); ?><br />
171
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
172
+ <input type="hidden" name="cmd" value="_s-xclick">
173
+ <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----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-----END PKCS7-----">
174
+ <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
175
+ <img alt="" border="0" src="https://www.paypalobjects.com/pl_PL/i/scr/pixel.gif" width="1" height="1">
176
+ </form>
177
+ </p>
178
+ </div>
179
+ </div>
180
+
181
+ <div class="postbox">
182
+ <h3><?php _e('About the author:', 'simplesocialbuttons'); ?></h3>
183
+ <div class="inside">
184
+ <p><?php _e('Hi! My name is Paweł Rabinek (aka xradar). I\'m interesed in SEO and social media, PHP and Wordpress developement.', 'simplesocialbuttons'); ?></p>
185
+ <ul>
186
+ <li><a href="http://blog.rabinek.pl/" target="_blank"><?php _e('My blog about SEO', 'simplesocialbuttons'); ?></a> <?php _e('[Polish]', 'simplesocialbuttons'); ?></li>
187
+ <li><?php _e('Follow me on Twitter', 'simplesocialbuttons'); ?> <a href="http://www.twitter.com/rabinek" target="_blank">@rabinek</a></li>
188
+ <li><a href="http://www.facebook.com/rabinek" target="_blank"><?php _e('Paweł Rabinek on Facebook', 'simplesocialbuttons'); ?></a></li>
189
+ <li><a href="http://plus.google.com/114311287272342088386/" target="_blank"><?php _e('Paweł Rabinek on Google Plus', 'simplesocialbuttons'); ?></a></li>
190
+ <li><a href="http://pl.linkedin.com/in/rabinek" target="_blank"><?php _e('LinkedIn profile', 'simplesocialbuttons'); ?></a></li>
191
+ </ul>
192
+ </div>
193
+ </div>
194
+
195
+ <div class="postbox">
196
+ <h3><?php _e('Usefull links:', 'simplesocialbuttons'); ?></h3>
197
+ <div class="inside">
198
+ <ul>
199
+ <li><a href="http://www.site5.com/in.php?id=53542" target="_blank"><?php _e('Unlimited web hosting', 'simplesocialbuttons'); ?></a></li>
200
+ <li><a href="http://www.webceo.com/cgi-bin/go/clickthru.cgi?id=xradar" target="_blank"><?php _e('Best SEO software', 'simplesocialbuttons'); ?></a></li>
201
+ <li><a href="http://themeforest.net?ref=xradar" target="_blank"><?php _e('Wordpress templates', 'simplesocialbuttons'); ?></a><li>
202
+ </ul>
203
+ </div>
204
+ </div>
205
+
206
+ </div>
207
+ </div>
208
+ </div>
tags/1.4.2/lang/simplesocialbuttons-de_DE.mo ADDED
Binary file
tags/1.4.2/lang/simplesocialbuttons-de_DE.po ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-01 11:19+0100\n"
6
+ "PO-Revision-Date: 2012-02-01 11:28+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Paweł Rabinek (DE: Dennis Schreiber) <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: German\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-Country: GERMANY\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ # Traduit par @RhooManu - www.infographizm.com
20
+ #: ../simple-social-buttons.php:424
21
+ #: ../ssb-admin.php:11
22
+ msgid "Settings"
23
+ msgstr "Einstellungen"
24
+
25
+ # Traduit par @RhooManu - www.infographizm.com
26
+ #: ../simple-social-buttons.php:452
27
+ msgid "SSB Settings"
28
+ msgstr "SSB einstellungen"
29
+
30
+ #: ../simple-social-buttons.php:463
31
+ msgid "Hide Simple Social Buttons"
32
+ msgstr "Verbergen Simple Social Buttons"
33
+
34
+ #: ../ssb-admin.php:13
35
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
36
+ msgstr "<strong>Simple Social Buttons</strong>, von <strong>Paweł Rabinek</strong>. Cette extension ajoute des boutons de réseaux sociaux, comme <strong>Google +1</strong>, <strong>Facebook J'aime</strong> et <strong>Twitter</strong>. La plus flexible des extensions de boutons de réseaux sociaux !"
37
+
38
+ #: ../ssb-admin.php:68
39
+ msgid "Select buttons"
40
+ msgstr "Buttons auswählen"
41
+
42
+ #: ../ssb-admin.php:70
43
+ msgid "Select social media buttons:"
44
+ msgstr "Wähle Social Media Buttons:"
45
+
46
+ #: ../ssb-admin.php:76
47
+ #: ../ssb-admin.php:90
48
+ #: ../ssb-admin.php:105
49
+ msgid "inactive"
50
+ msgstr "inaktiv"
51
+
52
+ #: ../ssb-admin.php:84
53
+ msgid "Google plus one (+1)"
54
+ msgstr "Google plus eins (+1)"
55
+
56
+ #: ../ssb-admin.php:98
57
+ msgid "Facebook Like it"
58
+ msgstr "Facebook gefällt mir"
59
+
60
+ #: ../ssb-admin.php:113
61
+ msgid "Twitter share"
62
+ msgstr "Twitter teilen"
63
+
64
+ #: ../ssb-admin.php:116
65
+ msgid "Disable plugin CSS (only advanced users)"
66
+ msgstr ""
67
+
68
+ #: ../ssb-admin.php:121
69
+ msgid "Single posts - display settings"
70
+ msgstr "Einzelne Beiträge - Display Einstellungen"
71
+
72
+ #: ../ssb-admin.php:123
73
+ msgid "Place buttons on single post:"
74
+ msgstr "Füge Buttons bei einzelnen Beitrag ein:"
75
+
76
+ #: ../ssb-admin.php:124
77
+ #: ../ssb-admin.php:148
78
+ msgid "Before the content"
79
+ msgstr "Vor dem Inhalt"
80
+
81
+ #: ../ssb-admin.php:125
82
+ #: ../ssb-admin.php:149
83
+ msgid "After the content"
84
+ msgstr "Nach dem Inhalt"
85
+
86
+ #: ../ssb-admin.php:130
87
+ msgid "Single pages - display settings"
88
+ msgstr "Einzelne Seiten - Display Einstellungen"
89
+
90
+ #: ../ssb-admin.php:132
91
+ msgid "Place buttons on single pages:"
92
+ msgstr "Füge die Buttons auf einzelnen Seiten ein:"
93
+
94
+ #: ../ssb-admin.php:133
95
+ msgid "Before the page content"
96
+ msgstr "Vor dem Seiteninhalt"
97
+
98
+ #: ../ssb-admin.php:134
99
+ msgid "After the page content"
100
+ msgstr "Nach dem Seiteninhalt"
101
+
102
+ #: ../ssb-admin.php:139
103
+ msgid "Archives - display settings"
104
+ msgstr "Archives - Display Einstellungen"
105
+
106
+ #: ../ssb-admin.php:141
107
+ msgid "Select additional places to display buttons:"
108
+ msgstr "Wähle weitere Orte um die Buttons anzuzeigen:"
109
+
110
+ #: ../ssb-admin.php:142
111
+ msgid "Show at frontpage"
112
+ msgstr "Zeige auf der Hauptseite"
113
+
114
+ #: ../ssb-admin.php:143
115
+ msgid "Show at category pages"
116
+ msgstr "Zeige in den Kategorien"
117
+
118
+ #: ../ssb-admin.php:144
119
+ msgid "Show at archive pages"
120
+ msgstr "Zeige bei Archiven"
121
+
122
+ #: ../ssb-admin.php:145
123
+ msgid "Show at tag pages"
124
+ msgstr "Zeige bei Stichworten"
125
+
126
+ #: ../ssb-admin.php:147
127
+ msgid "Place buttons on archives:"
128
+ msgstr "Zeige Buttons in den Archiven:"
129
+
130
+ #: ../ssb-admin.php:155
131
+ #, fuzzy
132
+ msgid "Save Changes"
133
+ msgstr "Einstellungen speichern"
134
+
135
+ #: ../ssb-admin.php:165
136
+ msgid "About this plugin:"
137
+ msgstr "Über dieses Plugin"
138
+
139
+ #: ../ssb-admin.php:167
140
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
141
+ msgstr "Kontaktiere <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> auf Twitter bei Bugs und Erweiterungen."
142
+
143
+ #: ../ssb-admin.php:168
144
+ msgid "Enjoy the plugin?"
145
+ msgstr "Gefällt dir das Plugin?"
146
+
147
+ #: ../ssb-admin.php:169
148
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
149
+ msgstr "<a href=\"http://twitter.com/?status=Ich verwende @rabinek's - WordPress Simple Social Buttons ! http://blog.rabinek.pl/\" target=\"_blank\">Tweete dadrüber</a> und erwäge eine Spende."
150
+
151
+ #: ../ssb-admin.php:170
152
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
153
+ msgstr "<strong>Spenden :</strong> Eine Menge harte Arbeit wurde in das entwickeln von Plugins investiert - unterstütze deine OpenSource Entwickler. Danke !"
154
+
155
+ #: ../ssb-admin.php:182
156
+ msgid "About the author:"
157
+ msgstr "Über den Autor :"
158
+
159
+ #: ../ssb-admin.php:184
160
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
161
+ msgstr "Hallo ! Mein Name ist Paweł Rabinek (auch bekannt als xradar). Ich interessiere mich für SEO und Social Media, PHP und WordPress Entwicklung."
162
+
163
+ #: ../ssb-admin.php:186
164
+ msgid "My blog about SEO"
165
+ msgstr "Mein Blog über SEO"
166
+
167
+ #: ../ssb-admin.php:186
168
+ msgid "[Polish]"
169
+ msgstr " [Polnisch]"
170
+
171
+ #: ../ssb-admin.php:187
172
+ msgid "Follow me on Twitter"
173
+ msgstr "Folge mir bei Twitter !"
174
+
175
+ #: ../ssb-admin.php:188
176
+ msgid "Paweł Rabinek on Facebook"
177
+ msgstr "Paweł Rabinek bei Facebook"
178
+
179
+ #: ../ssb-admin.php:189
180
+ msgid "Paweł Rabinek on Google Plus"
181
+ msgstr "Paweł Rabinek bei Google Plus"
182
+
183
+ #: ../ssb-admin.php:190
184
+ msgid "LinkedIn profile"
185
+ msgstr "LinkedIn Profil"
186
+
187
+ #: ../ssb-admin.php:196
188
+ msgid "Usefull links:"
189
+ msgstr "Nützliche Links :"
190
+
191
+ #: ../ssb-admin.php:199
192
+ msgid "Unlimited web hosting"
193
+ msgstr "Unlimitiertes Webhosting"
194
+
195
+ #: ../ssb-admin.php:200
196
+ msgid "Best SEO software"
197
+ msgstr "Beste SEO Software"
198
+
199
+ #: ../ssb-admin.php:201
200
+ msgid "Wordpress templates"
201
+ msgstr "WordPress Themes"
202
+
203
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
204
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
tags/1.4.2/lang/simplesocialbuttons-es_ES.mo ADDED
Binary file
tags/1.4.2/lang/simplesocialbuttons-es_ES.po ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-01 11:28+0100\n"
6
+ "PO-Revision-Date: 2012-02-01 11:29+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Paweł Rabinek (DE: Dennis Schreiber) <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: German\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-Country: GERMANY\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ # Traduit par @RhooManu - www.infographizm.com
20
+ #: ../simple-social-buttons.php:424
21
+ #: ../ssb-admin.php:11
22
+ msgid "Settings"
23
+ msgstr "Opciones"
24
+
25
+ # Traduit par @RhooManu - www.infographizm.com
26
+ #: ../simple-social-buttons.php:452
27
+ msgid "SSB Settings"
28
+ msgstr "SSB opciones"
29
+
30
+ #: ../simple-social-buttons.php:463
31
+ msgid "Hide Simple Social Buttons"
32
+ msgstr "Ocultar Simple Social Buttons"
33
+
34
+ #: ../ssb-admin.php:13
35
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
36
+ msgstr "<strong>Simple Social Buttons</strong>, autor <strong>Paweł Rabinek</strong>. Este plugin añade iconos de redes sociales como: <strong>Google +1</strong>, <strong>Facebook Me gusta</strong> y <strong>Compartir en Twitter</strong>. El plugin social más flexible que puedes encontrar."
37
+
38
+ #: ../ssb-admin.php:68
39
+ msgid "Select buttons"
40
+ msgstr "Selecciona botones"
41
+
42
+ #: ../ssb-admin.php:70
43
+ msgid "Select social media buttons:"
44
+ msgstr "Selecciona botones de redes sociales: "
45
+
46
+ #: ../ssb-admin.php:76
47
+ #: ../ssb-admin.php:90
48
+ #: ../ssb-admin.php:105
49
+ msgid "inactive"
50
+ msgstr "inactivo"
51
+
52
+ #: ../ssb-admin.php:84
53
+ msgid "Google plus one (+1)"
54
+ msgstr "Google plus (+1) "
55
+
56
+ #: ../ssb-admin.php:98
57
+ msgid "Facebook Like it"
58
+ msgstr "Facebook Me gusta"
59
+
60
+ #: ../ssb-admin.php:113
61
+ msgid "Twitter share"
62
+ msgstr "Compartir en Twitter"
63
+
64
+ #: ../ssb-admin.php:116
65
+ msgid "Disable plugin CSS (only advanced users)"
66
+ msgstr "Desactivar los CSS del plugin (solo para usuarios avanzados)"
67
+
68
+ #: ../ssb-admin.php:121
69
+ msgid "Single posts - display settings"
70
+ msgstr "Post individuales - mostrar opciones"
71
+
72
+ #: ../ssb-admin.php:123
73
+ msgid "Place buttons on single post:"
74
+ msgstr "Colocar los botones en un post individual:"
75
+
76
+ #: ../ssb-admin.php:124
77
+ #: ../ssb-admin.php:148
78
+ msgid "Before the content"
79
+ msgstr "Antes del contenido"
80
+
81
+ #: ../ssb-admin.php:125
82
+ #: ../ssb-admin.php:149
83
+ msgid "After the content"
84
+ msgstr "Después del contenido"
85
+
86
+ #: ../ssb-admin.php:130
87
+ msgid "Single pages - display settings"
88
+ msgstr "Páginas individuales - mostrar opciones"
89
+
90
+ #: ../ssb-admin.php:132
91
+ msgid "Place buttons on single pages:"
92
+ msgstr "Colocar los botones en páginas individuales:"
93
+
94
+ #: ../ssb-admin.php:133
95
+ msgid "Before the page content"
96
+ msgstr "Antes del contenido de la página"
97
+
98
+ #: ../ssb-admin.php:134
99
+ msgid "After the page content"
100
+ msgstr "Después del contenido de la página"
101
+
102
+ #: ../ssb-admin.php:139
103
+ msgid "Archives - display settings"
104
+ msgstr "Archivo - mostrar opciones"
105
+
106
+ #: ../ssb-admin.php:141
107
+ msgid "Select additional places to display buttons:"
108
+ msgstr "Selecciona lugares adicionales donde mostrar los botones:"
109
+
110
+ #: ../ssb-admin.php:142
111
+ msgid "Show at frontpage"
112
+ msgstr "Pagina de entrada"
113
+
114
+ #: ../ssb-admin.php:143
115
+ msgid "Show at category pages"
116
+ msgstr "Páginas de categorías"
117
+
118
+ #: ../ssb-admin.php:144
119
+ msgid "Show at archive pages"
120
+ msgstr "Páginas de archivo"
121
+
122
+ #: ../ssb-admin.php:145
123
+ msgid "Show at tag pages"
124
+ msgstr "Páginas de etiquetas"
125
+
126
+ #: ../ssb-admin.php:147
127
+ msgid "Place buttons on archives:"
128
+ msgstr "Colocar los botones en archivo:"
129
+
130
+ #: ../ssb-admin.php:155
131
+ msgid "Save Changes"
132
+ msgstr "Guardar cambios"
133
+
134
+ #: ../ssb-admin.php:165
135
+ msgid "About this plugin:"
136
+ msgstr "Sobre este plugin:"
137
+
138
+ #: ../ssb-admin.php:167
139
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
140
+ msgstr "Habla con <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> en Twitter para solución de bugs o peticiones de nuevas características."
141
+
142
+ #: ../ssb-admin.php:168
143
+ msgid "Enjoy the plugin?"
144
+ msgstr "Te gusta el plugin?"
145
+
146
+ #: ../ssb-admin.php:169
147
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
148
+ msgstr "<a href=\"http://twitter.com/?status=Estoy usando el plugin Simple Social Buttons! de @rabinek - para WordPress http://blog.rabinek.pl/\" target=\"_blank\">Twittea sobre él</a> y piensa en hacer una donación."
149
+
150
+ #: ../ssb-admin.php:170
151
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
152
+ msgstr "<strong>Dona:</strong> Hay mucho trabajo a la hora de realizar plugins, apoya a tus desarrolladores open source. Gracias!"
153
+
154
+ #: ../ssb-admin.php:182
155
+ msgid "About the author:"
156
+ msgstr "Sobre el autor:"
157
+
158
+ #: ../ssb-admin.php:184
159
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
160
+ msgstr "Hola! mi nombre es Pawel Rabinek (aka xradar). Estoy interesado en SEO y Social Media, así como desarrollo en PHP y Wordpress."
161
+
162
+ #: ../ssb-admin.php:186
163
+ msgid "My blog about SEO"
164
+ msgstr "Mi blog sobre SEO"
165
+
166
+ #: ../ssb-admin.php:186
167
+ msgid "[Polish]"
168
+ msgstr " "
169
+
170
+ #: ../ssb-admin.php:187
171
+ msgid "Follow me on Twitter"
172
+ msgstr "Sígueme en Twitter"
173
+
174
+ #: ../ssb-admin.php:188
175
+ msgid "Paweł Rabinek on Facebook"
176
+ msgstr "Paweł Rabinek en Facebook"
177
+
178
+ #: ../ssb-admin.php:189
179
+ msgid "Paweł Rabinek on Google Plus"
180
+ msgstr "Paweł Rabinek en Google Plus"
181
+
182
+ #: ../ssb-admin.php:190
183
+ msgid "LinkedIn profile"
184
+ msgstr "Perfil en LinkedIn"
185
+
186
+ #: ../ssb-admin.php:196
187
+ msgid "Usefull links:"
188
+ msgstr "Links interesantes:"
189
+
190
+ #: ../ssb-admin.php:199
191
+ msgid "Unlimited web hosting"
192
+ msgstr "Alojamiento web ilimitado"
193
+
194
+ #: ../ssb-admin.php:200
195
+ msgid "Best SEO software"
196
+ msgstr "Mejor software SEO"
197
+
198
+ #: ../ssb-admin.php:201
199
+ msgid "Wordpress templates"
200
+ msgstr "Plantillas de Wordpress"
201
+
202
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
203
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
tags/1.4.2/lang/simplesocialbuttons-fr_FR.mo ADDED
Binary file
tags/1.4.2/lang/simplesocialbuttons-fr_FR.po ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-01 11:29+0100\n"
6
+ "PO-Revision-Date: 2012-02-01 11:30+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Paweł Rabinek (FR: Emmanuel Beziat) <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: French\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-Country: FRANCE\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ # Traduit par @RhooManu - www.infographizm.com
20
+ #: ../simple-social-buttons.php:424
21
+ #: ../ssb-admin.php:11
22
+ msgid "Settings"
23
+ msgstr "Paramètres"
24
+
25
+ # Traduit par @RhooManu - www.infographizm.com
26
+ #: ../simple-social-buttons.php:452
27
+ msgid "SSB Settings"
28
+ msgstr "SSB paramètres"
29
+
30
+ #: ../simple-social-buttons.php:463
31
+ msgid "Hide Simple Social Buttons"
32
+ msgstr "Cacher Simple Social Buttons"
33
+
34
+ #: ../ssb-admin.php:13
35
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
36
+ msgstr "<strong>Simple Social Buttons</strong>, par <strong>Paweł Rabinek</strong>. Cette extension ajoute des boutons de réseaux sociaux, comme <strong>Google +1</strong>, <strong>Facebook J'aime</strong> et <strong>Twitter</strong>. La plus flexible des extensions de boutons de réseaux sociaux !"
37
+
38
+ #: ../ssb-admin.php:68
39
+ msgid "Select buttons"
40
+ msgstr "Choisir les boutons"
41
+
42
+ #: ../ssb-admin.php:70
43
+ msgid "Select social media buttons:"
44
+ msgstr "Choisissez les boutons de réseaux sociaux :"
45
+
46
+ #: ../ssb-admin.php:76
47
+ #: ../ssb-admin.php:90
48
+ #: ../ssb-admin.php:105
49
+ msgid "inactive"
50
+ msgstr "inactives"
51
+
52
+ #: ../ssb-admin.php:84
53
+ msgid "Google plus one (+1)"
54
+ msgstr "Google plus un (+1)"
55
+
56
+ #: ../ssb-admin.php:98
57
+ msgid "Facebook Like it"
58
+ msgstr "Facebook J'aime"
59
+
60
+ #: ../ssb-admin.php:113
61
+ msgid "Twitter share"
62
+ msgstr "Partage twitter"
63
+
64
+ #: ../ssb-admin.php:116
65
+ msgid "Disable plugin CSS (only advanced users)"
66
+ msgstr ""
67
+
68
+ #: ../ssb-admin.php:121
69
+ msgid "Single posts - display settings"
70
+ msgstr "Articles seuls - paramètres d'affichages"
71
+
72
+ #: ../ssb-admin.php:123
73
+ msgid "Place buttons on single post:"
74
+ msgstr "Placer les boutons sur un article seul :"
75
+
76
+ #: ../ssb-admin.php:124
77
+ #: ../ssb-admin.php:148
78
+ msgid "Before the content"
79
+ msgstr "Avant le contenu"
80
+
81
+ #: ../ssb-admin.php:125
82
+ #: ../ssb-admin.php:149
83
+ msgid "After the content"
84
+ msgstr "Après le contenu"
85
+
86
+ #: ../ssb-admin.php:130
87
+ msgid "Single pages - display settings"
88
+ msgstr "Pages - paramètres d'affichage"
89
+
90
+ #: ../ssb-admin.php:132
91
+ msgid "Place buttons on single pages:"
92
+ msgstr "Placer les boutons sur les pages :"
93
+
94
+ #: ../ssb-admin.php:133
95
+ msgid "Before the page content"
96
+ msgstr "Avant le contenu de la page"
97
+
98
+ #: ../ssb-admin.php:134
99
+ msgid "After the page content"
100
+ msgstr "Après le contenu de la page"
101
+
102
+ #: ../ssb-admin.php:139
103
+ msgid "Archives - display settings"
104
+ msgstr "Archives - paramètres d'affichage"
105
+
106
+ #: ../ssb-admin.php:141
107
+ msgid "Select additional places to display buttons:"
108
+ msgstr "Choisissez une place supplémentaire pour afficher les boutons :"
109
+
110
+ #: ../ssb-admin.php:142
111
+ msgid "Show at frontpage"
112
+ msgstr "Afficher sur la page principale"
113
+
114
+ #: ../ssb-admin.php:143
115
+ msgid "Show at category pages"
116
+ msgstr "Afficher sur les pages de catégories"
117
+
118
+ #: ../ssb-admin.php:144
119
+ msgid "Show at archive pages"
120
+ msgstr "Afficher sur les pages d'archives"
121
+
122
+ #: ../ssb-admin.php:145
123
+ msgid "Show at tag pages"
124
+ msgstr "Affichers sur les pages de tags"
125
+
126
+ #: ../ssb-admin.php:147
127
+ msgid "Place buttons on archives:"
128
+ msgstr "Placer les boutons sur les archives :"
129
+
130
+ #: ../ssb-admin.php:155
131
+ #, fuzzy
132
+ msgid "Save Changes"
133
+ msgstr "Enregistrer les changement"
134
+
135
+ #: ../ssb-admin.php:165
136
+ msgid "About this plugin:"
137
+ msgstr "À propos de cette extension"
138
+
139
+ #: ../ssb-admin.php:167
140
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
141
+ msgstr "Parlez à <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> sur Twitter pour signaler les bugs ou demander des ajouts."
142
+
143
+ #: ../ssb-admin.php:168
144
+ msgid "Enjoy the plugin?"
145
+ msgstr "Cette extension vous plaît ?"
146
+
147
+ #: ../ssb-admin.php:169
148
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
149
+ msgstr "<a href=\"http://twitter.com/?status=J'utilise @rabinek - WordPress Simple Social Buttons ! http://blog.rabinek.pl/\" target=\"_blank\">Twittez cette info</a> et n'hésitez pas à faire un don !"
150
+
151
+ #: ../ssb-admin.php:170
152
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
153
+ msgstr "<strong>Faire un don :</strong> Faire une extension demande beaucoup de travail - aidez les développeurs à améliorer leur travail. Merci !"
154
+
155
+ #: ../ssb-admin.php:182
156
+ msgid "About the author:"
157
+ msgstr "À propos de l'auteur :"
158
+
159
+ #: ../ssb-admin.php:184
160
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
161
+ msgstr "Salut ! Mon nom est Paweł Rabinek (surnommé xradar). Je m'intéresse beaucoup au référencement et aux réseaux sociaux, au développement PHP et pour WordPress."
162
+
163
+ #: ../ssb-admin.php:186
164
+ msgid "My blog about SEO"
165
+ msgstr "Mon blog sur le référencement (SEO)"
166
+
167
+ #: ../ssb-admin.php:186
168
+ msgid "[Polish]"
169
+ msgstr " "
170
+
171
+ #: ../ssb-admin.php:187
172
+ msgid "Follow me on Twitter"
173
+ msgstr "Suivez-moi sur twitter !"
174
+
175
+ #: ../ssb-admin.php:188
176
+ msgid "Paweł Rabinek on Facebook"
177
+ msgstr "Paweł Rabinek sur Facebook"
178
+
179
+ #: ../ssb-admin.php:189
180
+ msgid "Paweł Rabinek on Google Plus"
181
+ msgstr "Paweł Rabinek sur Google Plus"
182
+
183
+ #: ../ssb-admin.php:190
184
+ msgid "LinkedIn profile"
185
+ msgstr "Profil LinkedIn"
186
+
187
+ #: ../ssb-admin.php:196
188
+ msgid "Usefull links:"
189
+ msgstr "Liens utiles :"
190
+
191
+ #: ../ssb-admin.php:199
192
+ msgid "Unlimited web hosting"
193
+ msgstr "Hébergement web illimité"
194
+
195
+ #: ../ssb-admin.php:200
196
+ msgid "Best SEO software"
197
+ msgstr "Meilleur logiciel de référencement"
198
+
199
+ #: ../ssb-admin.php:201
200
+ msgid "Wordpress templates"
201
+ msgstr "Thèmes pour WordPress"
202
+
203
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
204
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
tags/1.4.2/lang/simplesocialbuttons-pl_PL.mo ADDED
Binary file
tags/1.4.2/lang/simplesocialbuttons-pl_PL.po ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-01 11:16+0100\n"
6
+ "PO-Revision-Date: 2012-02-01 11:16+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Paweł Rabinek <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: Polish\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-SearchPath-0: ..\n"
17
+
18
+ #: ../simple-social-buttons.php:424
19
+ #: ../ssb-admin.php:11
20
+ msgid "Settings"
21
+ msgstr "Ustawienia"
22
+
23
+ #: ../simple-social-buttons.php:452
24
+ msgid "SSB Settings"
25
+ msgstr "Ustawienia SSB"
26
+
27
+ #: ../simple-social-buttons.php:463
28
+ msgid "Hide Simple Social Buttons"
29
+ msgstr "Ukryj przyciski wtyczki Simple Social Buttons"
30
+
31
+ #: ../ssb-admin.php:13
32
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
33
+ msgstr "<strong>Simple Social Buttons</strong>, autor <strong>Paweł Rabinek</strong>. Wtyczka dodaje do wpisów przyciski: <strong>Google +1</strong>, <strong>Facebook Lubię to</strong> oraz <strong>Twitter</strong>. Najlepsza wtyczka z przyciskami social media dla Wordpress."
34
+
35
+ #: ../ssb-admin.php:68
36
+ msgid "Select buttons"
37
+ msgstr "Wybór przycisków"
38
+
39
+ #: ../ssb-admin.php:70
40
+ msgid "Select social media buttons:"
41
+ msgstr "Wybierz przyciski do wyświetlenia:"
42
+
43
+ #: ../ssb-admin.php:76
44
+ #: ../ssb-admin.php:90
45
+ #: ../ssb-admin.php:105
46
+ msgid "inactive"
47
+ msgstr "nieaktywny"
48
+
49
+ #: ../ssb-admin.php:84
50
+ msgid "Google plus one (+1)"
51
+ msgstr "Google plus jeden (+1)"
52
+
53
+ #: ../ssb-admin.php:98
54
+ msgid "Facebook Like it"
55
+ msgstr "Facebook Lubię to"
56
+
57
+ #: ../ssb-admin.php:113
58
+ msgid "Twitter share"
59
+ msgstr "Wyślij na Twitter"
60
+
61
+ #: ../ssb-admin.php:116
62
+ msgid "Disable plugin CSS (only advanced users)"
63
+ msgstr "Wyłącz style CSS wtyczki (tylko dla zaawansowanych użytkowników)"
64
+
65
+ #: ../ssb-admin.php:121
66
+ msgid "Single posts - display settings"
67
+ msgstr "Pojedyńcze wpisy - ustawienia"
68
+
69
+ #: ../ssb-admin.php:123
70
+ msgid "Place buttons on single post:"
71
+ msgstr "Miejsce przycisków na podstronie wpisu:"
72
+
73
+ #: ../ssb-admin.php:124
74
+ #: ../ssb-admin.php:148
75
+ msgid "Before the content"
76
+ msgstr "Nad treścią wpisu"
77
+
78
+ #: ../ssb-admin.php:125
79
+ #: ../ssb-admin.php:149
80
+ msgid "After the content"
81
+ msgstr "Pod treścią wpisu"
82
+
83
+ #: ../ssb-admin.php:130
84
+ msgid "Single pages - display settings"
85
+ msgstr "Pojedyńcze strony - ustawienia"
86
+
87
+ #: ../ssb-admin.php:132
88
+ msgid "Place buttons on single pages:"
89
+ msgstr "Miejsce przycisków na stronach:"
90
+
91
+ #: ../ssb-admin.php:133
92
+ msgid "Before the page content"
93
+ msgstr "Nad treścią strony"
94
+
95
+ #: ../ssb-admin.php:134
96
+ msgid "After the page content"
97
+ msgstr "Pod treścią strony"
98
+
99
+ #: ../ssb-admin.php:139
100
+ msgid "Archives - display settings"
101
+ msgstr "Archiwa - ustawienia"
102
+
103
+ #: ../ssb-admin.php:141
104
+ msgid "Select additional places to display buttons:"
105
+ msgstr "Dodatkowe miejsca do wyświetlenia przycisków:"
106
+
107
+ #: ../ssb-admin.php:142
108
+ msgid "Show at frontpage"
109
+ msgstr "Pokazuj na stronie głównej"
110
+
111
+ #: ../ssb-admin.php:143
112
+ msgid "Show at category pages"
113
+ msgstr "Pokazuj na stroniach kategorii"
114
+
115
+ #: ../ssb-admin.php:144
116
+ msgid "Show at archive pages"
117
+ msgstr "Pokazuje w archiwum dat"
118
+
119
+ #: ../ssb-admin.php:145
120
+ msgid "Show at tag pages"
121
+ msgstr "Pokazuj na stronach tagów"
122
+
123
+ #: ../ssb-admin.php:147
124
+ msgid "Place buttons on archives:"
125
+ msgstr "Miejsce przycisków na stronach archiwum:"
126
+
127
+ #: ../ssb-admin.php:155
128
+ msgid "Save Changes"
129
+ msgstr "Zapisz ustawienia"
130
+
131
+ #: ../ssb-admin.php:165
132
+ msgid "About this plugin:"
133
+ msgstr "Informacje o wtyczce:"
134
+
135
+ #: ../ssb-admin.php:167
136
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
137
+ msgstr "Napisz do mnie <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> na Twitterze, jeżeli znalazłeś błąd lub masz pomysł na ulepszenie wtyczki."
138
+
139
+ #: ../ssb-admin.php:168
140
+ msgid "Enjoy the plugin?"
141
+ msgstr "Podoba Ci się wtyczka?"
142
+
143
+ #: ../ssb-admin.php:169
144
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
145
+ msgstr "<a href=\"http://twitter.com/?status=Używam wtyczki do Wordpressa od @rabinek - WordPress Simple Social Buttons! http://blog.rabinek.pl/\" target=\"_blank\">Powiedz o niej na Twitterze</a> i rozważ wsparcie dla tej wtyczki (poniżej)."
146
+
147
+ #: ../ssb-admin.php:170
148
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
149
+ msgstr "<strong>Wsparcie:</strong> Wiele pracy trzeba włożyć w napisanie takiej wtyczki. Jeżeli korzystasz z niej i podoba Ci się, postaw mi piwo klikając Donate."
150
+
151
+ #: ../ssb-admin.php:182
152
+ msgid "About the author:"
153
+ msgstr "Informacje o autorze:"
154
+
155
+ #: ../ssb-admin.php:184
156
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
157
+ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar). Zawodowo zajmuje się SEO i mediami społecznościowymi. Programuję w PHP, często z wykorzystaniem Wordpressa."
158
+
159
+ #: ../ssb-admin.php:186
160
+ msgid "My blog about SEO"
161
+ msgstr "Mój blog o SEO"
162
+
163
+ #: ../ssb-admin.php:186
164
+ msgid "[Polish]"
165
+ msgstr " "
166
+
167
+ #: ../ssb-admin.php:187
168
+ msgid "Follow me on Twitter"
169
+ msgstr "Napisz do mnie na Twitter"
170
+
171
+ #: ../ssb-admin.php:188
172
+ msgid "Paweł Rabinek on Facebook"
173
+ msgstr "Paweł Rabinek na Facebook"
174
+
175
+ #: ../ssb-admin.php:189
176
+ msgid "Paweł Rabinek on Google Plus"
177
+ msgstr "Paweł Rabinek na Google Plus"
178
+
179
+ #: ../ssb-admin.php:190
180
+ msgid "LinkedIn profile"
181
+ msgstr "Profil na LinkedIn"
182
+
183
+ #: ../ssb-admin.php:196
184
+ msgid "Usefull links:"
185
+ msgstr "Przydatne linki:"
186
+
187
+ #: ../ssb-admin.php:199
188
+ msgid "Unlimited web hosting"
189
+ msgstr "Nielimitowany hosting stron"
190
+
191
+ #: ../ssb-admin.php:200
192
+ msgid "Best SEO software"
193
+ msgstr "Najlepsze oprogramowanie SEO"
194
+
195
+ #: ../ssb-admin.php:201
196
+ msgid "Wordpress templates"
197
+ msgstr "Szablony do Wordpress"
198
+
199
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
200
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
tags/1.4.2/readme.txt ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Plugin Name ===
2
+ Contributors: xradar
3
+ Donate link: http://blog.rabinek.pl/
4
+ Tags: facebook, google, twitter, plus one, like it, like, share
5
+ Requires at least: 2.8
6
+ Tested up to: 3.3.1
7
+ Stable tag: 1.4.2
8
+
9
+ Insert and customize social buttons: Facebook Like it, Google plus +1 and Twitter share. Share your content with friends.
10
+
11
+ == Description ==
12
+
13
+ Simple Social Buttons adds to your posts social network buttons, such as: **Facebook "Like it!"**, **Google plus on "+1"** and **Twitter share**. Plugin is fully customizable. You can decide where to put those buttons:
14
+
15
+ - Buttons above the post content
16
+ - Buttons under the post content
17
+ - Buttons above and under the post
18
+
19
+ That's not all. Simple Social Buttons can also add social media buttons to:
20
+
21
+ - Static Pages
22
+ - Front Page
23
+ - Posts Categories
24
+ - Date Archives
25
+ - Tags Archives
26
+
27
+ Want's more? Now you can change the **order of buttons** on your post!
28
+
29
+ Let your visitors share your content with friends and let them **promote your blog**. Facebook, Google Plus and Twitter are the most popular social networks nowadays. Don't miss the opportunity, and help publish your content and links to those social media networks.
30
+
31
+ Simple Social Buttons is currently in the following languages:
32
+
33
+ - English
34
+ - French
35
+ - Polish
36
+ - German
37
+ - Spanish
38
+
39
+ Feel free if you want to create a translation of this plugin. Contact me via e-mail or Twitter [@rabinek](https://twitter.com/rabinek "Paweł Rabinek on Twitter"), and I'll add your's translation to Simple Social Buttons.
40
+
41
+ For more information about Wordpress and SEO, visit my [SEO Blog](http://blog.rabinek.pl "Paweł Rabinek - Blog SEO") (in polish).
42
+ Also check my new SEO tool [SEO Audit](http://www.seoptimer.com "Free SEO Audit tool").
43
+
44
+ Big thanks for support in development of this plugin for:
45
+
46
+ - Karol from [Liga BBVA](http://www.ligabbva.pl "Liga hiszpańska BBVA") for PHP developement
47
+ - Talem Technologies - [Pozycjonowanie Bydgoszcz](http://www.talem.eu "SEO Pozycjonowanie Bydgoszcz") for time and resources
48
+ - See more thanks in FAQ section
49
+
50
+ == Installation ==
51
+
52
+ 1. Download the latest version of Simple Social Buttons
53
+ 2. Upload folder named simple-social-buttons to the /wp-content/plugins/ directory
54
+ 3. Activate the plugin through the 'Plugins' menu in WordPress
55
+ 4. (Optional) Customize the buttons in the Settings > Simple Social Buttons menu
56
+
57
+ That's it. Buttons will show on your blog posts.
58
+
59
+ You can also use this plugin directly in your template by function `<?php get_ssb([$order]); ?>`, where `$order` is a string with args ( example: `$order = "googleplus=1&fblike=2&twitter=3"` ) or an array ( example: `$order = array('googleplus' => 1, 'fblike' => 2, 'twitter' => 3)` ). If you would like to hide a specified button, you should set order to "0".
60
+
61
+
62
+ == Frequently Asked Questions ==
63
+
64
+ = Is the plugin free? =
65
+
66
+ Yes, it's free. I hope you like it :) If so you can buy me a coffee by doing paypal donate.
67
+
68
+ = Is the plug will be developed? =
69
+
70
+ Yes. I've some plans about developing Simple Social Buttons. There will be more buttons, more customization, and more powerfull! Follow me on Twitter [@rabinek](http://twitter.com/rabinek "Paweł Rabinek na Twitter") and stay tuned.
71
+
72
+ = Why use this plugin? =
73
+
74
+ This plugin automatically adds the Facebook Like button, Google plus one +1 and Twitter share button for each post on your blog. This is the simples and effective way to promote your blog in social media networks.
75
+
76
+ = How about support? =
77
+
78
+ Follow me at Twitter [@rabinek](http://twitter.com/rabinek "Paweł Rabinek na Twitter") or send me a mention. I'll reply as soon as I get it. You can also visit my [SEO Blog](http://blog.rabinek.pl "Paweł Rabinek - Blog SEO") (in polish).
79
+
80
+ = Is there a template tag for custom install? =
81
+
82
+ Yes, you can use `<?php get_ssb(); ?>` in your template file (see installation section). Default instalation don't require that.
83
+
84
+ = Who helped to improve Simple Social Buttons? =
85
+
86
+ **Big thanks to:**
87
+
88
+ - [@RhooManu](http://twitter.com/RhooManu "RhooManu on Twitter") for french translation
89
+ - [Usability Idealist](http://usability-idealist.de/ "Fabian Wolf - Usability Idealist") for converting code to object-oriented, adding buttons order and many fixes
90
+ - [@Dennis Schreiber](http://twitter.com/flammbar "Dennis Schreiber on Twitter") for german translation
91
+ - Marcos González for spanish translation
92
+
93
+ == Screenshots ==
94
+
95
+ 1. Simple Social Buttons - plugin options
96
+ 2. Plugin example
97
+ 3. Plugin on archive
98
+ 4. Widget in post edition
99
+
100
+
101
+ == Changelog ==
102
+
103
+ = 1.0 =
104
+ * First stable release.
105
+
106
+ = 1.1 =
107
+ * Added french translation
108
+ * Added language support in Facebook and Google+ JavaScript
109
+
110
+ = 1.2.1 =
111
+ * Optimized settings storage
112
+
113
+ = 1.3 =
114
+ * Converted plugin to class (requires PHP 5, because it is using the constructor auto-method)
115
+ * Added sorting options
116
+ * Added uninstall hook
117
+ * Fixed plugin settings slot not being highlighted in the admin navigation / general settings
118
+ * Added "disable regular CSS" option to let advanced users use their own CSS code
119
+ * Lots of fine-tuning
120
+
121
+ = 1.4 =
122
+ * Added custom meta to disable SSB plugin on sigle page/post (managed in admin menu)
123
+ * Function get_ssb() to directly use in template to show Simple Social Buttons in specified order
124
+ * Widget manage page in wp-admin available only for Administrator
125
+ * Added German and Spanish translation
126
+ * Fine-tuning
tags/1.4.2/screenshot-1.png ADDED
Binary file
tags/1.4.2/screenshot-2.png ADDED
Binary file
tags/1.4.2/screenshot-3.jpg ADDED
Binary file
tags/1.4.2/screenshot-4.png ADDED
Binary file
tags/1.4.2/simple-social-buttons.php ADDED
@@ -0,0 +1,537 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: Simple Social Buttons
4
+ Plugin URI: http://blog.rabinek.pl/simple-social-buttons-wordpress/
5
+ Description: Insert social buttons into posts and archives: Facebook "Like it", Google Plus One "+1" and Twitter share.
6
+ Author: Paweł Rabinek
7
+ Version: 1.3
8
+ Author URI: http://blog.rabinek.pl/
9
+ */
10
+
11
+ /* Copyright 2011, Paweł Rabinek (xradar) (email : pawel@rabinek.pl)
12
+
13
+ This program is free software; you can redistribute it and/or modify
14
+ it under the terms of the GNU General Public License, version 2, as
15
+ published by the Free Software Foundation.
16
+
17
+ This program is distributed in the hope that it will be useful,
18
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
19
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
+ GNU General Public License for more details.
21
+
22
+ You should have received a copy of the GNU General Public License
23
+ along with this program; if not, write to the Free Software
24
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
+ */
26
+
27
+ /**
28
+ * HACK: Converted to class, added buttons ordering, improve saving settings
29
+ * @author Fabian Wolf
30
+ * @link http://usability-idealist.de/
31
+ * @since 1.3
32
+ * @requires PHP 5
33
+ */
34
+
35
+
36
+ class SimpleSocialButtonsPR {
37
+ var $pluginName = 'Simple Social Buttons';
38
+ var $pluginVersion = '1.4';
39
+ var $pluginPrefix = 'ssb_pr_';
40
+ var $hideCustomMetaKey = '_ssb_hide';
41
+
42
+ // plugin default settings
43
+ var $pluginDefaultSettings = array(
44
+ 'googleplus' => '1',
45
+ 'fblike' => '2',
46
+ 'twitter' => '3',
47
+ 'beforepost' => '1',
48
+ 'afterpost' => '0',
49
+ 'beforepage' => '1',
50
+ 'afterpage' => '0',
51
+ 'beforearchive' => '0',
52
+ 'afterarchive' => '0'
53
+ );
54
+
55
+ // defined buttons
56
+ var $arrKnownButtons = array('fblike', 'googleplus', 'twitter');
57
+
58
+
59
+ /**
60
+ * Constructor
61
+ */
62
+ function __construct() {
63
+ register_activation_hook( __FILE__, array(&$this, 'plugin_install') );
64
+ register_deactivation_hook( __FILE__, array(&$this, 'plugin_uninstall') );
65
+
66
+ /**
67
+ * Action hooks
68
+ */
69
+ add_action( 'create_ssb', array(&$this, 'direct_display'), 10 , 1);
70
+
71
+ /**
72
+ * basic init
73
+ */
74
+ add_action( 'init', array(&$this, 'plugin_init') );
75
+
76
+ // get settings
77
+ $currentSettings = $this->get_settings();
78
+
79
+ // social JS + CSS data
80
+ add_action( 'wp_footer', array(&$this, 'include_social_js') );
81
+ if(!isset($currentSettings['override_css'])) {
82
+ add_action( 'wp_head', array(&$this, 'include_css') );
83
+ }
84
+
85
+ /**
86
+ * Filter hooks
87
+ */
88
+ add_filter( 'the_content', array(&$this, 'insert_buttons') );
89
+ add_filter( 'the_excerpt', array(&$this, 'insert_buttons') );
90
+ }
91
+
92
+ function plugin_init() {
93
+ load_plugin_textdomain( 'simplesocialbuttons', '', dirname( plugin_basename( __FILE__ ) ).'/lang' );
94
+ }
95
+
96
+ /**
97
+ * Both avoids time-wasting https calls AND provides better SSL-protection if the current server is accessed using HTTPS
98
+ */
99
+ public function get_current_http( $echo = true ) {
100
+ $return = 'http' . (strtolower($_SERVER['HTTPS']) == 'on' ? 's' : '') . '://';
101
+
102
+ if($echo != false) {
103
+ echo $return;
104
+ return;
105
+ }
106
+
107
+ return $return;
108
+ }
109
+
110
+ function include_social_js($force_include = false) {
111
+ $lang = get_bloginfo('language');
112
+ $lang_g = strtolower(substr($lang, 0, 2));
113
+ $lang_fb = str_replace('-', '_', $lang);
114
+
115
+ /**
116
+ * Disable loading of social network JS if disabled for specific post type
117
+ *
118
+ * NOTE: Conditional tags seem to work only AFTER the page has loaded, thus the code has been added here instead of at the plugin init
119
+ * @author Fabian Wolf
120
+ * @link http://usability-idealist.de/
121
+ * @date Di 20. Dez 17:50:01 CET 2011
122
+ */
123
+ if($this->where_to_insert() != false || $force_include == true) {
124
+ ?>
125
+
126
+ <!-- Simple Social Buttons plugin -->
127
+ <script type="text/javascript" src="<?php $this->get_current_http(); ?>apis.google.com/js/plusone.js">
128
+ //<![CDATA[
129
+ {lang: '<?php echo $lang_g; ?>'}
130
+ //]]>
131
+ </script>
132
+ <script type="text/javascript" src="<?php $this->get_current_http(); ?>platform.twitter.com/widgets.js"></script>
133
+ <script type="text/javascript" src="<?php $this->get_current_http(); ?>connect.facebook.net/<?php echo $lang_fb; ?>/all.js#xfbml=1"></script>
134
+ <!-- /End of Simple Social Buttons -->
135
+
136
+ <?php
137
+ }
138
+ }
139
+
140
+
141
+ function include_css() {
142
+ ?>
143
+
144
+ <!-- Simple Social Buttons style sheet -->
145
+ <style type="text/css">
146
+ div.simplesocialbuttons { height: 20px; margin: 10px auto 10px 0; text-align: center; clear: left; }
147
+ div.simplesocialbutton { float: left; text-align: center;}
148
+ </style>
149
+ <!-- End of Simple Social Buttons -->
150
+
151
+ <?php
152
+ }
153
+
154
+ /**
155
+ * Called when installing = activating the plugin
156
+ */
157
+ function plugin_install() {
158
+ $defaultSettings = $this->check_old_settings();
159
+
160
+ /**
161
+ * @see http://codex.wordpress.org/Function_Reference/add_option
162
+ * @param string $name Name of the option to be added. Use underscores to separate words, and do not use uppercase - this is going to be placed into the database.
163
+ * @param mixed $value Value for this option name. Limited to 2^32 bytes of data.
164
+ * @param string $deprecated Deprecated in WordPress Version 2.3.
165
+ * @param string $autoload Should this option be automatically loaded by the function wp_load_alloptions() (puts options into object cache on each page load)? Valid values: yes or no. Default: yes
166
+ */
167
+ add_option( $this->pluginPrefix . 'settings', $defaultSettings, '', 'yes' );
168
+ add_option( $this->pluginPrefix . 'version', $this->pluginVersion, '', 'yes' ); // for backward-compatiblity checks
169
+
170
+ }
171
+
172
+ /**
173
+ * Backward compatiblity for newer versions
174
+ */
175
+ function check_old_settings() {
176
+ $return = $this->pluginDefaultSettings;
177
+
178
+ $oldSettings = get_option( $this->pluginPrefix . 'settings', array() );
179
+
180
+ if( !empty($oldSettings) && is_array($oldSettings) != false) {
181
+ $return = wp_parse_args( $oldSettings, $this->pluginDefaultSettings );
182
+ }
183
+
184
+ return $return;
185
+ }
186
+
187
+ /**
188
+ * Plugin unistall and database clean up
189
+ */
190
+ function plugin_uninstall() {
191
+ if( !defined( 'ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') ) {
192
+ exit();
193
+ }
194
+
195
+ delete_option( $this->pluginPrefix . 'settings' );
196
+ delete_option( $this->pluginPrefix . 'version' );
197
+
198
+ }
199
+
200
+
201
+ /**
202
+ * Get settings from database
203
+ */
204
+ public function get_settings() {
205
+ $return = get_option($this->pluginPrefix . 'settings' );
206
+ if(empty($return) != false) {
207
+ $return = $this->pluginDefaultSettings;
208
+ }
209
+
210
+ return $return;
211
+ }
212
+
213
+ /**
214
+ * Update settings
215
+ */
216
+ function update_settings( $newSettings = array() ) {
217
+ $return = false;
218
+
219
+ // compile settings
220
+ $currentSettings = $this->get_settings();
221
+
222
+ /**
223
+ * Compile settings array
224
+ * @see http://codex.wordpress.org/Function_Reference/wp_parse_args
225
+ * @param mixed $args
226
+ * @param mixed $defaults
227
+ */
228
+ $updatedSettings = wp_parse_args( $newSettings, $currentSettings );
229
+
230
+ if($currentSettings != $updatedSettings ) {
231
+ $return = update_option( $this->pluginPrefix . 'settings', $newSettings );
232
+ }
233
+
234
+ return $return;
235
+ }
236
+
237
+ /**
238
+ * Returns true on pages where buttons should be shown
239
+ */
240
+ function where_to_insert() {
241
+ $return = false;
242
+
243
+ // get settings from database
244
+ $settings = $this->get_settings();
245
+
246
+ extract( $settings, EXTR_PREFIX_ALL, 'ssb' );
247
+
248
+ // display on single post?
249
+ if(is_single() && ($ssb_beforepost || $ssb_afterpost) && array_shift(get_post_meta(get_the_ID(), $this->hideCustomMetaKey)) != 'true') {
250
+ $return = true;
251
+ }
252
+
253
+ // display on single page?
254
+ if(is_page() && ($ssb_beforepage || $ssb_afterpage) && array_shift(get_post_meta(get_the_ID(), $this->hideCustomMetaKey)) != 'true') {
255
+ $return = true;
256
+ }
257
+
258
+ // display on frontpage?
259
+ if((is_front_page() || is_home()) && $ssb_showfront) {
260
+ $return = true;
261
+ }
262
+
263
+ // display on category archive?
264
+ if(is_category() && $ssb_showcategory) {
265
+ $return = true;
266
+ }
267
+
268
+ // display on date archive?
269
+ if(is_date() && $ssb_showarchive)
270
+ {
271
+ $return = true;
272
+ }
273
+
274
+ // display on tag archive?
275
+ if(is_tag() && $ssb_showtag) {
276
+ $return = true;
277
+ }
278
+ return $return;
279
+ }
280
+
281
+ /**
282
+ * Insert the buttons to the content
283
+ */
284
+ function insert_buttons($content) {
285
+ // Insert or not?
286
+ if(!$this->where_to_insert() ) {
287
+ return $content;
288
+ }
289
+
290
+ // get settings from database
291
+ $settings = $this->get_settings();
292
+
293
+ extract( $settings, EXTR_PREFIX_ALL, 'ssb' );
294
+
295
+ // creating order
296
+ $order = array();
297
+ foreach ($this->arrKnownButtons as $button_name) {
298
+ $order[$button_name] = $settings[$button_name];
299
+ }
300
+ $ssb_buttonscode = $this->generate_buttons_code($order);
301
+
302
+ if(is_single()) {
303
+ if($ssb_beforepost) {
304
+ $content = $ssb_buttonscode.$content;
305
+ }
306
+ if($ssb_afterpost) {
307
+ $content = $content.$ssb_buttonscode;
308
+ }
309
+ } else if(is_page()) {
310
+ if($ssb_beforepage) {
311
+ $content = $ssb_buttonscode.$content;
312
+ }
313
+ if($ssb_afterpage) {
314
+ $content = $content.$ssb_buttonscode;
315
+ }
316
+ } else {
317
+ if($ssb_beforearchive) {
318
+ $content = $ssb_buttonscode.$content;
319
+ }
320
+ if($ssb_afterarchive) {
321
+ $content = $content.$ssb_buttonscode;
322
+ }
323
+ }
324
+
325
+ return $content;
326
+
327
+ }
328
+
329
+ function direct_display($order = null)
330
+ {
331
+ // Return false if hide SSB for this page/post is disabled
332
+ if (is_single() && array_shift(get_post_meta(get_the_ID(), $this->hideCustomMetaKey)) == 'true') return false;
333
+
334
+ // Display buttons and scripts
335
+ $buttons_code = $this->generate_buttons_code($order);
336
+ echo $buttons_code;
337
+ $this->include_social_js(true);
338
+ }
339
+
340
+ /**
341
+ * Generate buttons html code with specified order
342
+ *
343
+ * @param mixed $order - order of social buttons
344
+ */
345
+ function generate_buttons_code($order = null)
346
+ {
347
+ foreach ($this->arrKnownButtons as $button_name) {
348
+ $defaultOrder[$button_name] = $this->pluginDefaultSettings[$button_name];
349
+ }
350
+
351
+ $order = wp_parse_args($order, $defaultOrder);
352
+
353
+ // define empty buttons code to use
354
+ $ssb_buttonscode = '';
355
+
356
+ // get post permalink and title
357
+ $permalink = get_permalink();
358
+ $title = get_the_title();
359
+
360
+ //Sorting the buttons
361
+ foreach($this->arrKnownButtons as $button_name) {
362
+ if(!empty($order[$button_name]) && (int)$order[$button_name] != 0) {
363
+ $arrButtons[$button_name] = $order[$button_name];
364
+ }
365
+ }
366
+ @asort($arrButtons);
367
+
368
+ $arrButtonsCode = array();
369
+ foreach($arrButtons as $button_name => $button_sort) {
370
+ switch($button_name) {
371
+ case 'googleplus':
372
+ $arrButtonsCode[] = '<div class="simplesocialbutton ssb-button-googleplus"><!-- Google Plus One--><g:plusone size="medium"></g:plusone></div>';
373
+ break;
374
+ case 'fblike':
375
+ $arrButtonsCode[] = '<div class="simplesocialbutton ssb-button-fblike"><!-- Facebook like--><div id="fb-root"></div><fb:like href="'.$permalink.'" send="false" layout="button_count" width="100" show_faces="false" action="like" font=""></fb:like></div>';
376
+ break;
377
+ case 'twitter':
378
+ $arrButtonsCode[] = '<div class="simplesocialbutton ssb-buttom-twitter"><!-- Twitter--><a name="twitter_share" data-count="horizontal" href="http://twitter.com/share" data-text="'.$title.'" data-url="'.$permalink.'" class="twitter-share-button" rel="nofollow"></a></div>';
379
+ break;
380
+ }
381
+ }
382
+
383
+ if(count($arrButtonsCode) > 0) {
384
+ $ssb_buttonscode = '<div class="simplesocialbuttons">'."\n";
385
+ $ssb_buttonscode .= implode("\n", $arrButtonsCode) . "\n";
386
+ $ssb_buttonscode .= '</div>'."\n";
387
+ }
388
+
389
+ return $ssb_buttonscode;
390
+ }
391
+ } // end class
392
+
393
+
394
+ /**
395
+ * Admin class
396
+ *
397
+ * Gets only initiated if this plugin is called inside the admin section ;)
398
+ */
399
+ class SimpleSocialButtonsPR_Admin extends SimpleSocialButtonsPR {
400
+
401
+ function __construct() {
402
+ parent::__construct();
403
+
404
+ add_action('admin_menu', array(&$this, 'admin_actions') );
405
+ add_action('add_meta_boxes', array(&$this, 'ssb_meta_box'));
406
+ add_action('save_post', array(&$this, 'ssb_save_meta'), 10, 2);
407
+
408
+ add_filter('plugin_action_links', array(&$this, 'plugin_action_links'), 10, 2 );
409
+ }
410
+
411
+ public function admin_actions() {
412
+ if (current_user_can('administrator'))
413
+ add_options_page('Simple Social Buttons ', 'Simple Social Buttons ', 1, 'simple-social-buttons', array(&$this, 'admin_page') );
414
+ }
415
+
416
+ public function admin_page() {
417
+ global $wpdb;
418
+
419
+ include dirname( __FILE__ ).'/ssb-admin.php';
420
+ }
421
+
422
+
423
+
424
+ public function plugin_action_links($links, $file) {
425
+ static $this_plugin;
426
+
427
+ if (!$this_plugin) {
428
+ $this_plugin = plugin_basename(__FILE__);
429
+ }
430
+
431
+ if ($file == $this_plugin) {
432
+ $settings_link = '<a href="' . get_bloginfo('wpurl') . '/wp-admin/options-general.php?page=simple-social-buttons">'.__('Settings', 'simplesocialbuttons').'</a>';
433
+ array_unshift($links, $settings_link);
434
+ }
435
+
436
+ return $links;
437
+ }
438
+
439
+ /**
440
+ * Register meta box to hide/show SSB plugin on single post or page
441
+ */
442
+ public function ssb_meta_box()
443
+ {
444
+ $postId = $_GET['post'];
445
+ $postType = get_post_type($postId);
446
+
447
+ if ($postType != 'page' && $postType != 'post') return false;
448
+
449
+ $currentSsbHide = get_post_custom_values($this->hideCustomMetaKey, $postId);
450
+ $currentSettings = $this->get_settings();
451
+
452
+ if ($currentSsbHide[0] == 'true') {
453
+ $checked = true;
454
+ } else {
455
+ $checked = false;
456
+ }
457
+
458
+ // Rendering meta box
459
+ if (!function_exists('add_meta_box')) include('includes/template.php');
460
+ add_meta_box('ssb_meta_box', __('SSB Settings', 'simplesocialbuttons'), array(&$this, 'render_ssb_meta_box'), $postType, 'side', 'default', array('type' => $postType, 'checked' => $checked));
461
+ }
462
+
463
+ /**
464
+ * Showing custom meta field
465
+ */
466
+ public function render_ssb_meta_box($post, $metabox)
467
+ {
468
+ wp_nonce_field( plugin_basename( __FILE__ ), 'ssb_noncename' );
469
+ ?>
470
+
471
+ <label for="<?php echo $this->hideCustomMetaKey;?>"><input type="checkbox" id="<?php echo $this->hideCustomMetaKey;?>" name="<?php echo $this->hideCustomMetaKey;?>" value="true" <?php if ($metabox['args']['checked']):?>checked="checked"<?php endif;?>/>&nbsp;<?php echo __('Hide Simple Social Buttons', 'simplesocialbuttons');?></label>
472
+
473
+ <?php
474
+ }
475
+
476
+
477
+ /**
478
+ * Saving custom meta value
479
+ */
480
+ public function ssb_save_meta($post_id, $post)
481
+ {
482
+ $postId = (int)$post_id;
483
+
484
+ // Verify if this is an auto save routine.
485
+ if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE )
486
+ return;
487
+
488
+ // Verify this came from the our screen and with proper authorization
489
+ if ( !wp_verify_nonce( $_POST['ssb_noncename'], plugin_basename( __FILE__ ) ) )
490
+ return;
491
+
492
+ // Check permissions
493
+ if ( 'page' == $_POST['post_type'] ) {
494
+ if ( !current_user_can( 'edit_page', $post_id ) )
495
+ return;
496
+ } else {
497
+ if ( !current_user_can( 'edit_post', $post_id ) )
498
+ return;
499
+ }
500
+
501
+ // Saving data
502
+ $newValue = (isset($_POST[$this->hideCustomMetaKey])) ? $_POST[$this->hideCustomMetaKey] : 'false';
503
+
504
+ update_post_meta($postId, $this->hideCustomMetaKey, $newValue);
505
+ }
506
+
507
+
508
+ } // end SimpleSocialButtonsPR_Admin
509
+
510
+ if(is_admin() ) {
511
+ $_ssb_pr = new SimpleSocialButtonsPR_Admin();
512
+ } else {
513
+ $_ssb_pr = new SimpleSocialButtonsPR();
514
+ }
515
+
516
+ /**
517
+ * Function to insert Simple Social Buttons directly in template.
518
+ *
519
+ * @param mixed $order - order of the buttons in array or string (parsed by wp_parse_args())
520
+ *
521
+ * @example 1 - use in template with default order
522
+ * get_ssb();
523
+ *
524
+ * @example 2 - use in template with specified order
525
+ * get_ssb('googleplus=3&fblike=2&twitter=1');
526
+ *
527
+ * @example 3 - hiding button by setting order to 0. By using code below googleplus button won't be displayed
528
+ * get_ssb('googleplus=0&fblike=1&twitter=2');
529
+ *
530
+ *
531
+ */
532
+ function get_ssb($order = null)
533
+ {
534
+ do_action('create_ssb', $order);
535
+ }
536
+
537
+ ?>
tags/1.4.2/ssb-admin.php ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="wrap">
2
+
3
+ <style type="text/css">
4
+ div.inside ul li {
5
+ line-height: 16px;
6
+ list-style-type: square;
7
+ margin-left: 15px;
8
+ }
9
+ </style>
10
+
11
+ <h2>Simple Social Buttons - <?php _e('Settings'); ?>:</h2>
12
+
13
+ <p><?php _e('<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever.', 'simplesocialbuttons'); ?></p>
14
+
15
+ <?php
16
+
17
+ if(strtolower($_POST['hiddenconfirm']) == 'y') {
18
+
19
+ /**
20
+ * Compile settings array
21
+ * @see http://codex.wordpress.org/Function_Reference/wp_parse_args
22
+ */
23
+
24
+ $updateSettings = array(
25
+ 'googleplus' => $_POST['ssb_googleplus'],
26
+ 'fblike' => $_POST['ssb_fblike'],
27
+ 'twitter' => $_POST['ssb_twitter'],
28
+
29
+ 'beforepost' => $_POST['ssb_beforepost'],
30
+ 'afterpost' => $_POST['ssb_afterpost'],
31
+ 'beforepage' => $_POST['ssb_beforepage'],
32
+ 'afterpage' => $_POST['ssb_afterpage'],
33
+ 'beforearchive' => $_POST['ssb_beforearchive'],
34
+ 'afterarchive' => $_POST['ssb_afterarchive'],
35
+
36
+ 'showfront' => $_POST['ssb_showfront'],
37
+ 'showcategory' => $_POST['ssb_showcategory'],
38
+ 'showarchive' => $_POST['ssb_showarchive'],
39
+ 'showtag' => $_POST['ssb_showtag'],
40
+
41
+ 'override_css' => $_POST['ssb_override_css'],
42
+ );
43
+
44
+ $this->update_settings( $updateSettings );
45
+
46
+ }
47
+
48
+ /**
49
+ * HACK: Use one big array instead of a bunchload of single options
50
+ * @author Fabian Wolf
51
+ * @link http://usability-idealist.de/
52
+ * @since 1.2.1
53
+ */
54
+
55
+ // get settings from database
56
+ $settings = $this->get_settings();
57
+
58
+ extract( $settings, EXTR_PREFIX_ALL, 'ssb' );
59
+
60
+ ?>
61
+
62
+
63
+ <div class="postbox-container" style="width:69%">
64
+ <div id="poststuff">
65
+ <form name="ssb_form" method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
66
+
67
+ <div class="postbox">
68
+ <h3><?php _e('Select buttons', 'simplesocialbuttons'); ?></h3>
69
+ <div class="inside">
70
+ <h4><?php _e('Select social media buttons:', 'simplesocialbuttons'); ?></h4>
71
+
72
+
73
+ <p><select name="ssb_googleplus" id="ssb_googleplus">
74
+ <option value=""<?php if(empty($ssb_googleplus) != false) {
75
+ ?>selected="selected"<?php
76
+ } ?>><?php _e('inactive', 'simplesocialbuttons'); ?></option>
77
+
78
+ <?php for($pos = 1; $pos < 4; $pos++) { ?>
79
+ <option value="<?php echo $pos; ?>"<?php if($ssb_googleplus == $pos) {
80
+ ?>selected="selected"<?php
81
+ } ?>> # <?php echo $pos; ?> </option>
82
+ <?php } ?>
83
+ </select> &nbsp;
84
+ <label for="ssb_googleplus"><?php _e('Google plus one (+1)', 'simplesocialbuttons'); ?></label></p>
85
+
86
+ <!-- fblike -->
87
+ <p><select name="ssb_fblike" id="ssb_fblike">
88
+ <option value=""<?php if(empty($ssb_fblike) != false) {
89
+ ?>selected="selected"<?php
90
+ } ?>><?php _e('inactive', 'simplesocialbuttons'); ?></option>
91
+
92
+ <?php for($pos = 1; $pos < 4; $pos++) { ?>
93
+ <option value="<?php echo $pos; ?>"<?php if($ssb_fblike == $pos) {
94
+ ?>selected="selected"<?php
95
+ } ?>> # <?php echo $pos; ?> </option>
96
+ <?php } ?>
97
+ </select> &nbsp;
98
+ <label for="ssb_fblike"><?php _e('Facebook Like it', 'simplesocialbuttons'); ?></label></p>
99
+ <!-- /fblike -->
100
+
101
+ <!-- twitter -->
102
+ <p><select name="ssb_twitter" id="ssb_twitter">
103
+ <option value=""<?php if(empty($ssb_twitter) != false) {
104
+ ?>selected="selected"<?php
105
+ } ?>><?php _e('inactive', 'simplesocialbuttons'); ?></option>
106
+
107
+ <?php for($pos = 1; $pos < 4; $pos++) { ?>
108
+ <option value="<?php echo $pos; ?>"<?php if($ssb_twitter == $pos) {
109
+ ?>selected="selected"<?php
110
+ } ?>> # <?php echo $pos; ?> </option>
111
+ <?php } ?>
112
+ </select> &nbsp;
113
+ <label for="ssb_twitter"><?php _e('Twitter share', 'simplesocialbuttons'); ?></label></p>
114
+ <!-- /twitter -->
115
+
116
+ <p><label for="ssb_override_css"><input type="checkbox" name="ssb_override_css" id="ssb_override_css" value="1" <?php if($ssb_override_css) { echo 'checked="checked"'; } ?>/> <?php _e('Disable plugin CSS (only advanced users)'); ?></label></p>
117
+ </div>
118
+ </div>
119
+
120
+ <div class="postbox">
121
+ <h3><?php _e('Single posts - display settings', 'simplesocialbuttons'); ?></h3>
122
+ <div class="inside">
123
+ <h4><?php _e('Place buttons on single post:', 'simplesocialbuttons'); ?></h4>
124
+ <p><input type="checkbox" name="ssb_beforepost" id="ssb_beforepost" value="1" <?php if(!empty($ssb_beforepost)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforepost"><?php _e('Before the content', 'simplesocialbuttons'); ?></label></p>
125
+ <p><input type="checkbox" name="ssb_afterpost" id="ssb_afterpost" value="1" <?php if(!empty($ssb_afterpost)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterpost"><?php _e('After the content', 'simplesocialbuttons'); ?></label></p>
126
+ </div>
127
+ </div>
128
+
129
+ <div class="postbox">
130
+ <h3><?php _e('Single pages - display settings', 'simplesocialbuttons'); ?></h3>
131
+ <div class="inside">
132
+ <h4><?php _e('Place buttons on single pages:', 'simplesocialbuttons'); ?></h4>
133
+ <p><input type="checkbox" name="ssb_beforepage" id="ssb_beforepage" value="1" <?php if(!empty($ssb_beforepage)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforepage"><?php _e('Before the page content', 'simplesocialbuttons'); ?></label></p>
134
+ <p><input type="checkbox" name="ssb_afterpage" id="ssb_afterpage" value="1" <?php if(!empty($ssb_afterpage)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterpage"><?php _e('After the page content', 'simplesocialbuttons'); ?></label></p>
135
+ </div>
136
+ </div>
137
+
138
+ <div class="postbox">
139
+ <h3><?php _e('Archives - display settings', 'simplesocialbuttons'); ?></h3>
140
+ <div class="inside">
141
+ <h4><?php _e('Select additional places to display buttons:', 'simplesocialbuttons'); ?></h4>
142
+ <p><input type="checkbox" name="ssb_showfront" id="ssb_showfront" value="1" <?php if(!empty($ssb_showfront)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showfront"><?php _e('Show at frontpage', 'simplesocialbuttons'); ?></label></p>
143
+ <p><input type="checkbox" name="ssb_showcategory" id="ssb_showcategory" value="1" <?php if(!empty($ssb_showcategory)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showcategory"><?php _e('Show at category pages', 'simplesocialbuttons'); ?></label></p>
144
+ <p><input type="checkbox" name="ssb_showarchive" id="ssb_showarchive" value="1" <?php if(!empty($ssb_showarchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showarchive"><?php _e('Show at archive pages', 'simplesocialbuttons'); ?></label></p>
145
+ <p><input type="checkbox" name="ssb_showtag" id="ssb_showtag" value="1" <?php if(!empty($ssb_showtag)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showtag"><?php _e('Show at tag pages', 'simplesocialbuttons'); ?></label></p>
146
+
147
+ <h4><?php _e('Place buttons on archives:', 'simplesocialbuttons'); ?></h4>
148
+ <p><input type="checkbox" name="ssb_beforearchive" id="ssb_beforearchive" value="1" <?php if(!empty($ssb_beforearchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforearchive"><?php _e('Before the content', 'simplesocialbuttons'); ?></label></p>
149
+ <p><input type="checkbox" name="ssb_afterarchive" id="ssb_afterarchive" value="1" <?php if(!empty($ssb_afterarchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterarchive"><?php _e('After the content', 'simplesocialbuttons'); ?></label></p>
150
+ </div>
151
+ </div>
152
+
153
+ <div class="submit">
154
+ <input type="hidden" name="hiddenconfirm" value="Y" />
155
+ <input type="submit" name="Submit" class="button-primary" value="<?php _e('Save Changes'); ?>" />
156
+ </div>
157
+
158
+ </form>
159
+ </div>
160
+ </div>
161
+
162
+ <div class="postbox-container" style="width:29%">
163
+ <div id="poststuff">
164
+ <div class="postbox">
165
+ <h3><?php _e('About this plugin:', 'simplesocialbuttons'); ?></h3>
166
+ <div class="inside">
167
+ <p><?php _e('Talk to <a href="http://twitter.com/rabinek" target="_blank">@rabinek</a> on twitter for bugs or feature requests.', 'simplesocialbuttons'); ?></p>
168
+ <p><strong><?php _e('Enjoy the plugin?', 'simplesocialbuttons'); ?></strong><br />
169
+ <?php _e('<a href="http://twitter.com/?status=I\'m using @rabinek\'s WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/" target="_blank">Tweet about it</a> and consider donating.', 'simplesocialbuttons'); ?></p>
170
+ <p><?php _e('<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!', 'simplesocialbuttons'); ?><br />
171
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
172
+ <input type="hidden" name="cmd" value="_s-xclick">
173
+ <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----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-----END PKCS7-----">
174
+ <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
175
+ <img alt="" border="0" src="https://www.paypalobjects.com/pl_PL/i/scr/pixel.gif" width="1" height="1">
176
+ </form>
177
+ </p>
178
+ </div>
179
+ </div>
180
+
181
+ <div class="postbox">
182
+ <h3><?php _e('About the author:', 'simplesocialbuttons'); ?></h3>
183
+ <div class="inside">
184
+ <p><?php _e('Hi! My name is Paweł Rabinek (aka xradar). I\'m interesed in SEO and social media, PHP and Wordpress developement.', 'simplesocialbuttons'); ?></p>
185
+ <ul>
186
+ <li><a href="http://blog.rabinek.pl/" target="_blank"><?php _e('My blog about SEO', 'simplesocialbuttons'); ?></a> <?php _e('[Polish]', 'simplesocialbuttons'); ?></li>
187
+ <li><?php _e('Follow me on Twitter', 'simplesocialbuttons'); ?> <a href="http://www.twitter.com/rabinek" target="_blank">@rabinek</a></li>
188
+ <li><a href="http://www.facebook.com/rabinek" target="_blank"><?php _e('Paweł Rabinek on Facebook', 'simplesocialbuttons'); ?></a></li>
189
+ <li><a href="http://plus.google.com/114311287272342088386/" target="_blank"><?php _e('Paweł Rabinek on Google Plus', 'simplesocialbuttons'); ?></a></li>
190
+ <li><a href="http://pl.linkedin.com/in/rabinek" target="_blank"><?php _e('LinkedIn profile', 'simplesocialbuttons'); ?></a></li>
191
+ </ul>
192
+ </div>
193
+ </div>
194
+
195
+ <div class="postbox">
196
+ <h3><?php _e('Usefull links:', 'simplesocialbuttons'); ?></h3>
197
+ <div class="inside">
198
+ <ul>
199
+ <li><a href="http://www.site5.com/in.php?id=53542" target="_blank"><?php _e('Unlimited web hosting', 'simplesocialbuttons'); ?></a></li>
200
+ <li><a href="http://www.webceo.com/cgi-bin/go/clickthru.cgi?id=xradar" target="_blank"><?php _e('Best SEO software', 'simplesocialbuttons'); ?></a></li>
201
+ <li><a href="http://themeforest.net?ref=xradar" target="_blank"><?php _e('Wordpress templates', 'simplesocialbuttons'); ?></a><li>
202
+ </ul>
203
+ </div>
204
+ </div>
205
+
206
+ </div>
207
+ </div>
208
+ </div>
tags/1.4.3/lang/simplesocialbuttons-de_DE.mo ADDED
Binary file
tags/1.4.3/lang/simplesocialbuttons-de_DE.po ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-01 11:19+0100\n"
6
+ "PO-Revision-Date: 2012-02-01 11:28+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Paweł Rabinek (DE: Dennis Schreiber) <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: German\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-Country: GERMANY\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ # Traduit par @RhooManu - www.infographizm.com
20
+ #: ../simple-social-buttons.php:424
21
+ #: ../ssb-admin.php:11
22
+ msgid "Settings"
23
+ msgstr "Einstellungen"
24
+
25
+ # Traduit par @RhooManu - www.infographizm.com
26
+ #: ../simple-social-buttons.php:452
27
+ msgid "SSB Settings"
28
+ msgstr "SSB einstellungen"
29
+
30
+ #: ../simple-social-buttons.php:463
31
+ msgid "Hide Simple Social Buttons"
32
+ msgstr "Verbergen Simple Social Buttons"
33
+
34
+ #: ../ssb-admin.php:13
35
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
36
+ msgstr "<strong>Simple Social Buttons</strong>, von <strong>Paweł Rabinek</strong>. Cette extension ajoute des boutons de réseaux sociaux, comme <strong>Google +1</strong>, <strong>Facebook J'aime</strong> et <strong>Twitter</strong>. La plus flexible des extensions de boutons de réseaux sociaux !"
37
+
38
+ #: ../ssb-admin.php:68
39
+ msgid "Select buttons"
40
+ msgstr "Buttons auswählen"
41
+
42
+ #: ../ssb-admin.php:70
43
+ msgid "Select social media buttons:"
44
+ msgstr "Wähle Social Media Buttons:"
45
+
46
+ #: ../ssb-admin.php:76
47
+ #: ../ssb-admin.php:90
48
+ #: ../ssb-admin.php:105
49
+ msgid "inactive"
50
+ msgstr "inaktiv"
51
+
52
+ #: ../ssb-admin.php:84
53
+ msgid "Google plus one (+1)"
54
+ msgstr "Google plus eins (+1)"
55
+
56
+ #: ../ssb-admin.php:98
57
+ msgid "Facebook Like it"
58
+ msgstr "Facebook gefällt mir"
59
+
60
+ #: ../ssb-admin.php:113
61
+ msgid "Twitter share"
62
+ msgstr "Twitter teilen"
63
+
64
+ #: ../ssb-admin.php:116
65
+ msgid "Disable plugin CSS (only advanced users)"
66
+ msgstr ""
67
+
68
+ #: ../ssb-admin.php:121
69
+ msgid "Single posts - display settings"
70
+ msgstr "Einzelne Beiträge - Display Einstellungen"
71
+
72
+ #: ../ssb-admin.php:123
73
+ msgid "Place buttons on single post:"
74
+ msgstr "Füge Buttons bei einzelnen Beitrag ein:"
75
+
76
+ #: ../ssb-admin.php:124
77
+ #: ../ssb-admin.php:148
78
+ msgid "Before the content"
79
+ msgstr "Vor dem Inhalt"
80
+
81
+ #: ../ssb-admin.php:125
82
+ #: ../ssb-admin.php:149
83
+ msgid "After the content"
84
+ msgstr "Nach dem Inhalt"
85
+
86
+ #: ../ssb-admin.php:130
87
+ msgid "Single pages - display settings"
88
+ msgstr "Einzelne Seiten - Display Einstellungen"
89
+
90
+ #: ../ssb-admin.php:132
91
+ msgid "Place buttons on single pages:"
92
+ msgstr "Füge die Buttons auf einzelnen Seiten ein:"
93
+
94
+ #: ../ssb-admin.php:133
95
+ msgid "Before the page content"
96
+ msgstr "Vor dem Seiteninhalt"
97
+
98
+ #: ../ssb-admin.php:134
99
+ msgid "After the page content"
100
+ msgstr "Nach dem Seiteninhalt"
101
+
102
+ #: ../ssb-admin.php:139
103
+ msgid "Archives - display settings"
104
+ msgstr "Archives - Display Einstellungen"
105
+
106
+ #: ../ssb-admin.php:141
107
+ msgid "Select additional places to display buttons:"
108
+ msgstr "Wähle weitere Orte um die Buttons anzuzeigen:"
109
+
110
+ #: ../ssb-admin.php:142
111
+ msgid "Show at frontpage"
112
+ msgstr "Zeige auf der Hauptseite"
113
+
114
+ #: ../ssb-admin.php:143
115
+ msgid "Show at category pages"
116
+ msgstr "Zeige in den Kategorien"
117
+
118
+ #: ../ssb-admin.php:144
119
+ msgid "Show at archive pages"
120
+ msgstr "Zeige bei Archiven"
121
+
122
+ #: ../ssb-admin.php:145
123
+ msgid "Show at tag pages"
124
+ msgstr "Zeige bei Stichworten"
125
+
126
+ #: ../ssb-admin.php:147
127
+ msgid "Place buttons on archives:"
128
+ msgstr "Zeige Buttons in den Archiven:"
129
+
130
+ #: ../ssb-admin.php:155
131
+ #, fuzzy
132
+ msgid "Save Changes"
133
+ msgstr "Einstellungen speichern"
134
+
135
+ #: ../ssb-admin.php:165
136
+ msgid "About this plugin:"
137
+ msgstr "Über dieses Plugin"
138
+
139
+ #: ../ssb-admin.php:167
140
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
141
+ msgstr "Kontaktiere <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> auf Twitter bei Bugs und Erweiterungen."
142
+
143
+ #: ../ssb-admin.php:168
144
+ msgid "Enjoy the plugin?"
145
+ msgstr "Gefällt dir das Plugin?"
146
+
147
+ #: ../ssb-admin.php:169
148
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
149
+ msgstr "<a href=\"http://twitter.com/?status=Ich verwende @rabinek's - WordPress Simple Social Buttons ! http://blog.rabinek.pl/\" target=\"_blank\">Tweete dadrüber</a> und erwäge eine Spende."
150
+
151
+ #: ../ssb-admin.php:170
152
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
153
+ msgstr "<strong>Spenden :</strong> Eine Menge harte Arbeit wurde in das entwickeln von Plugins investiert - unterstütze deine OpenSource Entwickler. Danke !"
154
+
155
+ #: ../ssb-admin.php:182
156
+ msgid "About the author:"
157
+ msgstr "Über den Autor :"
158
+
159
+ #: ../ssb-admin.php:184
160
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
161
+ msgstr "Hallo ! Mein Name ist Paweł Rabinek (auch bekannt als xradar). Ich interessiere mich für SEO und Social Media, PHP und WordPress Entwicklung."
162
+
163
+ #: ../ssb-admin.php:186
164
+ msgid "My blog about SEO"
165
+ msgstr "Mein Blog über SEO"
166
+
167
+ #: ../ssb-admin.php:186
168
+ msgid "[Polish]"
169
+ msgstr " [Polnisch]"
170
+
171
+ #: ../ssb-admin.php:187
172
+ msgid "Follow me on Twitter"
173
+ msgstr "Folge mir bei Twitter !"
174
+
175
+ #: ../ssb-admin.php:188
176
+ msgid "Paweł Rabinek on Facebook"
177
+ msgstr "Paweł Rabinek bei Facebook"
178
+
179
+ #: ../ssb-admin.php:189
180
+ msgid "Paweł Rabinek on Google Plus"
181
+ msgstr "Paweł Rabinek bei Google Plus"
182
+
183
+ #: ../ssb-admin.php:190
184
+ msgid "LinkedIn profile"
185
+ msgstr "LinkedIn Profil"
186
+
187
+ #: ../ssb-admin.php:196
188
+ msgid "Usefull links:"
189
+ msgstr "Nützliche Links :"
190
+
191
+ #: ../ssb-admin.php:199
192
+ msgid "Unlimited web hosting"
193
+ msgstr "Unlimitiertes Webhosting"
194
+
195
+ #: ../ssb-admin.php:200
196
+ msgid "Best SEO software"
197
+ msgstr "Beste SEO Software"
198
+
199
+ #: ../ssb-admin.php:201
200
+ msgid "Wordpress templates"
201
+ msgstr "WordPress Themes"
202
+
203
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
204
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
tags/1.4.3/lang/simplesocialbuttons-es_ES.mo ADDED
Binary file
tags/1.4.3/lang/simplesocialbuttons-es_ES.po ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-01 11:28+0100\n"
6
+ "PO-Revision-Date: 2012-02-01 11:29+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Paweł Rabinek (DE: Dennis Schreiber) <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: German\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-Country: GERMANY\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ # Traduit par @RhooManu - www.infographizm.com
20
+ #: ../simple-social-buttons.php:424
21
+ #: ../ssb-admin.php:11
22
+ msgid "Settings"
23
+ msgstr "Opciones"
24
+
25
+ # Traduit par @RhooManu - www.infographizm.com
26
+ #: ../simple-social-buttons.php:452
27
+ msgid "SSB Settings"
28
+ msgstr "SSB opciones"
29
+
30
+ #: ../simple-social-buttons.php:463
31
+ msgid "Hide Simple Social Buttons"
32
+ msgstr "Ocultar Simple Social Buttons"
33
+
34
+ #: ../ssb-admin.php:13
35
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
36
+ msgstr "<strong>Simple Social Buttons</strong>, autor <strong>Paweł Rabinek</strong>. Este plugin añade iconos de redes sociales como: <strong>Google +1</strong>, <strong>Facebook Me gusta</strong> y <strong>Compartir en Twitter</strong>. El plugin social más flexible que puedes encontrar."
37
+
38
+ #: ../ssb-admin.php:68
39
+ msgid "Select buttons"
40
+ msgstr "Selecciona botones"
41
+
42
+ #: ../ssb-admin.php:70
43
+ msgid "Select social media buttons:"
44
+ msgstr "Selecciona botones de redes sociales: "
45
+
46
+ #: ../ssb-admin.php:76
47
+ #: ../ssb-admin.php:90
48
+ #: ../ssb-admin.php:105
49
+ msgid "inactive"
50
+ msgstr "inactivo"
51
+
52
+ #: ../ssb-admin.php:84
53
+ msgid "Google plus one (+1)"
54
+ msgstr "Google plus (+1) "
55
+
56
+ #: ../ssb-admin.php:98
57
+ msgid "Facebook Like it"
58
+ msgstr "Facebook Me gusta"
59
+
60
+ #: ../ssb-admin.php:113
61
+ msgid "Twitter share"
62
+ msgstr "Compartir en Twitter"
63
+
64
+ #: ../ssb-admin.php:116
65
+ msgid "Disable plugin CSS (only advanced users)"
66
+ msgstr "Desactivar los CSS del plugin (solo para usuarios avanzados)"
67
+
68
+ #: ../ssb-admin.php:121
69
+ msgid "Single posts - display settings"
70
+ msgstr "Post individuales - mostrar opciones"
71
+
72
+ #: ../ssb-admin.php:123
73
+ msgid "Place buttons on single post:"
74
+ msgstr "Colocar los botones en un post individual:"
75
+
76
+ #: ../ssb-admin.php:124
77
+ #: ../ssb-admin.php:148
78
+ msgid "Before the content"
79
+ msgstr "Antes del contenido"
80
+
81
+ #: ../ssb-admin.php:125
82
+ #: ../ssb-admin.php:149
83
+ msgid "After the content"
84
+ msgstr "Después del contenido"
85
+
86
+ #: ../ssb-admin.php:130
87
+ msgid "Single pages - display settings"
88
+ msgstr "Páginas individuales - mostrar opciones"
89
+
90
+ #: ../ssb-admin.php:132
91
+ msgid "Place buttons on single pages:"
92
+ msgstr "Colocar los botones en páginas individuales:"
93
+
94
+ #: ../ssb-admin.php:133
95
+ msgid "Before the page content"
96
+ msgstr "Antes del contenido de la página"
97
+
98
+ #: ../ssb-admin.php:134
99
+ msgid "After the page content"
100
+ msgstr "Después del contenido de la página"
101
+
102
+ #: ../ssb-admin.php:139
103
+ msgid "Archives - display settings"
104
+ msgstr "Archivo - mostrar opciones"
105
+
106
+ #: ../ssb-admin.php:141
107
+ msgid "Select additional places to display buttons:"
108
+ msgstr "Selecciona lugares adicionales donde mostrar los botones:"
109
+
110
+ #: ../ssb-admin.php:142
111
+ msgid "Show at frontpage"
112
+ msgstr "Pagina de entrada"
113
+
114
+ #: ../ssb-admin.php:143
115
+ msgid "Show at category pages"
116
+ msgstr "Páginas de categorías"
117
+
118
+ #: ../ssb-admin.php:144
119
+ msgid "Show at archive pages"
120
+ msgstr "Páginas de archivo"
121
+
122
+ #: ../ssb-admin.php:145
123
+ msgid "Show at tag pages"
124
+ msgstr "Páginas de etiquetas"
125
+
126
+ #: ../ssb-admin.php:147
127
+ msgid "Place buttons on archives:"
128
+ msgstr "Colocar los botones en archivo:"
129
+
130
+ #: ../ssb-admin.php:155
131
+ msgid "Save Changes"
132
+ msgstr "Guardar cambios"
133
+
134
+ #: ../ssb-admin.php:165
135
+ msgid "About this plugin:"
136
+ msgstr "Sobre este plugin:"
137
+
138
+ #: ../ssb-admin.php:167
139
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
140
+ msgstr "Habla con <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> en Twitter para solución de bugs o peticiones de nuevas características."
141
+
142
+ #: ../ssb-admin.php:168
143
+ msgid "Enjoy the plugin?"
144
+ msgstr "Te gusta el plugin?"
145
+
146
+ #: ../ssb-admin.php:169
147
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
148
+ msgstr "<a href=\"http://twitter.com/?status=Estoy usando el plugin Simple Social Buttons! de @rabinek - para WordPress http://blog.rabinek.pl/\" target=\"_blank\">Twittea sobre él</a> y piensa en hacer una donación."
149
+
150
+ #: ../ssb-admin.php:170
151
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
152
+ msgstr "<strong>Dona:</strong> Hay mucho trabajo a la hora de realizar plugins, apoya a tus desarrolladores open source. Gracias!"
153
+
154
+ #: ../ssb-admin.php:182
155
+ msgid "About the author:"
156
+ msgstr "Sobre el autor:"
157
+
158
+ #: ../ssb-admin.php:184
159
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
160
+ msgstr "Hola! mi nombre es Pawel Rabinek (aka xradar). Estoy interesado en SEO y Social Media, así como desarrollo en PHP y Wordpress."
161
+
162
+ #: ../ssb-admin.php:186
163
+ msgid "My blog about SEO"
164
+ msgstr "Mi blog sobre SEO"
165
+
166
+ #: ../ssb-admin.php:186
167
+ msgid "[Polish]"
168
+ msgstr " "
169
+
170
+ #: ../ssb-admin.php:187
171
+ msgid "Follow me on Twitter"
172
+ msgstr "Sígueme en Twitter"
173
+
174
+ #: ../ssb-admin.php:188
175
+ msgid "Paweł Rabinek on Facebook"
176
+ msgstr "Paweł Rabinek en Facebook"
177
+
178
+ #: ../ssb-admin.php:189
179
+ msgid "Paweł Rabinek on Google Plus"
180
+ msgstr "Paweł Rabinek en Google Plus"
181
+
182
+ #: ../ssb-admin.php:190
183
+ msgid "LinkedIn profile"
184
+ msgstr "Perfil en LinkedIn"
185
+
186
+ #: ../ssb-admin.php:196
187
+ msgid "Usefull links:"
188
+ msgstr "Links interesantes:"
189
+
190
+ #: ../ssb-admin.php:199
191
+ msgid "Unlimited web hosting"
192
+ msgstr "Alojamiento web ilimitado"
193
+
194
+ #: ../ssb-admin.php:200
195
+ msgid "Best SEO software"
196
+ msgstr "Mejor software SEO"
197
+
198
+ #: ../ssb-admin.php:201
199
+ msgid "Wordpress templates"
200
+ msgstr "Plantillas de Wordpress"
201
+
202
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
203
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
tags/1.4.3/lang/simplesocialbuttons-fr_FR.mo ADDED
Binary file
tags/1.4.3/lang/simplesocialbuttons-fr_FR.po ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-01 11:29+0100\n"
6
+ "PO-Revision-Date: 2012-02-01 11:30+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Paweł Rabinek (FR: Emmanuel Beziat) <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: French\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-Country: FRANCE\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ # Traduit par @RhooManu - www.infographizm.com
20
+ #: ../simple-social-buttons.php:424
21
+ #: ../ssb-admin.php:11
22
+ msgid "Settings"
23
+ msgstr "Paramètres"
24
+
25
+ # Traduit par @RhooManu - www.infographizm.com
26
+ #: ../simple-social-buttons.php:452
27
+ msgid "SSB Settings"
28
+ msgstr "SSB paramètres"
29
+
30
+ #: ../simple-social-buttons.php:463
31
+ msgid "Hide Simple Social Buttons"
32
+ msgstr "Cacher Simple Social Buttons"
33
+
34
+ #: ../ssb-admin.php:13
35
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
36
+ msgstr "<strong>Simple Social Buttons</strong>, par <strong>Paweł Rabinek</strong>. Cette extension ajoute des boutons de réseaux sociaux, comme <strong>Google +1</strong>, <strong>Facebook J'aime</strong> et <strong>Twitter</strong>. La plus flexible des extensions de boutons de réseaux sociaux !"
37
+
38
+ #: ../ssb-admin.php:68
39
+ msgid "Select buttons"
40
+ msgstr "Choisir les boutons"
41
+
42
+ #: ../ssb-admin.php:70
43
+ msgid "Select social media buttons:"
44
+ msgstr "Choisissez les boutons de réseaux sociaux :"
45
+
46
+ #: ../ssb-admin.php:76
47
+ #: ../ssb-admin.php:90
48
+ #: ../ssb-admin.php:105
49
+ msgid "inactive"
50
+ msgstr "inactives"
51
+
52
+ #: ../ssb-admin.php:84
53
+ msgid "Google plus one (+1)"
54
+ msgstr "Google plus un (+1)"
55
+
56
+ #: ../ssb-admin.php:98
57
+ msgid "Facebook Like it"
58
+ msgstr "Facebook J'aime"
59
+
60
+ #: ../ssb-admin.php:113
61
+ msgid "Twitter share"
62
+ msgstr "Partage twitter"
63
+
64
+ #: ../ssb-admin.php:116
65
+ msgid "Disable plugin CSS (only advanced users)"
66
+ msgstr ""
67
+
68
+ #: ../ssb-admin.php:121
69
+ msgid "Single posts - display settings"
70
+ msgstr "Articles seuls - paramètres d'affichages"
71
+
72
+ #: ../ssb-admin.php:123
73
+ msgid "Place buttons on single post:"
74
+ msgstr "Placer les boutons sur un article seul :"
75
+
76
+ #: ../ssb-admin.php:124
77
+ #: ../ssb-admin.php:148
78
+ msgid "Before the content"
79
+ msgstr "Avant le contenu"
80
+
81
+ #: ../ssb-admin.php:125
82
+ #: ../ssb-admin.php:149
83
+ msgid "After the content"
84
+ msgstr "Après le contenu"
85
+
86
+ #: ../ssb-admin.php:130
87
+ msgid "Single pages - display settings"
88
+ msgstr "Pages - paramètres d'affichage"
89
+
90
+ #: ../ssb-admin.php:132
91
+ msgid "Place buttons on single pages:"
92
+ msgstr "Placer les boutons sur les pages :"
93
+
94
+ #: ../ssb-admin.php:133
95
+ msgid "Before the page content"
96
+ msgstr "Avant le contenu de la page"
97
+
98
+ #: ../ssb-admin.php:134
99
+ msgid "After the page content"
100
+ msgstr "Après le contenu de la page"
101
+
102
+ #: ../ssb-admin.php:139
103
+ msgid "Archives - display settings"
104
+ msgstr "Archives - paramètres d'affichage"
105
+
106
+ #: ../ssb-admin.php:141
107
+ msgid "Select additional places to display buttons:"
108
+ msgstr "Choisissez une place supplémentaire pour afficher les boutons :"
109
+
110
+ #: ../ssb-admin.php:142
111
+ msgid "Show at frontpage"
112
+ msgstr "Afficher sur la page principale"
113
+
114
+ #: ../ssb-admin.php:143
115
+ msgid "Show at category pages"
116
+ msgstr "Afficher sur les pages de catégories"
117
+
118
+ #: ../ssb-admin.php:144
119
+ msgid "Show at archive pages"
120
+ msgstr "Afficher sur les pages d'archives"
121
+
122
+ #: ../ssb-admin.php:145
123
+ msgid "Show at tag pages"
124
+ msgstr "Affichers sur les pages de tags"
125
+
126
+ #: ../ssb-admin.php:147
127
+ msgid "Place buttons on archives:"
128
+ msgstr "Placer les boutons sur les archives :"
129
+
130
+ #: ../ssb-admin.php:155
131
+ #, fuzzy
132
+ msgid "Save Changes"
133
+ msgstr "Enregistrer les changement"
134
+
135
+ #: ../ssb-admin.php:165
136
+ msgid "About this plugin:"
137
+ msgstr "À propos de cette extension"
138
+
139
+ #: ../ssb-admin.php:167
140
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
141
+ msgstr "Parlez à <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> sur Twitter pour signaler les bugs ou demander des ajouts."
142
+
143
+ #: ../ssb-admin.php:168
144
+ msgid "Enjoy the plugin?"
145
+ msgstr "Cette extension vous plaît ?"
146
+
147
+ #: ../ssb-admin.php:169
148
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
149
+ msgstr "<a href=\"http://twitter.com/?status=J'utilise @rabinek - WordPress Simple Social Buttons ! http://blog.rabinek.pl/\" target=\"_blank\">Twittez cette info</a> et n'hésitez pas à faire un don !"
150
+
151
+ #: ../ssb-admin.php:170
152
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
153
+ msgstr "<strong>Faire un don :</strong> Faire une extension demande beaucoup de travail - aidez les développeurs à améliorer leur travail. Merci !"
154
+
155
+ #: ../ssb-admin.php:182
156
+ msgid "About the author:"
157
+ msgstr "À propos de l'auteur :"
158
+
159
+ #: ../ssb-admin.php:184
160
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
161
+ msgstr "Salut ! Mon nom est Paweł Rabinek (surnommé xradar). Je m'intéresse beaucoup au référencement et aux réseaux sociaux, au développement PHP et pour WordPress."
162
+
163
+ #: ../ssb-admin.php:186
164
+ msgid "My blog about SEO"
165
+ msgstr "Mon blog sur le référencement (SEO)"
166
+
167
+ #: ../ssb-admin.php:186
168
+ msgid "[Polish]"
169
+ msgstr " "
170
+
171
+ #: ../ssb-admin.php:187
172
+ msgid "Follow me on Twitter"
173
+ msgstr "Suivez-moi sur twitter !"
174
+
175
+ #: ../ssb-admin.php:188
176
+ msgid "Paweł Rabinek on Facebook"
177
+ msgstr "Paweł Rabinek sur Facebook"
178
+
179
+ #: ../ssb-admin.php:189
180
+ msgid "Paweł Rabinek on Google Plus"
181
+ msgstr "Paweł Rabinek sur Google Plus"
182
+
183
+ #: ../ssb-admin.php:190
184
+ msgid "LinkedIn profile"
185
+ msgstr "Profil LinkedIn"
186
+
187
+ #: ../ssb-admin.php:196
188
+ msgid "Usefull links:"
189
+ msgstr "Liens utiles :"
190
+
191
+ #: ../ssb-admin.php:199
192
+ msgid "Unlimited web hosting"
193
+ msgstr "Hébergement web illimité"
194
+
195
+ #: ../ssb-admin.php:200
196
+ msgid "Best SEO software"
197
+ msgstr "Meilleur logiciel de référencement"
198
+
199
+ #: ../ssb-admin.php:201
200
+ msgid "Wordpress templates"
201
+ msgstr "Thèmes pour WordPress"
202
+
203
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
204
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
tags/1.4.3/lang/simplesocialbuttons-pl_PL.mo ADDED
Binary file
tags/1.4.3/lang/simplesocialbuttons-pl_PL.po ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-01 11:16+0100\n"
6
+ "PO-Revision-Date: 2012-02-01 11:16+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Paweł Rabinek <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: Polish\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-SearchPath-0: ..\n"
17
+
18
+ #: ../simple-social-buttons.php:424
19
+ #: ../ssb-admin.php:11
20
+ msgid "Settings"
21
+ msgstr "Ustawienia"
22
+
23
+ #: ../simple-social-buttons.php:452
24
+ msgid "SSB Settings"
25
+ msgstr "Ustawienia SSB"
26
+
27
+ #: ../simple-social-buttons.php:463
28
+ msgid "Hide Simple Social Buttons"
29
+ msgstr "Ukryj przyciski wtyczki Simple Social Buttons"
30
+
31
+ #: ../ssb-admin.php:13
32
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
33
+ msgstr "<strong>Simple Social Buttons</strong>, autor <strong>Paweł Rabinek</strong>. Wtyczka dodaje do wpisów przyciski: <strong>Google +1</strong>, <strong>Facebook Lubię to</strong> oraz <strong>Twitter</strong>. Najlepsza wtyczka z przyciskami social media dla Wordpress."
34
+
35
+ #: ../ssb-admin.php:68
36
+ msgid "Select buttons"
37
+ msgstr "Wybór przycisków"
38
+
39
+ #: ../ssb-admin.php:70
40
+ msgid "Select social media buttons:"
41
+ msgstr "Wybierz przyciski do wyświetlenia:"
42
+
43
+ #: ../ssb-admin.php:76
44
+ #: ../ssb-admin.php:90
45
+ #: ../ssb-admin.php:105
46
+ msgid "inactive"
47
+ msgstr "nieaktywny"
48
+
49
+ #: ../ssb-admin.php:84
50
+ msgid "Google plus one (+1)"
51
+ msgstr "Google plus jeden (+1)"
52
+
53
+ #: ../ssb-admin.php:98
54
+ msgid "Facebook Like it"
55
+ msgstr "Facebook Lubię to"
56
+
57
+ #: ../ssb-admin.php:113
58
+ msgid "Twitter share"
59
+ msgstr "Wyślij na Twitter"
60
+
61
+ #: ../ssb-admin.php:116
62
+ msgid "Disable plugin CSS (only advanced users)"
63
+ msgstr "Wyłącz style CSS wtyczki (tylko dla zaawansowanych użytkowników)"
64
+
65
+ #: ../ssb-admin.php:121
66
+ msgid "Single posts - display settings"
67
+ msgstr "Pojedyńcze wpisy - ustawienia"
68
+
69
+ #: ../ssb-admin.php:123
70
+ msgid "Place buttons on single post:"
71
+ msgstr "Miejsce przycisków na podstronie wpisu:"
72
+
73
+ #: ../ssb-admin.php:124
74
+ #: ../ssb-admin.php:148
75
+ msgid "Before the content"
76
+ msgstr "Nad treścią wpisu"
77
+
78
+ #: ../ssb-admin.php:125
79
+ #: ../ssb-admin.php:149
80
+ msgid "After the content"
81
+ msgstr "Pod treścią wpisu"
82
+
83
+ #: ../ssb-admin.php:130
84
+ msgid "Single pages - display settings"
85
+ msgstr "Pojedyńcze strony - ustawienia"
86
+
87
+ #: ../ssb-admin.php:132
88
+ msgid "Place buttons on single pages:"
89
+ msgstr "Miejsce przycisków na stronach:"
90
+
91
+ #: ../ssb-admin.php:133
92
+ msgid "Before the page content"
93
+ msgstr "Nad treścią strony"
94
+
95
+ #: ../ssb-admin.php:134
96
+ msgid "After the page content"
97
+ msgstr "Pod treścią strony"
98
+
99
+ #: ../ssb-admin.php:139
100
+ msgid "Archives - display settings"
101
+ msgstr "Archiwa - ustawienia"
102
+
103
+ #: ../ssb-admin.php:141
104
+ msgid "Select additional places to display buttons:"
105
+ msgstr "Dodatkowe miejsca do wyświetlenia przycisków:"
106
+
107
+ #: ../ssb-admin.php:142
108
+ msgid "Show at frontpage"
109
+ msgstr "Pokazuj na stronie głównej"
110
+
111
+ #: ../ssb-admin.php:143
112
+ msgid "Show at category pages"
113
+ msgstr "Pokazuj na stroniach kategorii"
114
+
115
+ #: ../ssb-admin.php:144
116
+ msgid "Show at archive pages"
117
+ msgstr "Pokazuje w archiwum dat"
118
+
119
+ #: ../ssb-admin.php:145
120
+ msgid "Show at tag pages"
121
+ msgstr "Pokazuj na stronach tagów"
122
+
123
+ #: ../ssb-admin.php:147
124
+ msgid "Place buttons on archives:"
125
+ msgstr "Miejsce przycisków na stronach archiwum:"
126
+
127
+ #: ../ssb-admin.php:155
128
+ msgid "Save Changes"
129
+ msgstr "Zapisz ustawienia"
130
+
131
+ #: ../ssb-admin.php:165
132
+ msgid "About this plugin:"
133
+ msgstr "Informacje o wtyczce:"
134
+
135
+ #: ../ssb-admin.php:167
136
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
137
+ msgstr "Napisz do mnie <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> na Twitterze, jeżeli znalazłeś błąd lub masz pomysł na ulepszenie wtyczki."
138
+
139
+ #: ../ssb-admin.php:168
140
+ msgid "Enjoy the plugin?"
141
+ msgstr "Podoba Ci się wtyczka?"
142
+
143
+ #: ../ssb-admin.php:169
144
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
145
+ msgstr "<a href=\"http://twitter.com/?status=Używam wtyczki do Wordpressa od @rabinek - WordPress Simple Social Buttons! http://blog.rabinek.pl/\" target=\"_blank\">Powiedz o niej na Twitterze</a> i rozważ wsparcie dla tej wtyczki (poniżej)."
146
+
147
+ #: ../ssb-admin.php:170
148
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
149
+ msgstr "<strong>Wsparcie:</strong> Wiele pracy trzeba włożyć w napisanie takiej wtyczki. Jeżeli korzystasz z niej i podoba Ci się, postaw mi piwo klikając Donate."
150
+
151
+ #: ../ssb-admin.php:182
152
+ msgid "About the author:"
153
+ msgstr "Informacje o autorze:"
154
+
155
+ #: ../ssb-admin.php:184
156
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
157
+ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar). Zawodowo zajmuje się SEO i mediami społecznościowymi. Programuję w PHP, często z wykorzystaniem Wordpressa."
158
+
159
+ #: ../ssb-admin.php:186
160
+ msgid "My blog about SEO"
161
+ msgstr "Mój blog o SEO"
162
+
163
+ #: ../ssb-admin.php:186
164
+ msgid "[Polish]"
165
+ msgstr " "
166
+
167
+ #: ../ssb-admin.php:187
168
+ msgid "Follow me on Twitter"
169
+ msgstr "Napisz do mnie na Twitter"
170
+
171
+ #: ../ssb-admin.php:188
172
+ msgid "Paweł Rabinek on Facebook"
173
+ msgstr "Paweł Rabinek na Facebook"
174
+
175
+ #: ../ssb-admin.php:189
176
+ msgid "Paweł Rabinek on Google Plus"
177
+ msgstr "Paweł Rabinek na Google Plus"
178
+
179
+ #: ../ssb-admin.php:190
180
+ msgid "LinkedIn profile"
181
+ msgstr "Profil na LinkedIn"
182
+
183
+ #: ../ssb-admin.php:196
184
+ msgid "Usefull links:"
185
+ msgstr "Przydatne linki:"
186
+
187
+ #: ../ssb-admin.php:199
188
+ msgid "Unlimited web hosting"
189
+ msgstr "Nielimitowany hosting stron"
190
+
191
+ #: ../ssb-admin.php:200
192
+ msgid "Best SEO software"
193
+ msgstr "Najlepsze oprogramowanie SEO"
194
+
195
+ #: ../ssb-admin.php:201
196
+ msgid "Wordpress templates"
197
+ msgstr "Szablony do Wordpress"
198
+
199
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
200
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
tags/1.4.3/readme.txt ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Plugin Name ===
2
+ Contributors: xradar
3
+ Donate link: http://blog.rabinek.pl/
4
+ Tags: facebook, google, twitter, plus one, like it, like, share
5
+ Requires at least: 2.8
6
+ Tested up to: 3.3.1
7
+ Stable tag: 1.4.3
8
+
9
+ Insert and customize social buttons: Facebook Like it, Google plus +1 and Twitter share. Share your content with friends.
10
+
11
+ == Description ==
12
+
13
+ Simple Social Buttons adds to your posts social network buttons, such as: **Facebook "Like it!"**, **Google plus on "+1"** and **Twitter share**. Plugin is fully customizable. You can decide where to put those buttons:
14
+
15
+ - Buttons above the post content
16
+ - Buttons under the post content
17
+ - Buttons above and under the post
18
+
19
+ That's not all. Simple Social Buttons can also add social media buttons to:
20
+
21
+ - Static Pages
22
+ - Front Page
23
+ - Posts Categories
24
+ - Date Archives
25
+ - Tags Archives
26
+
27
+ Want's more? Now you can change the **order of buttons** on your post!
28
+
29
+ Let your visitors share your content with friends and let them **promote your blog**. Facebook, Google Plus and Twitter are the most popular social networks nowadays. Don't miss the opportunity, and help publish your content and links to those social media networks.
30
+
31
+ Simple Social Buttons is currently in the following languages:
32
+
33
+ - English
34
+ - French
35
+ - Polish
36
+ - German
37
+ - Spanish
38
+
39
+ Feel free if you want to create a translation of this plugin. Contact me via e-mail or Twitter [@rabinek](https://twitter.com/rabinek "Paweł Rabinek on Twitter"), and I'll add your's translation to Simple Social Buttons.
40
+
41
+ For more information about Wordpress and SEO, visit my [SEO Blog](http://blog.rabinek.pl "Paweł Rabinek - Blog SEO") (in polish).
42
+ Also check my new SEO tool [SEO Audit](http://www.seoptimer.com "Free SEO Audit tool").
43
+
44
+ Big thanks for support in development of this plugin for:
45
+
46
+ - Karol from [Liga BBVA](http://www.ligabbva.pl "Liga hiszpańska BBVA") for PHP developement
47
+ - Talem Technologies - [Pozycjonowanie Bydgoszcz](http://www.talem.eu "SEO Pozycjonowanie Bydgoszcz") for time and resources
48
+ - See more thanks in FAQ section
49
+
50
+ == Installation ==
51
+
52
+ 1. Download the latest version of Simple Social Buttons
53
+ 2. Upload folder named simple-social-buttons to the /wp-content/plugins/ directory
54
+ 3. Activate the plugin through the 'Plugins' menu in WordPress
55
+ 4. (Optional) Customize the buttons in the Settings > Simple Social Buttons menu
56
+
57
+ That's it. Buttons will show on your blog posts.
58
+
59
+ You can also use this plugin directly in your template by function `<?php get_ssb([$order]); ?>`, where `$order` is a string with args ( example: `$order = "googleplus=1&fblike=2&twitter=3"` ) or an array ( example: `$order = array('googleplus' => 1, 'fblike' => 2, 'twitter' => 3)` ). If you would like to hide a specified button, you should set order to "0".
60
+
61
+
62
+ == Frequently Asked Questions ==
63
+
64
+ = Is the plugin free? =
65
+
66
+ Yes, it's free. I hope you like it :) If so you can buy me a coffee by doing paypal donate.
67
+
68
+ = Is the plug will be developed? =
69
+
70
+ Yes. I've some plans about developing Simple Social Buttons. There will be more buttons, more customization, and more powerfull! Follow me on Twitter [@rabinek](http://twitter.com/rabinek "Paweł Rabinek na Twitter") and stay tuned.
71
+
72
+ = Why use this plugin? =
73
+
74
+ This plugin automatically adds the Facebook Like button, Google plus one +1 and Twitter share button for each post on your blog. This is the simples and effective way to promote your blog in social media networks.
75
+
76
+ = How about support? =
77
+
78
+ Follow me at Twitter [@rabinek](http://twitter.com/rabinek "Paweł Rabinek na Twitter") or send me a mention. I'll reply as soon as I get it. You can also visit my [SEO Blog](http://blog.rabinek.pl "Paweł Rabinek - Blog SEO") (in polish).
79
+
80
+ = Is there a template tag for custom install? =
81
+
82
+ Yes, you can use `<?php get_ssb(); ?>` in your template file (see installation section). Default instalation don't require that.
83
+
84
+ = Who helped to improve Simple Social Buttons? =
85
+
86
+ **Big thanks to:**
87
+
88
+ - [@RhooManu](http://twitter.com/RhooManu "RhooManu on Twitter") for french translation
89
+ - [Usability Idealist](http://usability-idealist.de/ "Fabian Wolf - Usability Idealist") for converting code to object-oriented, adding buttons order and many fixes
90
+ - [@Dennis Schreiber](http://twitter.com/flammbar "Dennis Schreiber on Twitter") for german translation
91
+ - Marcos González for spanish translation
92
+
93
+ == Screenshots ==
94
+
95
+ 1. Simple Social Buttons - plugin options
96
+ 2. Plugin example
97
+ 3. Plugin on archive
98
+ 4. Widget in post edition
99
+
100
+
101
+ == Changelog ==
102
+
103
+ = 1.0 =
104
+ * First stable release.
105
+
106
+ = 1.1 =
107
+ * Added french translation
108
+ * Added language support in Facebook and Google+ JavaScript
109
+
110
+ = 1.2.1 =
111
+ * Optimized settings storage
112
+
113
+ = 1.3 =
114
+ * Converted plugin to class (requires PHP 5, because it is using the constructor auto-method)
115
+ * Added sorting options
116
+ * Added uninstall hook
117
+ * Fixed plugin settings slot not being highlighted in the admin navigation / general settings
118
+ * Added "disable regular CSS" option to let advanced users use their own CSS code
119
+ * Lots of fine-tuning
120
+
121
+ = 1.4 =
122
+ * Added custom meta to disable SSB plugin on sigle page/post (managed in admin menu)
123
+ * Function get_ssb() to directly use in template to show Simple Social Buttons in specified order
124
+ * Widget manage page in wp-admin available only for Administrator
125
+ * Added German and Spanish translation
126
+ * Fine-tuning
tags/1.4.3/screenshot-1.png ADDED
Binary file
tags/1.4.3/screenshot-2.png ADDED
Binary file
tags/1.4.3/screenshot-3.jpg ADDED
Binary file
tags/1.4.3/screenshot-4.png ADDED
Binary file
tags/1.4.3/simple-social-buttons.php ADDED
@@ -0,0 +1,537 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: Simple Social Buttons
4
+ Plugin URI: http://blog.rabinek.pl/simple-social-buttons-wordpress/
5
+ Description: Insert social buttons into posts and archives: Facebook "Like it", Google Plus One "+1" and Twitter share.
6
+ Author: Paweł Rabinek
7
+ Version: 1.4.3
8
+ Author URI: http://blog.rabinek.pl/
9
+ */
10
+
11
+ /* Copyright 2011, Paweł Rabinek (xradar) (email : pawel@rabinek.pl)
12
+
13
+ This program is free software; you can redistribute it and/or modify
14
+ it under the terms of the GNU General Public License, version 2, as
15
+ published by the Free Software Foundation.
16
+
17
+ This program is distributed in the hope that it will be useful,
18
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
19
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
+ GNU General Public License for more details.
21
+
22
+ You should have received a copy of the GNU General Public License
23
+ along with this program; if not, write to the Free Software
24
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
+ */
26
+
27
+ /**
28
+ * HACK: Converted to class, added buttons ordering, improve saving settings
29
+ * @author Fabian Wolf
30
+ * @link http://usability-idealist.de/
31
+ * @since 1.3
32
+ * @requires PHP 5
33
+ */
34
+
35
+
36
+ class SimpleSocialButtonsPR {
37
+ var $pluginName = 'Simple Social Buttons';
38
+ var $pluginVersion = '1.4';
39
+ var $pluginPrefix = 'ssb_pr_';
40
+ var $hideCustomMetaKey = '_ssb_hide';
41
+
42
+ // plugin default settings
43
+ var $pluginDefaultSettings = array(
44
+ 'googleplus' => '1',
45
+ 'fblike' => '2',
46
+ 'twitter' => '3',
47
+ 'beforepost' => '1',
48
+ 'afterpost' => '0',
49
+ 'beforepage' => '1',
50
+ 'afterpage' => '0',
51
+ 'beforearchive' => '0',
52
+ 'afterarchive' => '0'
53
+ );
54
+
55
+ // defined buttons
56
+ var $arrKnownButtons = array('fblike', 'googleplus', 'twitter');
57
+
58
+
59
+ /**
60
+ * Constructor
61
+ */
62
+ function __construct() {
63
+ register_activation_hook( __FILE__, array(&$this, 'plugin_install') );
64
+ register_deactivation_hook( __FILE__, array(&$this, 'plugin_uninstall') );
65
+
66
+ /**
67
+ * Action hooks
68
+ */
69
+ add_action( 'create_ssb', array(&$this, 'direct_display'), 10 , 1);
70
+
71
+ /**
72
+ * basic init
73
+ */
74
+ add_action( 'init', array(&$this, 'plugin_init') );
75
+
76
+ // get settings
77
+ $currentSettings = $this->get_settings();
78
+
79
+ // social JS + CSS data
80
+ add_action( 'wp_footer', array(&$this, 'include_social_js') );
81
+ if(!isset($currentSettings['override_css'])) {
82
+ add_action( 'wp_head', array(&$this, 'include_css') );
83
+ }
84
+
85
+ /**
86
+ * Filter hooks
87
+ */
88
+ add_filter( 'the_content', array(&$this, 'insert_buttons') );
89
+ add_filter( 'the_excerpt', array(&$this, 'insert_buttons') );
90
+ }
91
+
92
+ function plugin_init() {
93
+ load_plugin_textdomain( 'simplesocialbuttons', '', dirname( plugin_basename( __FILE__ ) ).'/lang' );
94
+ }
95
+
96
+ /**
97
+ * Both avoids time-wasting https calls AND provides better SSL-protection if the current server is accessed using HTTPS
98
+ */
99
+ public function get_current_http( $echo = true ) {
100
+ $return = 'http' . (strtolower($_SERVER['HTTPS']) == 'on' ? 's' : '') . '://';
101
+
102
+ if($echo != false) {
103
+ echo $return;
104
+ return;
105
+ }
106
+
107
+ return $return;
108
+ }
109
+
110
+ function include_social_js($force_include = false) {
111
+ $lang = get_bloginfo('language');
112
+ $lang_g = strtolower(substr($lang, 0, 2));
113
+ $lang_fb = str_replace('-', '_', $lang);
114
+
115
+ /**
116
+ * Disable loading of social network JS if disabled for specific post type
117
+ *
118
+ * NOTE: Conditional tags seem to work only AFTER the page has loaded, thus the code has been added here instead of at the plugin init
119
+ * @author Fabian Wolf
120
+ * @link http://usability-idealist.de/
121
+ * @date Di 20. Dez 17:50:01 CET 2011
122
+ */
123
+ if($this->where_to_insert() != false || $force_include == true) {
124
+ ?>
125
+
126
+ <!-- Simple Social Buttons plugin -->
127
+ <script type="text/javascript" src="<?php $this->get_current_http(); ?>apis.google.com/js/plusone.js">
128
+ //<![CDATA[
129
+ {lang: '<?php echo $lang_g; ?>'}
130
+ //]]>
131
+ </script>
132
+ <script type="text/javascript" src="<?php $this->get_current_http(); ?>platform.twitter.com/widgets.js"></script>
133
+ <script type="text/javascript" src="<?php $this->get_current_http(); ?>connect.facebook.net/<?php echo $lang_fb; ?>/all.js#xfbml=1"></script>
134
+ <!-- /End of Simple Social Buttons -->
135
+
136
+ <?php
137
+ }
138
+ }
139
+
140
+
141
+ function include_css() {
142
+ ?>
143
+
144
+ <!-- Simple Social Buttons style sheet -->
145
+ <style type="text/css">
146
+ div.simplesocialbuttons { height: 20px; margin: 10px auto 10px 0; text-align: center; clear: left; }
147
+ div.simplesocialbutton { float: left; text-align: center;}
148
+ </style>
149
+ <!-- End of Simple Social Buttons -->
150
+
151
+ <?php
152
+ }
153
+
154
+ /**
155
+ * Called when installing = activating the plugin
156
+ */
157
+ function plugin_install() {
158
+ $defaultSettings = $this->check_old_settings();
159
+
160
+ /**
161
+ * @see http://codex.wordpress.org/Function_Reference/add_option
162
+ * @param string $name Name of the option to be added. Use underscores to separate words, and do not use uppercase - this is going to be placed into the database.
163
+ * @param mixed $value Value for this option name. Limited to 2^32 bytes of data.
164
+ * @param string $deprecated Deprecated in WordPress Version 2.3.
165
+ * @param string $autoload Should this option be automatically loaded by the function wp_load_alloptions() (puts options into object cache on each page load)? Valid values: yes or no. Default: yes
166
+ */
167
+ add_option( $this->pluginPrefix . 'settings', $defaultSettings, '', 'yes' );
168
+ add_option( $this->pluginPrefix . 'version', $this->pluginVersion, '', 'yes' ); // for backward-compatiblity checks
169
+
170
+ }
171
+
172
+ /**
173
+ * Backward compatiblity for newer versions
174
+ */
175
+ function check_old_settings() {
176
+ $return = $this->pluginDefaultSettings;
177
+
178
+ $oldSettings = get_option( $this->pluginPrefix . 'settings', array() );
179
+
180
+ if( !empty($oldSettings) && is_array($oldSettings) != false) {
181
+ $return = wp_parse_args( $oldSettings, $this->pluginDefaultSettings );
182
+ }
183
+
184
+ return $return;
185
+ }
186
+
187
+ /**
188
+ * Plugin unistall and database clean up
189
+ */
190
+ function plugin_uninstall() {
191
+ if( !defined( 'ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') ) {
192
+ exit();
193
+ }
194
+
195
+ delete_option( $this->pluginPrefix . 'settings' );
196
+ delete_option( $this->pluginPrefix . 'version' );
197
+
198
+ }
199
+
200
+
201
+ /**
202
+ * Get settings from database
203
+ */
204
+ public function get_settings() {
205
+ $return = get_option($this->pluginPrefix . 'settings' );
206
+ if(empty($return) != false) {
207
+ $return = $this->pluginDefaultSettings;
208
+ }
209
+
210
+ return $return;
211
+ }
212
+
213
+ /**
214
+ * Update settings
215
+ */
216
+ function update_settings( $newSettings = array() ) {
217
+ $return = false;
218
+
219
+ // compile settings
220
+ $currentSettings = $this->get_settings();
221
+
222
+ /**
223
+ * Compile settings array
224
+ * @see http://codex.wordpress.org/Function_Reference/wp_parse_args
225
+ * @param mixed $args
226
+ * @param mixed $defaults
227
+ */
228
+ $updatedSettings = wp_parse_args( $newSettings, $currentSettings );
229
+
230
+ if($currentSettings != $updatedSettings ) {
231
+ $return = update_option( $this->pluginPrefix . 'settings', $newSettings );
232
+ }
233
+
234
+ return $return;
235
+ }
236
+
237
+ /**
238
+ * Returns true on pages where buttons should be shown
239
+ */
240
+ function where_to_insert() {
241
+ $return = false;
242
+
243
+ // get settings from database
244
+ $settings = $this->get_settings();
245
+
246
+ extract( $settings, EXTR_PREFIX_ALL, 'ssb' );
247
+
248
+ // display on single post?
249
+ if(is_single() && ($ssb_beforepost || $ssb_afterpost) && array_shift(get_post_meta(get_the_ID(), $this->hideCustomMetaKey)) != 'true') {
250
+ $return = true;
251
+ }
252
+
253
+ // display on single page?
254
+ if(is_page() && ($ssb_beforepage || $ssb_afterpage) && array_shift(get_post_meta(get_the_ID(), $this->hideCustomMetaKey)) != 'true') {
255
+ $return = true;
256
+ }
257
+
258
+ // display on frontpage?
259
+ if((is_front_page() || is_home()) && $ssb_showfront) {
260
+ $return = true;
261
+ }
262
+
263
+ // display on category archive?
264
+ if(is_category() && $ssb_showcategory) {
265
+ $return = true;
266
+ }
267
+
268
+ // display on date archive?
269
+ if(is_date() && $ssb_showarchive)
270
+ {
271
+ $return = true;
272
+ }
273
+
274
+ // display on tag archive?
275
+ if(is_tag() && $ssb_showtag) {
276
+ $return = true;
277
+ }
278
+ return $return;
279
+ }
280
+
281
+ /**
282
+ * Insert the buttons to the content
283
+ */
284
+ function insert_buttons($content) {
285
+ // Insert or not?
286
+ if(!$this->where_to_insert() ) {
287
+ return $content;
288
+ }
289
+
290
+ // get settings from database
291
+ $settings = $this->get_settings();
292
+
293
+ extract( $settings, EXTR_PREFIX_ALL, 'ssb' );
294
+
295
+ // creating order
296
+ $order = array();
297
+ foreach ($this->arrKnownButtons as $button_name) {
298
+ $order[$button_name] = $settings[$button_name];
299
+ }
300
+ $ssb_buttonscode = $this->generate_buttons_code($order);
301
+
302
+ if(is_single()) {
303
+ if($ssb_beforepost) {
304
+ $content = $ssb_buttonscode.$content;
305
+ }
306
+ if($ssb_afterpost) {
307
+ $content = $content.$ssb_buttonscode;
308
+ }
309
+ } else if(is_page()) {
310
+ if($ssb_beforepage) {
311
+ $content = $ssb_buttonscode.$content;
312
+ }
313
+ if($ssb_afterpage) {
314
+ $content = $content.$ssb_buttonscode;
315
+ }
316
+ } else {
317
+ if($ssb_beforearchive) {
318
+ $content = $ssb_buttonscode.$content;
319
+ }
320
+ if($ssb_afterarchive) {
321
+ $content = $content.$ssb_buttonscode;
322
+ }
323
+ }
324
+
325
+ return $content;
326
+
327
+ }
328
+
329
+ function direct_display($order = null)
330
+ {
331
+ // Return false if hide SSB for this page/post is disabled
332
+ if (is_single() && array_shift(get_post_meta(get_the_ID(), $this->hideCustomMetaKey)) == 'true') return false;
333
+
334
+ // Display buttons and scripts
335
+ $buttons_code = $this->generate_buttons_code($order);
336
+ echo $buttons_code;
337
+ $this->include_social_js(true);
338
+ }
339
+
340
+ /**
341
+ * Generate buttons html code with specified order
342
+ *
343
+ * @param mixed $order - order of social buttons
344
+ */
345
+ function generate_buttons_code($order = null)
346
+ {
347
+ foreach ($this->arrKnownButtons as $button_name) {
348
+ $defaultOrder[$button_name] = $this->pluginDefaultSettings[$button_name];
349
+ }
350
+
351
+ $order = wp_parse_args($order, $defaultOrder);
352
+
353
+ // define empty buttons code to use
354
+ $ssb_buttonscode = '';
355
+
356
+ // get post permalink and title
357
+ $permalink = get_permalink();
358
+ $title = get_the_title();
359
+
360
+ //Sorting the buttons
361
+ foreach($this->arrKnownButtons as $button_name) {
362
+ if(!empty($order[$button_name]) && (int)$order[$button_name] != 0) {
363
+ $arrButtons[$button_name] = $order[$button_name];
364
+ }
365
+ }
366
+ @asort($arrButtons);
367
+
368
+ $arrButtonsCode = array();
369
+ foreach($arrButtons as $button_name => $button_sort) {
370
+ switch($button_name) {
371
+ case 'googleplus':
372
+ $arrButtonsCode[] = '<div class="simplesocialbutton ssb-button-googleplus"><!-- Google Plus One--><g:plusone size="medium"></g:plusone></div>';
373
+ break;
374
+ case 'fblike':
375
+ $arrButtonsCode[] = '<div class="simplesocialbutton ssb-button-fblike"><!-- Facebook like--><div id="fb-root"></div><fb:like href="'.$permalink.'" send="false" layout="button_count" width="100" show_faces="false" action="like" font=""></fb:like></div>';
376
+ break;
377
+ case 'twitter':
378
+ $arrButtonsCode[] = '<div class="simplesocialbutton ssb-buttom-twitter"><!-- Twitter--><a name="twitter_share" data-count="horizontal" href="http://twitter.com/share" data-text="'.$title.'" data-url="'.$permalink.'" class="twitter-share-button" rel="nofollow"></a></div>';
379
+ break;
380
+ }
381
+ }
382
+
383
+ if(count($arrButtonsCode) > 0) {
384
+ $ssb_buttonscode = '<div class="simplesocialbuttons">'."\n";
385
+ $ssb_buttonscode .= implode("\n", $arrButtonsCode) . "\n";
386
+ $ssb_buttonscode .= '</div>'."\n";
387
+ }
388
+
389
+ return $ssb_buttonscode;
390
+ }
391
+ } // end class
392
+
393
+
394
+ /**
395
+ * Admin class
396
+ *
397
+ * Gets only initiated if this plugin is called inside the admin section ;)
398
+ */
399
+ class SimpleSocialButtonsPR_Admin extends SimpleSocialButtonsPR {
400
+
401
+ function __construct() {
402
+ parent::__construct();
403
+
404
+ add_action('admin_menu', array(&$this, 'admin_actions') );
405
+ add_action('add_meta_boxes', array(&$this, 'ssb_meta_box'));
406
+ add_action('save_post', array(&$this, 'ssb_save_meta'), 10, 2);
407
+
408
+ add_filter('plugin_action_links', array(&$this, 'plugin_action_links'), 10, 2 );
409
+ }
410
+
411
+ public function admin_actions() {
412
+ if (current_user_can('administrator'))
413
+ add_options_page('Simple Social Buttons ', 'Simple Social Buttons ', 1, 'simple-social-buttons', array(&$this, 'admin_page') );
414
+ }
415
+
416
+ public function admin_page() {
417
+ global $wpdb;
418
+
419
+ include dirname( __FILE__ ).'/ssb-admin.php';
420
+ }
421
+
422
+
423
+
424
+ public function plugin_action_links($links, $file) {
425
+ static $this_plugin;
426
+
427
+ if (!$this_plugin) {
428
+ $this_plugin = plugin_basename(__FILE__);
429
+ }
430
+
431
+ if ($file == $this_plugin) {
432
+ $settings_link = '<a href="' . get_bloginfo('wpurl') . '/wp-admin/options-general.php?page=simple-social-buttons">'.__('Settings', 'simplesocialbuttons').'</a>';
433
+ array_unshift($links, $settings_link);
434
+ }
435
+
436
+ return $links;
437
+ }
438
+
439
+ /**
440
+ * Register meta box to hide/show SSB plugin on single post or page
441
+ */
442
+ public function ssb_meta_box()
443
+ {
444
+ $postId = $_GET['post'];
445
+ $postType = get_post_type($postId);
446
+
447
+ if ($postType != 'page' && $postType != 'post') return false;
448
+
449
+ $currentSsbHide = get_post_custom_values($this->hideCustomMetaKey, $postId);
450
+ $currentSettings = $this->get_settings();
451
+
452
+ if ($currentSsbHide[0] == 'true') {
453
+ $checked = true;
454
+ } else {
455
+ $checked = false;
456
+ }
457
+
458
+ // Rendering meta box
459
+ if (!function_exists('add_meta_box')) include('includes/template.php');
460
+ add_meta_box('ssb_meta_box', __('SSB Settings', 'simplesocialbuttons'), array(&$this, 'render_ssb_meta_box'), $postType, 'side', 'default', array('type' => $postType, 'checked' => $checked));
461
+ }
462
+
463
+ /**
464
+ * Showing custom meta field
465
+ */
466
+ public function render_ssb_meta_box($post, $metabox)
467
+ {
468
+ wp_nonce_field( plugin_basename( __FILE__ ), 'ssb_noncename' );
469
+ ?>
470
+
471
+ <label for="<?php echo $this->hideCustomMetaKey;?>"><input type="checkbox" id="<?php echo $this->hideCustomMetaKey;?>" name="<?php echo $this->hideCustomMetaKey;?>" value="true" <?php if ($metabox['args']['checked']):?>checked="checked"<?php endif;?>/>&nbsp;<?php echo __('Hide Simple Social Buttons', 'simplesocialbuttons');?></label>
472
+
473
+ <?php
474
+ }
475
+
476
+
477
+ /**
478
+ * Saving custom meta value
479
+ */
480
+ public function ssb_save_meta($post_id, $post)
481
+ {
482
+ $postId = (int)$post_id;
483
+
484
+ // Verify if this is an auto save routine.
485
+ if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE )
486
+ return;
487
+
488
+ // Verify this came from the our screen and with proper authorization
489
+ if ( !wp_verify_nonce( $_POST['ssb_noncename'], plugin_basename( __FILE__ ) ) )
490
+ return;
491
+
492
+ // Check permissions
493
+ if ( 'page' == $_POST['post_type'] ) {
494
+ if ( !current_user_can( 'edit_page', $post_id ) )
495
+ return;
496
+ } else {
497
+ if ( !current_user_can( 'edit_post', $post_id ) )
498
+ return;
499
+ }
500
+
501
+ // Saving data
502
+ $newValue = (isset($_POST[$this->hideCustomMetaKey])) ? $_POST[$this->hideCustomMetaKey] : 'false';
503
+
504
+ update_post_meta($postId, $this->hideCustomMetaKey, $newValue);
505
+ }
506
+
507
+
508
+ } // end SimpleSocialButtonsPR_Admin
509
+
510
+ if(is_admin() ) {
511
+ $_ssb_pr = new SimpleSocialButtonsPR_Admin();
512
+ } else {
513
+ $_ssb_pr = new SimpleSocialButtonsPR();
514
+ }
515
+
516
+ /**
517
+ * Function to insert Simple Social Buttons directly in template.
518
+ *
519
+ * @param mixed $order - order of the buttons in array or string (parsed by wp_parse_args())
520
+ *
521
+ * @example 1 - use in template with default order
522
+ * get_ssb();
523
+ *
524
+ * @example 2 - use in template with specified order
525
+ * get_ssb('googleplus=3&fblike=2&twitter=1');
526
+ *
527
+ * @example 3 - hiding button by setting order to 0. By using code below googleplus button won't be displayed
528
+ * get_ssb('googleplus=0&fblike=1&twitter=2');
529
+ *
530
+ *
531
+ */
532
+ function get_ssb($order = null)
533
+ {
534
+ do_action('create_ssb', $order);
535
+ }
536
+
537
+ ?>
tags/1.4.3/ssb-admin.php ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="wrap">
2
+
3
+ <style type="text/css">
4
+ div.inside ul li {
5
+ line-height: 16px;
6
+ list-style-type: square;
7
+ margin-left: 15px;
8
+ }
9
+ </style>
10
+
11
+ <h2>Simple Social Buttons - <?php _e('Settings'); ?>:</h2>
12
+
13
+ <p><?php _e('<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever.', 'simplesocialbuttons'); ?></p>
14
+
15
+ <?php
16
+
17
+ if(strtolower($_POST['hiddenconfirm']) == 'y') {
18
+
19
+ /**
20
+ * Compile settings array
21
+ * @see http://codex.wordpress.org/Function_Reference/wp_parse_args
22
+ */
23
+
24
+ $updateSettings = array(
25
+ 'googleplus' => $_POST['ssb_googleplus'],
26
+ 'fblike' => $_POST['ssb_fblike'],
27
+ 'twitter' => $_POST['ssb_twitter'],
28
+
29
+ 'beforepost' => $_POST['ssb_beforepost'],
30
+ 'afterpost' => $_POST['ssb_afterpost'],
31
+ 'beforepage' => $_POST['ssb_beforepage'],
32
+ 'afterpage' => $_POST['ssb_afterpage'],
33
+ 'beforearchive' => $_POST['ssb_beforearchive'],
34
+ 'afterarchive' => $_POST['ssb_afterarchive'],
35
+
36
+ 'showfront' => $_POST['ssb_showfront'],
37
+ 'showcategory' => $_POST['ssb_showcategory'],
38
+ 'showarchive' => $_POST['ssb_showarchive'],
39
+ 'showtag' => $_POST['ssb_showtag'],
40
+
41
+ 'override_css' => $_POST['ssb_override_css'],
42
+ );
43
+
44
+ $this->update_settings( $updateSettings );
45
+
46
+ }
47
+
48
+ /**
49
+ * HACK: Use one big array instead of a bunchload of single options
50
+ * @author Fabian Wolf
51
+ * @link http://usability-idealist.de/
52
+ * @since 1.2.1
53
+ */
54
+
55
+ // get settings from database
56
+ $settings = $this->get_settings();
57
+
58
+ extract( $settings, EXTR_PREFIX_ALL, 'ssb' );
59
+
60
+ ?>
61
+
62
+
63
+ <div class="postbox-container" style="width:69%">
64
+ <div id="poststuff">
65
+ <form name="ssb_form" method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
66
+
67
+ <div class="postbox">
68
+ <h3><?php _e('Select buttons', 'simplesocialbuttons'); ?></h3>
69
+ <div class="inside">
70
+ <h4><?php _e('Select social media buttons:', 'simplesocialbuttons'); ?></h4>
71
+
72
+
73
+ <p><select name="ssb_googleplus" id="ssb_googleplus">
74
+ <option value=""<?php if(empty($ssb_googleplus) != false) {
75
+ ?>selected="selected"<?php
76
+ } ?>><?php _e('inactive', 'simplesocialbuttons'); ?></option>
77
+
78
+ <?php for($pos = 1; $pos < 4; $pos++) { ?>
79
+ <option value="<?php echo $pos; ?>"<?php if($ssb_googleplus == $pos) {
80
+ ?>selected="selected"<?php
81
+ } ?>> # <?php echo $pos; ?> </option>
82
+ <?php } ?>
83
+ </select> &nbsp;
84
+ <label for="ssb_googleplus"><?php _e('Google plus one (+1)', 'simplesocialbuttons'); ?></label></p>
85
+
86
+ <!-- fblike -->
87
+ <p><select name="ssb_fblike" id="ssb_fblike">
88
+ <option value=""<?php if(empty($ssb_fblike) != false) {
89
+ ?>selected="selected"<?php
90
+ } ?>><?php _e('inactive', 'simplesocialbuttons'); ?></option>
91
+
92
+ <?php for($pos = 1; $pos < 4; $pos++) { ?>
93
+ <option value="<?php echo $pos; ?>"<?php if($ssb_fblike == $pos) {
94
+ ?>selected="selected"<?php
95
+ } ?>> # <?php echo $pos; ?> </option>
96
+ <?php } ?>
97
+ </select> &nbsp;
98
+ <label for="ssb_fblike"><?php _e('Facebook Like it', 'simplesocialbuttons'); ?></label></p>
99
+ <!-- /fblike -->
100
+
101
+ <!-- twitter -->
102
+ <p><select name="ssb_twitter" id="ssb_twitter">
103
+ <option value=""<?php if(empty($ssb_twitter) != false) {
104
+ ?>selected="selected"<?php
105
+ } ?>><?php _e('inactive', 'simplesocialbuttons'); ?></option>
106
+
107
+ <?php for($pos = 1; $pos < 4; $pos++) { ?>
108
+ <option value="<?php echo $pos; ?>"<?php if($ssb_twitter == $pos) {
109
+ ?>selected="selected"<?php
110
+ } ?>> # <?php echo $pos; ?> </option>
111
+ <?php } ?>
112
+ </select> &nbsp;
113
+ <label for="ssb_twitter"><?php _e('Twitter share', 'simplesocialbuttons'); ?></label></p>
114
+ <!-- /twitter -->
115
+
116
+ <p><label for="ssb_override_css"><input type="checkbox" name="ssb_override_css" id="ssb_override_css" value="1" <?php if($ssb_override_css) { echo 'checked="checked"'; } ?>/> <?php _e('Disable plugin CSS (only advanced users)'); ?></label></p>
117
+ </div>
118
+ </div>
119
+
120
+ <div class="postbox">
121
+ <h3><?php _e('Single posts - display settings', 'simplesocialbuttons'); ?></h3>
122
+ <div class="inside">
123
+ <h4><?php _e('Place buttons on single post:', 'simplesocialbuttons'); ?></h4>
124
+ <p><input type="checkbox" name="ssb_beforepost" id="ssb_beforepost" value="1" <?php if(!empty($ssb_beforepost)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforepost"><?php _e('Before the content', 'simplesocialbuttons'); ?></label></p>
125
+ <p><input type="checkbox" name="ssb_afterpost" id="ssb_afterpost" value="1" <?php if(!empty($ssb_afterpost)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterpost"><?php _e('After the content', 'simplesocialbuttons'); ?></label></p>
126
+ </div>
127
+ </div>
128
+
129
+ <div class="postbox">
130
+ <h3><?php _e('Single pages - display settings', 'simplesocialbuttons'); ?></h3>
131
+ <div class="inside">
132
+ <h4><?php _e('Place buttons on single pages:', 'simplesocialbuttons'); ?></h4>
133
+ <p><input type="checkbox" name="ssb_beforepage" id="ssb_beforepage" value="1" <?php if(!empty($ssb_beforepage)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforepage"><?php _e('Before the page content', 'simplesocialbuttons'); ?></label></p>
134
+ <p><input type="checkbox" name="ssb_afterpage" id="ssb_afterpage" value="1" <?php if(!empty($ssb_afterpage)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterpage"><?php _e('After the page content', 'simplesocialbuttons'); ?></label></p>
135
+ </div>
136
+ </div>
137
+
138
+ <div class="postbox">
139
+ <h3><?php _e('Archives - display settings', 'simplesocialbuttons'); ?></h3>
140
+ <div class="inside">
141
+ <h4><?php _e('Select additional places to display buttons:', 'simplesocialbuttons'); ?></h4>
142
+ <p><input type="checkbox" name="ssb_showfront" id="ssb_showfront" value="1" <?php if(!empty($ssb_showfront)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showfront"><?php _e('Show at frontpage', 'simplesocialbuttons'); ?></label></p>
143
+ <p><input type="checkbox" name="ssb_showcategory" id="ssb_showcategory" value="1" <?php if(!empty($ssb_showcategory)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showcategory"><?php _e('Show at category pages', 'simplesocialbuttons'); ?></label></p>
144
+ <p><input type="checkbox" name="ssb_showarchive" id="ssb_showarchive" value="1" <?php if(!empty($ssb_showarchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showarchive"><?php _e('Show at archive pages', 'simplesocialbuttons'); ?></label></p>
145
+ <p><input type="checkbox" name="ssb_showtag" id="ssb_showtag" value="1" <?php if(!empty($ssb_showtag)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showtag"><?php _e('Show at tag pages', 'simplesocialbuttons'); ?></label></p>
146
+
147
+ <h4><?php _e('Place buttons on archives:', 'simplesocialbuttons'); ?></h4>
148
+ <p><input type="checkbox" name="ssb_beforearchive" id="ssb_beforearchive" value="1" <?php if(!empty($ssb_beforearchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforearchive"><?php _e('Before the content', 'simplesocialbuttons'); ?></label></p>
149
+ <p><input type="checkbox" name="ssb_afterarchive" id="ssb_afterarchive" value="1" <?php if(!empty($ssb_afterarchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterarchive"><?php _e('After the content', 'simplesocialbuttons'); ?></label></p>
150
+ </div>
151
+ </div>
152
+
153
+ <div class="submit">
154
+ <input type="hidden" name="hiddenconfirm" value="Y" />
155
+ <input type="submit" name="Submit" class="button-primary" value="<?php _e('Save Changes'); ?>" />
156
+ </div>
157
+
158
+ </form>
159
+ </div>
160
+ </div>
161
+
162
+ <div class="postbox-container" style="width:29%">
163
+ <div id="poststuff">
164
+ <div class="postbox">
165
+ <h3><?php _e('About this plugin:', 'simplesocialbuttons'); ?></h3>
166
+ <div class="inside">
167
+ <p><?php _e('Talk to <a href="http://twitter.com/rabinek" target="_blank">@rabinek</a> on twitter for bugs or feature requests.', 'simplesocialbuttons'); ?></p>
168
+ <p><strong><?php _e('Enjoy the plugin?', 'simplesocialbuttons'); ?></strong><br />
169
+ <?php _e('<a href="http://twitter.com/?status=I\'m using @rabinek\'s WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/" target="_blank">Tweet about it</a> and consider donating.', 'simplesocialbuttons'); ?></p>
170
+ <p><?php _e('<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!', 'simplesocialbuttons'); ?><br />
171
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
172
+ <input type="hidden" name="cmd" value="_s-xclick">
173
+ <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----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-----END PKCS7-----">
174
+ <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
175
+ <img alt="" border="0" src="https://www.paypalobjects.com/pl_PL/i/scr/pixel.gif" width="1" height="1">
176
+ </form>
177
+ </p>
178
+ </div>
179
+ </div>
180
+
181
+ <div class="postbox">
182
+ <h3><?php _e('About the author:', 'simplesocialbuttons'); ?></h3>
183
+ <div class="inside">
184
+ <p><?php _e('Hi! My name is Paweł Rabinek (aka xradar). I\'m interesed in SEO and social media, PHP and Wordpress developement.', 'simplesocialbuttons'); ?></p>
185
+ <ul>
186
+ <li><a href="http://blog.rabinek.pl/" target="_blank"><?php _e('My blog about SEO', 'simplesocialbuttons'); ?></a> <?php _e('[Polish]', 'simplesocialbuttons'); ?></li>
187
+ <li><?php _e('Follow me on Twitter', 'simplesocialbuttons'); ?> <a href="http://www.twitter.com/rabinek" target="_blank">@rabinek</a></li>
188
+ <li><a href="http://www.facebook.com/rabinek" target="_blank"><?php _e('Paweł Rabinek on Facebook', 'simplesocialbuttons'); ?></a></li>
189
+ <li><a href="http://plus.google.com/114311287272342088386/" target="_blank"><?php _e('Paweł Rabinek on Google Plus', 'simplesocialbuttons'); ?></a></li>
190
+ <li><a href="http://pl.linkedin.com/in/rabinek" target="_blank"><?php _e('LinkedIn profile', 'simplesocialbuttons'); ?></a></li>
191
+ </ul>
192
+ </div>
193
+ </div>
194
+
195
+ <div class="postbox">
196
+ <h3><?php _e('Usefull links:', 'simplesocialbuttons'); ?></h3>
197
+ <div class="inside">
198
+ <ul>
199
+ <li><a href="http://www.site5.com/in.php?id=53542" target="_blank"><?php _e('Unlimited web hosting', 'simplesocialbuttons'); ?></a></li>
200
+ <li><a href="http://www.webceo.com/cgi-bin/go/clickthru.cgi?id=xradar" target="_blank"><?php _e('Best SEO software', 'simplesocialbuttons'); ?></a></li>
201
+ <li><a href="http://themeforest.net?ref=xradar" target="_blank"><?php _e('Wordpress templates', 'simplesocialbuttons'); ?></a><li>
202
+ </ul>
203
+ </div>
204
+ </div>
205
+
206
+ </div>
207
+ </div>
208
+ </div>
tags/1.4/lang/simplesocialbuttons-de_DE.mo ADDED
Binary file
tags/1.4/lang/simplesocialbuttons-de_DE.po ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-01 11:19+0100\n"
6
+ "PO-Revision-Date: 2012-02-01 11:28+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Paweł Rabinek (DE: Dennis Schreiber) <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: German\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-Country: GERMANY\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ # Traduit par @RhooManu - www.infographizm.com
20
+ #: ../simple-social-buttons.php:424
21
+ #: ../ssb-admin.php:11
22
+ msgid "Settings"
23
+ msgstr "Einstellungen"
24
+
25
+ # Traduit par @RhooManu - www.infographizm.com
26
+ #: ../simple-social-buttons.php:452
27
+ msgid "SSB Settings"
28
+ msgstr "SSB einstellungen"
29
+
30
+ #: ../simple-social-buttons.php:463
31
+ msgid "Hide Simple Social Buttons"
32
+ msgstr "Verbergen Simple Social Buttons"
33
+
34
+ #: ../ssb-admin.php:13
35
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
36
+ msgstr "<strong>Simple Social Buttons</strong>, von <strong>Paweł Rabinek</strong>. Cette extension ajoute des boutons de réseaux sociaux, comme <strong>Google +1</strong>, <strong>Facebook J'aime</strong> et <strong>Twitter</strong>. La plus flexible des extensions de boutons de réseaux sociaux !"
37
+
38
+ #: ../ssb-admin.php:68
39
+ msgid "Select buttons"
40
+ msgstr "Buttons auswählen"
41
+
42
+ #: ../ssb-admin.php:70
43
+ msgid "Select social media buttons:"
44
+ msgstr "Wähle Social Media Buttons:"
45
+
46
+ #: ../ssb-admin.php:76
47
+ #: ../ssb-admin.php:90
48
+ #: ../ssb-admin.php:105
49
+ msgid "inactive"
50
+ msgstr "inaktiv"
51
+
52
+ #: ../ssb-admin.php:84
53
+ msgid "Google plus one (+1)"
54
+ msgstr "Google plus eins (+1)"
55
+
56
+ #: ../ssb-admin.php:98
57
+ msgid "Facebook Like it"
58
+ msgstr "Facebook gefällt mir"
59
+
60
+ #: ../ssb-admin.php:113
61
+ msgid "Twitter share"
62
+ msgstr "Twitter teilen"
63
+
64
+ #: ../ssb-admin.php:116
65
+ msgid "Disable plugin CSS (only advanced users)"
66
+ msgstr ""
67
+
68
+ #: ../ssb-admin.php:121
69
+ msgid "Single posts - display settings"
70
+ msgstr "Einzelne Beiträge - Display Einstellungen"
71
+
72
+ #: ../ssb-admin.php:123
73
+ msgid "Place buttons on single post:"
74
+ msgstr "Füge Buttons bei einzelnen Beitrag ein:"
75
+
76
+ #: ../ssb-admin.php:124
77
+ #: ../ssb-admin.php:148
78
+ msgid "Before the content"
79
+ msgstr "Vor dem Inhalt"
80
+
81
+ #: ../ssb-admin.php:125
82
+ #: ../ssb-admin.php:149
83
+ msgid "After the content"
84
+ msgstr "Nach dem Inhalt"
85
+
86
+ #: ../ssb-admin.php:130
87
+ msgid "Single pages - display settings"
88
+ msgstr "Einzelne Seiten - Display Einstellungen"
89
+
90
+ #: ../ssb-admin.php:132
91
+ msgid "Place buttons on single pages:"
92
+ msgstr "Füge die Buttons auf einzelnen Seiten ein:"
93
+
94
+ #: ../ssb-admin.php:133
95
+ msgid "Before the page content"
96
+ msgstr "Vor dem Seiteninhalt"
97
+
98
+ #: ../ssb-admin.php:134
99
+ msgid "After the page content"
100
+ msgstr "Nach dem Seiteninhalt"
101
+
102
+ #: ../ssb-admin.php:139
103
+ msgid "Archives - display settings"
104
+ msgstr "Archives - Display Einstellungen"
105
+
106
+ #: ../ssb-admin.php:141
107
+ msgid "Select additional places to display buttons:"
108
+ msgstr "Wähle weitere Orte um die Buttons anzuzeigen:"
109
+
110
+ #: ../ssb-admin.php:142
111
+ msgid "Show at frontpage"
112
+ msgstr "Zeige auf der Hauptseite"
113
+
114
+ #: ../ssb-admin.php:143
115
+ msgid "Show at category pages"
116
+ msgstr "Zeige in den Kategorien"
117
+
118
+ #: ../ssb-admin.php:144
119
+ msgid "Show at archive pages"
120
+ msgstr "Zeige bei Archiven"
121
+
122
+ #: ../ssb-admin.php:145
123
+ msgid "Show at tag pages"
124
+ msgstr "Zeige bei Stichworten"
125
+
126
+ #: ../ssb-admin.php:147
127
+ msgid "Place buttons on archives:"
128
+ msgstr "Zeige Buttons in den Archiven:"
129
+
130
+ #: ../ssb-admin.php:155
131
+ #, fuzzy
132
+ msgid "Save Changes"
133
+ msgstr "Einstellungen speichern"
134
+
135
+ #: ../ssb-admin.php:165
136
+ msgid "About this plugin:"
137
+ msgstr "Über dieses Plugin"
138
+
139
+ #: ../ssb-admin.php:167
140
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
141
+ msgstr "Kontaktiere <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> auf Twitter bei Bugs und Erweiterungen."
142
+
143
+ #: ../ssb-admin.php:168
144
+ msgid "Enjoy the plugin?"
145
+ msgstr "Gefällt dir das Plugin?"
146
+
147
+ #: ../ssb-admin.php:169
148
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
149
+ msgstr "<a href=\"http://twitter.com/?status=Ich verwende @rabinek's - WordPress Simple Social Buttons ! http://blog.rabinek.pl/\" target=\"_blank\">Tweete dadrüber</a> und erwäge eine Spende."
150
+
151
+ #: ../ssb-admin.php:170
152
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
153
+ msgstr "<strong>Spenden :</strong> Eine Menge harte Arbeit wurde in das entwickeln von Plugins investiert - unterstütze deine OpenSource Entwickler. Danke !"
154
+
155
+ #: ../ssb-admin.php:182
156
+ msgid "About the author:"
157
+ msgstr "Über den Autor :"
158
+
159
+ #: ../ssb-admin.php:184
160
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
161
+ msgstr "Hallo ! Mein Name ist Paweł Rabinek (auch bekannt als xradar). Ich interessiere mich für SEO und Social Media, PHP und WordPress Entwicklung."
162
+
163
+ #: ../ssb-admin.php:186
164
+ msgid "My blog about SEO"
165
+ msgstr "Mein Blog über SEO"
166
+
167
+ #: ../ssb-admin.php:186
168
+ msgid "[Polish]"
169
+ msgstr " [Polnisch]"
170
+
171
+ #: ../ssb-admin.php:187
172
+ msgid "Follow me on Twitter"
173
+ msgstr "Folge mir bei Twitter !"
174
+
175
+ #: ../ssb-admin.php:188
176
+ msgid "Paweł Rabinek on Facebook"
177
+ msgstr "Paweł Rabinek bei Facebook"
178
+
179
+ #: ../ssb-admin.php:189
180
+ msgid "Paweł Rabinek on Google Plus"
181
+ msgstr "Paweł Rabinek bei Google Plus"
182
+
183
+ #: ../ssb-admin.php:190
184
+ msgid "LinkedIn profile"
185
+ msgstr "LinkedIn Profil"
186
+
187
+ #: ../ssb-admin.php:196
188
+ msgid "Usefull links:"
189
+ msgstr "Nützliche Links :"
190
+
191
+ #: ../ssb-admin.php:199
192
+ msgid "Unlimited web hosting"
193
+ msgstr "Unlimitiertes Webhosting"
194
+
195
+ #: ../ssb-admin.php:200
196
+ msgid "Best SEO software"
197
+ msgstr "Beste SEO Software"
198
+
199
+ #: ../ssb-admin.php:201
200
+ msgid "Wordpress templates"
201
+ msgstr "WordPress Themes"
202
+
203
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
204
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
tags/1.4/lang/simplesocialbuttons-es_ES.mo ADDED
Binary file
tags/1.4/lang/simplesocialbuttons-es_ES.po ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-01 11:28+0100\n"
6
+ "PO-Revision-Date: 2012-02-01 11:29+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Paweł Rabinek (DE: Dennis Schreiber) <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: German\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-Country: GERMANY\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ # Traduit par @RhooManu - www.infographizm.com
20
+ #: ../simple-social-buttons.php:424
21
+ #: ../ssb-admin.php:11
22
+ msgid "Settings"
23
+ msgstr "Opciones"
24
+
25
+ # Traduit par @RhooManu - www.infographizm.com
26
+ #: ../simple-social-buttons.php:452
27
+ msgid "SSB Settings"
28
+ msgstr "SSB opciones"
29
+
30
+ #: ../simple-social-buttons.php:463
31
+ msgid "Hide Simple Social Buttons"
32
+ msgstr "Ocultar Simple Social Buttons"
33
+
34
+ #: ../ssb-admin.php:13
35
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
36
+ msgstr "<strong>Simple Social Buttons</strong>, autor <strong>Paweł Rabinek</strong>. Este plugin añade iconos de redes sociales como: <strong>Google +1</strong>, <strong>Facebook Me gusta</strong> y <strong>Compartir en Twitter</strong>. El plugin social más flexible que puedes encontrar."
37
+
38
+ #: ../ssb-admin.php:68
39
+ msgid "Select buttons"
40
+ msgstr "Selecciona botones"
41
+
42
+ #: ../ssb-admin.php:70
43
+ msgid "Select social media buttons:"
44
+ msgstr "Selecciona botones de redes sociales: "
45
+
46
+ #: ../ssb-admin.php:76
47
+ #: ../ssb-admin.php:90
48
+ #: ../ssb-admin.php:105
49
+ msgid "inactive"
50
+ msgstr "inactivo"
51
+
52
+ #: ../ssb-admin.php:84
53
+ msgid "Google plus one (+1)"
54
+ msgstr "Google plus (+1) "
55
+
56
+ #: ../ssb-admin.php:98
57
+ msgid "Facebook Like it"
58
+ msgstr "Facebook Me gusta"
59
+
60
+ #: ../ssb-admin.php:113
61
+ msgid "Twitter share"
62
+ msgstr "Compartir en Twitter"
63
+
64
+ #: ../ssb-admin.php:116
65
+ msgid "Disable plugin CSS (only advanced users)"
66
+ msgstr "Desactivar los CSS del plugin (solo para usuarios avanzados)"
67
+
68
+ #: ../ssb-admin.php:121
69
+ msgid "Single posts - display settings"
70
+ msgstr "Post individuales - mostrar opciones"
71
+
72
+ #: ../ssb-admin.php:123
73
+ msgid "Place buttons on single post:"
74
+ msgstr "Colocar los botones en un post individual:"
75
+
76
+ #: ../ssb-admin.php:124
77
+ #: ../ssb-admin.php:148
78
+ msgid "Before the content"
79
+ msgstr "Antes del contenido"
80
+
81
+ #: ../ssb-admin.php:125
82
+ #: ../ssb-admin.php:149
83
+ msgid "After the content"
84
+ msgstr "Después del contenido"
85
+
86
+ #: ../ssb-admin.php:130
87
+ msgid "Single pages - display settings"
88
+ msgstr "Páginas individuales - mostrar opciones"
89
+
90
+ #: ../ssb-admin.php:132
91
+ msgid "Place buttons on single pages:"
92
+ msgstr "Colocar los botones en páginas individuales:"
93
+
94
+ #: ../ssb-admin.php:133
95
+ msgid "Before the page content"
96
+ msgstr "Antes del contenido de la página"
97
+
98
+ #: ../ssb-admin.php:134
99
+ msgid "After the page content"
100
+ msgstr "Después del contenido de la página"
101
+
102
+ #: ../ssb-admin.php:139
103
+ msgid "Archives - display settings"
104
+ msgstr "Archivo - mostrar opciones"
105
+
106
+ #: ../ssb-admin.php:141
107
+ msgid "Select additional places to display buttons:"
108
+ msgstr "Selecciona lugares adicionales donde mostrar los botones:"
109
+
110
+ #: ../ssb-admin.php:142
111
+ msgid "Show at frontpage"
112
+ msgstr "Pagina de entrada"
113
+
114
+ #: ../ssb-admin.php:143
115
+ msgid "Show at category pages"
116
+ msgstr "Páginas de categorías"
117
+
118
+ #: ../ssb-admin.php:144
119
+ msgid "Show at archive pages"
120
+ msgstr "Páginas de archivo"
121
+
122
+ #: ../ssb-admin.php:145
123
+ msgid "Show at tag pages"
124
+ msgstr "Páginas de etiquetas"
125
+
126
+ #: ../ssb-admin.php:147
127
+ msgid "Place buttons on archives:"
128
+ msgstr "Colocar los botones en archivo:"
129
+
130
+ #: ../ssb-admin.php:155
131
+ msgid "Save Changes"
132
+ msgstr "Guardar cambios"
133
+
134
+ #: ../ssb-admin.php:165
135
+ msgid "About this plugin:"
136
+ msgstr "Sobre este plugin:"
137
+
138
+ #: ../ssb-admin.php:167
139
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
140
+ msgstr "Habla con <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> en Twitter para solución de bugs o peticiones de nuevas características."
141
+
142
+ #: ../ssb-admin.php:168
143
+ msgid "Enjoy the plugin?"
144
+ msgstr "Te gusta el plugin?"
145
+
146
+ #: ../ssb-admin.php:169
147
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
148
+ msgstr "<a href=\"http://twitter.com/?status=Estoy usando el plugin Simple Social Buttons! de @rabinek - para WordPress http://blog.rabinek.pl/\" target=\"_blank\">Twittea sobre él</a> y piensa en hacer una donación."
149
+
150
+ #: ../ssb-admin.php:170
151
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
152
+ msgstr "<strong>Dona:</strong> Hay mucho trabajo a la hora de realizar plugins, apoya a tus desarrolladores open source. Gracias!"
153
+
154
+ #: ../ssb-admin.php:182
155
+ msgid "About the author:"
156
+ msgstr "Sobre el autor:"
157
+
158
+ #: ../ssb-admin.php:184
159
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
160
+ msgstr "Hola! mi nombre es Pawel Rabinek (aka xradar). Estoy interesado en SEO y Social Media, así como desarrollo en PHP y Wordpress."
161
+
162
+ #: ../ssb-admin.php:186
163
+ msgid "My blog about SEO"
164
+ msgstr "Mi blog sobre SEO"
165
+
166
+ #: ../ssb-admin.php:186
167
+ msgid "[Polish]"
168
+ msgstr " "
169
+
170
+ #: ../ssb-admin.php:187
171
+ msgid "Follow me on Twitter"
172
+ msgstr "Sígueme en Twitter"
173
+
174
+ #: ../ssb-admin.php:188
175
+ msgid "Paweł Rabinek on Facebook"
176
+ msgstr "Paweł Rabinek en Facebook"
177
+
178
+ #: ../ssb-admin.php:189
179
+ msgid "Paweł Rabinek on Google Plus"
180
+ msgstr "Paweł Rabinek en Google Plus"
181
+
182
+ #: ../ssb-admin.php:190
183
+ msgid "LinkedIn profile"
184
+ msgstr "Perfil en LinkedIn"
185
+
186
+ #: ../ssb-admin.php:196
187
+ msgid "Usefull links:"
188
+ msgstr "Links interesantes:"
189
+
190
+ #: ../ssb-admin.php:199
191
+ msgid "Unlimited web hosting"
192
+ msgstr "Alojamiento web ilimitado"
193
+
194
+ #: ../ssb-admin.php:200
195
+ msgid "Best SEO software"
196
+ msgstr "Mejor software SEO"
197
+
198
+ #: ../ssb-admin.php:201
199
+ msgid "Wordpress templates"
200
+ msgstr "Plantillas de Wordpress"
201
+
202
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
203
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
tags/1.4/lang/simplesocialbuttons-fr_FR.mo ADDED
Binary file
tags/1.4/lang/simplesocialbuttons-fr_FR.po ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-01 11:29+0100\n"
6
+ "PO-Revision-Date: 2012-02-01 11:30+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Paweł Rabinek (FR: Emmanuel Beziat) <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: French\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-Country: FRANCE\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ # Traduit par @RhooManu - www.infographizm.com
20
+ #: ../simple-social-buttons.php:424
21
+ #: ../ssb-admin.php:11
22
+ msgid "Settings"
23
+ msgstr "Paramètres"
24
+
25
+ # Traduit par @RhooManu - www.infographizm.com
26
+ #: ../simple-social-buttons.php:452
27
+ msgid "SSB Settings"
28
+ msgstr "SSB paramètres"
29
+
30
+ #: ../simple-social-buttons.php:463
31
+ msgid "Hide Simple Social Buttons"
32
+ msgstr "Cacher Simple Social Buttons"
33
+
34
+ #: ../ssb-admin.php:13
35
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
36
+ msgstr "<strong>Simple Social Buttons</strong>, par <strong>Paweł Rabinek</strong>. Cette extension ajoute des boutons de réseaux sociaux, comme <strong>Google +1</strong>, <strong>Facebook J'aime</strong> et <strong>Twitter</strong>. La plus flexible des extensions de boutons de réseaux sociaux !"
37
+
38
+ #: ../ssb-admin.php:68
39
+ msgid "Select buttons"
40
+ msgstr "Choisir les boutons"
41
+
42
+ #: ../ssb-admin.php:70
43
+ msgid "Select social media buttons:"
44
+ msgstr "Choisissez les boutons de réseaux sociaux :"
45
+
46
+ #: ../ssb-admin.php:76
47
+ #: ../ssb-admin.php:90
48
+ #: ../ssb-admin.php:105
49
+ msgid "inactive"
50
+ msgstr "inactives"
51
+
52
+ #: ../ssb-admin.php:84
53
+ msgid "Google plus one (+1)"
54
+ msgstr "Google plus un (+1)"
55
+
56
+ #: ../ssb-admin.php:98
57
+ msgid "Facebook Like it"
58
+ msgstr "Facebook J'aime"
59
+
60
+ #: ../ssb-admin.php:113
61
+ msgid "Twitter share"
62
+ msgstr "Partage twitter"
63
+
64
+ #: ../ssb-admin.php:116
65
+ msgid "Disable plugin CSS (only advanced users)"
66
+ msgstr ""
67
+
68
+ #: ../ssb-admin.php:121
69
+ msgid "Single posts - display settings"
70
+ msgstr "Articles seuls - paramètres d'affichages"
71
+
72
+ #: ../ssb-admin.php:123
73
+ msgid "Place buttons on single post:"
74
+ msgstr "Placer les boutons sur un article seul :"
75
+
76
+ #: ../ssb-admin.php:124
77
+ #: ../ssb-admin.php:148
78
+ msgid "Before the content"
79
+ msgstr "Avant le contenu"
80
+
81
+ #: ../ssb-admin.php:125
82
+ #: ../ssb-admin.php:149
83
+ msgid "After the content"
84
+ msgstr "Après le contenu"
85
+
86
+ #: ../ssb-admin.php:130
87
+ msgid "Single pages - display settings"
88
+ msgstr "Pages - paramètres d'affichage"
89
+
90
+ #: ../ssb-admin.php:132
91
+ msgid "Place buttons on single pages:"
92
+ msgstr "Placer les boutons sur les pages :"
93
+
94
+ #: ../ssb-admin.php:133
95
+ msgid "Before the page content"
96
+ msgstr "Avant le contenu de la page"
97
+
98
+ #: ../ssb-admin.php:134
99
+ msgid "After the page content"
100
+ msgstr "Après le contenu de la page"
101
+
102
+ #: ../ssb-admin.php:139
103
+ msgid "Archives - display settings"
104
+ msgstr "Archives - paramètres d'affichage"
105
+
106
+ #: ../ssb-admin.php:141
107
+ msgid "Select additional places to display buttons:"
108
+ msgstr "Choisissez une place supplémentaire pour afficher les boutons :"
109
+
110
+ #: ../ssb-admin.php:142
111
+ msgid "Show at frontpage"
112
+ msgstr "Afficher sur la page principale"
113
+
114
+ #: ../ssb-admin.php:143
115
+ msgid "Show at category pages"
116
+ msgstr "Afficher sur les pages de catégories"
117
+
118
+ #: ../ssb-admin.php:144
119
+ msgid "Show at archive pages"
120
+ msgstr "Afficher sur les pages d'archives"
121
+
122
+ #: ../ssb-admin.php:145
123
+ msgid "Show at tag pages"
124
+ msgstr "Affichers sur les pages de tags"
125
+
126
+ #: ../ssb-admin.php:147
127
+ msgid "Place buttons on archives:"
128
+ msgstr "Placer les boutons sur les archives :"
129
+
130
+ #: ../ssb-admin.php:155
131
+ #, fuzzy
132
+ msgid "Save Changes"
133
+ msgstr "Enregistrer les changement"
134
+
135
+ #: ../ssb-admin.php:165
136
+ msgid "About this plugin:"
137
+ msgstr "À propos de cette extension"
138
+
139
+ #: ../ssb-admin.php:167
140
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
141
+ msgstr "Parlez à <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> sur Twitter pour signaler les bugs ou demander des ajouts."
142
+
143
+ #: ../ssb-admin.php:168
144
+ msgid "Enjoy the plugin?"
145
+ msgstr "Cette extension vous plaît ?"
146
+
147
+ #: ../ssb-admin.php:169
148
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
149
+ msgstr "<a href=\"http://twitter.com/?status=J'utilise @rabinek - WordPress Simple Social Buttons ! http://blog.rabinek.pl/\" target=\"_blank\">Twittez cette info</a> et n'hésitez pas à faire un don !"
150
+
151
+ #: ../ssb-admin.php:170
152
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
153
+ msgstr "<strong>Faire un don :</strong> Faire une extension demande beaucoup de travail - aidez les développeurs à améliorer leur travail. Merci !"
154
+
155
+ #: ../ssb-admin.php:182
156
+ msgid "About the author:"
157
+ msgstr "À propos de l'auteur :"
158
+
159
+ #: ../ssb-admin.php:184
160
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
161
+ msgstr "Salut ! Mon nom est Paweł Rabinek (surnommé xradar). Je m'intéresse beaucoup au référencement et aux réseaux sociaux, au développement PHP et pour WordPress."
162
+
163
+ #: ../ssb-admin.php:186
164
+ msgid "My blog about SEO"
165
+ msgstr "Mon blog sur le référencement (SEO)"
166
+
167
+ #: ../ssb-admin.php:186
168
+ msgid "[Polish]"
169
+ msgstr " "
170
+
171
+ #: ../ssb-admin.php:187
172
+ msgid "Follow me on Twitter"
173
+ msgstr "Suivez-moi sur twitter !"
174
+
175
+ #: ../ssb-admin.php:188
176
+ msgid "Paweł Rabinek on Facebook"
177
+ msgstr "Paweł Rabinek sur Facebook"
178
+
179
+ #: ../ssb-admin.php:189
180
+ msgid "Paweł Rabinek on Google Plus"
181
+ msgstr "Paweł Rabinek sur Google Plus"
182
+
183
+ #: ../ssb-admin.php:190
184
+ msgid "LinkedIn profile"
185
+ msgstr "Profil LinkedIn"
186
+
187
+ #: ../ssb-admin.php:196
188
+ msgid "Usefull links:"
189
+ msgstr "Liens utiles :"
190
+
191
+ #: ../ssb-admin.php:199
192
+ msgid "Unlimited web hosting"
193
+ msgstr "Hébergement web illimité"
194
+
195
+ #: ../ssb-admin.php:200
196
+ msgid "Best SEO software"
197
+ msgstr "Meilleur logiciel de référencement"
198
+
199
+ #: ../ssb-admin.php:201
200
+ msgid "Wordpress templates"
201
+ msgstr "Thèmes pour WordPress"
202
+
203
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
204
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
tags/1.4/lang/simplesocialbuttons-pl_PL.mo ADDED
Binary file
tags/1.4/lang/simplesocialbuttons-pl_PL.po ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-01 11:16+0100\n"
6
+ "PO-Revision-Date: 2012-02-01 11:16+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Paweł Rabinek <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: Polish\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-SearchPath-0: ..\n"
17
+
18
+ #: ../simple-social-buttons.php:424
19
+ #: ../ssb-admin.php:11
20
+ msgid "Settings"
21
+ msgstr "Ustawienia"
22
+
23
+ #: ../simple-social-buttons.php:452
24
+ msgid "SSB Settings"
25
+ msgstr "Ustawienia SSB"
26
+
27
+ #: ../simple-social-buttons.php:463
28
+ msgid "Hide Simple Social Buttons"
29
+ msgstr "Ukryj przyciski wtyczki Simple Social Buttons"
30
+
31
+ #: ../ssb-admin.php:13
32
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
33
+ msgstr "<strong>Simple Social Buttons</strong>, autor <strong>Paweł Rabinek</strong>. Wtyczka dodaje do wpisów przyciski: <strong>Google +1</strong>, <strong>Facebook Lubię to</strong> oraz <strong>Twitter</strong>. Najlepsza wtyczka z przyciskami social media dla Wordpress."
34
+
35
+ #: ../ssb-admin.php:68
36
+ msgid "Select buttons"
37
+ msgstr "Wybór przycisków"
38
+
39
+ #: ../ssb-admin.php:70
40
+ msgid "Select social media buttons:"
41
+ msgstr "Wybierz przyciski do wyświetlenia:"
42
+
43
+ #: ../ssb-admin.php:76
44
+ #: ../ssb-admin.php:90
45
+ #: ../ssb-admin.php:105
46
+ msgid "inactive"
47
+ msgstr "nieaktywny"
48
+
49
+ #: ../ssb-admin.php:84
50
+ msgid "Google plus one (+1)"
51
+ msgstr "Google plus jeden (+1)"
52
+
53
+ #: ../ssb-admin.php:98
54
+ msgid "Facebook Like it"
55
+ msgstr "Facebook Lubię to"
56
+
57
+ #: ../ssb-admin.php:113
58
+ msgid "Twitter share"
59
+ msgstr "Wyślij na Twitter"
60
+
61
+ #: ../ssb-admin.php:116
62
+ msgid "Disable plugin CSS (only advanced users)"
63
+ msgstr "Wyłącz style CSS wtyczki (tylko dla zaawansowanych użytkowników)"
64
+
65
+ #: ../ssb-admin.php:121
66
+ msgid "Single posts - display settings"
67
+ msgstr "Pojedyńcze wpisy - ustawienia"
68
+
69
+ #: ../ssb-admin.php:123
70
+ msgid "Place buttons on single post:"
71
+ msgstr "Miejsce przycisków na podstronie wpisu:"
72
+
73
+ #: ../ssb-admin.php:124
74
+ #: ../ssb-admin.php:148
75
+ msgid "Before the content"
76
+ msgstr "Nad treścią wpisu"
77
+
78
+ #: ../ssb-admin.php:125
79
+ #: ../ssb-admin.php:149
80
+ msgid "After the content"
81
+ msgstr "Pod treścią wpisu"
82
+
83
+ #: ../ssb-admin.php:130
84
+ msgid "Single pages - display settings"
85
+ msgstr "Pojedyńcze strony - ustawienia"
86
+
87
+ #: ../ssb-admin.php:132
88
+ msgid "Place buttons on single pages:"
89
+ msgstr "Miejsce przycisków na stronach:"
90
+
91
+ #: ../ssb-admin.php:133
92
+ msgid "Before the page content"
93
+ msgstr "Nad treścią strony"
94
+
95
+ #: ../ssb-admin.php:134
96
+ msgid "After the page content"
97
+ msgstr "Pod treścią strony"
98
+
99
+ #: ../ssb-admin.php:139
100
+ msgid "Archives - display settings"
101
+ msgstr "Archiwa - ustawienia"
102
+
103
+ #: ../ssb-admin.php:141
104
+ msgid "Select additional places to display buttons:"
105
+ msgstr "Dodatkowe miejsca do wyświetlenia przycisków:"
106
+
107
+ #: ../ssb-admin.php:142
108
+ msgid "Show at frontpage"
109
+ msgstr "Pokazuj na stronie głównej"
110
+
111
+ #: ../ssb-admin.php:143
112
+ msgid "Show at category pages"
113
+ msgstr "Pokazuj na stroniach kategorii"
114
+
115
+ #: ../ssb-admin.php:144
116
+ msgid "Show at archive pages"
117
+ msgstr "Pokazuje w archiwum dat"
118
+
119
+ #: ../ssb-admin.php:145
120
+ msgid "Show at tag pages"
121
+ msgstr "Pokazuj na stronach tagów"
122
+
123
+ #: ../ssb-admin.php:147
124
+ msgid "Place buttons on archives:"
125
+ msgstr "Miejsce przycisków na stronach archiwum:"
126
+
127
+ #: ../ssb-admin.php:155
128
+ msgid "Save Changes"
129
+ msgstr "Zapisz ustawienia"
130
+
131
+ #: ../ssb-admin.php:165
132
+ msgid "About this plugin:"
133
+ msgstr "Informacje o wtyczce:"
134
+
135
+ #: ../ssb-admin.php:167
136
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
137
+ msgstr "Napisz do mnie <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> na Twitterze, jeżeli znalazłeś błąd lub masz pomysł na ulepszenie wtyczki."
138
+
139
+ #: ../ssb-admin.php:168
140
+ msgid "Enjoy the plugin?"
141
+ msgstr "Podoba Ci się wtyczka?"
142
+
143
+ #: ../ssb-admin.php:169
144
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
145
+ msgstr "<a href=\"http://twitter.com/?status=Używam wtyczki do Wordpressa od @rabinek - WordPress Simple Social Buttons! http://blog.rabinek.pl/\" target=\"_blank\">Powiedz o niej na Twitterze</a> i rozważ wsparcie dla tej wtyczki (poniżej)."
146
+
147
+ #: ../ssb-admin.php:170
148
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
149
+ msgstr "<strong>Wsparcie:</strong> Wiele pracy trzeba włożyć w napisanie takiej wtyczki. Jeżeli korzystasz z niej i podoba Ci się, postaw mi piwo klikając Donate."
150
+
151
+ #: ../ssb-admin.php:182
152
+ msgid "About the author:"
153
+ msgstr "Informacje o autorze:"
154
+
155
+ #: ../ssb-admin.php:184
156
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
157
+ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar). Zawodowo zajmuje się SEO i mediami społecznościowymi. Programuję w PHP, często z wykorzystaniem Wordpressa."
158
+
159
+ #: ../ssb-admin.php:186
160
+ msgid "My blog about SEO"
161
+ msgstr "Mój blog o SEO"
162
+
163
+ #: ../ssb-admin.php:186
164
+ msgid "[Polish]"
165
+ msgstr " "
166
+
167
+ #: ../ssb-admin.php:187
168
+ msgid "Follow me on Twitter"
169
+ msgstr "Napisz do mnie na Twitter"
170
+
171
+ #: ../ssb-admin.php:188
172
+ msgid "Paweł Rabinek on Facebook"
173
+ msgstr "Paweł Rabinek na Facebook"
174
+
175
+ #: ../ssb-admin.php:189
176
+ msgid "Paweł Rabinek on Google Plus"
177
+ msgstr "Paweł Rabinek na Google Plus"
178
+
179
+ #: ../ssb-admin.php:190
180
+ msgid "LinkedIn profile"
181
+ msgstr "Profil na LinkedIn"
182
+
183
+ #: ../ssb-admin.php:196
184
+ msgid "Usefull links:"
185
+ msgstr "Przydatne linki:"
186
+
187
+ #: ../ssb-admin.php:199
188
+ msgid "Unlimited web hosting"
189
+ msgstr "Nielimitowany hosting stron"
190
+
191
+ #: ../ssb-admin.php:200
192
+ msgid "Best SEO software"
193
+ msgstr "Najlepsze oprogramowanie SEO"
194
+
195
+ #: ../ssb-admin.php:201
196
+ msgid "Wordpress templates"
197
+ msgstr "Szablony do Wordpress"
198
+
199
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
200
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
tags/1.4/readme.txt ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Plugin Name ===
2
+ Contributors: xradar
3
+ Donate link: http://blog.rabinek.pl/
4
+ Tags: facebook, google, twitter, plus one, like it, like, share
5
+ Requires at least: 2.8
6
+ Tested up to: 3.3.1
7
+ Stable tag: 1.4
8
+
9
+ Insert and customize social buttons: Facebook Like it, Google plus +1 and Twitter share. Share your content with friends.
10
+
11
+ == Description ==
12
+
13
+ Simple Social Buttons adds to your posts social network buttons, such as: **Facebook "Like it!"**, **Google plus on "+1"** and **Twitter share**. Plugin is fully customizable. You can decide where to put those buttons:
14
+
15
+ - Buttons above the post content
16
+ - Buttons under the post content
17
+ - Buttons above and under the post
18
+
19
+ That's not all. Simple Social Buttons can also add social media buttons to:
20
+
21
+ - Static Pages
22
+ - Front Page
23
+ - Posts Categories
24
+ - Date Archives
25
+ - Tags Archives
26
+
27
+ Want's more? Now you can change the **order of buttons** on your post!
28
+
29
+ Let your visitors share your content with friends and let them **promote your blog**. Facebook, Google Plus and Twitter are the most popular social networks nowadays. Don't miss the opportunity, and help publish your content and links to those social media networks.
30
+
31
+ Simple Social Buttons is currently in the following languages:
32
+
33
+ - English
34
+ - French
35
+ - Polish
36
+ - German
37
+ - Spanish
38
+
39
+ Feel free if you want to create a translation of this plugin. Contact me via e-mail or Twitter [@rabinek](https://twitter.com/rabinek "Paweł Rabinek on Twitter"), and I'll add your's translation to Simple Social Buttons.
40
+
41
+ For more information about Wordpress and SEO, visit my [SEO Blog](http://blog.rabinek.pl "Paweł Rabinek - Blog SEO") (in polish).
42
+ Also check my new SEO tool [SEO Audit](http://www.seoptimer.com "Free SEO Audit tool").
43
+
44
+ Big thanks for support in development of this plugin for:
45
+
46
+ - Karol from [Liga BBVA](http://www.ligabbva.pl "Liga hiszpańska BBVA") for PHP developement
47
+ - Talem Technologies - [Pozycjonowanie Bydgoszcz](http://www.talem.eu "SEO Pozycjonowanie Bydgoszcz") for time and resources
48
+ - See more thanks in FAQ section
49
+
50
+ == Installation ==
51
+
52
+ 1. Download the latest version of Simple Social Buttons
53
+ 2. Upload folder named simple-social-buttons to the /wp-content/plugins/ directory
54
+ 3. Activate the plugin through the 'Plugins' menu in WordPress
55
+ 4. (Optional) Customize the buttons in the Settings > Simple Social Buttons menu
56
+
57
+ That's it. Buttons will show on your blog posts.
58
+
59
+ You can also use this plugin directly in your template by function `<?php get_ssb([$order]); ?>`, where `$order` is a string with args ( example: `$order = "googleplus=1&fblike=2&twitter=3"` ) or an array ( example: `$order = array('googleplus' => 1, 'fblike' => 2, 'twitter' => 3)` ). If you would like to hide a specified button, you should set order to "0".
60
+
61
+
62
+ == Frequently Asked Questions ==
63
+
64
+ = Is the plugin free? =
65
+
66
+ Yes, it's free. I hope you like it :) If so you can buy me a coffee by doing paypal donate.
67
+
68
+ = Is the plug will be developed? =
69
+
70
+ Yes. I've some plans about developing Simple Social Buttons. There will be more buttons, more customization, and more powerfull! Follow me on Twitter [@rabinek](http://twitter.com/rabinek "Paweł Rabinek na Twitter") and stay tuned.
71
+
72
+ = Why use this plugin? =
73
+
74
+ This plugin automatically adds the Facebook Like button, Google plus one +1 and Twitter share button for each post on your blog. This is the simples and effective way to promote your blog in social media networks.
75
+
76
+ = How about support? =
77
+
78
+ Follow me at Twitter [@rabinek](http://twitter.com/rabinek "Paweł Rabinek na Twitter") or send me a mention. I'll reply as soon as I get it. You can also visit my [SEO Blog](http://blog.rabinek.pl "Paweł Rabinek - Blog SEO") (in polish).
79
+
80
+ = Is there a template tag for custom install? =
81
+
82
+ Yes, you can use `<?php get_ssb(); ?>` in your template file (see installation section). Default instalation don't require that.
83
+
84
+ = Who helped to improve Simple Social Buttons? =
85
+
86
+ **Big thanks to:**
87
+
88
+ - [@RhooManu](http://twitter.com/RhooManu "RhooManu on Twitter") for french translation
89
+ - [Usability Idealist](http://usability-idealist.de/ "Fabian Wolf - Usability Idealist") for converting code to object-oriented, adding buttons order and many fixes
90
+ - [@Dennis Schreiber](http://twitter.com/flammbar "Dennis Schreiber on Twitter") for german translation
91
+ - Marcos González for spanish translation
92
+
93
+ == Screenshots ==
94
+
95
+ 1. Simple Social Buttons - plugin options
96
+ 2. Plugin example
97
+ 3. Plugin on archive
98
+ 4. Widget in post edition
99
+
100
+
101
+ == Changelog ==
102
+
103
+ = 1.0 =
104
+ * First stable release.
105
+
106
+ = 1.1 =
107
+ * Added french translation
108
+ * Added language support in Facebook and Google+ JavaScript
109
+
110
+ = 1.2.1 =
111
+ * Optimized settings storage
112
+
113
+ = 1.3 =
114
+ * Converted plugin to class (requires PHP 5, because it is using the constructor auto-method)
115
+ * Added sorting options
116
+ * Added uninstall hook
117
+ * Fixed plugin settings slot not being highlighted in the admin navigation / general settings
118
+ * Added "disable regular CSS" option to let advanced users use their own CSS code
119
+ * Lots of fine-tuning
120
+
121
+ = 1.4 =
122
+ * Added custom meta to disable SSB plugin on sigle page/post (managed in admin menu)
123
+ * Function get_ssb() to directly use in template to show Simple Social Buttons in specified order
124
+ * Widget manage page in wp-admin available only for Administrator
125
+ * Added German and Spanish translation
126
+ * Fine-tuning
tags/1.4/screenshot-1.png ADDED
Binary file
tags/1.4/screenshot-2.png ADDED
Binary file
tags/1.4/screenshot-3.jpg ADDED
Binary file
tags/1.4/screenshot-4.png ADDED
Binary file
tags/1.4/simple-social-buttons.php ADDED
@@ -0,0 +1,537 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: Simple Social Buttons
4
+ Plugin URI: http://blog.rabinek.pl/simple-social-buttons-wordpress/
5
+ Description: Insert social buttons into posts and archives: Facebook "Like it", Google Plus One "+1" and Twitter share.
6
+ Author: Paweł Rabinek
7
+ Version: 1.3
8
+ Author URI: http://blog.rabinek.pl/
9
+ */
10
+
11
+ /* Copyright 2011, Paweł Rabinek (xradar) (email : pawel@rabinek.pl)
12
+
13
+ This program is free software; you can redistribute it and/or modify
14
+ it under the terms of the GNU General Public License, version 2, as
15
+ published by the Free Software Foundation.
16
+
17
+ This program is distributed in the hope that it will be useful,
18
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
19
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
+ GNU General Public License for more details.
21
+
22
+ You should have received a copy of the GNU General Public License
23
+ along with this program; if not, write to the Free Software
24
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
+ */
26
+
27
+ /**
28
+ * HACK: Converted to class, added buttons ordering, improve saving settings
29
+ * @author Fabian Wolf
30
+ * @link http://usability-idealist.de/
31
+ * @since 1.3
32
+ * @requires PHP 5
33
+ */
34
+
35
+
36
+ class SimpleSocialButtonsPR {
37
+ var $pluginName = 'Simple Social Buttons';
38
+ var $pluginVersion = '1.4';
39
+ var $pluginPrefix = 'ssb_pr_';
40
+ var $hideCustomMetaKey = '_ssb_hide';
41
+
42
+ // plugin default settings
43
+ var $pluginDefaultSettings = array(
44
+ 'googleplus' => '1',
45
+ 'fblike' => '2',
46
+ 'twitter' => '3',
47
+ 'beforepost' => '1',
48
+ 'afterpost' => '0',
49
+ 'beforepage' => '1',
50
+ 'afterpage' => '0',
51
+ 'beforearchive' => '0',
52
+ 'afterarchive' => '0'
53
+ );
54
+
55
+ // defined buttons
56
+ var $arrKnownButtons = array('fblike', 'googleplus', 'twitter');
57
+
58
+
59
+ /**
60
+ * Constructor
61
+ */
62
+ function __construct() {
63
+ register_activation_hook( __FILE__, array(&$this, 'plugin_install') );
64
+ register_deactivation_hook( __FILE__, array(&$this, 'plugin_uninstall') );
65
+
66
+ /**
67
+ * Action hooks
68
+ */
69
+ add_action( 'create_ssb', array(&$this, 'direct_display'), 10 , 1);
70
+
71
+ /**
72
+ * basic init
73
+ */
74
+ add_action( 'init', array(&$this, 'plugin_init') );
75
+
76
+ // get settings
77
+ $currentSettings = $this->get_settings();
78
+
79
+ // social JS + CSS data
80
+ add_action( 'wp_footer', array(&$this, 'include_social_js') );
81
+ if(!isset($currentSettings['override_css'])) {
82
+ add_action( 'wp_head', array(&$this, 'include_css') );
83
+ }
84
+
85
+ /**
86
+ * Filter hooks
87
+ */
88
+ add_filter( 'the_content', array(&$this, 'insert_buttons') );
89
+ add_filter( 'the_excerpt', array(&$this, 'insert_buttons') );
90
+ }
91
+
92
+ function plugin_init() {
93
+ load_plugin_textdomain( 'simplesocialbuttons', '', dirname( plugin_basename( __FILE__ ) ).'/lang' );
94
+ }
95
+
96
+ /**
97
+ * Both avoids time-wasting https calls AND provides better SSL-protection if the current server is accessed using HTTPS
98
+ */
99
+ public function get_current_http( $echo = true ) {
100
+ $return = 'http' . (strtolower($_SERVER['HTTPS']) == 'on' ? 's' : '') . '://';
101
+
102
+ if($echo != false) {
103
+ echo $return;
104
+ return;
105
+ }
106
+
107
+ return $return;
108
+ }
109
+
110
+ function include_social_js($force_include = false) {
111
+ $lang = get_bloginfo('language');
112
+ $lang_g = strtolower(substr($lang, 0, 2));
113
+ $lang_fb = str_replace('-', '_', $lang);
114
+
115
+ /**
116
+ * Disable loading of social network JS if disabled for specific post type
117
+ *
118
+ * NOTE: Conditional tags seem to work only AFTER the page has loaded, thus the code has been added here instead of at the plugin init
119
+ * @author Fabian Wolf
120
+ * @link http://usability-idealist.de/
121
+ * @date Di 20. Dez 17:50:01 CET 2011
122
+ */
123
+ if($this->where_to_insert() != false || $force_include == true) {
124
+ ?>
125
+
126
+ <!-- Simple Social Buttons plugin -->
127
+ <script type="text/javascript" src="<?php $this->get_current_http(); ?>apis.google.com/js/plusone.js">
128
+ //<![CDATA[
129
+ {lang: '<?php echo $lang_g; ?>'}
130
+ //]]>
131
+ </script>
132
+ <script type="text/javascript" src="<?php $this->get_current_http(); ?>platform.twitter.com/widgets.js"></script>
133
+ <script type="text/javascript" src="<?php $this->get_current_http(); ?>connect.facebook.net/<?php echo $lang_fb; ?>/all.js#xfbml=1"></script>
134
+ <!-- /End of Simple Social Buttons -->
135
+
136
+ <?php
137
+ }
138
+ }
139
+
140
+
141
+ function include_css() {
142
+ ?>
143
+
144
+ <!-- Simple Social Buttons style sheet -->
145
+ <style type="text/css">
146
+ div.simplesocialbuttons { height: 20px; margin: 10px auto 10px 0; text-align: center; clear: left; }
147
+ div.simplesocialbutton { float: left; text-align: center;}
148
+ </style>
149
+ <!-- End of Simple Social Buttons -->
150
+
151
+ <?php
152
+ }
153
+
154
+ /**
155
+ * Called when installing = activating the plugin
156
+ */
157
+ function plugin_install() {
158
+ $defaultSettings = $this->check_old_settings();
159
+
160
+ /**
161
+ * @see http://codex.wordpress.org/Function_Reference/add_option
162
+ * @param string $name Name of the option to be added. Use underscores to separate words, and do not use uppercase - this is going to be placed into the database.
163
+ * @param mixed $value Value for this option name. Limited to 2^32 bytes of data.
164
+ * @param string $deprecated Deprecated in WordPress Version 2.3.
165
+ * @param string $autoload Should this option be automatically loaded by the function wp_load_alloptions() (puts options into object cache on each page load)? Valid values: yes or no. Default: yes
166
+ */
167
+ add_option( $this->pluginPrefix . 'settings', $defaultSettings, '', 'yes' );
168
+ add_option( $this->pluginPrefix . 'version', $this->pluginVersion, '', 'yes' ); // for backward-compatiblity checks
169
+
170
+ }
171
+
172
+ /**
173
+ * Backward compatiblity for newer versions
174
+ */
175
+ function check_old_settings() {
176
+ $return = $this->pluginDefaultSettings;
177
+
178
+ $oldSettings = get_option( $this->pluginPrefix . 'settings', array() );
179
+
180
+ if( !empty($oldSettings) && is_array($oldSettings) != false) {
181
+ $return = wp_parse_args( $oldSettings, $this->pluginDefaultSettings );
182
+ }
183
+
184
+ return $return;
185
+ }
186
+
187
+ /**
188
+ * Plugin unistall and database clean up
189
+ */
190
+ function plugin_uninstall() {
191
+ if( !defined( 'ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') ) {
192
+ exit();
193
+ }
194
+
195
+ delete_option( $this->pluginPrefix . 'settings' );
196
+ delete_option( $this->pluginPrefix . 'version' );
197
+
198
+ }
199
+
200
+
201
+ /**
202
+ * Get settings from database
203
+ */
204
+ public function get_settings() {
205
+ $return = get_option($this->pluginPrefix . 'settings' );
206
+ if(empty($return) != false) {
207
+ $return = $this->pluginDefaultSettings;
208
+ }
209
+
210
+ return $return;
211
+ }
212
+
213
+ /**
214
+ * Update settings
215
+ */
216
+ function update_settings( $newSettings = array() ) {
217
+ $return = false;
218
+
219
+ // compile settings
220
+ $currentSettings = $this->get_settings();
221
+
222
+ /**
223
+ * Compile settings array
224
+ * @see http://codex.wordpress.org/Function_Reference/wp_parse_args
225
+ * @param mixed $args
226
+ * @param mixed $defaults
227
+ */
228
+ $updatedSettings = wp_parse_args( $newSettings, $currentSettings );
229
+
230
+ if($currentSettings != $updatedSettings ) {
231
+ $return = update_option( $this->pluginPrefix . 'settings', $newSettings );
232
+ }
233
+
234
+ return $return;
235
+ }
236
+
237
+ /**
238
+ * Returns true on pages where buttons should be shown
239
+ */
240
+ function where_to_insert() {
241
+ $return = false;
242
+
243
+ // get settings from database
244
+ $settings = $this->get_settings();
245
+
246
+ extract( $settings, EXTR_PREFIX_ALL, 'ssb' );
247
+
248
+ // display on single post?
249
+ if(is_single() && ($ssb_beforepost || $ssb_afterpost) && array_shift(get_post_meta(get_the_ID(), $this->hideCustomMetaKey)) != 'true') {
250
+ $return = true;
251
+ }
252
+
253
+ // display on single page?
254
+ if(is_page() && ($ssb_beforepage || $ssb_afterpage) && array_shift(get_post_meta(get_the_ID(), $this->hideCustomMetaKey)) != 'true') {
255
+ $return = true;
256
+ }
257
+
258
+ // display on frontpage?
259
+ if((is_front_page() || is_home()) && $ssb_showfront) {
260
+ $return = true;
261
+ }
262
+
263
+ // display on category archive?
264
+ if(is_category() && $ssb_showcategory) {
265
+ $return = true;
266
+ }
267
+
268
+ // display on date archive?
269
+ if(is_date() && $ssb_showarchive)
270
+ {
271
+ $return = true;
272
+ }
273
+
274
+ // display on tag archive?
275
+ if(is_tag() && $ssb_showtag) {
276
+ $return = true;
277
+ }
278
+ return $return;
279
+ }
280
+
281
+ /**
282
+ * Insert the buttons to the content
283
+ */
284
+ function insert_buttons($content) {
285
+ // Insert or not?
286
+ if(!$this->where_to_insert() ) {
287
+ return $content;
288
+ }
289
+
290
+ // get settings from database
291
+ $settings = $this->get_settings();
292
+
293
+ extract( $settings, EXTR_PREFIX_ALL, 'ssb' );
294
+
295
+ // creating order
296
+ $order = array();
297
+ foreach ($this->arrKnownButtons as $button_name) {
298
+ $order[$button_name] = $settings[$button_name];
299
+ }
300
+ $ssb_buttonscode = $this->generate_buttons_code($order);
301
+
302
+ if(is_single()) {
303
+ if($ssb_beforepost) {
304
+ $content = $ssb_buttonscode.$content;
305
+ }
306
+ if($ssb_afterpost) {
307
+ $content = $content.$ssb_buttonscode;
308
+ }
309
+ } else if(is_page()) {
310
+ if($ssb_beforepage) {
311
+ $content = $ssb_buttonscode.$content;
312
+ }
313
+ if($ssb_afterpage) {
314
+ $content = $content.$ssb_buttonscode;
315
+ }
316
+ } else {
317
+ if($ssb_beforearchive) {
318
+ $content = $ssb_buttonscode.$content;
319
+ }
320
+ if($ssb_afterarchive) {
321
+ $content = $content.$ssb_buttonscode;
322
+ }
323
+ }
324
+
325
+ return $content;
326
+
327
+ }
328
+
329
+ function direct_display($order = null)
330
+ {
331
+ // Return false if hide SSB for this page/post is disabled
332
+ if (is_single() && array_shift(get_post_meta(get_the_ID(), $this->hideCustomMetaKey)) == 'true') return false;
333
+
334
+ // Display buttons and scripts
335
+ $buttons_code = $this->generate_buttons_code($order);
336
+ echo $buttons_code;
337
+ $this->include_social_js(true);
338
+ }
339
+
340
+ /**
341
+ * Generate buttons html code with specified order
342
+ *
343
+ * @param mixed $order - order of social buttons
344
+ */
345
+ function generate_buttons_code($order = null)
346
+ {
347
+ foreach ($this->arrKnownButtons as $button_name) {
348
+ $defaultOrder[$button_name] = $this->pluginDefaultSettings[$button_name];
349
+ }
350
+
351
+ $order = wp_parse_args($order, $defaultOrder);
352
+
353
+ // define empty buttons code to use
354
+ $ssb_buttonscode = '';
355
+
356
+ // get post permalink and title
357
+ $permalink = get_permalink();
358
+ $title = get_the_title();
359
+
360
+ //Sorting the buttons
361
+ foreach($this->arrKnownButtons as $button_name) {
362
+ if(!empty($order[$button_name]) && (int)$order[$button_name] != 0) {
363
+ $arrButtons[$button_name] = $order[$button_name];
364
+ }
365
+ }
366
+ @asort($arrButtons);
367
+
368
+ $arrButtonsCode = array();
369
+ foreach($arrButtons as $button_name => $button_sort) {
370
+ switch($button_name) {
371
+ case 'googleplus':
372
+ $arrButtonsCode[] = '<div class="simplesocialbutton ssb-button-googleplus"><!-- Google Plus One--><g:plusone size="medium"></g:plusone></div>';
373
+ break;
374
+ case 'fblike':
375
+ $arrButtonsCode[] = '<div class="simplesocialbutton ssb-button-fblike"><!-- Facebook like--><div id="fb-root"></div><fb:like href="'.$permalink.'" send="false" layout="button_count" width="100" show_faces="false" action="like" font=""></fb:like></div>';
376
+ break;
377
+ case 'twitter':
378
+ $arrButtonsCode[] = '<div class="simplesocialbutton ssb-buttom-twitter"><!-- Twitter--><a name="twitter_share" data-count="horizontal" href="http://twitter.com/share" data-text="'.$title.'" data-url="'.$permalink.'" class="twitter-share-button" rel="nofollow"></a></div>';
379
+ break;
380
+ }
381
+ }
382
+
383
+ if(count($arrButtonsCode) > 0) {
384
+ $ssb_buttonscode = '<div class="simplesocialbuttons">'."\n";
385
+ $ssb_buttonscode .= implode("\n", $arrButtonsCode) . "\n";
386
+ $ssb_buttonscode .= '</div>'."\n";
387
+ }
388
+
389
+ return $ssb_buttonscode;
390
+ }
391
+ } // end class
392
+
393
+
394
+ /**
395
+ * Admin class
396
+ *
397
+ * Gets only initiated if this plugin is called inside the admin section ;)
398
+ */
399
+ class SimpleSocialButtonsPR_Admin extends SimpleSocialButtonsPR {
400
+
401
+ function __construct() {
402
+ parent::__construct();
403
+
404
+ add_action('admin_menu', array(&$this, 'admin_actions') );
405
+ add_action('add_meta_boxes', array(&$this, 'ssb_meta_box'));
406
+ add_action('save_post', array(&$this, 'ssb_save_meta'), 10, 2);
407
+
408
+ add_filter('plugin_action_links', array(&$this, 'plugin_action_links'), 10, 2 );
409
+ }
410
+
411
+ public function admin_actions() {
412
+ if (current_user_can('administrator'))
413
+ add_options_page('Simple Social Buttons ', 'Simple Social Buttons ', 1, 'simple-social-buttons', array(&$this, 'admin_page') );
414
+ }
415
+
416
+ public function admin_page() {
417
+ global $wpdb;
418
+
419
+ include dirname( __FILE__ ).'/ssb-admin.php';
420
+ }
421
+
422
+
423
+
424
+ public function plugin_action_links($links, $file) {
425
+ static $this_plugin;
426
+
427
+ if (!$this_plugin) {
428
+ $this_plugin = plugin_basename(__FILE__);
429
+ }
430
+
431
+ if ($file == $this_plugin) {
432
+ $settings_link = '<a href="' . get_bloginfo('wpurl') . '/wp-admin/options-general.php?page=simple-social-buttons">'.__('Settings', 'simplesocialbuttons').'</a>';
433
+ array_unshift($links, $settings_link);
434
+ }
435
+
436
+ return $links;
437
+ }
438
+
439
+ /**
440
+ * Register meta box to hide/show SSB plugin on single post or page
441
+ */
442
+ public function ssb_meta_box()
443
+ {
444
+ $postId = $_GET['post'];
445
+ $postType = get_post_type($postId);
446
+
447
+ if ($postType != 'page' && $postType != 'post') return false;
448
+
449
+ $currentSsbHide = get_post_custom_values($this->hideCustomMetaKey, $postId);
450
+ $currentSettings = $this->get_settings();
451
+
452
+ if ($currentSsbHide[0] == 'true') {
453
+ $checked = true;
454
+ } else {
455
+ $checked = false;
456
+ }
457
+
458
+ // Rendering meta box
459
+ if (!function_exists('add_meta_box')) include('includes/template.php');
460
+ add_meta_box('ssb_meta_box', __('SSB Settings', 'simplesocialbuttons'), array(&$this, 'render_ssb_meta_box'), $postType, 'side', 'default', array('type' => $postType, 'checked' => $checked));
461
+ }
462
+
463
+ /**
464
+ * Showing custom meta field
465
+ */
466
+ public function render_ssb_meta_box($post, $metabox)
467
+ {
468
+ wp_nonce_field( plugin_basename( __FILE__ ), 'ssb_noncename' );
469
+ ?>
470
+
471
+ <label for="<?php echo $this->hideCustomMetaKey;?>"><input type="checkbox" id="<?php echo $this->hideCustomMetaKey;?>" name="<?php echo $this->hideCustomMetaKey;?>" value="true" <?php if ($metabox['args']['checked']):?>checked="checked"<?php endif;?>/>&nbsp;<?php echo __('Hide Simple Social Buttons', 'simplesocialbuttons');?></label>
472
+
473
+ <?php
474
+ }
475
+
476
+
477
+ /**
478
+ * Saving custom meta value
479
+ */
480
+ public function ssb_save_meta($post_id, $post)
481
+ {
482
+ $postId = (int)$post_id;
483
+
484
+ // Verify if this is an auto save routine.
485
+ if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE )
486
+ return;
487
+
488
+ // Verify this came from the our screen and with proper authorization
489
+ if ( !wp_verify_nonce( $_POST['ssb_noncename'], plugin_basename( __FILE__ ) ) )
490
+ return;
491
+
492
+ // Check permissions
493
+ if ( 'page' == $_POST['post_type'] ) {
494
+ if ( !current_user_can( 'edit_page', $post_id ) )
495
+ return;
496
+ } else {
497
+ if ( !current_user_can( 'edit_post', $post_id ) )
498
+ return;
499
+ }
500
+
501
+ // Saving data
502
+ $newValue = (isset($_POST[$this->hideCustomMetaKey])) ? $_POST[$this->hideCustomMetaKey] : 'false';
503
+
504
+ update_post_meta($postId, $this->hideCustomMetaKey, $newValue);
505
+ }
506
+
507
+
508
+ } // end SimpleSocialButtonsPR_Admin
509
+
510
+ if(is_admin() ) {
511
+ $_ssb_pr = new SimpleSocialButtonsPR_Admin();
512
+ } else {
513
+ $_ssb_pr = new SimpleSocialButtonsPR();
514
+ }
515
+
516
+ /**
517
+ * Function to insert Simple Social Buttons directly in template.
518
+ *
519
+ * @param mixed $order - order of the buttons in array or string (parsed by wp_parse_args())
520
+ *
521
+ * @example 1 - use in template with default order
522
+ * get_ssb();
523
+ *
524
+ * @example 2 - use in template with specified order
525
+ * get_ssb('googleplus=3&fblike=2&twitter=1');
526
+ *
527
+ * @example 3 - hiding button by setting order to 0. By using code below googleplus button won't be displayed
528
+ * get_ssb('googleplus=0&fblike=1&twitter=2');
529
+ *
530
+ *
531
+ */
532
+ function get_ssb($order = null)
533
+ {
534
+ do_action('create_ssb', $order);
535
+ }
536
+
537
+ ?>
tags/1.4/ssb-admin.php ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="wrap">
2
+
3
+ <style type="text/css">
4
+ div.inside ul li {
5
+ line-height: 16px;
6
+ list-style-type: square;
7
+ margin-left: 15px;
8
+ }
9
+ </style>
10
+
11
+ <h2>Simple Social Buttons - <?php _e('Settings'); ?>:</h2>
12
+
13
+ <p><?php _e('<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever.', 'simplesocialbuttons'); ?></p>
14
+
15
+ <?php
16
+
17
+ if(strtolower($_POST['hiddenconfirm']) == 'y') {
18
+
19
+ /**
20
+ * Compile settings array
21
+ * @see http://codex.wordpress.org/Function_Reference/wp_parse_args
22
+ */
23
+
24
+ $updateSettings = array(
25
+ 'googleplus' => $_POST['ssb_googleplus'],
26
+ 'fblike' => $_POST['ssb_fblike'],
27
+ 'twitter' => $_POST['ssb_twitter'],
28
+
29
+ 'beforepost' => $_POST['ssb_beforepost'],
30
+ 'afterpost' => $_POST['ssb_afterpost'],
31
+ 'beforepage' => $_POST['ssb_beforepage'],
32
+ 'afterpage' => $_POST['ssb_afterpage'],
33
+ 'beforearchive' => $_POST['ssb_beforearchive'],
34
+ 'afterarchive' => $_POST['ssb_afterarchive'],
35
+
36
+ 'showfront' => $_POST['ssb_showfront'],
37
+ 'showcategory' => $_POST['ssb_showcategory'],
38
+ 'showarchive' => $_POST['ssb_showarchive'],
39
+ 'showtag' => $_POST['ssb_showtag'],
40
+
41
+ 'override_css' => $_POST['ssb_override_css'],
42
+ );
43
+
44
+ $this->update_settings( $updateSettings );
45
+
46
+ }
47
+
48
+ /**
49
+ * HACK: Use one big array instead of a bunchload of single options
50
+ * @author Fabian Wolf
51
+ * @link http://usability-idealist.de/
52
+ * @since 1.2.1
53
+ */
54
+
55
+ // get settings from database
56
+ $settings = $this->get_settings();
57
+
58
+ extract( $settings, EXTR_PREFIX_ALL, 'ssb' );
59
+
60
+ ?>
61
+
62
+
63
+ <div class="postbox-container" style="width:69%">
64
+ <div id="poststuff">
65
+ <form name="ssb_form" method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
66
+
67
+ <div class="postbox">
68
+ <h3><?php _e('Select buttons', 'simplesocialbuttons'); ?></h3>
69
+ <div class="inside">
70
+ <h4><?php _e('Select social media buttons:', 'simplesocialbuttons'); ?></h4>
71
+
72
+
73
+ <p><select name="ssb_googleplus" id="ssb_googleplus">
74
+ <option value=""<?php if(empty($ssb_googleplus) != false) {
75
+ ?>selected="selected"<?php
76
+ } ?>><?php _e('inactive', 'simplesocialbuttons'); ?></option>
77
+
78
+ <?php for($pos = 1; $pos < 4; $pos++) { ?>
79
+ <option value="<?php echo $pos; ?>"<?php if($ssb_googleplus == $pos) {
80
+ ?>selected="selected"<?php
81
+ } ?>> # <?php echo $pos; ?> </option>
82
+ <?php } ?>
83
+ </select> &nbsp;
84
+ <label for="ssb_googleplus"><?php _e('Google plus one (+1)', 'simplesocialbuttons'); ?></label></p>
85
+
86
+ <!-- fblike -->
87
+ <p><select name="ssb_fblike" id="ssb_fblike">
88
+ <option value=""<?php if(empty($ssb_fblike) != false) {
89
+ ?>selected="selected"<?php
90
+ } ?>><?php _e('inactive', 'simplesocialbuttons'); ?></option>
91
+
92
+ <?php for($pos = 1; $pos < 4; $pos++) { ?>
93
+ <option value="<?php echo $pos; ?>"<?php if($ssb_fblike == $pos) {
94
+ ?>selected="selected"<?php
95
+ } ?>> # <?php echo $pos; ?> </option>
96
+ <?php } ?>
97
+ </select> &nbsp;
98
+ <label for="ssb_fblike"><?php _e('Facebook Like it', 'simplesocialbuttons'); ?></label></p>
99
+ <!-- /fblike -->
100
+
101
+ <!-- twitter -->
102
+ <p><select name="ssb_twitter" id="ssb_twitter">
103
+ <option value=""<?php if(empty($ssb_twitter) != false) {
104
+ ?>selected="selected"<?php
105
+ } ?>><?php _e('inactive', 'simplesocialbuttons'); ?></option>
106
+
107
+ <?php for($pos = 1; $pos < 4; $pos++) { ?>
108
+ <option value="<?php echo $pos; ?>"<?php if($ssb_twitter == $pos) {
109
+ ?>selected="selected"<?php
110
+ } ?>> # <?php echo $pos; ?> </option>
111
+ <?php } ?>
112
+ </select> &nbsp;
113
+ <label for="ssb_twitter"><?php _e('Twitter share', 'simplesocialbuttons'); ?></label></p>
114
+ <!-- /twitter -->
115
+
116
+ <p><label for="ssb_override_css"><input type="checkbox" name="ssb_override_css" id="ssb_override_css" value="1" <?php if($ssb_override_css) { echo 'checked="checked"'; } ?>/> <?php _e('Disable plugin CSS (only advanced users)'); ?></label></p>
117
+ </div>
118
+ </div>
119
+
120
+ <div class="postbox">
121
+ <h3><?php _e('Single posts - display settings', 'simplesocialbuttons'); ?></h3>
122
+ <div class="inside">
123
+ <h4><?php _e('Place buttons on single post:', 'simplesocialbuttons'); ?></h4>
124
+ <p><input type="checkbox" name="ssb_beforepost" id="ssb_beforepost" value="1" <?php if(!empty($ssb_beforepost)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforepost"><?php _e('Before the content', 'simplesocialbuttons'); ?></label></p>
125
+ <p><input type="checkbox" name="ssb_afterpost" id="ssb_afterpost" value="1" <?php if(!empty($ssb_afterpost)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterpost"><?php _e('After the content', 'simplesocialbuttons'); ?></label></p>
126
+ </div>
127
+ </div>
128
+
129
+ <div class="postbox">
130
+ <h3><?php _e('Single pages - display settings', 'simplesocialbuttons'); ?></h3>
131
+ <div class="inside">
132
+ <h4><?php _e('Place buttons on single pages:', 'simplesocialbuttons'); ?></h4>
133
+ <p><input type="checkbox" name="ssb_beforepage" id="ssb_beforepage" value="1" <?php if(!empty($ssb_beforepage)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforepage"><?php _e('Before the page content', 'simplesocialbuttons'); ?></label></p>
134
+ <p><input type="checkbox" name="ssb_afterpage" id="ssb_afterpage" value="1" <?php if(!empty($ssb_afterpage)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterpage"><?php _e('After the page content', 'simplesocialbuttons'); ?></label></p>
135
+ </div>
136
+ </div>
137
+
138
+ <div class="postbox">
139
+ <h3><?php _e('Archives - display settings', 'simplesocialbuttons'); ?></h3>
140
+ <div class="inside">
141
+ <h4><?php _e('Select additional places to display buttons:', 'simplesocialbuttons'); ?></h4>
142
+ <p><input type="checkbox" name="ssb_showfront" id="ssb_showfront" value="1" <?php if(!empty($ssb_showfront)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showfront"><?php _e('Show at frontpage', 'simplesocialbuttons'); ?></label></p>
143
+ <p><input type="checkbox" name="ssb_showcategory" id="ssb_showcategory" value="1" <?php if(!empty($ssb_showcategory)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showcategory"><?php _e('Show at category pages', 'simplesocialbuttons'); ?></label></p>
144
+ <p><input type="checkbox" name="ssb_showarchive" id="ssb_showarchive" value="1" <?php if(!empty($ssb_showarchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showarchive"><?php _e('Show at archive pages', 'simplesocialbuttons'); ?></label></p>
145
+ <p><input type="checkbox" name="ssb_showtag" id="ssb_showtag" value="1" <?php if(!empty($ssb_showtag)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showtag"><?php _e('Show at tag pages', 'simplesocialbuttons'); ?></label></p>
146
+
147
+ <h4><?php _e('Place buttons on archives:', 'simplesocialbuttons'); ?></h4>
148
+ <p><input type="checkbox" name="ssb_beforearchive" id="ssb_beforearchive" value="1" <?php if(!empty($ssb_beforearchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforearchive"><?php _e('Before the content', 'simplesocialbuttons'); ?></label></p>
149
+ <p><input type="checkbox" name="ssb_afterarchive" id="ssb_afterarchive" value="1" <?php if(!empty($ssb_afterarchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterarchive"><?php _e('After the content', 'simplesocialbuttons'); ?></label></p>
150
+ </div>
151
+ </div>
152
+
153
+ <div class="submit">
154
+ <input type="hidden" name="hiddenconfirm" value="Y" />
155
+ <input type="submit" name="Submit" class="button-primary" value="<?php _e('Save Changes'); ?>" />
156
+ </div>
157
+
158
+ </form>
159
+ </div>
160
+ </div>
161
+
162
+ <div class="postbox-container" style="width:29%">
163
+ <div id="poststuff">
164
+ <div class="postbox">
165
+ <h3><?php _e('About this plugin:', 'simplesocialbuttons'); ?></h3>
166
+ <div class="inside">
167
+ <p><?php _e('Talk to <a href="http://twitter.com/rabinek" target="_blank">@rabinek</a> on twitter for bugs or feature requests.', 'simplesocialbuttons'); ?></p>
168
+ <p><strong><?php _e('Enjoy the plugin?', 'simplesocialbuttons'); ?></strong><br />
169
+ <?php _e('<a href="http://twitter.com/?status=I\'m using @rabinek\'s WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/" target="_blank">Tweet about it</a> and consider donating.', 'simplesocialbuttons'); ?></p>
170
+ <p><?php _e('<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!', 'simplesocialbuttons'); ?><br />
171
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
172
+ <input type="hidden" name="cmd" value="_s-xclick">
173
+ <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----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-----END PKCS7-----">
174
+ <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
175
+ <img alt="" border="0" src="https://www.paypalobjects.com/pl_PL/i/scr/pixel.gif" width="1" height="1">
176
+ </form>
177
+ </p>
178
+ </div>
179
+ </div>
180
+
181
+ <div class="postbox">
182
+ <h3><?php _e('About the author:', 'simplesocialbuttons'); ?></h3>
183
+ <div class="inside">
184
+ <p><?php _e('Hi! My name is Paweł Rabinek (aka xradar). I\'m interesed in SEO and social media, PHP and Wordpress developement.', 'simplesocialbuttons'); ?></p>
185
+ <ul>
186
+ <li><a href="http://blog.rabinek.pl/" target="_blank"><?php _e('My blog about SEO', 'simplesocialbuttons'); ?></a> <?php _e('[Polish]', 'simplesocialbuttons'); ?></li>
187
+ <li><?php _e('Follow me on Twitter', 'simplesocialbuttons'); ?> <a href="http://www.twitter.com/rabinek" target="_blank">@rabinek</a></li>
188
+ <li><a href="http://www.facebook.com/rabinek" target="_blank"><?php _e('Paweł Rabinek on Facebook', 'simplesocialbuttons'); ?></a></li>
189
+ <li><a href="http://plus.google.com/114311287272342088386/" target="_blank"><?php _e('Paweł Rabinek on Google Plus', 'simplesocialbuttons'); ?></a></li>
190
+ <li><a href="http://pl.linkedin.com/in/rabinek" target="_blank"><?php _e('LinkedIn profile', 'simplesocialbuttons'); ?></a></li>
191
+ </ul>
192
+ </div>
193
+ </div>
194
+
195
+ <div class="postbox">
196
+ <h3><?php _e('Usefull links:', 'simplesocialbuttons'); ?></h3>
197
+ <div class="inside">
198
+ <ul>
199
+ <li><a href="http://www.site5.com/in.php?id=53542" target="_blank"><?php _e('Unlimited web hosting', 'simplesocialbuttons'); ?></a></li>
200
+ <li><a href="http://www.webceo.com/cgi-bin/go/clickthru.cgi?id=xradar" target="_blank"><?php _e('Best SEO software', 'simplesocialbuttons'); ?></a></li>
201
+ <li><a href="http://themeforest.net?ref=xradar" target="_blank"><?php _e('Wordpress templates', 'simplesocialbuttons'); ?></a><li>
202
+ </ul>
203
+ </div>
204
+ </div>
205
+
206
+ </div>
207
+ </div>
208
+ </div>
tags/1.5/lang/simplesocialbuttons-de_DE.mo ADDED
Binary file
tags/1.5/lang/simplesocialbuttons-de_DE.po ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-01 11:19+0100\n"
6
+ "PO-Revision-Date: 2012-02-01 11:28+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Paweł Rabinek (DE: Dennis Schreiber) <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: German\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-Country: GERMANY\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ # Traduit par @RhooManu - www.infographizm.com
20
+ #: ../simple-social-buttons.php:424
21
+ #: ../ssb-admin.php:11
22
+ msgid "Settings"
23
+ msgstr "Einstellungen"
24
+
25
+ # Traduit par @RhooManu - www.infographizm.com
26
+ #: ../simple-social-buttons.php:452
27
+ msgid "SSB Settings"
28
+ msgstr "SSB einstellungen"
29
+
30
+ #: ../simple-social-buttons.php:463
31
+ msgid "Hide Simple Social Buttons"
32
+ msgstr "Verbergen Simple Social Buttons"
33
+
34
+ #: ../ssb-admin.php:13
35
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
36
+ msgstr "<strong>Simple Social Buttons</strong>, von <strong>Paweł Rabinek</strong>. Cette extension ajoute des boutons de réseaux sociaux, comme <strong>Google +1</strong>, <strong>Facebook J'aime</strong> et <strong>Twitter</strong>. La plus flexible des extensions de boutons de réseaux sociaux !"
37
+
38
+ #: ../ssb-admin.php:68
39
+ msgid "Select buttons"
40
+ msgstr "Buttons auswählen"
41
+
42
+ #: ../ssb-admin.php:70
43
+ msgid "Select social media buttons:"
44
+ msgstr "Wähle Social Media Buttons:"
45
+
46
+ #: ../ssb-admin.php:76
47
+ #: ../ssb-admin.php:90
48
+ #: ../ssb-admin.php:105
49
+ msgid "inactive"
50
+ msgstr "inaktiv"
51
+
52
+ #: ../ssb-admin.php:84
53
+ msgid "Google plus one (+1)"
54
+ msgstr "Google plus eins (+1)"
55
+
56
+ #: ../ssb-admin.php:98
57
+ msgid "Facebook Like it"
58
+ msgstr "Facebook gefällt mir"
59
+
60
+ #: ../ssb-admin.php:113
61
+ msgid "Twitter share"
62
+ msgstr "Twitter teilen"
63
+
64
+ #: ../ssb-admin.php:116
65
+ msgid "Disable plugin CSS (only advanced users)"
66
+ msgstr ""
67
+
68
+ #: ../ssb-admin.php:121
69
+ msgid "Single posts - display settings"
70
+ msgstr "Einzelne Beiträge - Display Einstellungen"
71
+
72
+ #: ../ssb-admin.php:123
73
+ msgid "Place buttons on single post:"
74
+ msgstr "Füge Buttons bei einzelnen Beitrag ein:"
75
+
76
+ #: ../ssb-admin.php:124
77
+ #: ../ssb-admin.php:148
78
+ msgid "Before the content"
79
+ msgstr "Vor dem Inhalt"
80
+
81
+ #: ../ssb-admin.php:125
82
+ #: ../ssb-admin.php:149
83
+ msgid "After the content"
84
+ msgstr "Nach dem Inhalt"
85
+
86
+ #: ../ssb-admin.php:130
87
+ msgid "Single pages - display settings"
88
+ msgstr "Einzelne Seiten - Display Einstellungen"
89
+
90
+ #: ../ssb-admin.php:132
91
+ msgid "Place buttons on single pages:"
92
+ msgstr "Füge die Buttons auf einzelnen Seiten ein:"
93
+
94
+ #: ../ssb-admin.php:133
95
+ msgid "Before the page content"
96
+ msgstr "Vor dem Seiteninhalt"
97
+
98
+ #: ../ssb-admin.php:134
99
+ msgid "After the page content"
100
+ msgstr "Nach dem Seiteninhalt"
101
+
102
+ #: ../ssb-admin.php:139
103
+ msgid "Archives - display settings"
104
+ msgstr "Archives - Display Einstellungen"
105
+
106
+ #: ../ssb-admin.php:141
107
+ msgid "Select additional places to display buttons:"
108
+ msgstr "Wähle weitere Orte um die Buttons anzuzeigen:"
109
+
110
+ #: ../ssb-admin.php:142
111
+ msgid "Show at frontpage"
112
+ msgstr "Zeige auf der Hauptseite"
113
+
114
+ #: ../ssb-admin.php:143
115
+ msgid "Show at category pages"
116
+ msgstr "Zeige in den Kategorien"
117
+
118
+ #: ../ssb-admin.php:144
119
+ msgid "Show at archive pages"
120
+ msgstr "Zeige bei Archiven"
121
+
122
+ #: ../ssb-admin.php:145
123
+ msgid "Show at tag pages"
124
+ msgstr "Zeige bei Stichworten"
125
+
126
+ #: ../ssb-admin.php:147
127
+ msgid "Place buttons on archives:"
128
+ msgstr "Zeige Buttons in den Archiven:"
129
+
130
+ #: ../ssb-admin.php:155
131
+ #, fuzzy
132
+ msgid "Save Changes"
133
+ msgstr "Einstellungen speichern"
134
+
135
+ #: ../ssb-admin.php:165
136
+ msgid "About this plugin:"
137
+ msgstr "Über dieses Plugin"
138
+
139
+ #: ../ssb-admin.php:167
140
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
141
+ msgstr "Kontaktiere <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> auf Twitter bei Bugs und Erweiterungen."
142
+
143
+ #: ../ssb-admin.php:168
144
+ msgid "Enjoy the plugin?"
145
+ msgstr "Gefällt dir das Plugin?"
146
+
147
+ #: ../ssb-admin.php:169
148
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
149
+ msgstr "<a href=\"http://twitter.com/?status=Ich verwende @rabinek's - WordPress Simple Social Buttons ! http://blog.rabinek.pl/\" target=\"_blank\">Tweete dadrüber</a> und erwäge eine Spende."
150
+
151
+ #: ../ssb-admin.php:170
152
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
153
+ msgstr "<strong>Spenden :</strong> Eine Menge harte Arbeit wurde in das entwickeln von Plugins investiert - unterstütze deine OpenSource Entwickler. Danke !"
154
+
155
+ #: ../ssb-admin.php:182
156
+ msgid "About the author:"
157
+ msgstr "Über den Autor :"
158
+
159
+ #: ../ssb-admin.php:184
160
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
161
+ msgstr "Hallo ! Mein Name ist Paweł Rabinek (auch bekannt als xradar). Ich interessiere mich für SEO und Social Media, PHP und WordPress Entwicklung."
162
+
163
+ #: ../ssb-admin.php:186
164
+ msgid "My blog about SEO"
165
+ msgstr "Mein Blog über SEO"
166
+
167
+ #: ../ssb-admin.php:186
168
+ msgid "[Polish]"
169
+ msgstr " [Polnisch]"
170
+
171
+ #: ../ssb-admin.php:187
172
+ msgid "Follow me on Twitter"
173
+ msgstr "Folge mir bei Twitter !"
174
+
175
+ #: ../ssb-admin.php:188
176
+ msgid "Paweł Rabinek on Facebook"
177
+ msgstr "Paweł Rabinek bei Facebook"
178
+
179
+ #: ../ssb-admin.php:189
180
+ msgid "Paweł Rabinek on Google Plus"
181
+ msgstr "Paweł Rabinek bei Google Plus"
182
+
183
+ #: ../ssb-admin.php:190
184
+ msgid "LinkedIn profile"
185
+ msgstr "LinkedIn Profil"
186
+
187
+ #: ../ssb-admin.php:196
188
+ msgid "Usefull links:"
189
+ msgstr "Nützliche Links :"
190
+
191
+ #: ../ssb-admin.php:199
192
+ msgid "Unlimited web hosting"
193
+ msgstr "Unlimitiertes Webhosting"
194
+
195
+ #: ../ssb-admin.php:200
196
+ msgid "Best SEO software"
197
+ msgstr "Beste SEO Software"
198
+
199
+ #: ../ssb-admin.php:201
200
+ msgid "Wordpress templates"
201
+ msgstr "WordPress Themes"
202
+
203
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
204
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
tags/1.5/lang/simplesocialbuttons-es_ES.mo ADDED
Binary file
tags/1.5/lang/simplesocialbuttons-es_ES.po ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-01 11:28+0100\n"
6
+ "PO-Revision-Date: 2012-02-01 11:29+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Paweł Rabinek (DE: Dennis Schreiber) <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: German\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-Country: GERMANY\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ # Traduit par @RhooManu - www.infographizm.com
20
+ #: ../simple-social-buttons.php:424
21
+ #: ../ssb-admin.php:11
22
+ msgid "Settings"
23
+ msgstr "Opciones"
24
+
25
+ # Traduit par @RhooManu - www.infographizm.com
26
+ #: ../simple-social-buttons.php:452
27
+ msgid "SSB Settings"
28
+ msgstr "SSB opciones"
29
+
30
+ #: ../simple-social-buttons.php:463
31
+ msgid "Hide Simple Social Buttons"
32
+ msgstr "Ocultar Simple Social Buttons"
33
+
34
+ #: ../ssb-admin.php:13
35
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
36
+ msgstr "<strong>Simple Social Buttons</strong>, autor <strong>Paweł Rabinek</strong>. Este plugin añade iconos de redes sociales como: <strong>Google +1</strong>, <strong>Facebook Me gusta</strong> y <strong>Compartir en Twitter</strong>. El plugin social más flexible que puedes encontrar."
37
+
38
+ #: ../ssb-admin.php:68
39
+ msgid "Select buttons"
40
+ msgstr "Selecciona botones"
41
+
42
+ #: ../ssb-admin.php:70
43
+ msgid "Select social media buttons:"
44
+ msgstr "Selecciona botones de redes sociales: "
45
+
46
+ #: ../ssb-admin.php:76
47
+ #: ../ssb-admin.php:90
48
+ #: ../ssb-admin.php:105
49
+ msgid "inactive"
50
+ msgstr "inactivo"
51
+
52
+ #: ../ssb-admin.php:84
53
+ msgid "Google plus one (+1)"
54
+ msgstr "Google plus (+1) "
55
+
56
+ #: ../ssb-admin.php:98
57
+ msgid "Facebook Like it"
58
+ msgstr "Facebook Me gusta"
59
+
60
+ #: ../ssb-admin.php:113
61
+ msgid "Twitter share"
62
+ msgstr "Compartir en Twitter"
63
+
64
+ #: ../ssb-admin.php:116
65
+ msgid "Disable plugin CSS (only advanced users)"
66
+ msgstr "Desactivar los CSS del plugin (solo para usuarios avanzados)"
67
+
68
+ #: ../ssb-admin.php:121
69
+ msgid "Single posts - display settings"
70
+ msgstr "Post individuales - mostrar opciones"
71
+
72
+ #: ../ssb-admin.php:123
73
+ msgid "Place buttons on single post:"
74
+ msgstr "Colocar los botones en un post individual:"
75
+
76
+ #: ../ssb-admin.php:124
77
+ #: ../ssb-admin.php:148
78
+ msgid "Before the content"
79
+ msgstr "Antes del contenido"
80
+
81
+ #: ../ssb-admin.php:125
82
+ #: ../ssb-admin.php:149
83
+ msgid "After the content"
84
+ msgstr "Después del contenido"
85
+
86
+ #: ../ssb-admin.php:130
87
+ msgid "Single pages - display settings"
88
+ msgstr "Páginas individuales - mostrar opciones"
89
+
90
+ #: ../ssb-admin.php:132
91
+ msgid "Place buttons on single pages:"
92
+ msgstr "Colocar los botones en páginas individuales:"
93
+
94
+ #: ../ssb-admin.php:133
95
+ msgid "Before the page content"
96
+ msgstr "Antes del contenido de la página"
97
+
98
+ #: ../ssb-admin.php:134
99
+ msgid "After the page content"
100
+ msgstr "Después del contenido de la página"
101
+
102
+ #: ../ssb-admin.php:139
103
+ msgid "Archives - display settings"
104
+ msgstr "Archivo - mostrar opciones"
105
+
106
+ #: ../ssb-admin.php:141
107
+ msgid "Select additional places to display buttons:"
108
+ msgstr "Selecciona lugares adicionales donde mostrar los botones:"
109
+
110
+ #: ../ssb-admin.php:142
111
+ msgid "Show at frontpage"
112
+ msgstr "Pagina de entrada"
113
+
114
+ #: ../ssb-admin.php:143
115
+ msgid "Show at category pages"
116
+ msgstr "Páginas de categorías"
117
+
118
+ #: ../ssb-admin.php:144
119
+ msgid "Show at archive pages"
120
+ msgstr "Páginas de archivo"
121
+
122
+ #: ../ssb-admin.php:145
123
+ msgid "Show at tag pages"
124
+ msgstr "Páginas de etiquetas"
125
+
126
+ #: ../ssb-admin.php:147
127
+ msgid "Place buttons on archives:"
128
+ msgstr "Colocar los botones en archivo:"
129
+
130
+ #: ../ssb-admin.php:155
131
+ msgid "Save Changes"
132
+ msgstr "Guardar cambios"
133
+
134
+ #: ../ssb-admin.php:165
135
+ msgid "About this plugin:"
136
+ msgstr "Sobre este plugin:"
137
+
138
+ #: ../ssb-admin.php:167
139
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
140
+ msgstr "Habla con <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> en Twitter para solución de bugs o peticiones de nuevas características."
141
+
142
+ #: ../ssb-admin.php:168
143
+ msgid "Enjoy the plugin?"
144
+ msgstr "Te gusta el plugin?"
145
+
146
+ #: ../ssb-admin.php:169
147
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
148
+ msgstr "<a href=\"http://twitter.com/?status=Estoy usando el plugin Simple Social Buttons! de @rabinek - para WordPress http://blog.rabinek.pl/\" target=\"_blank\">Twittea sobre él</a> y piensa en hacer una donación."
149
+
150
+ #: ../ssb-admin.php:170
151
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
152
+ msgstr "<strong>Dona:</strong> Hay mucho trabajo a la hora de realizar plugins, apoya a tus desarrolladores open source. Gracias!"
153
+
154
+ #: ../ssb-admin.php:182
155
+ msgid "About the author:"
156
+ msgstr "Sobre el autor:"
157
+
158
+ #: ../ssb-admin.php:184
159
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
160
+ msgstr "Hola! mi nombre es Pawel Rabinek (aka xradar). Estoy interesado en SEO y Social Media, así como desarrollo en PHP y Wordpress."
161
+
162
+ #: ../ssb-admin.php:186
163
+ msgid "My blog about SEO"
164
+ msgstr "Mi blog sobre SEO"
165
+
166
+ #: ../ssb-admin.php:186
167
+ msgid "[Polish]"
168
+ msgstr " "
169
+
170
+ #: ../ssb-admin.php:187
171
+ msgid "Follow me on Twitter"
172
+ msgstr "Sígueme en Twitter"
173
+
174
+ #: ../ssb-admin.php:188
175
+ msgid "Paweł Rabinek on Facebook"
176
+ msgstr "Paweł Rabinek en Facebook"
177
+
178
+ #: ../ssb-admin.php:189
179
+ msgid "Paweł Rabinek on Google Plus"
180
+ msgstr "Paweł Rabinek en Google Plus"
181
+
182
+ #: ../ssb-admin.php:190
183
+ msgid "LinkedIn profile"
184
+ msgstr "Perfil en LinkedIn"
185
+
186
+ #: ../ssb-admin.php:196
187
+ msgid "Usefull links:"
188
+ msgstr "Links interesantes:"
189
+
190
+ #: ../ssb-admin.php:199
191
+ msgid "Unlimited web hosting"
192
+ msgstr "Alojamiento web ilimitado"
193
+
194
+ #: ../ssb-admin.php:200
195
+ msgid "Best SEO software"
196
+ msgstr "Mejor software SEO"
197
+
198
+ #: ../ssb-admin.php:201
199
+ msgid "Wordpress templates"
200
+ msgstr "Plantillas de Wordpress"
201
+
202
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
203
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
tags/1.5/lang/simplesocialbuttons-fr_FR.mo ADDED
Binary file
tags/1.5/lang/simplesocialbuttons-fr_FR.po ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-01 11:29+0100\n"
6
+ "PO-Revision-Date: 2012-02-01 11:30+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Paweł Rabinek (FR: Emmanuel Beziat) <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: French\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-Country: FRANCE\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ # Traduit par @RhooManu - www.infographizm.com
20
+ #: ../simple-social-buttons.php:424
21
+ #: ../ssb-admin.php:11
22
+ msgid "Settings"
23
+ msgstr "Paramètres"
24
+
25
+ # Traduit par @RhooManu - www.infographizm.com
26
+ #: ../simple-social-buttons.php:452
27
+ msgid "SSB Settings"
28
+ msgstr "SSB paramètres"
29
+
30
+ #: ../simple-social-buttons.php:463
31
+ msgid "Hide Simple Social Buttons"
32
+ msgstr "Cacher Simple Social Buttons"
33
+
34
+ #: ../ssb-admin.php:13
35
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
36
+ msgstr "<strong>Simple Social Buttons</strong>, par <strong>Paweł Rabinek</strong>. Cette extension ajoute des boutons de réseaux sociaux, comme <strong>Google +1</strong>, <strong>Facebook J'aime</strong> et <strong>Twitter</strong>. La plus flexible des extensions de boutons de réseaux sociaux !"
37
+
38
+ #: ../ssb-admin.php:68
39
+ msgid "Select buttons"
40
+ msgstr "Choisir les boutons"
41
+
42
+ #: ../ssb-admin.php:70
43
+ msgid "Select social media buttons:"
44
+ msgstr "Choisissez les boutons de réseaux sociaux :"
45
+
46
+ #: ../ssb-admin.php:76
47
+ #: ../ssb-admin.php:90
48
+ #: ../ssb-admin.php:105
49
+ msgid "inactive"
50
+ msgstr "inactives"
51
+
52
+ #: ../ssb-admin.php:84
53
+ msgid "Google plus one (+1)"
54
+ msgstr "Google plus un (+1)"
55
+
56
+ #: ../ssb-admin.php:98
57
+ msgid "Facebook Like it"
58
+ msgstr "Facebook J'aime"
59
+
60
+ #: ../ssb-admin.php:113
61
+ msgid "Twitter share"
62
+ msgstr "Partage twitter"
63
+
64
+ #: ../ssb-admin.php:116
65
+ msgid "Disable plugin CSS (only advanced users)"
66
+ msgstr ""
67
+
68
+ #: ../ssb-admin.php:121
69
+ msgid "Single posts - display settings"
70
+ msgstr "Articles seuls - paramètres d'affichages"
71
+
72
+ #: ../ssb-admin.php:123
73
+ msgid "Place buttons on single post:"
74
+ msgstr "Placer les boutons sur un article seul :"
75
+
76
+ #: ../ssb-admin.php:124
77
+ #: ../ssb-admin.php:148
78
+ msgid "Before the content"
79
+ msgstr "Avant le contenu"
80
+
81
+ #: ../ssb-admin.php:125
82
+ #: ../ssb-admin.php:149
83
+ msgid "After the content"
84
+ msgstr "Après le contenu"
85
+
86
+ #: ../ssb-admin.php:130
87
+ msgid "Single pages - display settings"
88
+ msgstr "Pages - paramètres d'affichage"
89
+
90
+ #: ../ssb-admin.php:132
91
+ msgid "Place buttons on single pages:"
92
+ msgstr "Placer les boutons sur les pages :"
93
+
94
+ #: ../ssb-admin.php:133
95
+ msgid "Before the page content"
96
+ msgstr "Avant le contenu de la page"
97
+
98
+ #: ../ssb-admin.php:134
99
+ msgid "After the page content"
100
+ msgstr "Après le contenu de la page"
101
+
102
+ #: ../ssb-admin.php:139
103
+ msgid "Archives - display settings"
104
+ msgstr "Archives - paramètres d'affichage"
105
+
106
+ #: ../ssb-admin.php:141
107
+ msgid "Select additional places to display buttons:"
108
+ msgstr "Choisissez une place supplémentaire pour afficher les boutons :"
109
+
110
+ #: ../ssb-admin.php:142
111
+ msgid "Show at frontpage"
112
+ msgstr "Afficher sur la page principale"
113
+
114
+ #: ../ssb-admin.php:143
115
+ msgid "Show at category pages"
116
+ msgstr "Afficher sur les pages de catégories"
117
+
118
+ #: ../ssb-admin.php:144
119
+ msgid "Show at archive pages"
120
+ msgstr "Afficher sur les pages d'archives"
121
+
122
+ #: ../ssb-admin.php:145
123
+ msgid "Show at tag pages"
124
+ msgstr "Affichers sur les pages de tags"
125
+
126
+ #: ../ssb-admin.php:147
127
+ msgid "Place buttons on archives:"
128
+ msgstr "Placer les boutons sur les archives :"
129
+
130
+ #: ../ssb-admin.php:155
131
+ #, fuzzy
132
+ msgid "Save Changes"
133
+ msgstr "Enregistrer les changement"
134
+
135
+ #: ../ssb-admin.php:165
136
+ msgid "About this plugin:"
137
+ msgstr "À propos de cette extension"
138
+
139
+ #: ../ssb-admin.php:167
140
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
141
+ msgstr "Parlez à <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> sur Twitter pour signaler les bugs ou demander des ajouts."
142
+
143
+ #: ../ssb-admin.php:168
144
+ msgid "Enjoy the plugin?"
145
+ msgstr "Cette extension vous plaît ?"
146
+
147
+ #: ../ssb-admin.php:169
148
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
149
+ msgstr "<a href=\"http://twitter.com/?status=J'utilise @rabinek - WordPress Simple Social Buttons ! http://blog.rabinek.pl/\" target=\"_blank\">Twittez cette info</a> et n'hésitez pas à faire un don !"
150
+
151
+ #: ../ssb-admin.php:170
152
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
153
+ msgstr "<strong>Faire un don :</strong> Faire une extension demande beaucoup de travail - aidez les développeurs à améliorer leur travail. Merci !"
154
+
155
+ #: ../ssb-admin.php:182
156
+ msgid "About the author:"
157
+ msgstr "À propos de l'auteur :"
158
+
159
+ #: ../ssb-admin.php:184
160
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
161
+ msgstr "Salut ! Mon nom est Paweł Rabinek (surnommé xradar). Je m'intéresse beaucoup au référencement et aux réseaux sociaux, au développement PHP et pour WordPress."
162
+
163
+ #: ../ssb-admin.php:186
164
+ msgid "My blog about SEO"
165
+ msgstr "Mon blog sur le référencement (SEO)"
166
+
167
+ #: ../ssb-admin.php:186
168
+ msgid "[Polish]"
169
+ msgstr " "
170
+
171
+ #: ../ssb-admin.php:187
172
+ msgid "Follow me on Twitter"
173
+ msgstr "Suivez-moi sur twitter !"
174
+
175
+ #: ../ssb-admin.php:188
176
+ msgid "Paweł Rabinek on Facebook"
177
+ msgstr "Paweł Rabinek sur Facebook"
178
+
179
+ #: ../ssb-admin.php:189
180
+ msgid "Paweł Rabinek on Google Plus"
181
+ msgstr "Paweł Rabinek sur Google Plus"
182
+
183
+ #: ../ssb-admin.php:190
184
+ msgid "LinkedIn profile"
185
+ msgstr "Profil LinkedIn"
186
+
187
+ #: ../ssb-admin.php:196
188
+ msgid "Usefull links:"
189
+ msgstr "Liens utiles :"
190
+
191
+ #: ../ssb-admin.php:199
192
+ msgid "Unlimited web hosting"
193
+ msgstr "Hébergement web illimité"
194
+
195
+ #: ../ssb-admin.php:200
196
+ msgid "Best SEO software"
197
+ msgstr "Meilleur logiciel de référencement"
198
+
199
+ #: ../ssb-admin.php:201
200
+ msgid "Wordpress templates"
201
+ msgstr "Thèmes pour WordPress"
202
+
203
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
204
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
tags/1.5/lang/simplesocialbuttons-pl_PL.mo ADDED
Binary file
tags/1.5/lang/simplesocialbuttons-pl_PL.po ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-01 11:16+0100\n"
6
+ "PO-Revision-Date: 2012-02-01 11:16+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Paweł Rabinek <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: Polish\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-SearchPath-0: ..\n"
17
+
18
+ #: ../simple-social-buttons.php:424
19
+ #: ../ssb-admin.php:11
20
+ msgid "Settings"
21
+ msgstr "Ustawienia"
22
+
23
+ #: ../simple-social-buttons.php:452
24
+ msgid "SSB Settings"
25
+ msgstr "Ustawienia SSB"
26
+
27
+ #: ../simple-social-buttons.php:463
28
+ msgid "Hide Simple Social Buttons"
29
+ msgstr "Ukryj przyciski wtyczki Simple Social Buttons"
30
+
31
+ #: ../ssb-admin.php:13
32
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
33
+ msgstr "<strong>Simple Social Buttons</strong>, autor <strong>Paweł Rabinek</strong>. Wtyczka dodaje do wpisów przyciski: <strong>Google +1</strong>, <strong>Facebook Lubię to</strong> oraz <strong>Twitter</strong>. Najlepsza wtyczka z przyciskami social media dla Wordpress."
34
+
35
+ #: ../ssb-admin.php:68
36
+ msgid "Select buttons"
37
+ msgstr "Wybór przycisków"
38
+
39
+ #: ../ssb-admin.php:70
40
+ msgid "Select social media buttons:"
41
+ msgstr "Wybierz przyciski do wyświetlenia:"
42
+
43
+ #: ../ssb-admin.php:76
44
+ #: ../ssb-admin.php:90
45
+ #: ../ssb-admin.php:105
46
+ msgid "inactive"
47
+ msgstr "nieaktywny"
48
+
49
+ #: ../ssb-admin.php:84
50
+ msgid "Google plus one (+1)"
51
+ msgstr "Google plus jeden (+1)"
52
+
53
+ #: ../ssb-admin.php:98
54
+ msgid "Facebook Like it"
55
+ msgstr "Facebook Lubię to"
56
+
57
+ #: ../ssb-admin.php:113
58
+ msgid "Twitter share"
59
+ msgstr "Wyślij na Twitter"
60
+
61
+ #: ../ssb-admin.php:116
62
+ msgid "Disable plugin CSS (only advanced users)"
63
+ msgstr "Wyłącz style CSS wtyczki (tylko dla zaawansowanych użytkowników)"
64
+
65
+ #: ../ssb-admin.php:121
66
+ msgid "Single posts - display settings"
67
+ msgstr "Pojedyńcze wpisy - ustawienia"
68
+
69
+ #: ../ssb-admin.php:123
70
+ msgid "Place buttons on single post:"
71
+ msgstr "Miejsce przycisków na podstronie wpisu:"
72
+
73
+ #: ../ssb-admin.php:124
74
+ #: ../ssb-admin.php:148
75
+ msgid "Before the content"
76
+ msgstr "Nad treścią wpisu"
77
+
78
+ #: ../ssb-admin.php:125
79
+ #: ../ssb-admin.php:149
80
+ msgid "After the content"
81
+ msgstr "Pod treścią wpisu"
82
+
83
+ #: ../ssb-admin.php:130
84
+ msgid "Single pages - display settings"
85
+ msgstr "Pojedyńcze strony - ustawienia"
86
+
87
+ #: ../ssb-admin.php:132
88
+ msgid "Place buttons on single pages:"
89
+ msgstr "Miejsce przycisków na stronach:"
90
+
91
+ #: ../ssb-admin.php:133
92
+ msgid "Before the page content"
93
+ msgstr "Nad treścią strony"
94
+
95
+ #: ../ssb-admin.php:134
96
+ msgid "After the page content"
97
+ msgstr "Pod treścią strony"
98
+
99
+ #: ../ssb-admin.php:139
100
+ msgid "Archives - display settings"
101
+ msgstr "Archiwa - ustawienia"
102
+
103
+ #: ../ssb-admin.php:141
104
+ msgid "Select additional places to display buttons:"
105
+ msgstr "Dodatkowe miejsca do wyświetlenia przycisków:"
106
+
107
+ #: ../ssb-admin.php:142
108
+ msgid "Show at frontpage"
109
+ msgstr "Pokazuj na stronie głównej"
110
+
111
+ #: ../ssb-admin.php:143
112
+ msgid "Show at category pages"
113
+ msgstr "Pokazuj na stroniach kategorii"
114
+
115
+ #: ../ssb-admin.php:144
116
+ msgid "Show at archive pages"
117
+ msgstr "Pokazuje w archiwum dat"
118
+
119
+ #: ../ssb-admin.php:145
120
+ msgid "Show at tag pages"
121
+ msgstr "Pokazuj na stronach tagów"
122
+
123
+ #: ../ssb-admin.php:147
124
+ msgid "Place buttons on archives:"
125
+ msgstr "Miejsce przycisków na stronach archiwum:"
126
+
127
+ #: ../ssb-admin.php:155
128
+ msgid "Save Changes"
129
+ msgstr "Zapisz ustawienia"
130
+
131
+ #: ../ssb-admin.php:165
132
+ msgid "About this plugin:"
133
+ msgstr "Informacje o wtyczce:"
134
+
135
+ #: ../ssb-admin.php:167
136
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
137
+ msgstr "Napisz do mnie <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> na Twitterze, jeżeli znalazłeś błąd lub masz pomysł na ulepszenie wtyczki."
138
+
139
+ #: ../ssb-admin.php:168
140
+ msgid "Enjoy the plugin?"
141
+ msgstr "Podoba Ci się wtyczka?"
142
+
143
+ #: ../ssb-admin.php:169
144
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
145
+ msgstr "<a href=\"http://twitter.com/?status=Używam wtyczki do Wordpressa od @rabinek - WordPress Simple Social Buttons! http://blog.rabinek.pl/\" target=\"_blank\">Powiedz o niej na Twitterze</a> i rozważ wsparcie dla tej wtyczki (poniżej)."
146
+
147
+ #: ../ssb-admin.php:170
148
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
149
+ msgstr "<strong>Wsparcie:</strong> Wiele pracy trzeba włożyć w napisanie takiej wtyczki. Jeżeli korzystasz z niej i podoba Ci się, postaw mi piwo klikając Donate."
150
+
151
+ #: ../ssb-admin.php:182
152
+ msgid "About the author:"
153
+ msgstr "Informacje o autorze:"
154
+
155
+ #: ../ssb-admin.php:184
156
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
157
+ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar). Zawodowo zajmuje się SEO i mediami społecznościowymi. Programuję w PHP, często z wykorzystaniem Wordpressa."
158
+
159
+ #: ../ssb-admin.php:186
160
+ msgid "My blog about SEO"
161
+ msgstr "Mój blog o SEO"
162
+
163
+ #: ../ssb-admin.php:186
164
+ msgid "[Polish]"
165
+ msgstr " "
166
+
167
+ #: ../ssb-admin.php:187
168
+ msgid "Follow me on Twitter"
169
+ msgstr "Napisz do mnie na Twitter"
170
+
171
+ #: ../ssb-admin.php:188
172
+ msgid "Paweł Rabinek on Facebook"
173
+ msgstr "Paweł Rabinek na Facebook"
174
+
175
+ #: ../ssb-admin.php:189
176
+ msgid "Paweł Rabinek on Google Plus"
177
+ msgstr "Paweł Rabinek na Google Plus"
178
+
179
+ #: ../ssb-admin.php:190
180
+ msgid "LinkedIn profile"
181
+ msgstr "Profil na LinkedIn"
182
+
183
+ #: ../ssb-admin.php:196
184
+ msgid "Usefull links:"
185
+ msgstr "Przydatne linki:"
186
+
187
+ #: ../ssb-admin.php:199
188
+ msgid "Unlimited web hosting"
189
+ msgstr "Nielimitowany hosting stron"
190
+
191
+ #: ../ssb-admin.php:200
192
+ msgid "Best SEO software"
193
+ msgstr "Najlepsze oprogramowanie SEO"
194
+
195
+ #: ../ssb-admin.php:201
196
+ msgid "Wordpress templates"
197
+ msgstr "Szablony do Wordpress"
198
+
199
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
200
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
readme.txt → tags/1.5/readme.txt RENAMED
File without changes
tags/1.5/screenshot-1.png ADDED
Binary file
tags/1.5/screenshot-2.png ADDED
Binary file
tags/1.5/screenshot-3.jpg ADDED
Binary file
tags/1.5/screenshot-4.png ADDED
Binary file
simple-social-buttons.php → tags/1.5/simple-social-buttons.php RENAMED
File without changes
ssb-admin.php → tags/1.5/ssb-admin.php RENAMED
File without changes
trunk/lang/simplesocialbuttons-de_DE.mo ADDED
Binary file
trunk/lang/simplesocialbuttons-de_DE.po ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-01 11:19+0100\n"
6
+ "PO-Revision-Date: 2012-02-01 11:28+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Paweł Rabinek (DE: Dennis Schreiber) <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: German\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-Country: GERMANY\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ # Traduit par @RhooManu - www.infographizm.com
20
+ #: ../simple-social-buttons.php:424
21
+ #: ../ssb-admin.php:11
22
+ msgid "Settings"
23
+ msgstr "Einstellungen"
24
+
25
+ # Traduit par @RhooManu - www.infographizm.com
26
+ #: ../simple-social-buttons.php:452
27
+ msgid "SSB Settings"
28
+ msgstr "SSB einstellungen"
29
+
30
+ #: ../simple-social-buttons.php:463
31
+ msgid "Hide Simple Social Buttons"
32
+ msgstr "Verbergen Simple Social Buttons"
33
+
34
+ #: ../ssb-admin.php:13
35
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
36
+ msgstr "<strong>Simple Social Buttons</strong>, von <strong>Paweł Rabinek</strong>. Cette extension ajoute des boutons de réseaux sociaux, comme <strong>Google +1</strong>, <strong>Facebook J'aime</strong> et <strong>Twitter</strong>. La plus flexible des extensions de boutons de réseaux sociaux !"
37
+
38
+ #: ../ssb-admin.php:68
39
+ msgid "Select buttons"
40
+ msgstr "Buttons auswählen"
41
+
42
+ #: ../ssb-admin.php:70
43
+ msgid "Select social media buttons:"
44
+ msgstr "Wähle Social Media Buttons:"
45
+
46
+ #: ../ssb-admin.php:76
47
+ #: ../ssb-admin.php:90
48
+ #: ../ssb-admin.php:105
49
+ msgid "inactive"
50
+ msgstr "inaktiv"
51
+
52
+ #: ../ssb-admin.php:84
53
+ msgid "Google plus one (+1)"
54
+ msgstr "Google plus eins (+1)"
55
+
56
+ #: ../ssb-admin.php:98
57
+ msgid "Facebook Like it"
58
+ msgstr "Facebook gefällt mir"
59
+
60
+ #: ../ssb-admin.php:113
61
+ msgid "Twitter share"
62
+ msgstr "Twitter teilen"
63
+
64
+ #: ../ssb-admin.php:116
65
+ msgid "Disable plugin CSS (only advanced users)"
66
+ msgstr ""
67
+
68
+ #: ../ssb-admin.php:121
69
+ msgid "Single posts - display settings"
70
+ msgstr "Einzelne Beiträge - Display Einstellungen"
71
+
72
+ #: ../ssb-admin.php:123
73
+ msgid "Place buttons on single post:"
74
+ msgstr "Füge Buttons bei einzelnen Beitrag ein:"
75
+
76
+ #: ../ssb-admin.php:124
77
+ #: ../ssb-admin.php:148
78
+ msgid "Before the content"
79
+ msgstr "Vor dem Inhalt"
80
+
81
+ #: ../ssb-admin.php:125
82
+ #: ../ssb-admin.php:149
83
+ msgid "After the content"
84
+ msgstr "Nach dem Inhalt"
85
+
86
+ #: ../ssb-admin.php:130
87
+ msgid "Single pages - display settings"
88
+ msgstr "Einzelne Seiten - Display Einstellungen"
89
+
90
+ #: ../ssb-admin.php:132
91
+ msgid "Place buttons on single pages:"
92
+ msgstr "Füge die Buttons auf einzelnen Seiten ein:"
93
+
94
+ #: ../ssb-admin.php:133
95
+ msgid "Before the page content"
96
+ msgstr "Vor dem Seiteninhalt"
97
+
98
+ #: ../ssb-admin.php:134
99
+ msgid "After the page content"
100
+ msgstr "Nach dem Seiteninhalt"
101
+
102
+ #: ../ssb-admin.php:139
103
+ msgid "Archives - display settings"
104
+ msgstr "Archives - Display Einstellungen"
105
+
106
+ #: ../ssb-admin.php:141
107
+ msgid "Select additional places to display buttons:"
108
+ msgstr "Wähle weitere Orte um die Buttons anzuzeigen:"
109
+
110
+ #: ../ssb-admin.php:142
111
+ msgid "Show at frontpage"
112
+ msgstr "Zeige auf der Hauptseite"
113
+
114
+ #: ../ssb-admin.php:143
115
+ msgid "Show at category pages"
116
+ msgstr "Zeige in den Kategorien"
117
+
118
+ #: ../ssb-admin.php:144
119
+ msgid "Show at archive pages"
120
+ msgstr "Zeige bei Archiven"
121
+
122
+ #: ../ssb-admin.php:145
123
+ msgid "Show at tag pages"
124
+ msgstr "Zeige bei Stichworten"
125
+
126
+ #: ../ssb-admin.php:147
127
+ msgid "Place buttons on archives:"
128
+ msgstr "Zeige Buttons in den Archiven:"
129
+
130
+ #: ../ssb-admin.php:155
131
+ #, fuzzy
132
+ msgid "Save Changes"
133
+ msgstr "Einstellungen speichern"
134
+
135
+ #: ../ssb-admin.php:165
136
+ msgid "About this plugin:"
137
+ msgstr "Über dieses Plugin"
138
+
139
+ #: ../ssb-admin.php:167
140
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
141
+ msgstr "Kontaktiere <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> auf Twitter bei Bugs und Erweiterungen."
142
+
143
+ #: ../ssb-admin.php:168
144
+ msgid "Enjoy the plugin?"
145
+ msgstr "Gefällt dir das Plugin?"
146
+
147
+ #: ../ssb-admin.php:169
148
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
149
+ msgstr "<a href=\"http://twitter.com/?status=Ich verwende @rabinek's - WordPress Simple Social Buttons ! http://blog.rabinek.pl/\" target=\"_blank\">Tweete dadrüber</a> und erwäge eine Spende."
150
+
151
+ #: ../ssb-admin.php:170
152
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
153
+ msgstr "<strong>Spenden :</strong> Eine Menge harte Arbeit wurde in das entwickeln von Plugins investiert - unterstütze deine OpenSource Entwickler. Danke !"
154
+
155
+ #: ../ssb-admin.php:182
156
+ msgid "About the author:"
157
+ msgstr "Über den Autor :"
158
+
159
+ #: ../ssb-admin.php:184
160
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
161
+ msgstr "Hallo ! Mein Name ist Paweł Rabinek (auch bekannt als xradar). Ich interessiere mich für SEO und Social Media, PHP und WordPress Entwicklung."
162
+
163
+ #: ../ssb-admin.php:186
164
+ msgid "My blog about SEO"
165
+ msgstr "Mein Blog über SEO"
166
+
167
+ #: ../ssb-admin.php:186
168
+ msgid "[Polish]"
169
+ msgstr " [Polnisch]"
170
+
171
+ #: ../ssb-admin.php:187
172
+ msgid "Follow me on Twitter"
173
+ msgstr "Folge mir bei Twitter !"
174
+
175
+ #: ../ssb-admin.php:188
176
+ msgid "Paweł Rabinek on Facebook"
177
+ msgstr "Paweł Rabinek bei Facebook"
178
+
179
+ #: ../ssb-admin.php:189
180
+ msgid "Paweł Rabinek on Google Plus"
181
+ msgstr "Paweł Rabinek bei Google Plus"
182
+
183
+ #: ../ssb-admin.php:190
184
+ msgid "LinkedIn profile"
185
+ msgstr "LinkedIn Profil"
186
+
187
+ #: ../ssb-admin.php:196
188
+ msgid "Usefull links:"
189
+ msgstr "Nützliche Links :"
190
+
191
+ #: ../ssb-admin.php:199
192
+ msgid "Unlimited web hosting"
193
+ msgstr "Unlimitiertes Webhosting"
194
+
195
+ #: ../ssb-admin.php:200
196
+ msgid "Best SEO software"
197
+ msgstr "Beste SEO Software"
198
+
199
+ #: ../ssb-admin.php:201
200
+ msgid "Wordpress templates"
201
+ msgstr "WordPress Themes"
202
+
203
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
204
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
trunk/lang/simplesocialbuttons-es_ES.mo ADDED
Binary file
trunk/lang/simplesocialbuttons-es_ES.po ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-01 11:28+0100\n"
6
+ "PO-Revision-Date: 2012-02-01 11:29+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Paweł Rabinek (DE: Dennis Schreiber) <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: German\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-Country: GERMANY\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ # Traduit par @RhooManu - www.infographizm.com
20
+ #: ../simple-social-buttons.php:424
21
+ #: ../ssb-admin.php:11
22
+ msgid "Settings"
23
+ msgstr "Opciones"
24
+
25
+ # Traduit par @RhooManu - www.infographizm.com
26
+ #: ../simple-social-buttons.php:452
27
+ msgid "SSB Settings"
28
+ msgstr "SSB opciones"
29
+
30
+ #: ../simple-social-buttons.php:463
31
+ msgid "Hide Simple Social Buttons"
32
+ msgstr "Ocultar Simple Social Buttons"
33
+
34
+ #: ../ssb-admin.php:13
35
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
36
+ msgstr "<strong>Simple Social Buttons</strong>, autor <strong>Paweł Rabinek</strong>. Este plugin añade iconos de redes sociales como: <strong>Google +1</strong>, <strong>Facebook Me gusta</strong> y <strong>Compartir en Twitter</strong>. El plugin social más flexible que puedes encontrar."
37
+
38
+ #: ../ssb-admin.php:68
39
+ msgid "Select buttons"
40
+ msgstr "Selecciona botones"
41
+
42
+ #: ../ssb-admin.php:70
43
+ msgid "Select social media buttons:"
44
+ msgstr "Selecciona botones de redes sociales: "
45
+
46
+ #: ../ssb-admin.php:76
47
+ #: ../ssb-admin.php:90
48
+ #: ../ssb-admin.php:105
49
+ msgid "inactive"
50
+ msgstr "inactivo"
51
+
52
+ #: ../ssb-admin.php:84
53
+ msgid "Google plus one (+1)"
54
+ msgstr "Google plus (+1) "
55
+
56
+ #: ../ssb-admin.php:98
57
+ msgid "Facebook Like it"
58
+ msgstr "Facebook Me gusta"
59
+
60
+ #: ../ssb-admin.php:113
61
+ msgid "Twitter share"
62
+ msgstr "Compartir en Twitter"
63
+
64
+ #: ../ssb-admin.php:116
65
+ msgid "Disable plugin CSS (only advanced users)"
66
+ msgstr "Desactivar los CSS del plugin (solo para usuarios avanzados)"
67
+
68
+ #: ../ssb-admin.php:121
69
+ msgid "Single posts - display settings"
70
+ msgstr "Post individuales - mostrar opciones"
71
+
72
+ #: ../ssb-admin.php:123
73
+ msgid "Place buttons on single post:"
74
+ msgstr "Colocar los botones en un post individual:"
75
+
76
+ #: ../ssb-admin.php:124
77
+ #: ../ssb-admin.php:148
78
+ msgid "Before the content"
79
+ msgstr "Antes del contenido"
80
+
81
+ #: ../ssb-admin.php:125
82
+ #: ../ssb-admin.php:149
83
+ msgid "After the content"
84
+ msgstr "Después del contenido"
85
+
86
+ #: ../ssb-admin.php:130
87
+ msgid "Single pages - display settings"
88
+ msgstr "Páginas individuales - mostrar opciones"
89
+
90
+ #: ../ssb-admin.php:132
91
+ msgid "Place buttons on single pages:"
92
+ msgstr "Colocar los botones en páginas individuales:"
93
+
94
+ #: ../ssb-admin.php:133
95
+ msgid "Before the page content"
96
+ msgstr "Antes del contenido de la página"
97
+
98
+ #: ../ssb-admin.php:134
99
+ msgid "After the page content"
100
+ msgstr "Después del contenido de la página"
101
+
102
+ #: ../ssb-admin.php:139
103
+ msgid "Archives - display settings"
104
+ msgstr "Archivo - mostrar opciones"
105
+
106
+ #: ../ssb-admin.php:141
107
+ msgid "Select additional places to display buttons:"
108
+ msgstr "Selecciona lugares adicionales donde mostrar los botones:"
109
+
110
+ #: ../ssb-admin.php:142
111
+ msgid "Show at frontpage"
112
+ msgstr "Pagina de entrada"
113
+
114
+ #: ../ssb-admin.php:143
115
+ msgid "Show at category pages"
116
+ msgstr "Páginas de categorías"
117
+
118
+ #: ../ssb-admin.php:144
119
+ msgid "Show at archive pages"
120
+ msgstr "Páginas de archivo"
121
+
122
+ #: ../ssb-admin.php:145
123
+ msgid "Show at tag pages"
124
+ msgstr "Páginas de etiquetas"
125
+
126
+ #: ../ssb-admin.php:147
127
+ msgid "Place buttons on archives:"
128
+ msgstr "Colocar los botones en archivo:"
129
+
130
+ #: ../ssb-admin.php:155
131
+ msgid "Save Changes"
132
+ msgstr "Guardar cambios"
133
+
134
+ #: ../ssb-admin.php:165
135
+ msgid "About this plugin:"
136
+ msgstr "Sobre este plugin:"
137
+
138
+ #: ../ssb-admin.php:167
139
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
140
+ msgstr "Habla con <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> en Twitter para solución de bugs o peticiones de nuevas características."
141
+
142
+ #: ../ssb-admin.php:168
143
+ msgid "Enjoy the plugin?"
144
+ msgstr "Te gusta el plugin?"
145
+
146
+ #: ../ssb-admin.php:169
147
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
148
+ msgstr "<a href=\"http://twitter.com/?status=Estoy usando el plugin Simple Social Buttons! de @rabinek - para WordPress http://blog.rabinek.pl/\" target=\"_blank\">Twittea sobre él</a> y piensa en hacer una donación."
149
+
150
+ #: ../ssb-admin.php:170
151
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
152
+ msgstr "<strong>Dona:</strong> Hay mucho trabajo a la hora de realizar plugins, apoya a tus desarrolladores open source. Gracias!"
153
+
154
+ #: ../ssb-admin.php:182
155
+ msgid "About the author:"
156
+ msgstr "Sobre el autor:"
157
+
158
+ #: ../ssb-admin.php:184
159
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
160
+ msgstr "Hola! mi nombre es Pawel Rabinek (aka xradar). Estoy interesado en SEO y Social Media, así como desarrollo en PHP y Wordpress."
161
+
162
+ #: ../ssb-admin.php:186
163
+ msgid "My blog about SEO"
164
+ msgstr "Mi blog sobre SEO"
165
+
166
+ #: ../ssb-admin.php:186
167
+ msgid "[Polish]"
168
+ msgstr " "
169
+
170
+ #: ../ssb-admin.php:187
171
+ msgid "Follow me on Twitter"
172
+ msgstr "Sígueme en Twitter"
173
+
174
+ #: ../ssb-admin.php:188
175
+ msgid "Paweł Rabinek on Facebook"
176
+ msgstr "Paweł Rabinek en Facebook"
177
+
178
+ #: ../ssb-admin.php:189
179
+ msgid "Paweł Rabinek on Google Plus"
180
+ msgstr "Paweł Rabinek en Google Plus"
181
+
182
+ #: ../ssb-admin.php:190
183
+ msgid "LinkedIn profile"
184
+ msgstr "Perfil en LinkedIn"
185
+
186
+ #: ../ssb-admin.php:196
187
+ msgid "Usefull links:"
188
+ msgstr "Links interesantes:"
189
+
190
+ #: ../ssb-admin.php:199
191
+ msgid "Unlimited web hosting"
192
+ msgstr "Alojamiento web ilimitado"
193
+
194
+ #: ../ssb-admin.php:200
195
+ msgid "Best SEO software"
196
+ msgstr "Mejor software SEO"
197
+
198
+ #: ../ssb-admin.php:201
199
+ msgid "Wordpress templates"
200
+ msgstr "Plantillas de Wordpress"
201
+
202
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
203
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
trunk/lang/simplesocialbuttons-fr_FR.mo ADDED
Binary file
trunk/lang/simplesocialbuttons-fr_FR.po ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-01 11:29+0100\n"
6
+ "PO-Revision-Date: 2012-02-01 11:30+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Paweł Rabinek (FR: Emmanuel Beziat) <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: French\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-Country: FRANCE\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ # Traduit par @RhooManu - www.infographizm.com
20
+ #: ../simple-social-buttons.php:424
21
+ #: ../ssb-admin.php:11
22
+ msgid "Settings"
23
+ msgstr "Paramètres"
24
+
25
+ # Traduit par @RhooManu - www.infographizm.com
26
+ #: ../simple-social-buttons.php:452
27
+ msgid "SSB Settings"
28
+ msgstr "SSB paramètres"
29
+
30
+ #: ../simple-social-buttons.php:463
31
+ msgid "Hide Simple Social Buttons"
32
+ msgstr "Cacher Simple Social Buttons"
33
+
34
+ #: ../ssb-admin.php:13
35
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
36
+ msgstr "<strong>Simple Social Buttons</strong>, par <strong>Paweł Rabinek</strong>. Cette extension ajoute des boutons de réseaux sociaux, comme <strong>Google +1</strong>, <strong>Facebook J'aime</strong> et <strong>Twitter</strong>. La plus flexible des extensions de boutons de réseaux sociaux !"
37
+
38
+ #: ../ssb-admin.php:68
39
+ msgid "Select buttons"
40
+ msgstr "Choisir les boutons"
41
+
42
+ #: ../ssb-admin.php:70
43
+ msgid "Select social media buttons:"
44
+ msgstr "Choisissez les boutons de réseaux sociaux :"
45
+
46
+ #: ../ssb-admin.php:76
47
+ #: ../ssb-admin.php:90
48
+ #: ../ssb-admin.php:105
49
+ msgid "inactive"
50
+ msgstr "inactives"
51
+
52
+ #: ../ssb-admin.php:84
53
+ msgid "Google plus one (+1)"
54
+ msgstr "Google plus un (+1)"
55
+
56
+ #: ../ssb-admin.php:98
57
+ msgid "Facebook Like it"
58
+ msgstr "Facebook J'aime"
59
+
60
+ #: ../ssb-admin.php:113
61
+ msgid "Twitter share"
62
+ msgstr "Partage twitter"
63
+
64
+ #: ../ssb-admin.php:116
65
+ msgid "Disable plugin CSS (only advanced users)"
66
+ msgstr ""
67
+
68
+ #: ../ssb-admin.php:121
69
+ msgid "Single posts - display settings"
70
+ msgstr "Articles seuls - paramètres d'affichages"
71
+
72
+ #: ../ssb-admin.php:123
73
+ msgid "Place buttons on single post:"
74
+ msgstr "Placer les boutons sur un article seul :"
75
+
76
+ #: ../ssb-admin.php:124
77
+ #: ../ssb-admin.php:148
78
+ msgid "Before the content"
79
+ msgstr "Avant le contenu"
80
+
81
+ #: ../ssb-admin.php:125
82
+ #: ../ssb-admin.php:149
83
+ msgid "After the content"
84
+ msgstr "Après le contenu"
85
+
86
+ #: ../ssb-admin.php:130
87
+ msgid "Single pages - display settings"
88
+ msgstr "Pages - paramètres d'affichage"
89
+
90
+ #: ../ssb-admin.php:132
91
+ msgid "Place buttons on single pages:"
92
+ msgstr "Placer les boutons sur les pages :"
93
+
94
+ #: ../ssb-admin.php:133
95
+ msgid "Before the page content"
96
+ msgstr "Avant le contenu de la page"
97
+
98
+ #: ../ssb-admin.php:134
99
+ msgid "After the page content"
100
+ msgstr "Après le contenu de la page"
101
+
102
+ #: ../ssb-admin.php:139
103
+ msgid "Archives - display settings"
104
+ msgstr "Archives - paramètres d'affichage"
105
+
106
+ #: ../ssb-admin.php:141
107
+ msgid "Select additional places to display buttons:"
108
+ msgstr "Choisissez une place supplémentaire pour afficher les boutons :"
109
+
110
+ #: ../ssb-admin.php:142
111
+ msgid "Show at frontpage"
112
+ msgstr "Afficher sur la page principale"
113
+
114
+ #: ../ssb-admin.php:143
115
+ msgid "Show at category pages"
116
+ msgstr "Afficher sur les pages de catégories"
117
+
118
+ #: ../ssb-admin.php:144
119
+ msgid "Show at archive pages"
120
+ msgstr "Afficher sur les pages d'archives"
121
+
122
+ #: ../ssb-admin.php:145
123
+ msgid "Show at tag pages"
124
+ msgstr "Affichers sur les pages de tags"
125
+
126
+ #: ../ssb-admin.php:147
127
+ msgid "Place buttons on archives:"
128
+ msgstr "Placer les boutons sur les archives :"
129
+
130
+ #: ../ssb-admin.php:155
131
+ #, fuzzy
132
+ msgid "Save Changes"
133
+ msgstr "Enregistrer les changement"
134
+
135
+ #: ../ssb-admin.php:165
136
+ msgid "About this plugin:"
137
+ msgstr "À propos de cette extension"
138
+
139
+ #: ../ssb-admin.php:167
140
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
141
+ msgstr "Parlez à <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> sur Twitter pour signaler les bugs ou demander des ajouts."
142
+
143
+ #: ../ssb-admin.php:168
144
+ msgid "Enjoy the plugin?"
145
+ msgstr "Cette extension vous plaît ?"
146
+
147
+ #: ../ssb-admin.php:169
148
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
149
+ msgstr "<a href=\"http://twitter.com/?status=J'utilise @rabinek - WordPress Simple Social Buttons ! http://blog.rabinek.pl/\" target=\"_blank\">Twittez cette info</a> et n'hésitez pas à faire un don !"
150
+
151
+ #: ../ssb-admin.php:170
152
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
153
+ msgstr "<strong>Faire un don :</strong> Faire une extension demande beaucoup de travail - aidez les développeurs à améliorer leur travail. Merci !"
154
+
155
+ #: ../ssb-admin.php:182
156
+ msgid "About the author:"
157
+ msgstr "À propos de l'auteur :"
158
+
159
+ #: ../ssb-admin.php:184
160
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
161
+ msgstr "Salut ! Mon nom est Paweł Rabinek (surnommé xradar). Je m'intéresse beaucoup au référencement et aux réseaux sociaux, au développement PHP et pour WordPress."
162
+
163
+ #: ../ssb-admin.php:186
164
+ msgid "My blog about SEO"
165
+ msgstr "Mon blog sur le référencement (SEO)"
166
+
167
+ #: ../ssb-admin.php:186
168
+ msgid "[Polish]"
169
+ msgstr " "
170
+
171
+ #: ../ssb-admin.php:187
172
+ msgid "Follow me on Twitter"
173
+ msgstr "Suivez-moi sur twitter !"
174
+
175
+ #: ../ssb-admin.php:188
176
+ msgid "Paweł Rabinek on Facebook"
177
+ msgstr "Paweł Rabinek sur Facebook"
178
+
179
+ #: ../ssb-admin.php:189
180
+ msgid "Paweł Rabinek on Google Plus"
181
+ msgstr "Paweł Rabinek sur Google Plus"
182
+
183
+ #: ../ssb-admin.php:190
184
+ msgid "LinkedIn profile"
185
+ msgstr "Profil LinkedIn"
186
+
187
+ #: ../ssb-admin.php:196
188
+ msgid "Usefull links:"
189
+ msgstr "Liens utiles :"
190
+
191
+ #: ../ssb-admin.php:199
192
+ msgid "Unlimited web hosting"
193
+ msgstr "Hébergement web illimité"
194
+
195
+ #: ../ssb-admin.php:200
196
+ msgid "Best SEO software"
197
+ msgstr "Meilleur logiciel de référencement"
198
+
199
+ #: ../ssb-admin.php:201
200
+ msgid "Wordpress templates"
201
+ msgstr "Thèmes pour WordPress"
202
+
203
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
204
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
trunk/lang/simplesocialbuttons-pl_PL.mo ADDED
Binary file
trunk/lang/simplesocialbuttons-pl_PL.po ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: simplesocialbuttons\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-02-01 11:16+0100\n"
6
+ "PO-Revision-Date: 2012-02-01 11:16+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Paweł Rabinek <pawel@rabinek.pl>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: Polish\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-SearchPath-0: ..\n"
17
+
18
+ #: ../simple-social-buttons.php:424
19
+ #: ../ssb-admin.php:11
20
+ msgid "Settings"
21
+ msgstr "Ustawienia"
22
+
23
+ #: ../simple-social-buttons.php:452
24
+ msgid "SSB Settings"
25
+ msgstr "Ustawienia SSB"
26
+
27
+ #: ../simple-social-buttons.php:463
28
+ msgid "Hide Simple Social Buttons"
29
+ msgstr "Ukryj przyciski wtyczki Simple Social Buttons"
30
+
31
+ #: ../ssb-admin.php:13
32
+ msgid "<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever."
33
+ msgstr "<strong>Simple Social Buttons</strong>, autor <strong>Paweł Rabinek</strong>. Wtyczka dodaje do wpisów przyciski: <strong>Google +1</strong>, <strong>Facebook Lubię to</strong> oraz <strong>Twitter</strong>. Najlepsza wtyczka z przyciskami social media dla Wordpress."
34
+
35
+ #: ../ssb-admin.php:68
36
+ msgid "Select buttons"
37
+ msgstr "Wybór przycisków"
38
+
39
+ #: ../ssb-admin.php:70
40
+ msgid "Select social media buttons:"
41
+ msgstr "Wybierz przyciski do wyświetlenia:"
42
+
43
+ #: ../ssb-admin.php:76
44
+ #: ../ssb-admin.php:90
45
+ #: ../ssb-admin.php:105
46
+ msgid "inactive"
47
+ msgstr "nieaktywny"
48
+
49
+ #: ../ssb-admin.php:84
50
+ msgid "Google plus one (+1)"
51
+ msgstr "Google plus jeden (+1)"
52
+
53
+ #: ../ssb-admin.php:98
54
+ msgid "Facebook Like it"
55
+ msgstr "Facebook Lubię to"
56
+
57
+ #: ../ssb-admin.php:113
58
+ msgid "Twitter share"
59
+ msgstr "Wyślij na Twitter"
60
+
61
+ #: ../ssb-admin.php:116
62
+ msgid "Disable plugin CSS (only advanced users)"
63
+ msgstr "Wyłącz style CSS wtyczki (tylko dla zaawansowanych użytkowników)"
64
+
65
+ #: ../ssb-admin.php:121
66
+ msgid "Single posts - display settings"
67
+ msgstr "Pojedyńcze wpisy - ustawienia"
68
+
69
+ #: ../ssb-admin.php:123
70
+ msgid "Place buttons on single post:"
71
+ msgstr "Miejsce przycisków na podstronie wpisu:"
72
+
73
+ #: ../ssb-admin.php:124
74
+ #: ../ssb-admin.php:148
75
+ msgid "Before the content"
76
+ msgstr "Nad treścią wpisu"
77
+
78
+ #: ../ssb-admin.php:125
79
+ #: ../ssb-admin.php:149
80
+ msgid "After the content"
81
+ msgstr "Pod treścią wpisu"
82
+
83
+ #: ../ssb-admin.php:130
84
+ msgid "Single pages - display settings"
85
+ msgstr "Pojedyńcze strony - ustawienia"
86
+
87
+ #: ../ssb-admin.php:132
88
+ msgid "Place buttons on single pages:"
89
+ msgstr "Miejsce przycisków na stronach:"
90
+
91
+ #: ../ssb-admin.php:133
92
+ msgid "Before the page content"
93
+ msgstr "Nad treścią strony"
94
+
95
+ #: ../ssb-admin.php:134
96
+ msgid "After the page content"
97
+ msgstr "Pod treścią strony"
98
+
99
+ #: ../ssb-admin.php:139
100
+ msgid "Archives - display settings"
101
+ msgstr "Archiwa - ustawienia"
102
+
103
+ #: ../ssb-admin.php:141
104
+ msgid "Select additional places to display buttons:"
105
+ msgstr "Dodatkowe miejsca do wyświetlenia przycisków:"
106
+
107
+ #: ../ssb-admin.php:142
108
+ msgid "Show at frontpage"
109
+ msgstr "Pokazuj na stronie głównej"
110
+
111
+ #: ../ssb-admin.php:143
112
+ msgid "Show at category pages"
113
+ msgstr "Pokazuj na stroniach kategorii"
114
+
115
+ #: ../ssb-admin.php:144
116
+ msgid "Show at archive pages"
117
+ msgstr "Pokazuje w archiwum dat"
118
+
119
+ #: ../ssb-admin.php:145
120
+ msgid "Show at tag pages"
121
+ msgstr "Pokazuj na stronach tagów"
122
+
123
+ #: ../ssb-admin.php:147
124
+ msgid "Place buttons on archives:"
125
+ msgstr "Miejsce przycisków na stronach archiwum:"
126
+
127
+ #: ../ssb-admin.php:155
128
+ msgid "Save Changes"
129
+ msgstr "Zapisz ustawienia"
130
+
131
+ #: ../ssb-admin.php:165
132
+ msgid "About this plugin:"
133
+ msgstr "Informacje o wtyczce:"
134
+
135
+ #: ../ssb-admin.php:167
136
+ msgid "Talk to <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> on twitter for bugs or feature requests."
137
+ msgstr "Napisz do mnie <a href=\"http://twitter.com/rabinek\" target=\"_blank\">@rabinek</a> na Twitterze, jeżeli znalazłeś błąd lub masz pomysł na ulepszenie wtyczki."
138
+
139
+ #: ../ssb-admin.php:168
140
+ msgid "Enjoy the plugin?"
141
+ msgstr "Podoba Ci się wtyczka?"
142
+
143
+ #: ../ssb-admin.php:169
144
+ msgid "<a href=\"http://twitter.com/?status=I'm using @rabinek's WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/\" target=\"_blank\">Tweet about it</a> and consider donating."
145
+ msgstr "<a href=\"http://twitter.com/?status=Używam wtyczki do Wordpressa od @rabinek - WordPress Simple Social Buttons! http://blog.rabinek.pl/\" target=\"_blank\">Powiedz o niej na Twitterze</a> i rozważ wsparcie dla tej wtyczki (poniżej)."
146
+
147
+ #: ../ssb-admin.php:170
148
+ msgid "<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!"
149
+ msgstr "<strong>Wsparcie:</strong> Wiele pracy trzeba włożyć w napisanie takiej wtyczki. Jeżeli korzystasz z niej i podoba Ci się, postaw mi piwo klikając Donate."
150
+
151
+ #: ../ssb-admin.php:182
152
+ msgid "About the author:"
153
+ msgstr "Informacje o autorze:"
154
+
155
+ #: ../ssb-admin.php:184
156
+ msgid "Hi! My name is Paweł Rabinek (aka xradar). I'm interesed in SEO and social media, PHP and Wordpress developement."
157
+ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar). Zawodowo zajmuje się SEO i mediami społecznościowymi. Programuję w PHP, często z wykorzystaniem Wordpressa."
158
+
159
+ #: ../ssb-admin.php:186
160
+ msgid "My blog about SEO"
161
+ msgstr "Mój blog o SEO"
162
+
163
+ #: ../ssb-admin.php:186
164
+ msgid "[Polish]"
165
+ msgstr " "
166
+
167
+ #: ../ssb-admin.php:187
168
+ msgid "Follow me on Twitter"
169
+ msgstr "Napisz do mnie na Twitter"
170
+
171
+ #: ../ssb-admin.php:188
172
+ msgid "Paweł Rabinek on Facebook"
173
+ msgstr "Paweł Rabinek na Facebook"
174
+
175
+ #: ../ssb-admin.php:189
176
+ msgid "Paweł Rabinek on Google Plus"
177
+ msgstr "Paweł Rabinek na Google Plus"
178
+
179
+ #: ../ssb-admin.php:190
180
+ msgid "LinkedIn profile"
181
+ msgstr "Profil na LinkedIn"
182
+
183
+ #: ../ssb-admin.php:196
184
+ msgid "Usefull links:"
185
+ msgstr "Przydatne linki:"
186
+
187
+ #: ../ssb-admin.php:199
188
+ msgid "Unlimited web hosting"
189
+ msgstr "Nielimitowany hosting stron"
190
+
191
+ #: ../ssb-admin.php:200
192
+ msgid "Best SEO software"
193
+ msgstr "Najlepsze oprogramowanie SEO"
194
+
195
+ #: ../ssb-admin.php:201
196
+ msgid "Wordpress templates"
197
+ msgstr "Szablony do Wordpress"
198
+
199
+ #~ msgid "Hi! My name is Paweł Rabinek (aka xradar)."
200
+ #~ msgstr "Hej! Nazywam się Paweł Rabinek (nick xradar)."
trunk/readme.txt ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Plugin Name ===
2
+ Contributors: xradar
3
+ Donate link: http://blog.rabinek.pl/
4
+ Tags: facebook, google, twitter, plus one, like it, like, share
5
+ Requires at least: 2.8
6
+ Tested up to: 3.3.1
7
+ Stable tag: 1.5.1
8
+
9
+ Insert and customize social buttons: Facebook Like it, Google plus +1 and Twitter share. Share your content with friends.
10
+
11
+ == Description ==
12
+
13
+ Simple Social Buttons adds to your posts social network buttons, such as: **Facebook "Like it!"**, **Google plus on "+1"** and **Twitter share**. Plugin is fully customizable. You can decide where to put those buttons:
14
+
15
+ - Buttons above the post content
16
+ - Buttons under the post content
17
+ - Buttons above and under the post
18
+
19
+ That's not all. Simple Social Buttons can also add social media buttons to:
20
+
21
+ - Static Pages
22
+ - Front Page
23
+ - Posts Categories
24
+ - Date Archives
25
+ - Tags Archives
26
+
27
+ Want's more? Now you can change the **order of buttons** on your post!
28
+
29
+ Let your visitors share your content with friends and let them **promote your blog**. Facebook, Google Plus and Twitter are the most popular social networks nowadays. Don't miss the opportunity, and help publish your content and links to those social media networks.
30
+
31
+ Simple Social Buttons is currently in the following languages:
32
+
33
+ - English
34
+ - French
35
+ - Polish
36
+ - German
37
+ - Spanish
38
+ - Lithuanian
39
+
40
+ Feel free if you want to create a translation of this plugin. Contact me via e-mail or Twitter [@rabinek](https://twitter.com/rabinek "Paweł Rabinek on Twitter"), and I'll add your's translation to Simple Social Buttons.
41
+
42
+ For more information about Wordpress and SEO, visit my [SEO Blog](http://blog.rabinek.pl "Paweł Rabinek - Blog SEO") (in polish).
43
+ Also check my new SEO tool [SEO Audit](http://www.seoptimer.com "Free SEO Audit tool").
44
+
45
+ Big thanks for support in development of this plugin for:
46
+
47
+ - Karol from [Liga BBVA](http://www.ligabbva.pl "Liga hiszpańska BBVA") for PHP developement
48
+ - Talem Technologies - [Pozycjonowanie Bydgoszcz](http://www.talem.eu "SEO Pozycjonowanie Bydgoszcz") for time and resources
49
+ - See more thanks in FAQ section
50
+
51
+ == Installation ==
52
+
53
+ 1. Download the latest version of Simple Social Buttons
54
+ 2. Upload folder named simple-social-buttons to the /wp-content/plugins/ directory
55
+ 3. Activate the plugin through the 'Plugins' menu in WordPress
56
+ 4. (Optional) Customize the buttons in the Settings > Simple Social Buttons menu
57
+
58
+ That's it. Buttons will show on your blog posts.
59
+
60
+ You can also use this plugin directly in your template by function `<?php get_ssb([$order]); ?>`, where `$order` is a string with args ( example: `$order = "googleplus=1&fblike=2&twitter=3"` ) or an array ( example: `$order = array('googleplus' => 1, 'fblike' => 2, 'twitter' => 3)` ). If you would like to hide a specified button, you should set order to "0".
61
+
62
+
63
+ == Frequently Asked Questions ==
64
+
65
+ = Is the plugin free? =
66
+
67
+ Yes, it's free. I hope you like it :) If so you can buy me a coffee by doing paypal donate.
68
+
69
+ = Is the plug will be developed? =
70
+
71
+ Yes. I've some plans about developing Simple Social Buttons. There will be more buttons, more customization, and more powerfull! Follow me on Twitter [@rabinek](http://twitter.com/rabinek "Paweł Rabinek na Twitter") and stay tuned.
72
+
73
+ = Why use this plugin? =
74
+
75
+ This plugin automatically adds the Facebook Like button, Google plus one +1 and Twitter share button for each post on your blog. This is the simples and effective way to promote your blog in social media networks.
76
+
77
+ = How about support? =
78
+
79
+ Follow me at Twitter [@rabinek](http://twitter.com/rabinek "Paweł Rabinek na Twitter") or send me a mention. I'll reply as soon as I get it. You can also visit my [SEO Blog](http://blog.rabinek.pl "Paweł Rabinek - Blog SEO") (in polish).
80
+
81
+ = Is there a template tag for custom install? =
82
+
83
+ Yes, you can use `<?php get_ssb(); ?>` in your template file (see installation section). Default instalation don't require that.
84
+
85
+ = Who helped to improve Simple Social Buttons? =
86
+
87
+ **Big thanks to:**
88
+
89
+ - [@RhooManu](http://twitter.com/RhooManu "RhooManu on Twitter") for french translation
90
+ - [Usability Idealist](http://usability-idealist.de/ "Fabian Wolf - Usability Idealist") for converting code to object-oriented, adding buttons order and many fixes
91
+ - [@Dennis Schreiber](http://twitter.com/flammbar "Dennis Schreiber on Twitter") for german translation
92
+ - [@Marcos González](http://twitter.com/qmarcos "Marcos on Twitter") for spanish translation
93
+ - [Vincent G](http://www.host1free.com "Web Hosting") for lithuanian translation
94
+
95
+ == Screenshots ==
96
+
97
+ 1. Simple Social Buttons - plugin options
98
+ 2. Plugin example
99
+ 3. Plugin on archive
100
+ 4. Widget in post edition
101
+
102
+
103
+ == Changelog ==
104
+
105
+ = 1.0 =
106
+ * First stable release.
107
+
108
+ = 1.1 =
109
+ * Added french translation
110
+ * Added language support in Facebook and Google+ JavaScript
111
+
112
+ = 1.2.1 =
113
+ * Optimized settings storage
114
+
115
+ = 1.3 =
116
+ * Converted plugin to class (requires PHP 5, because it is using the constructor auto-method)
117
+ * Added sorting options
118
+ * Added uninstall hook
119
+ * Fixed plugin settings slot not being highlighted in the admin navigation / general settings
120
+ * Added "disable regular CSS" option to let advanced users use their own CSS code
121
+ * Lots of fine-tuning
122
+
123
+ = 1.4 =
124
+ * Added custom meta to disable SSB plugin on sigle page/post (managed in admin menu)
125
+ * Function get_ssb() to directly use in template to show Simple Social Buttons in specified order
126
+ * Widget manage page in wp-admin available only for Administrator
127
+ * Added German and Spanish translation
128
+ * Fine-tuning
129
+
130
+ = 1.5 =
131
+ * New asynchronous JS code
132
+ * Minor bug fixed
133
+
134
+
135
+ = 1.5.1 =
136
+ * Added lithuanian translation
trunk/screenshot-1.png ADDED
Binary file
trunk/screenshot-2.png ADDED
Binary file
trunk/screenshot-3.jpg ADDED
Binary file
trunk/screenshot-4.png ADDED
Binary file
trunk/simple-social-buttons.php ADDED
@@ -0,0 +1,551 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: Simple Social Buttons
4
+ Plugin URI: http://blog.rabinek.pl/simple-social-buttons-wordpress/
5
+ Description: Insert social buttons into posts and archives: Facebook "Like it", Google Plus One "+1" and Twitter share.
6
+ Author: Paweł Rabinek
7
+ Version: 1.5.1
8
+ Author URI: http://blog.rabinek.pl/
9
+ */
10
+
11
+ /* Copyright 2011, Paweł Rabinek (xradar) (email : pawel@rabinek.pl)
12
+
13
+ This program is free software; you can redistribute it and/or modify
14
+ it under the terms of the GNU General Public License, version 2, as
15
+ published by the Free Software Foundation.
16
+
17
+ This program is distributed in the hope that it will be useful,
18
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
19
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
+ GNU General Public License for more details.
21
+
22
+ You should have received a copy of the GNU General Public License
23
+ along with this program; if not, write to the Free Software
24
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
+ */
26
+
27
+ /**
28
+ * HACK: Converted to class, added buttons ordering, improve saving settings
29
+ * @author Fabian Wolf
30
+ * @link http://usability-idealist.de/
31
+ * @since 1.3
32
+ * @requires PHP 5
33
+ */
34
+
35
+
36
+ class SimpleSocialButtonsPR {
37
+ var $pluginName = 'Simple Social Buttons';
38
+ var $pluginVersion = '1.5.1';
39
+ var $pluginPrefix = 'ssb_pr_';
40
+ var $hideCustomMetaKey = '_ssb_hide';
41
+
42
+ // plugin default settings
43
+ var $pluginDefaultSettings = array(
44
+ 'googleplus' => '1',
45
+ 'fblike' => '2',
46
+ 'twitter' => '3',
47
+ 'beforepost' => '1',
48
+ 'afterpost' => '0',
49
+ 'beforepage' => '1',
50
+ 'afterpage' => '0',
51
+ 'beforearchive' => '0',
52
+ 'afterarchive' => '0'
53
+ );
54
+
55
+ // defined buttons
56
+ var $arrKnownButtons = array('fblike', 'googleplus', 'twitter');
57
+
58
+
59
+ /**
60
+ * Constructor
61
+ */
62
+ function __construct() {
63
+ register_activation_hook( __FILE__, array(&$this, 'plugin_install') );
64
+ register_deactivation_hook( __FILE__, array(&$this, 'plugin_uninstall') );
65
+
66
+ /**
67
+ * Action hooks
68
+ */
69
+ add_action( 'create_ssb', array(&$this, 'direct_display'), 10 , 1);
70
+
71
+ /**
72
+ * basic init
73
+ */
74
+ add_action( 'init', array(&$this, 'plugin_init') );
75
+
76
+ // get settings
77
+ $currentSettings = $this->get_settings();
78
+
79
+ // social JS + CSS data
80
+ add_action( 'wp_footer', array(&$this, 'include_social_js') );
81
+ if(!isset($currentSettings['override_css'])) {
82
+ add_action( 'wp_head', array(&$this, 'include_css') );
83
+ }
84
+
85
+ /**
86
+ * Filter hooks
87
+ */
88
+ add_filter( 'the_content', array(&$this, 'insert_buttons') );
89
+ add_filter( 'the_excerpt', array(&$this, 'insert_buttons') );
90
+ }
91
+
92
+ function plugin_init() {
93
+ load_plugin_textdomain( 'simplesocialbuttons', '', dirname( plugin_basename( __FILE__ ) ).'/lang' );
94
+ }
95
+
96
+ /**
97
+ * Both avoids time-wasting https calls AND provides better SSL-protection if the current server is accessed using HTTPS
98
+ */
99
+ public function get_current_http( $echo = true ) {
100
+ $return = 'http' . (strtolower(@$_SERVER['HTTPS']) == 'on' ? 's' : '') . '://';
101
+
102
+ if($echo != false) {
103
+ echo $return;
104
+ return;
105
+ }
106
+
107
+ return $return;
108
+ }
109
+
110
+ function include_social_js($force_include = false) {
111
+ $lang = get_bloginfo('language');
112
+ $lang_g = strtolower(substr($lang, 0, 2));
113
+ $lang_fb = str_replace('-', '_', $lang);
114
+
115
+ /**
116
+ * Disable loading of social network JS if disabled for specific post type
117
+ *
118
+ * NOTE: Conditional tags seem to work only AFTER the page has loaded, thus the code has been added here instead of at the plugin init
119
+ * @author Fabian Wolf
120
+ * @link http://usability-idealist.de/
121
+ * @date Di 20. Dez 17:50:01 CET 2011
122
+ */
123
+ if($this->where_to_insert() != false || $force_include == true) {
124
+ ?>
125
+
126
+ <!-- Simple Social Buttons plugin -->
127
+ <script type="text/javascript">
128
+ //<![CDATA[
129
+ // google plus
130
+ window.___gcfg = {lang: '<?php echo $lang_g; ?>'};
131
+ (function() {
132
+ var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
133
+ po.src = 'https://apis.google.com/js/plusone.js';
134
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
135
+ })();
136
+ // facebook
137
+ (function(d, s, id) {
138
+ var js, fjs = d.getElementsByTagName(s)[0];
139
+ if (d.getElementById(id)) return;
140
+ js = d.createElement(s); js.id = id;
141
+ js.src = "//connect.facebook.net/<?php echo $lang_fb; ?>/all.js#xfbml=1";
142
+ fjs.parentNode.insertBefore(js, fjs);
143
+ }(document, 'script', 'facebook-jssdk'));
144
+ // twitter
145
+ !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
146
+ // ]]>
147
+ </script>
148
+ <!-- /End of Simple Social Buttons -->
149
+
150
+ <?php
151
+ }
152
+ }
153
+
154
+
155
+ function include_css() {
156
+ ?>
157
+
158
+ <!-- Simple Social Buttons style sheet -->
159
+ <style type="text/css">
160
+ div.simplesocialbuttons { height: 20px; margin: 10px auto 10px 0; text-align: center; clear: left; }
161
+ div.simplesocialbutton { float: left; text-align: center;}
162
+ </style>
163
+ <!-- End of Simple Social Buttons -->
164
+
165
+ <?php
166
+ }
167
+
168
+ /**
169
+ * Called when installing = activating the plugin
170
+ */
171
+ function plugin_install() {
172
+ $defaultSettings = $this->check_old_settings();
173
+
174
+ /**
175
+ * @see http://codex.wordpress.org/Function_Reference/add_option
176
+ * @param string $name Name of the option to be added. Use underscores to separate words, and do not use uppercase - this is going to be placed into the database.
177
+ * @param mixed $value Value for this option name. Limited to 2^32 bytes of data.
178
+ * @param string $deprecated Deprecated in WordPress Version 2.3.
179
+ * @param string $autoload Should this option be automatically loaded by the function wp_load_alloptions() (puts options into object cache on each page load)? Valid values: yes or no. Default: yes
180
+ */
181
+ add_option( $this->pluginPrefix . 'settings', $defaultSettings, '', 'yes' );
182
+ add_option( $this->pluginPrefix . 'version', $this->pluginVersion, '', 'yes' ); // for backward-compatiblity checks
183
+
184
+ }
185
+
186
+ /**
187
+ * Backward compatiblity for newer versions
188
+ */
189
+ function check_old_settings() {
190
+ $return = $this->pluginDefaultSettings;
191
+
192
+ $oldSettings = get_option( $this->pluginPrefix . 'settings', array() );
193
+
194
+ if( !empty($oldSettings) && is_array($oldSettings) != false) {
195
+ $return = wp_parse_args( $oldSettings, $this->pluginDefaultSettings );
196
+ }
197
+
198
+ return $return;
199
+ }
200
+
201
+ /**
202
+ * Plugin unistall and database clean up
203
+ */
204
+ function plugin_uninstall() {
205
+ if( !defined( 'ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') ) {
206
+ exit();
207
+ }
208
+
209
+ delete_option( $this->pluginPrefix . 'settings' );
210
+ delete_option( $this->pluginPrefix . 'version' );
211
+
212
+ }
213
+
214
+
215
+ /**
216
+ * Get settings from database
217
+ */
218
+ public function get_settings() {
219
+ $return = get_option($this->pluginPrefix . 'settings' );
220
+ if(empty($return) != false) {
221
+ $return = $this->pluginDefaultSettings;
222
+ }
223
+
224
+ return $return;
225
+ }
226
+
227
+ /**
228
+ * Update settings
229
+ */
230
+ function update_settings( $newSettings = array() ) {
231
+ $return = false;
232
+
233
+ // compile settings
234
+ $currentSettings = $this->get_settings();
235
+
236
+ /**
237
+ * Compile settings array
238
+ * @see http://codex.wordpress.org/Function_Reference/wp_parse_args
239
+ * @param mixed $args
240
+ * @param mixed $defaults
241
+ */
242
+ $updatedSettings = wp_parse_args( $newSettings, $currentSettings );
243
+
244
+ if($currentSettings != $updatedSettings ) {
245
+ $return = update_option( $this->pluginPrefix . 'settings', $newSettings );
246
+ }
247
+
248
+ return $return;
249
+ }
250
+
251
+ /**
252
+ * Returns true on pages where buttons should be shown
253
+ */
254
+ function where_to_insert() {
255
+ $return = false;
256
+
257
+ // get settings from database
258
+ $settings = $this->get_settings();
259
+
260
+ extract( $settings, EXTR_PREFIX_ALL, 'ssb' );
261
+
262
+ // display on single post?
263
+ if(is_single() && ($ssb_beforepost || $ssb_afterpost) && array_shift(get_post_meta(get_the_ID(), $this->hideCustomMetaKey)) != 'true') {
264
+ $return = true;
265
+ }
266
+
267
+ // display on single page?
268
+ if(is_page() && ($ssb_beforepage || $ssb_afterpage) && array_shift(get_post_meta(get_the_ID(), $this->hideCustomMetaKey)) != 'true') {
269
+ $return = true;
270
+ }
271
+
272
+ // display on frontpage?
273
+ if((is_front_page() || is_home()) && $ssb_showfront) {
274
+ $return = true;
275
+ }
276
+
277
+ // display on category archive?
278
+ if(is_category() && $ssb_showcategory) {
279
+ $return = true;
280
+ }
281
+
282
+ // display on date archive?
283
+ if(is_date() && $ssb_showarchive)
284
+ {
285
+ $return = true;
286
+ }
287
+
288
+ // display on tag archive?
289
+ if(is_tag() && $ssb_showtag) {
290
+ $return = true;
291
+ }
292
+ return $return;
293
+ }
294
+
295
+ /**
296
+ * Insert the buttons to the content
297
+ */
298
+ function insert_buttons($content) {
299
+ // Insert or not?
300
+ if(!$this->where_to_insert() ) {
301
+ return $content;
302
+ }
303
+
304
+ // get settings from database
305
+ $settings = $this->get_settings();
306
+
307
+ extract( $settings, EXTR_PREFIX_ALL, 'ssb' );
308
+
309
+ // creating order
310
+ $order = array();
311
+ foreach ($this->arrKnownButtons as $button_name) {
312
+ $order[$button_name] = $settings[$button_name];
313
+ }
314
+ $ssb_buttonscode = $this->generate_buttons_code($order);
315
+
316
+ if(is_single()) {
317
+ if($ssb_beforepost) {
318
+ $content = $ssb_buttonscode.$content;
319
+ }
320
+ if($ssb_afterpost) {
321
+ $content = $content.$ssb_buttonscode;
322
+ }
323
+ } else if(is_page()) {
324
+ if($ssb_beforepage) {
325
+ $content = $ssb_buttonscode.$content;
326
+ }
327
+ if($ssb_afterpage) {
328
+ $content = $content.$ssb_buttonscode;
329
+ }
330
+ } else {
331
+ if($ssb_beforearchive) {
332
+ $content = $ssb_buttonscode.$content;
333
+ }
334
+ if($ssb_afterarchive) {
335
+ $content = $content.$ssb_buttonscode;
336
+ }
337
+ }
338
+
339
+ return $content;
340
+
341
+ }
342
+
343
+ function direct_display($order = null)
344
+ {
345
+ // Return false if hide SSB for this page/post is disabled
346
+ if (is_single() && array_shift(get_post_meta(get_the_ID(), $this->hideCustomMetaKey)) == 'true') return false;
347
+
348
+ // Display buttons and scripts
349
+ $buttons_code = $this->generate_buttons_code($order);
350
+ echo $buttons_code;
351
+ $this->include_social_js(true);
352
+ }
353
+
354
+ /**
355
+ * Generate buttons html code with specified order
356
+ *
357
+ * @param mixed $order - order of social buttons
358
+ */
359
+ function generate_buttons_code($order = null)
360
+ {
361
+ foreach ($this->arrKnownButtons as $button_name) {
362
+ $defaultOrder[$button_name] = $this->pluginDefaultSettings[$button_name];
363
+ }
364
+
365
+ $order = wp_parse_args($order, $defaultOrder);
366
+
367
+ // define empty buttons code to use
368
+ $ssb_buttonscode = '';
369
+
370
+ // get post permalink and title
371
+ $permalink = get_permalink();
372
+ $title = get_the_title();
373
+
374
+ //Sorting the buttons
375
+ foreach($this->arrKnownButtons as $button_name) {
376
+ if(!empty($order[$button_name]) && (int)$order[$button_name] != 0) {
377
+ $arrButtons[$button_name] = $order[$button_name];
378
+ }
379
+ }
380
+ @asort($arrButtons);
381
+
382
+ $arrButtonsCode = array();
383
+ foreach($arrButtons as $button_name => $button_sort) {
384
+ switch($button_name) {
385
+ case 'googleplus':
386
+ $arrButtonsCode[] = '<div class="simplesocialbutton ssb-button-googleplus"><!-- Google Plus One--><div class="g-plusone" data-size="medium" data-href="'.$permalink.'"></div></div>';
387
+ break;
388
+ case 'fblike':
389
+ $arrButtonsCode[] = '<div class="simplesocialbutton ssb-button-fblike"><!-- Facebook like--><div class="fb-like" data-href="'.$permalink.'" data-send="false" data-layout="button_count" data-width="100" data-show-faces="false"></div></div>';
390
+ break;
391
+ case 'twitter':
392
+ $arrButtonsCode[] = '<div class="simplesocialbutton ssb-buttom-twitter"><!-- Twitter--><a href="https://twitter.com/share" class="twitter-share-button" data-text="'.$title.'" data-url="'.$permalink.'" rel="nofollow"></a></div>';
393
+ break;
394
+ }
395
+ }
396
+
397
+ if(count($arrButtonsCode) > 0) {
398
+ $ssb_buttonscode = '<div class="simplesocialbuttons">'."\n";
399
+ $ssb_buttonscode .= implode("\n", $arrButtonsCode) . "\n";
400
+ $ssb_buttonscode .= '</div>'."\n";
401
+ }
402
+
403
+ return $ssb_buttonscode;
404
+ }
405
+ } // end class
406
+
407
+
408
+ /**
409
+ * Admin class
410
+ *
411
+ * Gets only initiated if this plugin is called inside the admin section ;)
412
+ */
413
+ class SimpleSocialButtonsPR_Admin extends SimpleSocialButtonsPR {
414
+
415
+ function __construct() {
416
+ parent::__construct();
417
+
418
+ add_action('admin_menu', array(&$this, 'admin_actions') );
419
+ add_action('add_meta_boxes', array(&$this, 'ssb_meta_box'));
420
+ add_action('save_post', array(&$this, 'ssb_save_meta'), 10, 2);
421
+
422
+ add_filter('plugin_action_links', array(&$this, 'plugin_action_links'), 10, 2 );
423
+ }
424
+
425
+ public function admin_actions() {
426
+ if (current_user_can('administrator'))
427
+ add_options_page('Simple Social Buttons ', 'Simple Social Buttons ', 1, 'simple-social-buttons', array(&$this, 'admin_page') );
428
+ }
429
+
430
+ public function admin_page() {
431
+ global $wpdb;
432
+
433
+ include dirname( __FILE__ ).'/ssb-admin.php';
434
+ }
435
+
436
+
437
+
438
+ public function plugin_action_links($links, $file) {
439
+ static $this_plugin;
440
+
441
+ if (!$this_plugin) {
442
+ $this_plugin = plugin_basename(__FILE__);
443
+ }
444
+
445
+ if ($file == $this_plugin) {
446
+ $settings_link = '<a href="' . get_bloginfo('wpurl') . '/wp-admin/options-general.php?page=simple-social-buttons">'.__('Settings', 'simplesocialbuttons').'</a>';
447
+ array_unshift($links, $settings_link);
448
+ }
449
+
450
+ return $links;
451
+ }
452
+
453
+ /**
454
+ * Register meta box to hide/show SSB plugin on single post or page
455
+ */
456
+ public function ssb_meta_box()
457
+ {
458
+ $postId = $_GET['post'];
459
+ $postType = get_post_type($postId);
460
+
461
+ if ($postType != 'page' && $postType != 'post') return false;
462
+
463
+ $currentSsbHide = get_post_custom_values($this->hideCustomMetaKey, $postId);
464
+ $currentSettings = $this->get_settings();
465
+
466
+ if ($currentSsbHide[0] == 'true') {
467
+ $checked = true;
468
+ } else {
469
+ $checked = false;
470
+ }
471
+
472
+ // Rendering meta box
473
+ if (!function_exists('add_meta_box')) include('includes/template.php');
474
+ add_meta_box('ssb_meta_box', __('SSB Settings', 'simplesocialbuttons'), array(&$this, 'render_ssb_meta_box'), $postType, 'side', 'default', array('type' => $postType, 'checked' => $checked));
475
+ }
476
+
477
+ /**
478
+ * Showing custom meta field
479
+ */
480
+ public function render_ssb_meta_box($post, $metabox)
481
+ {
482
+ wp_nonce_field( plugin_basename( __FILE__ ), 'ssb_noncename' );
483
+ ?>
484
+
485
+ <label for="<?php echo $this->hideCustomMetaKey;?>"><input type="checkbox" id="<?php echo $this->hideCustomMetaKey;?>" name="<?php echo $this->hideCustomMetaKey;?>" value="true" <?php if ($metabox['args']['checked']):?>checked="checked"<?php endif;?>/>&nbsp;<?php echo __('Hide Simple Social Buttons', 'simplesocialbuttons');?></label>
486
+
487
+ <?php
488
+ }
489
+
490
+
491
+ /**
492
+ * Saving custom meta value
493
+ */
494
+ public function ssb_save_meta($post_id, $post)
495
+ {
496
+ $postId = (int)$post_id;
497
+
498
+ // Verify if this is an auto save routine.
499
+ if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE )
500
+ return;
501
+
502
+ // Verify this came from the our screen and with proper authorization
503
+ if ( !wp_verify_nonce( $_POST['ssb_noncename'], plugin_basename( __FILE__ ) ) )
504
+ return;
505
+
506
+ // Check permissions
507
+ if ( 'page' == $_POST['post_type'] ) {
508
+ if ( !current_user_can( 'edit_page', $post_id ) )
509
+ return;
510
+ } else {
511
+ if ( !current_user_can( 'edit_post', $post_id ) )
512
+ return;
513
+ }
514
+
515
+ // Saving data
516
+ $newValue = (isset($_POST[$this->hideCustomMetaKey])) ? $_POST[$this->hideCustomMetaKey] : 'false';
517
+
518
+ update_post_meta($postId, $this->hideCustomMetaKey, $newValue);
519
+ }
520
+
521
+
522
+ } // end SimpleSocialButtonsPR_Admin
523
+
524
+ if(is_admin() ) {
525
+ $_ssb_pr = new SimpleSocialButtonsPR_Admin();
526
+ } else {
527
+ $_ssb_pr = new SimpleSocialButtonsPR();
528
+ }
529
+
530
+ /**
531
+ * Function to insert Simple Social Buttons directly in template.
532
+ *
533
+ * @param mixed $order - order of the buttons in array or string (parsed by wp_parse_args())
534
+ *
535
+ * @example 1 - use in template with default order
536
+ * get_ssb();
537
+ *
538
+ * @example 2 - use in template with specified order
539
+ * get_ssb('googleplus=3&fblike=2&twitter=1');
540
+ *
541
+ * @example 3 - hiding button by setting order to 0. By using code below googleplus button won't be displayed
542
+ * get_ssb('googleplus=0&fblike=1&twitter=2');
543
+ *
544
+ *
545
+ */
546
+ function get_ssb($order = null)
547
+ {
548
+ do_action('create_ssb', $order);
549
+ }
550
+
551
+ ?>
trunk/ssb-admin.php ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="wrap">
2
+
3
+ <style type="text/css">
4
+ div.inside ul li {
5
+ line-height: 16px;
6
+ list-style-type: square;
7
+ margin-left: 15px;
8
+ }
9
+ </style>
10
+
11
+ <h2>Simple Social Buttons - <?php _e('Settings'); ?>:</h2>
12
+
13
+ <p><?php _e('<strong>Simple Social Buttons</strong> by <strong>Paweł Rabinek</strong>. This plugin adds a social media buttons, such as: <strong>Google +1</strong>, <strong>Facebook Like it</strong> and <strong>Twitter share</strong>. The most flexible social buttons plugin ever.', 'simplesocialbuttons'); ?></p>
14
+
15
+ <?php
16
+
17
+ if(strtolower($_POST['hiddenconfirm']) == 'y') {
18
+
19
+ /**
20
+ * Compile settings array
21
+ * @see http://codex.wordpress.org/Function_Reference/wp_parse_args
22
+ */
23
+
24
+ $updateSettings = array(
25
+ 'googleplus' => $_POST['ssb_googleplus'],
26
+ 'fblike' => $_POST['ssb_fblike'],
27
+ 'twitter' => $_POST['ssb_twitter'],
28
+
29
+ 'beforepost' => $_POST['ssb_beforepost'],
30
+ 'afterpost' => $_POST['ssb_afterpost'],
31
+ 'beforepage' => $_POST['ssb_beforepage'],
32
+ 'afterpage' => $_POST['ssb_afterpage'],
33
+ 'beforearchive' => $_POST['ssb_beforearchive'],
34
+ 'afterarchive' => $_POST['ssb_afterarchive'],
35
+
36
+ 'showfront' => $_POST['ssb_showfront'],
37
+ 'showcategory' => $_POST['ssb_showcategory'],
38
+ 'showarchive' => $_POST['ssb_showarchive'],
39
+ 'showtag' => $_POST['ssb_showtag'],
40
+
41
+ 'override_css' => $_POST['ssb_override_css'],
42
+ );
43
+
44
+ $this->update_settings( $updateSettings );
45
+
46
+ }
47
+
48
+ /**
49
+ * HACK: Use one big array instead of a bunchload of single options
50
+ * @author Fabian Wolf
51
+ * @link http://usability-idealist.de/
52
+ * @since 1.2.1
53
+ */
54
+
55
+ // get settings from database
56
+ $settings = $this->get_settings();
57
+
58
+ extract( $settings, EXTR_PREFIX_ALL, 'ssb' );
59
+
60
+ ?>
61
+
62
+
63
+ <div class="postbox-container" style="width:69%">
64
+ <div id="poststuff">
65
+ <form name="ssb_form" method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
66
+
67
+ <div class="postbox">
68
+ <h3><?php _e('Select buttons', 'simplesocialbuttons'); ?></h3>
69
+ <div class="inside">
70
+ <h4><?php _e('Select social media buttons:', 'simplesocialbuttons'); ?></h4>
71
+
72
+
73
+ <p><select name="ssb_googleplus" id="ssb_googleplus">
74
+ <option value=""<?php if(empty($ssb_googleplus) != false) {
75
+ ?>selected="selected"<?php
76
+ } ?>><?php _e('inactive', 'simplesocialbuttons'); ?></option>
77
+
78
+ <?php for($pos = 1; $pos < 4; $pos++) { ?>
79
+ <option value="<?php echo $pos; ?>"<?php if($ssb_googleplus == $pos) {
80
+ ?>selected="selected"<?php
81
+ } ?>> # <?php echo $pos; ?> </option>
82
+ <?php } ?>
83
+ </select> &nbsp;
84
+ <label for="ssb_googleplus"><?php _e('Google plus one (+1)', 'simplesocialbuttons'); ?></label></p>
85
+
86
+ <!-- fblike -->
87
+ <p><select name="ssb_fblike" id="ssb_fblike">
88
+ <option value=""<?php if(empty($ssb_fblike) != false) {
89
+ ?>selected="selected"<?php
90
+ } ?>><?php _e('inactive', 'simplesocialbuttons'); ?></option>
91
+
92
+ <?php for($pos = 1; $pos < 4; $pos++) { ?>
93
+ <option value="<?php echo $pos; ?>"<?php if($ssb_fblike == $pos) {
94
+ ?>selected="selected"<?php
95
+ } ?>> # <?php echo $pos; ?> </option>
96
+ <?php } ?>
97
+ </select> &nbsp;
98
+ <label for="ssb_fblike"><?php _e('Facebook Like it', 'simplesocialbuttons'); ?></label></p>
99
+ <!-- /fblike -->
100
+
101
+ <!-- twitter -->
102
+ <p><select name="ssb_twitter" id="ssb_twitter">
103
+ <option value=""<?php if(empty($ssb_twitter) != false) {
104
+ ?>selected="selected"<?php
105
+ } ?>><?php _e('inactive', 'simplesocialbuttons'); ?></option>
106
+
107
+ <?php for($pos = 1; $pos < 4; $pos++) { ?>
108
+ <option value="<?php echo $pos; ?>"<?php if($ssb_twitter == $pos) {
109
+ ?>selected="selected"<?php
110
+ } ?>> # <?php echo $pos; ?> </option>
111
+ <?php } ?>
112
+ </select> &nbsp;
113
+ <label for="ssb_twitter"><?php _e('Twitter share', 'simplesocialbuttons'); ?></label></p>
114
+ <!-- /twitter -->
115
+
116
+ <p><label for="ssb_override_css"><input type="checkbox" name="ssb_override_css" id="ssb_override_css" value="1" <?php if($ssb_override_css) { echo 'checked="checked"'; } ?>/> <?php _e('Disable plugin CSS (only advanced users)'); ?></label></p>
117
+ </div>
118
+ </div>
119
+
120
+ <div class="postbox">
121
+ <h3><?php _e('Single posts - display settings', 'simplesocialbuttons'); ?></h3>
122
+ <div class="inside">
123
+ <h4><?php _e('Place buttons on single post:', 'simplesocialbuttons'); ?></h4>
124
+ <p><input type="checkbox" name="ssb_beforepost" id="ssb_beforepost" value="1" <?php if(!empty($ssb_beforepost)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforepost"><?php _e('Before the content', 'simplesocialbuttons'); ?></label></p>
125
+ <p><input type="checkbox" name="ssb_afterpost" id="ssb_afterpost" value="1" <?php if(!empty($ssb_afterpost)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterpost"><?php _e('After the content', 'simplesocialbuttons'); ?></label></p>
126
+ </div>
127
+ </div>
128
+
129
+ <div class="postbox">
130
+ <h3><?php _e('Single pages - display settings', 'simplesocialbuttons'); ?></h3>
131
+ <div class="inside">
132
+ <h4><?php _e('Place buttons on single pages:', 'simplesocialbuttons'); ?></h4>
133
+ <p><input type="checkbox" name="ssb_beforepage" id="ssb_beforepage" value="1" <?php if(!empty($ssb_beforepage)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforepage"><?php _e('Before the page content', 'simplesocialbuttons'); ?></label></p>
134
+ <p><input type="checkbox" name="ssb_afterpage" id="ssb_afterpage" value="1" <?php if(!empty($ssb_afterpage)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterpage"><?php _e('After the page content', 'simplesocialbuttons'); ?></label></p>
135
+ </div>
136
+ </div>
137
+
138
+ <div class="postbox">
139
+ <h3><?php _e('Archives - display settings', 'simplesocialbuttons'); ?></h3>
140
+ <div class="inside">
141
+ <h4><?php _e('Select additional places to display buttons:', 'simplesocialbuttons'); ?></h4>
142
+ <p><input type="checkbox" name="ssb_showfront" id="ssb_showfront" value="1" <?php if(!empty($ssb_showfront)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showfront"><?php _e('Show at frontpage', 'simplesocialbuttons'); ?></label></p>
143
+ <p><input type="checkbox" name="ssb_showcategory" id="ssb_showcategory" value="1" <?php if(!empty($ssb_showcategory)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showcategory"><?php _e('Show at category pages', 'simplesocialbuttons'); ?></label></p>
144
+ <p><input type="checkbox" name="ssb_showarchive" id="ssb_showarchive" value="1" <?php if(!empty($ssb_showarchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showarchive"><?php _e('Show at archive pages', 'simplesocialbuttons'); ?></label></p>
145
+ <p><input type="checkbox" name="ssb_showtag" id="ssb_showtag" value="1" <?php if(!empty($ssb_showtag)) { ?>checked="checked"<?php } ?> /> <label for="ssb_showtag"><?php _e('Show at tag pages', 'simplesocialbuttons'); ?></label></p>
146
+
147
+ <h4><?php _e('Place buttons on archives:', 'simplesocialbuttons'); ?></h4>
148
+ <p><input type="checkbox" name="ssb_beforearchive" id="ssb_beforearchive" value="1" <?php if(!empty($ssb_beforearchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_beforearchive"><?php _e('Before the content', 'simplesocialbuttons'); ?></label></p>
149
+ <p><input type="checkbox" name="ssb_afterarchive" id="ssb_afterarchive" value="1" <?php if(!empty($ssb_afterarchive)) { ?>checked="checked"<?php } ?> /> <label for="ssb_afterarchive"><?php _e('After the content', 'simplesocialbuttons'); ?></label></p>
150
+ </div>
151
+ </div>
152
+
153
+ <div class="submit">
154
+ <input type="hidden" name="hiddenconfirm" value="Y" />
155
+ <input type="submit" name="Submit" class="button-primary" value="<?php _e('Save Changes'); ?>" />
156
+ </div>
157
+
158
+ </form>
159
+ </div>
160
+ </div>
161
+
162
+ <div class="postbox-container" style="width:29%">
163
+ <div id="poststuff">
164
+ <div class="postbox">
165
+ <h3><?php _e('About this plugin:', 'simplesocialbuttons'); ?></h3>
166
+ <div class="inside">
167
+ <p><?php _e('Talk to <a href="http://twitter.com/rabinek" target="_blank">@rabinek</a> on twitter for bugs or feature requests.', 'simplesocialbuttons'); ?></p>
168
+ <p><strong><?php _e('Enjoy the plugin?', 'simplesocialbuttons'); ?></strong><br />
169
+ <?php _e('<a href="http://twitter.com/?status=I\'m using @rabinek\'s WordPress Simple Social Buttons plugin - check it out! http://blog.rabinek.pl/" target="_blank">Tweet about it</a> and consider donating.', 'simplesocialbuttons'); ?></p>
170
+ <p><?php _e('<strong>Donate:</strong> A lot of hard work goes into building plugins - support your open source developers. Thank you!', 'simplesocialbuttons'); ?><br />
171
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
172
+ <input type="hidden" name="cmd" value="_s-xclick">
173
+ <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----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-----END PKCS7-----">
174
+ <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
175
+ <img alt="" border="0" src="https://www.paypalobjects.com/pl_PL/i/scr/pixel.gif" width="1" height="1">
176
+ </form>
177
+ </p>
178
+ </div>
179
+ </div>
180
+
181
+ <div class="postbox">
182
+ <h3><?php _e('About the author:', 'simplesocialbuttons'); ?></h3>
183
+ <div class="inside">
184
+ <p><?php _e('Hi! My name is Paweł Rabinek (aka xradar). I\'m interesed in SEO and social media, PHP and Wordpress developement.', 'simplesocialbuttons'); ?></p>
185
+ <ul>
186
+ <li><a href="http://blog.rabinek.pl/" target="_blank"><?php _e('My blog about SEO', 'simplesocialbuttons'); ?></a> <?php _e('[Polish]', 'simplesocialbuttons'); ?></li>
187
+ <li><?php _e('Follow me on Twitter', 'simplesocialbuttons'); ?> <a href="http://www.twitter.com/rabinek" target="_blank">@rabinek</a></li>
188
+ <li><a href="http://www.facebook.com/rabinek" target="_blank"><?php _e('Paweł Rabinek on Facebook', 'simplesocialbuttons'); ?></a></li>
189
+ <li><a href="http://plus.google.com/114311287272342088386/" target="_blank"><?php _e('Paweł Rabinek on Google Plus', 'simplesocialbuttons'); ?></a></li>
190
+ <li><a href="http://pl.linkedin.com/in/rabinek" target="_blank"><?php _e('LinkedIn profile', 'simplesocialbuttons'); ?></a></li>
191
+ </ul>
192
+ </div>
193
+ </div>
194
+
195
+ <div class="postbox">
196
+ <h3><?php _e('Usefull links:', 'simplesocialbuttons'); ?></h3>
197
+ <div class="inside">
198
+ <ul>
199
+ <li><a href="http://www.site5.com/in.php?id=53542" target="_blank"><?php _e('Unlimited web hosting', 'simplesocialbuttons'); ?></a></li>
200
+ <li><a href="http://www.webceo.com/cgi-bin/go/clickthru.cgi?id=xradar" target="_blank"><?php _e('Best SEO software', 'simplesocialbuttons'); ?></a></li>
201
+ <li><a href="http://themeforest.net?ref=xradar" target="_blank"><?php _e('Wordpress templates', 'simplesocialbuttons'); ?></a></li>
202
+ </ul>
203
+ </div>
204
+ </div>
205
+
206
+ </div>
207
+ </div>
208
+ </div>