Social Media Follow Buttons Bar - Version 3.0

Version Description

  • The structure of files changed.
  • Style sheet of settings page improved and better commented.
  • Style sheet of settings page optimized for mobile devices.
  • Added JavaScript file for settings page.
  • Added JavaScript function of automatic remove the "successful" message after 3 seconds.
  • Checkboxes replaced with cool triggers by using Bootstrap framework and Bootstrap-checkbox component.
Download this release

Release Info

Developer Arthur Gareginyan
Plugin Icon 128x128 Social Media Follow Buttons Bar
Version 3.0
Comparing to
See all releases

Code changes from version 2.3.1 to 3.0

Files changed (31) hide show
  1. inc/css/admin.css +103 -0
  2. inc/css/bootstrap-theme.css +321 -0
  3. inc/css/bootstrap.css +518 -0
  4. inc/{images → img}/btn_donateCC_LG.gif +0 -0
  5. inc/{images → img}/social-media-icons/blogger.png +0 -0
  6. inc/{images → img}/social-media-icons/codepen.png +0 -0
  7. inc/{images → img}/social-media-icons/email.png +0 -0
  8. inc/{images → img}/social-media-icons/facebook.png +0 -0
  9. inc/{images → img}/social-media-icons/github.png +0 -0
  10. inc/{images → img}/social-media-icons/google-plus.png +0 -0
  11. inc/{images → img}/social-media-icons/instagram.png +0 -0
  12. inc/{images → img}/social-media-icons/linkedin.png +0 -0
  13. inc/{images → img}/social-media-icons/livejournal.png +0 -0
  14. inc/{images → img}/social-media-icons/meetvibe.png +0 -0
  15. inc/{images → img}/social-media-icons/odnoklassniki.png +0 -0
  16. inc/{images → img}/social-media-icons/pinterest.png +0 -0
  17. inc/{images → img}/social-media-icons/reddit.png +0 -0
  18. inc/{images → img}/social-media-icons/rss-feed.png +0 -0
  19. inc/{images → img}/social-media-icons/telegram.png +0 -0
  20. inc/{images → img}/social-media-icons/tumblr.png +0 -0
  21. inc/{images → img}/social-media-icons/twitter.png +0 -0
  22. inc/{images → img}/social-media-icons/vkontakte.png +0 -0
  23. inc/{images → img}/social-media-icons/website.png +0 -0
  24. inc/{images → img}/social-media-icons/wordpress.png +0 -0
  25. inc/{images → img}/social-media-icons/youtube.png +0 -0
  26. inc/js/admin.js +23 -0
  27. inc/js/bootstrap-checkbox.min.js +7 -0
  28. inc/{settings_page.php → php/settings_page.php} +3 -3
  29. inc/style-admin.css +0 -80
  30. readme.txt +14 -1
  31. social-media-buttons-toolbar.php +18 -10
inc/css/admin.css ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Style sheet for plugin settings page
3
+ *
4
+ * Copyright (c) 2016 Arthur Gareginyan ( http://www.arthurgareginyan.com ).
5
+ * All Rights Reserved.
6
+ */
7
+
8
+
9
+ /* Titles
10
+ -------------------------------------------------------------- */
11
+ h2 {
12
+ text-align: center;
13
+ font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
14
+ }
15
+
16
+ h2 span {
17
+ margin-top: 1px;
18
+ font-size: 0.6em;
19
+ color: black;
20
+ display: inline;
21
+ padding: 0;
22
+ }
23
+
24
+ h2 span a {
25
+ display: inline;
26
+ padding: 0;
27
+ }
28
+
29
+ h3.title {
30
+ font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
31
+ border-bottom: 1px solid #eee;
32
+ }
33
+
34
+ /* Sidebar
35
+ -------------------------------------------------------------- */
36
+ #side-sortables {
37
+ position: relative;
38
+ }
39
+
40
+ #side-sortables .postbox {
41
+ text-align: center;
42
+ }
43
+
44
+ #side-sortables #help p {
45
+ margin: 0;
46
+ }
47
+
48
+ /* Responsive page
49
+ -------------------------------------------------------------- */
50
+ @media (max-width: 860px) {
51
+ .inner-sidebar {
52
+ display: none !important;
53
+ }
54
+ #post-body-content {
55
+ margin-right: 0 !important;
56
+ }
57
+ }
58
+
59
+ /* Help text
60
+ -------------------------------------------------------------- */
61
+ td.help-text {
62
+ font-style: italic;
63
+ font-size: 12px !important;
64
+ float: left;
65
+ clear: left;
66
+ color: #797979;
67
+ line-height: 15px;
68
+ padding-top: 0px !important;
69
+ }
70
+
71
+ /* Other
72
+ -------------------------------------------------------------- */
73
+ .form-table {
74
+ clear: none;
75
+ margin-top: 30px;
76
+ margin-left: 20px;
77
+ }
78
+
79
+ .form-table th,
80
+ .form-table td {
81
+ padding-bottom: 10px;
82
+ }
83
+
84
+ .form-table input[type=text] {
85
+ max-width: 80%;
86
+ padding-top: 5px;
87
+ background: #fcfcfc;
88
+ -webkit-border-radius: 3px;
89
+ -moz-border-radius: 3px;
90
+ border-radius: 3px;
91
+ position: relative;
92
+ -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.2);
93
+ -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.2);
94
+ box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.2);
95
+ }
96
+
97
+ .postbox a {
98
+ text-decoration: none;
99
+ }
100
+
101
+ .btn {
102
+ border-radius: 0 !important;
103
+ }
inc/css/bootstrap-theme.css ADDED
@@ -0,0 +1,321 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap v3.3.7 (http://getbootstrap.com)
3
+ * Copyright 2011-2016 Twitter, Inc.
4
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
+ */
6
+
7
+ /*!
8
+ * Generated using the Bootstrap Customizer (<none>)
9
+ * Config saved to config.json and <none>
10
+ */
11
+ /*!
12
+ * Bootstrap v3.3.7 (http://getbootstrap.com)
13
+ * Copyright 2011-2016 Twitter, Inc.
14
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
15
+ */
16
+ .btn-default,
17
+ .btn-primary,
18
+ .btn-success,
19
+ .btn-info,
20
+ .btn-warning,
21
+ .btn-danger {
22
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
23
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
24
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
25
+ }
26
+ .btn-default:active,
27
+ .btn-primary:active,
28
+ .btn-success:active,
29
+ .btn-info:active,
30
+ .btn-warning:active,
31
+ .btn-danger:active,
32
+ .btn-default.active,
33
+ .btn-primary.active,
34
+ .btn-success.active,
35
+ .btn-info.active,
36
+ .btn-warning.active,
37
+ .btn-danger.active {
38
+ -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
39
+ box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
40
+ }
41
+ .btn-default.disabled,
42
+ .btn-primary.disabled,
43
+ .btn-success.disabled,
44
+ .btn-info.disabled,
45
+ .btn-warning.disabled,
46
+ .btn-danger.disabled,
47
+ .btn-default[disabled],
48
+ .btn-primary[disabled],
49
+ .btn-success[disabled],
50
+ .btn-info[disabled],
51
+ .btn-warning[disabled],
52
+ .btn-danger[disabled],
53
+ fieldset[disabled] .btn-default,
54
+ fieldset[disabled] .btn-primary,
55
+ fieldset[disabled] .btn-success,
56
+ fieldset[disabled] .btn-info,
57
+ fieldset[disabled] .btn-warning,
58
+ fieldset[disabled] .btn-danger {
59
+ -webkit-box-shadow: none;
60
+ box-shadow: none;
61
+ }
62
+ .btn-default .badge,
63
+ .btn-primary .badge,
64
+ .btn-success .badge,
65
+ .btn-info .badge,
66
+ .btn-warning .badge,
67
+ .btn-danger .badge {
68
+ text-shadow: none;
69
+ }
70
+ .btn:active,
71
+ .btn.active {
72
+ background-image: none;
73
+ }
74
+ .btn-default {
75
+ background-image: -webkit-linear-gradient(top, #ffffff 0%, #e0e0e0 100%);
76
+ background-image: -o-linear-gradient(top, #ffffff 0%, #e0e0e0 100%);
77
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#e0e0e0));
78
+ background-image: linear-gradient(to bottom, #ffffff 0%, #e0e0e0 100%);
79
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
80
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
81
+ background-repeat: repeat-x;
82
+ border-color: #dbdbdb;
83
+ text-shadow: 0 1px 0 #fff;
84
+ border-color: #ccc;
85
+ }
86
+ .btn-default:hover,
87
+ .btn-default:focus {
88
+ background-color: #e0e0e0;
89
+ background-position: 0 -15px;
90
+ }
91
+ .btn-default:active,
92
+ .btn-default.active {
93
+ background-color: #e0e0e0;
94
+ border-color: #dbdbdb;
95
+ }
96
+ .btn-default.disabled,
97
+ .btn-default[disabled],
98
+ fieldset[disabled] .btn-default,
99
+ .btn-default.disabled:hover,
100
+ .btn-default[disabled]:hover,
101
+ fieldset[disabled] .btn-default:hover,
102
+ .btn-default.disabled:focus,
103
+ .btn-default[disabled]:focus,
104
+ fieldset[disabled] .btn-default:focus,
105
+ .btn-default.disabled.focus,
106
+ .btn-default[disabled].focus,
107
+ fieldset[disabled] .btn-default.focus,
108
+ .btn-default.disabled:active,
109
+ .btn-default[disabled]:active,
110
+ fieldset[disabled] .btn-default:active,
111
+ .btn-default.disabled.active,
112
+ .btn-default[disabled].active,
113
+ fieldset[disabled] .btn-default.active {
114
+ background-color: #e0e0e0;
115
+ background-image: none;
116
+ }
117
+ .btn-primary {
118
+ background-image: -webkit-linear-gradient(top, #337ab7 0%, #265a88 100%);
119
+ background-image: -o-linear-gradient(top, #337ab7 0%, #265a88 100%);
120
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#265a88));
121
+ background-image: linear-gradient(to bottom, #337ab7 0%, #265a88 100%);
122
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);
123
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
124
+ background-repeat: repeat-x;
125
+ border-color: #245580;
126
+ }
127
+ .btn-primary:hover,
128
+ .btn-primary:focus {
129
+ background-color: #265a88;
130
+ background-position: 0 -15px;
131
+ }
132
+ .btn-primary:active,
133
+ .btn-primary.active {
134
+ background-color: #265a88;
135
+ border-color: #245580;
136
+ }
137
+ .btn-primary.disabled,
138
+ .btn-primary[disabled],
139
+ fieldset[disabled] .btn-primary,
140
+ .btn-primary.disabled:hover,
141
+ .btn-primary[disabled]:hover,
142
+ fieldset[disabled] .btn-primary:hover,
143
+ .btn-primary.disabled:focus,
144
+ .btn-primary[disabled]:focus,
145
+ fieldset[disabled] .btn-primary:focus,
146
+ .btn-primary.disabled.focus,
147
+ .btn-primary[disabled].focus,
148
+ fieldset[disabled] .btn-primary.focus,
149
+ .btn-primary.disabled:active,
150
+ .btn-primary[disabled]:active,
151
+ fieldset[disabled] .btn-primary:active,
152
+ .btn-primary.disabled.active,
153
+ .btn-primary[disabled].active,
154
+ fieldset[disabled] .btn-primary.active {
155
+ background-color: #265a88;
156
+ background-image: none;
157
+ }
158
+ .btn-success {
159
+ background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);
160
+ background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%);
161
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641));
162
+ background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
163
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
164
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
165
+ background-repeat: repeat-x;
166
+ border-color: #3e8f3e;
167
+ }
168
+ .btn-success:hover,
169
+ .btn-success:focus {
170
+ background-color: #419641;
171
+ background-position: 0 -15px;
172
+ }
173
+ .btn-success:active,
174
+ .btn-success.active {
175
+ background-color: #419641;
176
+ border-color: #3e8f3e;
177
+ }
178
+ .btn-success.disabled,
179
+ .btn-success[disabled],
180
+ fieldset[disabled] .btn-success,
181
+ .btn-success.disabled:hover,
182
+ .btn-success[disabled]:hover,
183
+ fieldset[disabled] .btn-success:hover,
184
+ .btn-success.disabled:focus,
185
+ .btn-success[disabled]:focus,
186
+ fieldset[disabled] .btn-success:focus,
187
+ .btn-success.disabled.focus,
188
+ .btn-success[disabled].focus,
189
+ fieldset[disabled] .btn-success.focus,
190
+ .btn-success.disabled:active,
191
+ .btn-success[disabled]:active,
192
+ fieldset[disabled] .btn-success:active,
193
+ .btn-success.disabled.active,
194
+ .btn-success[disabled].active,
195
+ fieldset[disabled] .btn-success.active {
196
+ background-color: #419641;
197
+ background-image: none;
198
+ }
199
+ .btn-info {
200
+ background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
201
+ background-image: -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
202
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#2aabd2));
203
+ background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);
204
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);
205
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
206
+ background-repeat: repeat-x;
207
+ border-color: #28a4c9;
208
+ }
209
+ .btn-info:hover,
210
+ .btn-info:focus {
211
+ background-color: #2aabd2;
212
+ background-position: 0 -15px;
213
+ }
214
+ .btn-info:active,
215
+ .btn-info.active {
216
+ background-color: #2aabd2;
217
+ border-color: #28a4c9;
218
+ }
219
+ .btn-info.disabled,
220
+ .btn-info[disabled],
221
+ fieldset[disabled] .btn-info,
222
+ .btn-info.disabled:hover,
223
+ .btn-info[disabled]:hover,
224
+ fieldset[disabled] .btn-info:hover,
225
+ .btn-info.disabled:focus,
226
+ .btn-info[disabled]:focus,
227
+ fieldset[disabled] .btn-info:focus,
228
+ .btn-info.disabled.focus,
229
+ .btn-info[disabled].focus,
230
+ fieldset[disabled] .btn-info.focus,
231
+ .btn-info.disabled:active,
232
+ .btn-info[disabled]:active,
233
+ fieldset[disabled] .btn-info:active,
234
+ .btn-info.disabled.active,
235
+ .btn-info[disabled].active,
236
+ fieldset[disabled] .btn-info.active {
237
+ background-color: #2aabd2;
238
+ background-image: none;
239
+ }
240
+ .btn-warning {
241
+ background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
242
+ background-image: -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
243
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#eb9316));
244
+ background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);
245
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);
246
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
247
+ background-repeat: repeat-x;
248
+ border-color: #e38d13;
249
+ }
250
+ .btn-warning:hover,
251
+ .btn-warning:focus {
252
+ background-color: #eb9316;
253
+ background-position: 0 -15px;
254
+ }
255
+ .btn-warning:active,
256
+ .btn-warning.active {
257
+ background-color: #eb9316;
258
+ border-color: #e38d13;
259
+ }
260
+ .btn-warning.disabled,
261
+ .btn-warning[disabled],
262
+ fieldset[disabled] .btn-warning,
263
+ .btn-warning.disabled:hover,
264
+ .btn-warning[disabled]:hover,
265
+ fieldset[disabled] .btn-warning:hover,
266
+ .btn-warning.disabled:focus,
267
+ .btn-warning[disabled]:focus,
268
+ fieldset[disabled] .btn-warning:focus,
269
+ .btn-warning.disabled.focus,
270
+ .btn-warning[disabled].focus,
271
+ fieldset[disabled] .btn-warning.focus,
272
+ .btn-warning.disabled:active,
273
+ .btn-warning[disabled]:active,
274
+ fieldset[disabled] .btn-warning:active,
275
+ .btn-warning.disabled.active,
276
+ .btn-warning[disabled].active,
277
+ fieldset[disabled] .btn-warning.active {
278
+ background-color: #eb9316;
279
+ background-image: none;
280
+ }
281
+ .btn-danger {
282
+ background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
283
+ background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
284
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c12e2a));
285
+ background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
286
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
287
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
288
+ background-repeat: repeat-x;
289
+ border-color: #b92c28;
290
+ }
291
+ .btn-danger:hover,
292
+ .btn-danger:focus {
293
+ background-color: #c12e2a;
294
+ background-position: 0 -15px;
295
+ }
296
+ .btn-danger:active,
297
+ .btn-danger.active {
298
+ background-color: #c12e2a;
299
+ border-color: #b92c28;
300
+ }
301
+ .btn-danger.disabled,
302
+ .btn-danger[disabled],
303
+ fieldset[disabled] .btn-danger,
304
+ .btn-danger.disabled:hover,
305
+ .btn-danger[disabled]:hover,
306
+ fieldset[disabled] .btn-danger:hover,
307
+ .btn-danger.disabled:focus,
308
+ .btn-danger[disabled]:focus,
309
+ fieldset[disabled] .btn-danger:focus,
310
+ .btn-danger.disabled.focus,
311
+ .btn-danger[disabled].focus,
312
+ fieldset[disabled] .btn-danger.focus,
313
+ .btn-danger.disabled:active,
314
+ .btn-danger[disabled]:active,
315
+ fieldset[disabled] .btn-danger:active,
316
+ .btn-danger.disabled.active,
317
+ .btn-danger[disabled].active,
318
+ fieldset[disabled] .btn-danger.active {
319
+ background-color: #c12e2a;
320
+ background-image: none;
321
+ }
inc/css/bootstrap.css ADDED
@@ -0,0 +1,518 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap v3.3.7 (http://getbootstrap.com)
3
+ * Copyright 2011-2016 Twitter, Inc.
4
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
+ */
6
+
7
+ /*!
8
+ * Generated using the Bootstrap Customizer (<none>)
9
+ * Config saved to config.json and <none>
10
+ */
11
+ /*!
12
+ * Bootstrap v3.3.7 (http://getbootstrap.com)
13
+ * Copyright 2011-2016 Twitter, Inc.
14
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
15
+ */
16
+ /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
17
+ .btn {
18
+ display: inline-block;
19
+ margin-bottom: 0;
20
+ font-weight: normal;
21
+ text-align: center;
22
+ vertical-align: middle;
23
+ -ms-touch-action: manipulation;
24
+ touch-action: manipulation;
25
+ cursor: pointer;
26
+ background-image: none;
27
+ border: 1px solid transparent;
28
+ white-space: nowrap;
29
+ padding: 6px 12px;
30
+ font-size: 14px;
31
+ line-height: 1.42857143;
32
+ border-radius: 4px;
33
+ -webkit-user-select: none;
34
+ -moz-user-select: none;
35
+ -ms-user-select: none;
36
+ user-select: none;
37
+ }
38
+ .btn:focus,
39
+ .btn:active:focus,
40
+ .btn.active:focus,
41
+ .btn.focus,
42
+ .btn:active.focus,
43
+ .btn.active.focus {
44
+ outline: 5px auto -webkit-focus-ring-color;
45
+ outline-offset: -2px;
46
+ }
47
+ .btn:hover,
48
+ .btn:focus,
49
+ .btn.focus {
50
+ color: #333333;
51
+ text-decoration: none;
52
+ }
53
+ .btn:active,
54
+ .btn.active {
55
+ outline: 0;
56
+ background-image: none;
57
+ -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
58
+ box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
59
+ }
60
+ .btn.disabled,
61
+ .btn[disabled],
62
+ fieldset[disabled] .btn {
63
+ cursor: not-allowed;
64
+ opacity: 0.65;
65
+ filter: alpha(opacity=65);
66
+ -webkit-box-shadow: none;
67
+ box-shadow: none;
68
+ }
69
+ a.btn.disabled,
70
+ fieldset[disabled] a.btn {
71
+ pointer-events: none;
72
+ }
73
+ .btn-default {
74
+ color: #333333;
75
+ background-color: #ffffff;
76
+ border-color: #cccccc;
77
+ }
78
+ .btn-default:focus,
79
+ .btn-default.focus {
80
+ color: #333333;
81
+ background-color: #e6e6e6;
82
+ border-color: #8c8c8c;
83
+ }
84
+ .btn-default:hover {
85
+ color: #333333;
86
+ background-color: #e6e6e6;
87
+ border-color: #adadad;
88
+ }
89
+ .btn-default:active,
90
+ .btn-default.active,
91
+ .open > .dropdown-toggle.btn-default {
92
+ color: #333333;
93
+ background-color: #e6e6e6;
94
+ border-color: #adadad;
95
+ }
96
+ .btn-default:active:hover,
97
+ .btn-default.active:hover,
98
+ .open > .dropdown-toggle.btn-default:hover,
99
+ .btn-default:active:focus,
100
+ .btn-default.active:focus,
101
+ .open > .dropdown-toggle.btn-default:focus,
102
+ .btn-default:active.focus,
103
+ .btn-default.active.focus,
104
+ .open > .dropdown-toggle.btn-default.focus {
105
+ color: #333333;
106
+ background-color: #d4d4d4;
107
+ border-color: #8c8c8c;
108
+ }
109
+ .btn-default:active,
110
+ .btn-default.active,
111
+ .open > .dropdown-toggle.btn-default {
112
+ background-image: none;
113
+ }
114
+ .btn-default.disabled:hover,
115
+ .btn-default[disabled]:hover,
116
+ fieldset[disabled] .btn-default:hover,
117
+ .btn-default.disabled:focus,
118
+ .btn-default[disabled]:focus,
119
+ fieldset[disabled] .btn-default:focus,
120
+ .btn-default.disabled.focus,
121
+ .btn-default[disabled].focus,
122
+ fieldset[disabled] .btn-default.focus {
123
+ background-color: #ffffff;
124
+ border-color: #cccccc;
125
+ }
126
+ .btn-default .badge {
127
+ color: #ffffff;
128
+ background-color: #333333;
129
+ }
130
+ .btn-primary {
131
+ color: #ffffff;
132
+ background-color: #337ab7;
133
+ border-color: #2e6da4;
134
+ }
135
+ .btn-primary:focus,
136
+ .btn-primary.focus {
137
+ color: #ffffff;
138
+ background-color: #286090;
139
+ border-color: #122b40;
140
+ }
141
+ .btn-primary:hover {
142
+ color: #ffffff;
143
+ background-color: #286090;
144
+ border-color: #204d74;
145
+ }
146
+ .btn-primary:active,
147
+ .btn-primary.active,
148
+ .open > .dropdown-toggle.btn-primary {
149
+ color: #ffffff;
150
+ background-color: #286090;
151
+ border-color: #204d74;
152
+ }
153
+ .btn-primary:active:hover,
154
+ .btn-primary.active:hover,
155
+ .open > .dropdown-toggle.btn-primary:hover,
156
+ .btn-primary:active:focus,
157
+ .btn-primary.active:focus,
158
+ .open > .dropdown-toggle.btn-primary:focus,
159
+ .btn-primary:active.focus,
160
+ .btn-primary.active.focus,
161
+ .open > .dropdown-toggle.btn-primary.focus {
162
+ color: #ffffff;
163
+ background-color: #204d74;
164
+ border-color: #122b40;
165
+ }
166
+ .btn-primary:active,
167
+ .btn-primary.active,
168
+ .open > .dropdown-toggle.btn-primary {
169
+ background-image: none;
170
+ }
171
+ .btn-primary.disabled:hover,
172
+ .btn-primary[disabled]:hover,
173
+ fieldset[disabled] .btn-primary:hover,
174
+ .btn-primary.disabled:focus,
175
+ .btn-primary[disabled]:focus,
176
+ fieldset[disabled] .btn-primary:focus,
177
+ .btn-primary.disabled.focus,
178
+ .btn-primary[disabled].focus,
179
+ fieldset[disabled] .btn-primary.focus {
180
+ background-color: #337ab7;
181
+ border-color: #2e6da4;
182
+ }
183
+ .btn-primary .badge {
184
+ color: #337ab7;
185
+ background-color: #ffffff;
186
+ }
187
+ .btn-success {
188
+ color: #ffffff;
189
+ background-color: #5cb85c;
190
+ border-color: #4cae4c;
191
+ }
192
+ .btn-success:focus,
193
+ .btn-success.focus {
194
+ color: #ffffff;
195
+ background-color: #449d44;
196
+ border-color: #255625;
197
+ }
198
+ .btn-success:hover {
199
+ color: #ffffff;
200
+ background-color: #449d44;
201
+ border-color: #398439;
202
+ }
203
+ .btn-success:active,
204
+ .btn-success.active,
205
+ .open > .dropdown-toggle.btn-success {
206
+ color: #ffffff;
207
+ background-color: #449d44;
208
+ border-color: #398439;
209
+ }
210
+ .btn-success:active:hover,
211
+ .btn-success.active:hover,
212
+ .open > .dropdown-toggle.btn-success:hover,
213
+ .btn-success:active:focus,
214
+ .btn-success.active:focus,
215
+ .open > .dropdown-toggle.btn-success:focus,
216
+ .btn-success:active.focus,
217
+ .btn-success.active.focus,
218
+ .open > .dropdown-toggle.btn-success.focus {
219
+ color: #ffffff;
220
+ background-color: #398439;
221
+ border-color: #255625;
222
+ }
223
+ .btn-success:active,
224
+ .btn-success.active,
225
+ .open > .dropdown-toggle.btn-success {
226
+ background-image: none;
227
+ }
228
+ .btn-success.disabled:hover,
229
+ .btn-success[disabled]:hover,
230
+ fieldset[disabled] .btn-success:hover,
231
+ .btn-success.disabled:focus,
232
+ .btn-success[disabled]:focus,
233
+ fieldset[disabled] .btn-success:focus,
234
+ .btn-success.disabled.focus,
235
+ .btn-success[disabled].focus,
236
+ fieldset[disabled] .btn-success.focus {
237
+ background-color: #5cb85c;
238
+ border-color: #4cae4c;
239
+ }
240
+ .btn-success .badge {
241
+ color: #5cb85c;
242
+ background-color: #ffffff;
243
+ }
244
+ .btn-info {
245
+ color: #ffffff;
246
+ background-color: #5bc0de;
247
+ border-color: #46b8da;
248
+ }
249
+ .btn-info:focus,
250
+ .btn-info.focus {
251
+ color: #ffffff;
252
+ background-color: #31b0d5;
253
+ border-color: #1b6d85;
254
+ }
255
+ .btn-info:hover {
256
+ color: #ffffff;
257
+ background-color: #31b0d5;
258
+ border-color: #269abc;
259
+ }
260
+ .btn-info:active,
261
+ .btn-info.active,
262
+ .open > .dropdown-toggle.btn-info {
263
+ color: #ffffff;
264
+ background-color: #31b0d5;
265
+ border-color: #269abc;
266
+ }
267
+ .btn-info:active:hover,
268
+ .btn-info.active:hover,
269
+ .open > .dropdown-toggle.btn-info:hover,
270
+ .btn-info:active:focus,
271
+ .btn-info.active:focus,
272
+ .open > .dropdown-toggle.btn-info:focus,
273
+ .btn-info:active.focus,
274
+ .btn-info.active.focus,
275
+ .open > .dropdown-toggle.btn-info.focus {
276
+ color: #ffffff;
277
+ background-color: #269abc;
278
+ border-color: #1b6d85;
279
+ }
280
+ .btn-info:active,
281
+ .btn-info.active,
282
+ .open > .dropdown-toggle.btn-info {
283
+ background-image: none;
284
+ }
285
+ .btn-info.disabled:hover,
286
+ .btn-info[disabled]:hover,
287
+ fieldset[disabled] .btn-info:hover,
288
+ .btn-info.disabled:focus,
289
+ .btn-info[disabled]:focus,
290
+ fieldset[disabled] .btn-info:focus,
291
+ .btn-info.disabled.focus,
292
+ .btn-info[disabled].focus,
293
+ fieldset[disabled] .btn-info.focus {
294
+ background-color: #5bc0de;
295
+ border-color: #46b8da;
296
+ }
297
+ .btn-info .badge {
298
+ color: #5bc0de;
299
+ background-color: #ffffff;
300
+ }
301
+ .btn-warning {
302
+ color: #ffffff;
303
+ background-color: #f0ad4e;
304
+ border-color: #eea236;
305
+ }
306
+ .btn-warning:focus,
307
+ .btn-warning.focus {
308
+ color: #ffffff;
309
+ background-color: #ec971f;
310
+ border-color: #985f0d;
311
+ }
312
+ .btn-warning:hover {
313
+ color: #ffffff;
314
+ background-color: #ec971f;
315
+ border-color: #d58512;
316
+ }
317
+ .btn-warning:active,
318
+ .btn-warning.active,
319
+ .open > .dropdown-toggle.btn-warning {
320
+ color: #ffffff;
321
+ background-color: #ec971f;
322
+ border-color: #d58512;
323
+ }
324
+ .btn-warning:active:hover,
325
+ .btn-warning.active:hover,
326
+ .open > .dropdown-toggle.btn-warning:hover,
327
+ .btn-warning:active:focus,
328
+ .btn-warning.active:focus,
329
+ .open > .dropdown-toggle.btn-warning:focus,
330
+ .btn-warning:active.focus,
331
+ .btn-warning.active.focus,
332
+ .open > .dropdown-toggle.btn-warning.focus {
333
+ color: #ffffff;
334
+ background-color: #d58512;
335
+ border-color: #985f0d;
336
+ }
337
+ .btn-warning:active,
338
+ .btn-warning.active,
339
+ .open > .dropdown-toggle.btn-warning {
340
+ background-image: none;
341
+ }
342
+ .btn-warning.disabled:hover,
343
+ .btn-warning[disabled]:hover,
344
+ fieldset[disabled] .btn-warning:hover,
345
+ .btn-warning.disabled:focus,
346
+ .btn-warning[disabled]:focus,
347
+ fieldset[disabled] .btn-warning:focus,
348
+ .btn-warning.disabled.focus,
349
+ .btn-warning[disabled].focus,
350
+ fieldset[disabled] .btn-warning.focus {
351
+ background-color: #f0ad4e;
352
+ border-color: #eea236;
353
+ }
354
+ .btn-warning .badge {
355
+ color: #f0ad4e;
356
+ background-color: #ffffff;
357
+ }
358
+ .btn-danger {
359
+ color: #ffffff;
360
+ background-color: #d9534f;
361
+ border-color: #d43f3a;
362
+ }
363
+ .btn-danger:focus,
364
+ .btn-danger.focus {
365
+ color: #ffffff;
366
+ background-color: #c9302c;
367
+ border-color: #761c19;
368
+ }
369
+ .btn-danger:hover {
370
+ color: #ffffff;
371
+ background-color: #c9302c;
372
+ border-color: #ac2925;
373
+ }
374
+ .btn-danger:active,
375
+ .btn-danger.active,
376
+ .open > .dropdown-toggle.btn-danger {
377
+ color: #ffffff;
378
+ background-color: #c9302c;
379
+ border-color: #ac2925;
380
+ }
381
+ .btn-danger:active:hover,
382
+ .btn-danger.active:hover,
383
+ .open > .dropdown-toggle.btn-danger:hover,
384
+ .btn-danger:active:focus,
385
+ .btn-danger.active:focus,
386
+ .open > .dropdown-toggle.btn-danger:focus,
387
+ .btn-danger:active.focus,
388
+ .btn-danger.active.focus,
389
+ .open > .dropdown-toggle.btn-danger.focus {
390
+ color: #ffffff;
391
+ background-color: #ac2925;
392
+ border-color: #761c19;
393
+ }
394
+ .btn-danger:active,
395
+ .btn-danger.active,
396
+ .open > .dropdown-toggle.btn-danger {
397
+ background-image: none;
398
+ }
399
+ .btn-danger.disabled:hover,
400
+ .btn-danger[disabled]:hover,
401
+ fieldset[disabled] .btn-danger:hover,
402
+ .btn-danger.disabled:focus,
403
+ .btn-danger[disabled]:focus,
404
+ fieldset[disabled] .btn-danger:focus,
405
+ .btn-danger.disabled.focus,
406
+ .btn-danger[disabled].focus,
407
+ fieldset[disabled] .btn-danger.focus {
408
+ background-color: #d9534f;
409
+ border-color: #d43f3a;
410
+ }
411
+ .btn-danger .badge {
412
+ color: #d9534f;
413
+ background-color: #ffffff;
414
+ }
415
+ .btn-link {
416
+ color: #337ab7;
417
+ font-weight: normal;
418
+ border-radius: 0;
419
+ }
420
+ .btn-link,
421
+ .btn-link:active,
422
+ .btn-link.active,
423
+ .btn-link[disabled],
424
+ fieldset[disabled] .btn-link {
425
+ background-color: transparent;
426
+ -webkit-box-shadow: none;
427
+ box-shadow: none;
428
+ }
429
+ .btn-link,
430
+ .btn-link:hover,
431
+ .btn-link:focus,
432
+ .btn-link:active {
433
+ border-color: transparent;
434
+ }
435
+ .btn-link:hover,
436
+ .btn-link:focus {
437
+ color: #23527c;
438
+ text-decoration: underline;
439
+ background-color: transparent;
440
+ }
441
+ .btn-link[disabled]:hover,
442
+ fieldset[disabled] .btn-link:hover,
443
+ .btn-link[disabled]:focus,
444
+ fieldset[disabled] .btn-link:focus {
445
+ color: #777777;
446
+ text-decoration: none;
447
+ }
448
+ .btn-lg {
449
+ padding: 10px 16px;
450
+ font-size: 18px;
451
+ line-height: 1.3333333;
452
+ border-radius: 6px;
453
+ }
454
+ .btn-sm {
455
+ padding: 5px 10px;
456
+ font-size: 12px;
457
+ line-height: 1.5;
458
+ border-radius: 3px;
459
+ }
460
+ .btn-xs {
461
+ padding: 1px 5px;
462
+ font-size: 12px;
463
+ line-height: 1.5;
464
+ border-radius: 3px;
465
+ }
466
+ .btn-block {
467
+ display: block;
468
+ width: 100%;
469
+ }
470
+ .btn-block + .btn-block {
471
+ margin-top: 5px;
472
+ }
473
+ input[type="submit"].btn-block,
474
+ input[type="reset"].btn-block,
475
+ input[type="button"].btn-block {
476
+ width: 100%;
477
+ }
478
+ .clearfix:before,
479
+ .clearfix:after {
480
+ content: " ";
481
+ display: table;
482
+ }
483
+ .clearfix:after {
484
+ clear: both;
485
+ }
486
+ .center-block {
487
+ display: block;
488
+ margin-left: auto;
489
+ margin-right: auto;
490
+ }
491
+ .pull-right {
492
+ float: right !important;
493
+ }
494
+ .pull-left {
495
+ float: left !important;
496
+ }
497
+ .hide {
498
+ display: none !important;
499
+ }
500
+ .show {
501
+ display: block !important;
502
+ }
503
+ .invisible {
504
+ visibility: hidden;
505
+ }
506
+ .text-hide {
507
+ font: 0/0 a;
508
+ color: transparent;
509
+ text-shadow: none;
510
+ background-color: transparent;
511
+ border: 0;
512
+ }
513
+ .hidden {
514
+ display: none !important;
515
+ }
516
+ .affix {
517
+ position: fixed;
518
+ }
inc/{images → img}/btn_donateCC_LG.gif RENAMED
File without changes
inc/{images → img}/social-media-icons/blogger.png RENAMED
File without changes
inc/{images → img}/social-media-icons/codepen.png RENAMED
File without changes
inc/{images → img}/social-media-icons/email.png RENAMED
File without changes
inc/{images → img}/social-media-icons/facebook.png RENAMED
File without changes
inc/{images → img}/social-media-icons/github.png RENAMED
File without changes
inc/{images → img}/social-media-icons/google-plus.png RENAMED
File without changes
inc/{images → img}/social-media-icons/instagram.png RENAMED
File without changes
inc/{images → img}/social-media-icons/linkedin.png RENAMED
File without changes
inc/{images → img}/social-media-icons/livejournal.png RENAMED
File without changes
inc/{images → img}/social-media-icons/meetvibe.png RENAMED
File without changes
inc/{images → img}/social-media-icons/odnoklassniki.png RENAMED
File without changes
inc/{images → img}/social-media-icons/pinterest.png RENAMED
File without changes
inc/{images → img}/social-media-icons/reddit.png RENAMED
File without changes
inc/{images → img}/social-media-icons/rss-feed.png RENAMED
File without changes
inc/{images → img}/social-media-icons/telegram.png RENAMED
File without changes
inc/{images → img}/social-media-icons/tumblr.png RENAMED
File without changes
inc/{images → img}/social-media-icons/twitter.png RENAMED
File without changes
inc/{images → img}/social-media-icons/vkontakte.png RENAMED
File without changes
inc/{images → img}/social-media-icons/website.png RENAMED
File without changes
inc/{images → img}/social-media-icons/wordpress.png RENAMED
File without changes
inc/{images → img}/social-media-icons/youtube.png RENAMED
File without changes
inc/js/admin.js ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * JS functions for plugin settings page
3
+ *
4
+ * Copyright (c) 2016 Arthur Gareginyan ( http://www.arthurgareginyan.com ).
5
+ * All Rights Reserved.
6
+ */
7
+
8
+
9
+ jQuery(document).ready(function($) {
10
+
11
+ "use strict";
12
+
13
+ // Remove the "successful" message after 3 seconds
14
+ if (".updated") {
15
+ setTimeout(function() {
16
+ $(".updated").fadeOut();
17
+ }, 3000);
18
+ }
19
+
20
+ // Bootstrap Checkbox
21
+ $(':checkbox').checkboxpicker();
22
+
23
+ });
inc/js/bootstrap-checkbox.min.js ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap-checkbox v1.4.0 (https://vsn4ik.github.io/bootstrap-checkbox/)
3
+ * Copyright 2013-2016 Vasily A. (https://github.com/vsn4ik)
4
+ * Licensed under the MIT license
5
+ */
6
+
7
+ "use strict";!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){function b(b,c){this.element=b,this.$element=a(b);var d=this.$element.data();return""===d.reverse&&(d.reverse=!0),""===d.switchAlways&&(d.switchAlways=!0),""===d.html&&(d.html=!0),this.options=a.extend({},a.fn.checkboxpicker.defaults,c,d),this.$element.closest("label").length?void console.warn(this.options.warningMessage):(this.$group=a.create("div"),this.$buttons=a.create("a","a"),this.$off=this.$buttons.eq(this.options.reverse?1:0),this.$on=this.$buttons.eq(this.options.reverse?0:1),void this.init())}a.create=function(){return a(a.map(arguments,a.proxy(document,"createElement")))},b.prototype={init:function(){var b=this.options.html?"html":"text";this.$element.addClass("hidden"),this.$group.addClass(this.options.baseGroupCls).addClass(this.options.groupCls),this.$buttons.addClass(this.options.baseCls).addClass(this.options.cls),this.options.offLabel&&this.$off[b](this.options.offLabel),this.options.onLabel&&this.$on[b](this.options.onLabel),this.options.offIconCls&&(this.options.offLabel&&this.$off.prepend("&nbsp;"),a.create("span").addClass(this.options.iconCls).addClass(this.options.offIconCls).prependTo(this.$off)),this.options.onIconCls&&(this.options.onLabel&&this.$on.prepend("&nbsp;"),a.create("span").addClass(this.options.iconCls).addClass(this.options.onIconCls).prependTo(this.$on)),this.element.checked?(this.$on.addClass("active"),this.$on.addClass(this.options.onActiveCls),this.$off.addClass(this.options.offCls)):(this.$off.addClass("active"),this.$off.addClass(this.options.offActiveCls),this.$on.addClass(this.options.onCls)),this.element.title?this.$group.attr("title",this.element.title):(this.options.offTitle&&this.$off.attr("title",this.options.offTitle),this.options.onTitle&&this.$on.attr("title",this.options.onTitle)),this.$group.on("keydown",a.proxy(this,"keydown")),this.$buttons.on("click",a.proxy(this,"click")),this.$element.on("change",a.proxy(this,"toggleChecked")),a(this.element.labels).on("click",a.proxy(this,"focus")),a(this.element.form).on("reset",a.proxy(this,"reset")),this.$group.append(this.$buttons).insertAfter(this.element),this.element.disabled?(this.$buttons.addClass("disabled"),this.options.disabledCursor&&this.$group.css("cursor",this.options.disabledCursor)):(this.$group.attr("tabindex",this.element.tabIndex),this.element.autofocus&&this.focus())},toggleChecked:function(){this.$buttons.toggleClass("active"),this.$off.toggleClass(this.options.offCls),this.$off.toggleClass(this.options.offActiveCls),this.$on.toggleClass(this.options.onCls),this.$on.toggleClass(this.options.onActiveCls)},toggleDisabled:function(){this.$buttons.toggleClass("disabled"),this.element.disabled?(this.$group.attr("tabindex",this.element.tabIndex),this.$group.css("cursor","")):(this.$group.removeAttr("tabindex"),this.options.disabledCursor&&this.$group.css("cursor",this.options.disabledCursor))},focus:function(){this.$group.trigger("focus")},click:function(b){var c=a(b.currentTarget);c.hasClass("active")&&!this.options.switchAlways||this.change()},change:function(){this.set(!this.element.checked)},set:function(a){this.element.checked=a,this.$element.trigger("change")},keydown:function(b){-1!=a.inArray(b.keyCode,this.options.toggleKeyCodes)?(b.preventDefault(),this.change()):13==b.keyCode&&a(this.element.form).trigger("submit")},reset:function(){(this.element.defaultChecked&&this.$off.hasClass("active")||!this.element.defaultChecked&&this.$on.hasClass("active"))&&this.set(this.element.defaultChecked)}};var c=a.extend({},a.propHooks);a.extend(a.propHooks,{checked:{set:function(b,d){var e=a.data(b,"bs.checkbox");e&&b.checked!=d&&e.change(d),c.checked&&c.checked.set&&c.checked.set(b,d)}},disabled:{set:function(b,d){var e=a.data(b,"bs.checkbox");e&&b.disabled!=d&&e.toggleDisabled(),c.disabled&&c.disabled.set&&c.disabled.set(b,d)}}});var d=a.fn.checkboxpicker;return a.fn.checkboxpicker=function(c,d){var e;return e=this instanceof a?this:a("string"==typeof c?c:d),e.each(function(){var d=a.data(this,"bs.checkbox");d||(d=new b(this,c),a.data(this,"bs.checkbox",d))})},a.fn.checkboxpicker.defaults={baseGroupCls:"btn-group",baseCls:"btn",groupCls:null,cls:null,offCls:"btn-default",onCls:"btn-default",offActiveCls:"btn-danger",onActiveCls:"btn-success",offLabel:"No",onLabel:"Yes",offTitle:!1,onTitle:!1,iconCls:"glyphicon",disabledCursor:"not-allowed",toggleKeyCodes:[13,32],warningMessage:"Please do not use Bootstrap-checkbox element in label element."},a.fn.checkboxpicker.Constructor=b,a.fn.checkboxpicker.noConflict=function(){return a.fn.checkboxpicker=d,this},a.fn.checkboxpicker});
inc/{settings_page.php → php/settings_page.php} RENAMED
@@ -10,7 +10,7 @@ defined('ABSPATH') or die("Restricted access!");
10
  /**
11
  * Render Settings Page
12
  *
13
- * @since 2.3.1
14
  */
15
  function smbtoolbar_render_submenu_page() {
16
 
@@ -54,7 +54,7 @@ function smbtoolbar_render_submenu_page() {
54
  <div class="inside">
55
  <p><?php _e( 'If you like this plugin and find it useful, please help me to make this plugin even better and keep it up-to-date.', 'social-media-buttons-toolbar' ); ?></p>
56
  <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS" target="_blank" rel="nofollow">
57
- <img src="<?php echo plugins_url('images/btn_donateCC_LG.gif', __FILE__); ?>" alt="Make a donation">
58
  </a>
59
  <p><?php _e( 'Thanks for your support!', 'social-media-buttons-toolbar' ); ?></p>
60
  </div>
@@ -253,7 +253,7 @@ function smbtoolbar_render_submenu_page() {
253
  'Caption',
254
  'Enter the caption to your social media buttons toolbar. It will be displays before the toolbar.',
255
  'field',
256
- 'Follow me on social media:',
257
  '50'
258
  );?>
259
  </table>
10
  /**
11
  * Render Settings Page
12
  *
13
+ * @since 3.0
14
  */
15
  function smbtoolbar_render_submenu_page() {
16
 
54
  <div class="inside">
55
  <p><?php _e( 'If you like this plugin and find it useful, please help me to make this plugin even better and keep it up-to-date.', 'social-media-buttons-toolbar' ); ?></p>
56
  <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS" target="_blank" rel="nofollow">
57
+ <img src="<?php echo plugins_url('../img/btn_donateCC_LG.gif', __FILE__); ?>" alt="Make a donation">
58
  </a>
59
  <p><?php _e( 'Thanks for your support!', 'social-media-buttons-toolbar' ); ?></p>
60
  </div>
253
  'Caption',
254
  'Enter the caption to your social media buttons toolbar. It will be displays before the toolbar.',
255
  'field',
256
+ 'Follow me in social media:',
257
  '50'
258
  );?>
259
  </table>
inc/style-admin.css DELETED
@@ -1,80 +0,0 @@
1
- /*
2
- * Social Media Buttons Toolbar
3
- * Style sheet for plugin's page
4
- * @since 2.3.1
5
- * @agareginyan
6
- */
7
-
8
-
9
- .aligncenter {
10
- text-align: center;
11
- }
12
-
13
- .form-table {
14
- clear: none;
15
- margin-top: 30px;
16
- }
17
-
18
- h2 {
19
- text-align: center;
20
- font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
21
- }
22
-
23
- h2 span {
24
- margin-top: 1px;
25
- font-size: 0.6em;
26
- color: black;
27
- display: inline;
28
- padding: 0;
29
- }
30
-
31
- h2 span a {
32
- display: inline;
33
- padding: 0;
34
- }
35
-
36
- h3.title {
37
- font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
38
- border-bottom: 1px solid #eee;
39
- }
40
-
41
- .inner-sidebar h3.title {
42
- text-align: center;
43
- }
44
-
45
- td.help-text {
46
- font-style: italic;
47
- font-size: 12px !important;
48
- float: left;
49
- clear: left;
50
- color: #797979;
51
- line-height: 15px;
52
- padding-top: 0px !important;
53
- }
54
-
55
- .postbox a {
56
- text-decoration: none;
57
- }
58
-
59
- #side-sortables {
60
- position: relative;
61
- }
62
-
63
- #about {
64
- text-align: center;
65
- }
66
-
67
- #help {
68
- text-align: center;
69
- }
70
- #help p {
71
- margin: 0;
72
- }
73
-
74
- #donate {
75
- text-align: center;
76
- }
77
-
78
- #advertisement {
79
- text-align: center;
80
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: icon, icon set, button, social, media, social button, social media, social
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS
5
  Requires at least: 3.9
6
  Tested up to: 4.6
7
- Stable tag: 2.3
8
  License: GPL3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -158,6 +158,10 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
158
  Icon set [Social Buttons 2](https://www.iconfinder.com/iconsets/social-buttons-2) by Ivlichev Victor Petrovich and licensed under the [Creative Commons (Attribution 3.0 Unported)](http://creativecommons.org/licenses/by/3.0/).
159
 
160
  Icon meetvibe.png by [Arthur Gareginyan](http://www.arthurgareginyan.com) and licensed under the [Creative Commons (Attribution 3.0 Unported)](http://creativecommons.org/licenses/by/3.0/).
 
 
 
 
161
 
162
  **Links**
163
 
@@ -165,6 +169,13 @@ Icon meetvibe.png by [Arthur Gareginyan](http://www.arthurgareginyan.com) and li
165
  * [Dedicated Plugin Page on GitHub](https://github.com/ArthurGareginyan/social-media-buttons-toolbar)
166
 
167
  == Changelog ==
 
 
 
 
 
 
 
168
  = 2.3.1 =
169
  * POT file updated.
170
  * Russian translation updated.
@@ -228,6 +239,8 @@ Icon meetvibe.png by [Arthur Gareginyan](http://www.arthurgareginyan.com) and li
228
 
229
 
230
  == Upgrade Notice ==
 
 
231
  = 2.0 =
232
  Please update to new release!
233
  = 1.0 =
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS
5
  Requires at least: 3.9
6
  Tested up to: 4.6
7
+ Stable tag: 3.0
8
  License: GPL3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
158
  Icon set [Social Buttons 2](https://www.iconfinder.com/iconsets/social-buttons-2) by Ivlichev Victor Petrovich and licensed under the [Creative Commons (Attribution 3.0 Unported)](http://creativecommons.org/licenses/by/3.0/).
159
 
160
  Icon meetvibe.png by [Arthur Gareginyan](http://www.arthurgareginyan.com) and licensed under the [Creative Commons (Attribution 3.0 Unported)](http://creativecommons.org/licenses/by/3.0/).
161
+
162
+ [Bootstrap](http://getbootstrap.com) released under the [MIT license](https://github.com/twbs/bootstrap/blob/master/LICENSE).
163
+
164
+ [Bootstrap-checkbox](https://github.com/vsn4ik/bootstrap-checkbox) is a project of [Vasily A.](https://github.com/vsn4ik), shared under the [MIT license](https://github.com/vsn4ik/bootstrap-checkbox/blob/master/LICENSE).
165
 
166
  **Links**
167
 
169
  * [Dedicated Plugin Page on GitHub](https://github.com/ArthurGareginyan/social-media-buttons-toolbar)
170
 
171
  == Changelog ==
172
+ = 3.0 =
173
+ * The structure of files changed.
174
+ * Style sheet of settings page improved and better commented.
175
+ * Style sheet of settings page optimized for mobile devices.
176
+ * Added JavaScript file for settings page.
177
+ * Added JavaScript function of automatic remove the "successful" message after 3 seconds.
178
+ * Checkboxes replaced with cool triggers by using Bootstrap framework and Bootstrap-checkbox component.
179
  = 2.3.1 =
180
  * POT file updated.
181
  * Russian translation updated.
239
 
240
 
241
  == Upgrade Notice ==
242
+ = 3.0 =
243
+ Please update to new release!
244
  = 2.0 =
245
  Please update to new release!
246
  = 1.0 =
social-media-buttons-toolbar.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Easily add the smart toolbar with social media buttons (not share, only link to your profiles) to any place of your WordPress website.
6
  * Author: Arthur Gareginyan
7
  * Author URI: http://www.arthurgareginyan.com
8
- * Version: 2.3.1
9
  * License: GPL3
10
  * Text Domain: social-media-buttons-toolbar
11
  * Domain Path: /languages/
@@ -86,14 +86,14 @@ add_action( 'admin_menu', 'smbtoolbar_register_submenu_page' );
86
  /**
87
  * Attach Settings Page
88
  *
89
- * @since 2.0
90
  */
91
- require_once( SMEDIABT_PATH . 'inc/settings_page.php' );
92
 
93
  /**
94
  * Load scripts and style sheet for settings page
95
  *
96
- * @since 2.0
97
  */
98
  function smbtoolbar_load_scripts($hook) {
99
 
@@ -102,9 +102,17 @@ function smbtoolbar_load_scripts($hook) {
102
  return;
103
  }
104
 
105
- wp_enqueue_style('styles', SMEDIABT_URL . 'inc/style-admin.css');
 
 
 
 
 
 
 
 
106
  }
107
- add_action('admin_enqueue_scripts', 'smbtoolbar_load_scripts');
108
 
109
  /**
110
  * Register settings
@@ -271,7 +279,7 @@ function smbtoolbar_tollbar() {
271
  }
272
  if ($key == "content") {
273
  if (!empty($value)) {
274
- $icon = plugins_url( "inc/images/social-media-icons/$slag.png", __FILE__ );
275
  $metatags_arr[] = '<li>
276
  <a href="' . $value . '" title="' . $label . '" ' . $new_tab . '>
277
  <img src="' . $icon . '" alt="' . $label . '" />
@@ -324,14 +332,14 @@ function smbtoolbar_tollbar() {
324
  function smbtoolbar_shortcode() {
325
  return implode(PHP_EOL, smbtoolbar_tollbar());
326
  }
327
- add_shortcode('smbtoolbar', 'smbtoolbar_shortcode');
328
 
329
  /**
330
  * Allow shortcodes in the text widget
331
  *
332
  * @since 0.2
333
  */
334
- add_filter('widget_text', 'do_shortcode');
335
 
336
  /**
337
  * Add toolbar to the beginning of each post or/and page.
@@ -356,7 +364,7 @@ function smbtoolbar_addContent( $content ) {
356
  // Returns the content.
357
  return $content;
358
  }
359
- add_action('the_content', 'smbtoolbar_addContent');
360
 
361
  /**
362
  * Delete options on uninstall
5
  * Description: Easily add the smart toolbar with social media buttons (not share, only link to your profiles) to any place of your WordPress website.
6
  * Author: Arthur Gareginyan
7
  * Author URI: http://www.arthurgareginyan.com
8
+ * Version: 3.0
9
  * License: GPL3
10
  * Text Domain: social-media-buttons-toolbar
11
  * Domain Path: /languages/
86
  /**
87
  * Attach Settings Page
88
  *
89
+ * @since 3.0
90
  */
91
+ require_once( SMEDIABT_PATH . 'inc/php/settings_page.php' );
92
 
93
  /**
94
  * Load scripts and style sheet for settings page
95
  *
96
+ * @since 3.0
97
  */
98
  function smbtoolbar_load_scripts($hook) {
99
 
102
  return;
103
  }
104
 
105
+ // Style sheet
106
+ wp_enqueue_style( 'admin-css', SMEDIABT_URL . 'inc/css/admin.css' );
107
+ wp_enqueue_style( 'bootstrap', SMEDIABT_URL . 'inc/css/bootstrap.css' );
108
+ wp_enqueue_style( 'bootstrap-theme', SMEDIABT_URL . 'inc/css/bootstrap-theme.css' );
109
+
110
+ // JavaScript
111
+ wp_enqueue_script( 'admin-js', SMEDIABT_URL . 'inc/js/admin.js', array(), false, true );
112
+ wp_enqueue_script( 'bootstrap-checkbox', SMEDIABT_URL . 'inc/js/bootstrap-checkbox.min.js' );
113
+
114
  }
115
+ add_action( 'admin_enqueue_scripts', 'smbtoolbar_load_scripts' );
116
 
117
  /**
118
  * Register settings
279
  }
280
  if ($key == "content") {
281
  if (!empty($value)) {
282
+ $icon = plugins_url( "inc/img/social-media-icons/$slag.png", __FILE__ );
283
  $metatags_arr[] = '<li>
284
  <a href="' . $value . '" title="' . $label . '" ' . $new_tab . '>
285
  <img src="' . $icon . '" alt="' . $label . '" />
332
  function smbtoolbar_shortcode() {
333
  return implode(PHP_EOL, smbtoolbar_tollbar());
334
  }
335
+ add_shortcode( 'smbtoolbar', 'smbtoolbar_shortcode' );
336
 
337
  /**
338
  * Allow shortcodes in the text widget
339
  *
340
  * @since 0.2
341
  */
342
+ add_filter( 'widget_text', 'do_shortcode' );
343
 
344
  /**
345
  * Add toolbar to the beginning of each post or/and page.
364
  // Returns the content.
365
  return $content;
366
  }
367
+ add_action( 'the_content', 'smbtoolbar_addContent' );
368
 
369
  /**
370
  * Delete options on uninstall