WP Socializer - Version 2.4

Version Description

  • Admin UI is completely changed as per users request.
  • Floating share buttons are added.
  • Added a new social bookmarking buttons: Google+, Pinterest & OkNotizie
  • Pinterest button automatically recognizes the first image in the post.
  • Send button is included in Facebook.
  • Embed codes are updated for Facebook and StumbleUpon.
  • Removed Google Buzz completely.
  • Removed the "Retweet" (the unofficial button offered by retweet.com) service.
  • Two old inbuilt templates are removed and two new templates are added.
  • Lots and lots of bugs are fixed.
  • Email button problem is fixed.
  • Old translations (German & Chinese) are removed.
Download this release

Release Info

Developer vaakash
Plugin Icon 128x128 WP Socializer
Version 2.4
Comparing to
See all releases

Code changes from version 2.3 to 2.4

Files changed (79) hide show
  1. admin/colorpicker/arrow.gif +0 -0
  2. admin/colorpicker/arrow.png +0 -0
  3. admin/colorpicker/jquery.colorPicker.js +0 -113
  4. admin/images/Thumbs.db +0 -0
  5. admin/images/admin-sprites.png +0 -0
  6. admin/images/buttons/Thumbs.db +0 -0
  7. admin/images/buttons/floatbt-bg.png +0 -0
  8. admin/images/buttons/pinterest-bts.png +0 -0
  9. admin/images/codeIcon.png +0 -0
  10. admin/images/donate.png +0 -0
  11. admin/images/donateBg.png +0 -0
  12. admin/images/likeBg.png +0 -0
  13. admin/images/menu-bg-green.png +0 -0
  14. admin/images/one-click-header.jpg +0 -0
  15. admin/images/orange-bg.png +0 -0
  16. admin/images/paypal.gif +0 -0
  17. admin/images/right-arrow.png +0 -0
  18. admin/images/share.png +0 -0
  19. admin/js/share.php +74 -0
  20. admin/{tinymce → js/tinymce}/Thumbs.db +0 -0
  21. admin/{tinymce → js/tinymce}/editor_plugin.js +2 -0
  22. admin/{tinymce → js/tinymce}/icon.png +0 -0
  23. admin/templates/images/Thumbs.db +0 -0
  24. admin/templates/images/template_2_compact.PNG +0 -0
  25. admin/templates/images/template_2_large_inv.PNG +0 -0
  26. admin/templates/images/template_float_left_1.png +0 -0
  27. admin/templates/images/template_float_right_1.png +0 -0
  28. admin/templates/templates.xml +403 -434
  29. admin/wpsr-admin-css.css +520 -529
  30. admin/wpsr-admin-floating-bar.php +172 -0
  31. admin/wpsr-admin-js.js +172 -176
  32. admin/wpsr-admin-other.php +65 -59
  33. admin/wpsr-admin.php +759 -1021
  34. admin/wpsr-services-selector.php +4 -4
  35. includes/wpsr-facebook.php +17 -56
  36. includes/wpsr-floatingbar.php +80 -0
  37. includes/wpsr-google.php +2 -4
  38. includes/wpsr-other.php +125 -37
  39. includes/wpsr-retweet.php +0 -36
  40. includes/wpsr-shortcodes.php +8 -2
  41. includes/wpsr-socialbuttons.php +3 -2
  42. languages/readme.html +0 -42
  43. languages/wpsr-es_ES.mo +0 -0
  44. languages/wpsr-es_ES.po +0 -1026
  45. languages/wpsr-zh_CN.mo +0 -0
  46. languages/wpsr-zh_CN.po +0 -1047
  47. public/buttons/buzz-bt.png +0 -0
  48. public/css/images/dark-bg.png +0 -0
  49. public/css/images/grey-bg.png +0 -0
  50. public/css/images/grey-toggle.png +0 -0
  51. public/css/wp-socializer-buttons-css.css +147 -0
  52. public/js/wp-socializer-floating-bar-js.js +73 -0
  53. public/social-icons/16/Thumbs.db +0 -0
  54. public/social-icons/16/googlebuzz.png +0 -0
  55. public/social-icons/16/googleplus.png +0 -0
  56. public/social-icons/16/oknotizie.png +0 -0
  57. public/social-icons/16/pinterest.png +0 -0
  58. public/social-icons/16/stumbleupon.png +0 -0
  59. public/social-icons/32/Thumbs.db +0 -0
  60. public/social-icons/32/googlebuzz.png +0 -0
  61. public/social-icons/32/googleplus.png +0 -0
  62. public/social-icons/32/oknotizie.png +0 -0
  63. public/social-icons/32/pinterest.png +0 -0
  64. public/social-icons/32/stumbleupon.png +0 -0
  65. public/social-icons/wp-socializer-sprite-16px.png +0 -0
  66. public/social-icons/wp-socializer-sprite-32px.png +0 -0
  67. readme.txt +76 -59
  68. screenshot-1.png +0 -0
  69. screenshot-10.png +0 -0
  70. screenshot-11.png +0 -0
  71. screenshot-2.png +0 -0
  72. screenshot-3.png +0 -0
  73. screenshot-4.png +0 -0
  74. screenshot-5.png +0 -0
  75. screenshot-6.png +0 -0
  76. screenshot-7.png +0 -0
  77. screenshot-8.png +0 -0
  78. screenshot-9.png +0 -0
  79. wp-socializer.php +339 -375
admin/colorpicker/arrow.gif DELETED
Binary file
admin/colorpicker/arrow.png DELETED
Binary file
admin/colorpicker/jquery.colorPicker.js DELETED
@@ -1,113 +0,0 @@
1
- /**
2
- * Really Simple Color Picker in jQuery
3
- * Copyright (c) 2008 Lakshan Perera (www.laktek.com)
4
- * Licensed under the MIT (MIT-LICENSE.txt) licenses.
5
- */
6
- (function($){
7
- $.fn.colorPicker = function(){
8
- if(this.length > 0) buildSelector();
9
- return this.each(function(i) {
10
- buildPicker(this)});
11
- };
12
- var selectorOwner;
13
- var selectorShowing = false;
14
- buildPicker = function(element){
15
- control = $("<div class='color_picker'>&nbsp;</div>")
16
- control.css('background-color', $(element).val());
17
- control.bind("click", toggleSelector);
18
- $(element).after(control);
19
- $(element).bind("change", function() {
20
- selectedValue = toHex($(element).val());
21
- $(element).next(".color_picker").css("background-color", selectedValue);
22
- });
23
- $(element).hide();
24
- };
25
- buildSelector = function(){
26
- selector = $("<div id='color_selector'></div>");
27
- $.each($.fn.colorPicker.defaultColors, function(i){
28
- swatch = $("<div class='color_swatch'>&nbsp;</div>")
29
- swatch.css("background-color", "#" + this);
30
- swatch.bind("click", function(e){ changeColor($(this).css("background-color")) });
31
- swatch.bind("mouseover", function(e){
32
- $(this).css("border-color", "#598FEF");
33
- $("input#color_value").val(toHex($(this).css("background-color")));
34
- });
35
- swatch.bind("mouseout", function(e){
36
- $(this).css("border-color", "#000");
37
- $("input#color_value").val(toHex($(selectorOwner).css("background-color")));
38
- });
39
- swatch.appendTo(selector);
40
- });
41
- hex_field = $("<label for='color_value'>Hex</label><input type='text' size='8' id='color_value'/>");
42
- hex_field.bind("keydown", function(event){
43
- if(event.keyCode == 13) {changeColor($(this).val());}
44
- if(event.keyCode == 27) {toggleSelector()}
45
- });
46
- $("<div id='color_custom'></div>").append(hex_field).appendTo(selector);
47
- $("body").append(selector);
48
- selector.hide();
49
- };
50
- checkMouse = function(event){
51
- var selector = "div#color_selector";
52
- var selectorParent = $(event.target).parents(selector).length;
53
- if(event.target == $(selector)[0] || event.target == selectorOwner || selectorParent > 0) return
54
- hideSelector();
55
- }
56
- hideSelector = function(){
57
- var selector = $("div#color_selector");
58
- $(document).unbind("mousedown", checkMouse);
59
- selector.hide();
60
- selectorShowing = false
61
- }
62
- showSelector = function(){
63
- var selector = $("div#color_selector");
64
- selector.css({
65
- top: $(selectorOwner).offset().top + ($(selectorOwner).outerHeight()),
66
- left: $(selectorOwner).offset().left
67
- });
68
- hexColor = $(selectorOwner).prev("input").val();
69
- $("input#color_value").val(hexColor);
70
- selector.show();
71
- $(document).bind("mousedown", checkMouse);
72
- selectorShowing = true
73
- }
74
- toggleSelector = function(event){
75
- selectorOwner = this;
76
- selectorShowing ? hideSelector() : showSelector();
77
- }
78
- changeColor = function(value){
79
- if(selectedValue = toHex(value)){
80
- $(selectorOwner).css("background-color", selectedValue);
81
- $(selectorOwner).prev("input").val(selectedValue).change();
82
- hideSelector();
83
- }
84
- };
85
- toHex = function(color){
86
- if(color.match(/[0-9a-fA-F]{3}$/) || color.match(/[0-9a-fA-F]{6}$/)){
87
- color = (color.charAt(0) == "#") ? color : ("#" + color);
88
- } else if(color.match(/^rgb\(([0-9]|[1-9][0-9]|[1][0-9]{2}|[2][0-4][0-9]|[2][5][0-5]),[ ]{0,1}([0-9]|[1-9][0-9]|[1][0-9]{2}|[2][0-4][0-9]|[2][5][0-5]),[ ]{0,1}([0-9]|[1-9][0-9]|[1][0-9]{2}|[2][0-4][0-9]|[2][5][0-5])\)$/)){
89
- var c = ([parseInt(RegExp.$1),parseInt(RegExp.$2),parseInt(RegExp.$3)]);
90
-
91
- var pad = function(str){
92
- if(str.length < 2){
93
- for(var i = 0,len = 2 - str.length ; i<len ; i++){
94
- str = '0'+str;
95
- }
96
- }
97
- return str;
98
- }
99
- if(c.length == 3){
100
- var r = pad(c[0].toString(16)),g = pad(c[1].toString(16)),b= pad(c[2].toString(16));
101
- color = '#' + r + g + b;
102
- }
103
- }
104
- else color = false;
105
- return color
106
- }
107
- $.fn.colorPicker.addColors = function(colorArray){
108
- $.fn.colorPicker.defaultColors = $.fn.colorPicker.defaultColors.concat(colorArray);
109
- };
110
- $.fn.colorPicker.defaultColors =
111
- [ '000000', '993300','333300', '000080', '333399', '333333', '800000', 'FF6600', '808000', '008000', '008080', '0000FF', '666699', '808080', 'FF0000', 'FF9900', '99CC00', '339966', '33CCCC', '3366FF', '800080', '999999', 'FF00FF', 'FFCC00', 'FFFF00', '00FF00', '00FFFF', '00CCFF', '993366', 'C0C0C0', 'FF99CC', 'FFCC99', 'FFFF99' , 'CCFFFF', '99CCFF', 'FFFFFF'];
112
-
113
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/images/Thumbs.db ADDED
Binary file
admin/images/admin-sprites.png CHANGED
Binary file
admin/images/buttons/Thumbs.db ADDED
Binary file
admin/images/buttons/floatbt-bg.png ADDED
Binary file
admin/images/buttons/pinterest-bts.png ADDED
Binary file
admin/images/codeIcon.png DELETED
Binary file
admin/images/donate.png ADDED
Binary file
admin/images/donateBg.png DELETED
Binary file
admin/images/likeBg.png DELETED
Binary file
admin/images/menu-bg-green.png DELETED
Binary file
admin/images/one-click-header.jpg DELETED
Binary file
admin/images/orange-bg.png ADDED
Binary file
admin/images/paypal.gif ADDED
Binary file
admin/images/right-arrow.png ADDED
Binary file
admin/images/share.png ADDED
Binary file
admin/js/share.php ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html>
2
+ <head>
3
+ <style type="text/css">
4
+ <!--
5
+ body {
6
+ font: 13px Arial, Helvetica, sans-serif;
7
+ padding: 10px;
8
+ overflow: hidden;
9
+ }
10
+ .txtBox{
11
+ font-size: 20px;
12
+ padding: 5px;
13
+ width: 25%;
14
+ }
15
+ p {
16
+ font-size: 12px;
17
+ }
18
+ #close{
19
+ background: #dfdfdf;
20
+ height: 21px;
21
+ width: 15px;
22
+ top: -5px;
23
+ right: -5px;
24
+ position: absolute;
25
+ padding: 8px 5px 1px 10px;
26
+ -webkit-border-radius: 35px;
27
+ -moz-border-radius: 35px;
28
+ border-radius: 35px;
29
+ cursor: pointer;
30
+ }
31
+ -->
32
+ </style>
33
+
34
+ </head>
35
+ <body>
36
+ <?php $id = intval($_GET['i']); ?>
37
+
38
+ <div id="close" onClick="parent.wpsr_closeiframe();">x</div>
39
+
40
+ <?php if ($id == 1): ?>
41
+ <div id="donate">
42
+ <h3>Donate and support this plugin !</h3>
43
+ <p>If you like this plugin, then just make a small donation for this plugin.</p>
44
+ <p style="font-size:10px">This plugin is free with premium features, so your donation will encourage me to work on the plugin to add more features.</p>
45
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
46
+ <input name="cmd" value="_donations" type="hidden">
47
+ <input name="business" value="donations@aakashweb.com" type="hidden">$&nbsp;
48
+ <input type="number" name="amount" class="txtBox" value="20">&nbsp;
49
+ <input align="right" src="../images/paypal.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" type="image" border="0">
50
+ <input name="item_name" value="Donation for WP Socializer plugin" type="hidden">
51
+ <input name="no_shipping" value="0" type="hidden">
52
+ <input name="no_note" value="1" type="hidden">
53
+ <input name="currency_code" value="USD" type="hidden">
54
+ <input name="tax" value="0" type="hidden">
55
+ <input name="lc" value="US" type="hidden">
56
+ <input name="bn" value="PP-DonationsBF" type="hidden">
57
+ </form>
58
+ </div>
59
+ <?php endif; ?>
60
+
61
+ <?php if ($id == 2): ?>
62
+ <div id="share">
63
+ <h3>Share this plugin !!</h3>
64
+ <div class="addthis_toolbox addthis_default_style">
65
+ <a class="addthis_button_facebook_like" fb:like:layout="button_count" fb:like:href="http://facebook.com/aakashweb"></a>
66
+ <a class="addthis_button_google_plusone" g:plusone:size="medium" g:plusone:href="http://www.aakashweb.com"></a>
67
+ <a class="addthis_button_tweet" tw:count="horizontal" tw:url="http://www.aakashweb.com/wordpress-plugins/wp-socializer/" tw:text="WP Socializer - Awesome plugin to insert all konds of Social bookmarking buttons in WordPress"></a>
68
+ </div>
69
+ <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=vaakash"></script>
70
+ </div>
71
+ <?php endif; ?>
72
+
73
+ </body>
74
+ </html>
admin/{tinymce → js/tinymce}/Thumbs.db RENAMED
File without changes
admin/{tinymce → js/tinymce}/editor_plugin.js RENAMED
@@ -30,6 +30,8 @@ function wpsr_insert_shortcode(type, edparam) {
30
  btncode = "reddit"; break;
31
  case '10':
32
  btncode = "linkedin"; break;
 
 
33
  default:
34
  return '';
35
  }
30
  btncode = "reddit"; break;
31
  case '10':
32
  btncode = "linkedin"; break;
33
+ case '11':
34
+ btncode = "pinterest"; break;
35
  default:
36
  return '';
37
  }
admin/{tinymce → js/tinymce}/icon.png RENAMED
File without changes
admin/templates/images/Thumbs.db ADDED
Binary file
admin/templates/images/template_2_compact.PNG ADDED
Binary file
admin/templates/images/template_2_large_inv.PNG ADDED
Binary file
admin/templates/images/template_float_left_1.png DELETED
Binary file
admin/templates/images/template_float_right_1.png DELETED
Binary file
admin/templates/templates.xml CHANGED
@@ -1,49 +1,48 @@
1
  <items>
2
- <item name="Simple template - Compact" image="/images/template_compact.png" desc="" author="Aakash Chakravarthy" version="2.0" url="http://www.aakashweb.com">
 
3
  <settings>wpsr_retweet_type==compact;;
4
  wpsr_retweet_service==twitter;;
5
  wpsr_facebook_btstyle==button_count;;
6
  wpsr_facebook_showfaces==0;;
7
  wpsr_facebook_width==90;;
8
 
9
- wpsr_template1_addp==0;;
10
-
11
- wpsr_template1_inhome==0;;
12
- wpsr_template1_insingle==1;;
13
- wpsr_template1_inpage==1;;
14
- wpsr_template1_incategory==0;;
15
- wpsr_template1_intag==0;;
16
- wpsr_template1_indate==0;;
17
- wpsr_template1_inauthor==0;;
18
- wpsr_template1_insearch==0;;
19
- wpsr_template1_inexcerpt==0;;
20
- wpsr_template1_infeed==0;;
21
- wpsr_template1_abvcontent==1;;
22
- wpsr_template1_blwcontent==0;;
23
-
24
- wpsr_template2_inhome==1;;
25
- wpsr_template2_insingle==1;;
26
- wpsr_template2_inpage==1;;
27
- wpsr_template2_incategory==1;;
28
- wpsr_template2_intag==1;;
29
- wpsr_template2_indate==1;;
30
- wpsr_template2_inauthor==1;;
31
- wpsr_template2_insearch==1;;
32
- wpsr_template2_inexcerpt==1;;
33
- wpsr_template2_infeed==1;;
34
- wpsr_template2_abvcontent==0;;
35
- wpsr_template2_blwcontent==1;;
36
-
37
  wpsr_socialbt_loadcss==1;;
38
  </settings>
39
  <template1>
40
  <![CDATA[
41
- <div class="buttons-wrap clearfix">
42
- <span class="margin15 floatleft">{facebook-like}</span>
43
- <span class="margin15 floatleft">{retweet-bt}</span>
44
- <span class="margin15 floatleft">{plusone-medium}</span>
45
- <span class="margin15 floatleft">{linkedin-right}</span>
46
- <span class="margin15 floatleft">{stumbleupon-1}</span>
47
  </div>
48
  ]]>
49
  </template1>
@@ -57,534 +56,507 @@
57
 
58
  </item>
59
 
60
- <item name="Simple template - Large" image="/images/template_large.png" desc="" author="Aakash Chakravarthy" version="2.0" url="http://www.aakashweb.com">
61
  <settings>wpsr_retweet_type==normal;;
62
  wpsr_retweet_service==twitter;;
63
  wpsr_facebook_btstyle==box_count;;
64
  wpsr_facebook_showfaces==0;;
65
- wpsr_facebook_width==50;;
66
-
67
- wpsr_template1_inhome==0;;
68
- wpsr_template1_insingle==1;;
69
- wpsr_template1_inpage==1;;
70
- wpsr_template1_incategory==0;;
71
- wpsr_template1_intag==0;;
72
- wpsr_template1_indate==0;;
73
- wpsr_template1_inauthor==0;;
74
- wpsr_template1_insearch==0;;
75
- wpsr_template1_inexcerpt==0;;
76
- wpsr_template1_infeed==0;;
77
- wpsr_template1_abvcontent==1;;
78
- wpsr_template1_blwcontent==0;;
79
-
80
- wpsr_template1_addp==0;;
81
-
82
- wpsr_template2_inhome==1;;
83
- wpsr_template2_insingle==1;;
84
- wpsr_template2_inpage==1;;
85
- wpsr_template2_incategory==1;;
86
- wpsr_template2_intag==1;;
87
- wpsr_template2_indate==1;;
88
- wpsr_template2_inauthor==1;;
89
- wpsr_template2_insearch==1;;
90
- wpsr_template2_inexcerpt==1;;
91
- wpsr_template2_infeed==1;;
92
- wpsr_template2_abvcontent==0;;
93
- wpsr_template2_blwcontent==1;;
94
-
95
  wpsr_socialbt_loadcss==1;;
96
  </settings>
97
  <template1>
98
  <![CDATA[
99
- <div class="buttons-wrap clearfix">
100
- <span class="margin10 floatleft">{facebook-like}</span>
101
- <span class="margin10 floatleft">{retweet-bt}</span>
102
- <span class="margin10 floatleft">{plusone-tall}</span>
103
- <span class="margin10 floatleft">{stumbleupon-5}</span>
104
- <span class="margin10 floatleft">{reddit-2}</span>
105
- <span class="margin10 floatleft">{linkedin-top}</span>
106
- </div>
107
  ]]>
108
  </template1>
109
 
110
  <template2>
111
  <![CDATA[
112
  <h3>Share and Enjoy</h3>
113
- {social-bts-32px}
 
 
 
 
 
 
114
  ]]>
115
  </template2>
116
 
117
  </item>
118
 
119
- <item name="Simple template - Compact - Inverted" image="/images/template_compact_inv.png" desc="" author="Aakash Chakravarthy" version="2.0" url="http://www.aakashweb.com">
120
  <settings>wpsr_retweet_type==compact;;
121
  wpsr_retweet_service==twitter;;
122
  wpsr_facebook_btstyle==button_count;;
123
  wpsr_facebook_showfaces==0;;
124
  wpsr_facebook_width==90;;
125
 
126
- wpsr_template1_inhome==1;;
127
- wpsr_template1_insingle==1;;
128
- wpsr_template1_inpage==1;;
129
- wpsr_template1_incategory==1;;
130
- wpsr_template1_intag==1;;
131
- wpsr_template1_indate==1;;
132
- wpsr_template1_inauthor==1;;
133
- wpsr_template1_insearch==1;;
134
- wpsr_template1_inexcerpt==0;;
135
- wpsr_template1_infeed==1;;
136
- wpsr_template1_abvcontent==1;;
137
- wpsr_template1_blwcontent==0;;
138
-
139
- wpsr_template1_addp==0;;
140
-
141
- wpsr_template2_inhome==0;;
142
- wpsr_template2_insingle==1;;
143
- wpsr_template2_inpage==1;;
144
- wpsr_template2_incategory==0;;
145
- wpsr_template2_intag==0;;
146
- wpsr_template2_indate==0;;
147
- wpsr_template2_inauthor==0;;
148
- wpsr_template2_insearch==0;;
149
- wpsr_template2_inexcerpt==0;;
150
- wpsr_template2_infeed==0;;
151
- wpsr_template2_abvcontent==0;;
152
- wpsr_template2_blwcontent==1;;
153
-
154
  wpsr_socialbt_loadcss==1;;
155
  </settings>
156
  <template1>
157
  <![CDATA[
158
- {social-bts-16px}
 
 
 
 
 
 
159
  ]]>
160
  </template1>
161
 
162
  <template2>
163
  <![CDATA[
164
  <h3>Share and Enjoy</h3>
165
- <div class="buttons-wrap clearfix">
166
- <span class="margin15 floatleft">{facebook-like}</span>
167
- <span class="margin15 floatleft">{retweet-bt}</span>
168
- <span class="margin15 floatleft">{plusone-medium}</span>
169
- <span class="margin15 floatleft">{linkedin-right}</span>
170
- <span class="margin15 floatleft">{stumbleupon-1}</span>
171
- </div>
172
  ]]>
173
  </template2>
174
 
175
  </item>
176
 
177
- <item name="Simple template - Large - Inverted" image="/images/template_large_inv.png" desc="" author="Aakash Chakravarthy" version="2.0" url="http://www.aakashweb.com">
178
  <settings>wpsr_retweet_type==normal;;
179
  wpsr_retweet_service==twitter;;
180
  wpsr_facebook_btstyle==box_count;;
181
  wpsr_facebook_showfaces==0;;
182
- wpsr_facebook_width==50;;
183
-
184
- wpsr_template1_inhome==1;;
185
- wpsr_template1_insingle==1;;
186
- wpsr_template1_inpage==1;;
187
- wpsr_template1_incategory==1;;
188
- wpsr_template1_intag==1;;
189
- wpsr_template1_indate==1;;
190
- wpsr_template1_inauthor==1;;
191
- wpsr_template1_insearch==1;;
192
- wpsr_template1_inexcerpt==1;;
193
- wpsr_template1_infeed==1;;
194
- wpsr_template1_abvcontent==1;;
195
- wpsr_template1_blwcontent==0;;
196
-
197
- wpsr_template1_addp==0;;
198
-
199
- wpsr_template2_inhome==0;;
200
- wpsr_template2_insingle==1;;
201
- wpsr_template2_inpage==1;;
202
- wpsr_template2_incategory==0;;
203
- wpsr_template2_intag==0;;
204
- wpsr_template2_indate==0;;
205
- wpsr_template2_inauthor==0;;
206
- wpsr_template2_insearch==0;;
207
- wpsr_template2_inexcerpt==0;;
208
- wpsr_template2_infeed==0;;
209
- wpsr_template2_abvcontent==0;;
210
- wpsr_template2_blwcontent==1;;
211
 
212
  wpsr_socialbt_loadcss==1;;
213
  </settings>
214
-
215
  <template1>
216
  <![CDATA[
217
- {social-bts-32px}
 
 
 
 
 
 
 
218
  ]]>
219
  </template1>
220
 
221
  <template2>
222
  <![CDATA[
223
  <h3>Share and Enjoy</h3>
224
- <div class="buttons-wrap clearfix">
225
- <span class="margin10 floatleft">{facebook-like}</span>
226
- <span class="margin10 floatleft">{retweet-bt}</span>
227
- <span class="margin10 floatleft">{plusone-tall}</span>
228
- <span class="margin10 floatleft">{stumbleupon-5}</span>
229
- <span class="margin10 floatleft">{reddit-2}</span>
230
- <span class="margin10 floatleft">{linkedin-top}</span>
231
- </div>
232
  ]]>
233
  </template2>
234
 
235
  </item>
236
 
237
- <item name="Addthis template - Compact" image="/images/template_addthis_compact.png" desc="" author="Aakash Chakravarthy" version="1.5" url="http://www.aakashweb.com">
238
- <settings>wpsr_addthis_sharecount==grouped;;
239
-
240
- wpsr_template1_inhome==1;;
241
- wpsr_template1_insingle==1;;
242
- wpsr_template1_inpage==1;;
243
- wpsr_template1_incategory==1;;
244
- wpsr_template1_intag==1;;
245
- wpsr_template1_indate==1;;
246
- wpsr_template1_inauthor==1;;
247
- wpsr_template1_insearch==1;;
248
- wpsr_template1_inexcerpt==1;;
249
- wpsr_template1_infeed==0;;
250
- wpsr_template1_abvcontent==1;;
251
- wpsr_template1_blwcontent==0;;
252
-
253
- wpsr_template1_addp==0;;
254
- wpsr_socialbt_loadcss==1;;
255
 
256
- wpsr_template2_inhome==1;;
257
- wpsr_template2_insingle==1;;
258
- wpsr_template2_inpage==1;;
259
- wpsr_template2_incategory==1;;
260
- wpsr_template2_intag==1;;
261
- wpsr_template2_indate==1;;
262
- wpsr_template2_inauthor==1;;
263
- wpsr_template2_insearch==1;;
264
- wpsr_template2_inexcerpt==1;;
265
- wpsr_template2_infeed==1;;
266
- wpsr_template2_abvcontent==0;;
267
- wpsr_template2_blwcontent==1;;
268
- </settings>
 
 
 
 
 
 
 
 
 
 
 
 
269
 
 
 
270
  <template1>
271
  <![CDATA[
272
- <div class="buttons-wrap">{addthis-tb-16px}</div>
273
  ]]>
274
  </template1>
275
 
276
  <template2>
277
  <![CDATA[
278
  <h3>Share and Enjoy</h3>
279
- <div class="buttons-wrap">{addthis-sc}</div>
 
 
 
 
 
 
280
  ]]>
281
  </template2>
282
 
283
  </item>
284
 
285
- <item name="Addthis template - Large" image="/images/template_addthis_large.png" desc="" author="Aakash Chakravarthy" version="1.5" url="http://www.aakashweb.com">
286
- <settings>wpsr_addthis_sharecount==grouped;;
287
-
288
- wpsr_template1_inhome==1;;
289
- wpsr_template1_insingle==1;;
290
- wpsr_template1_inpage==1;;
291
- wpsr_template1_incategory==1;;
292
- wpsr_template1_intag==1;;
293
- wpsr_template1_indate==1;;
294
- wpsr_template1_inauthor==1;;
295
- wpsr_template1_insearch==1;;
296
- wpsr_template1_inexcerpt==1;;
297
- wpsr_template1_infeed==0;;
298
- wpsr_template1_abvcontent==1;;
299
- wpsr_template1_blwcontent==0;;
300
-
301
- wpsr_template1_addp==0;;
302
- wpsr_socialbt_loadcss==1;;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
303
 
304
- wpsr_template2_inhome==1;;
305
- wpsr_template2_insingle==1;;
306
- wpsr_template2_inpage==1;;
307
- wpsr_template2_incategory==1;;
308
- wpsr_template2_intag==1;;
309
- wpsr_template2_indate==1;;
310
- wpsr_template2_inauthor==1;;
311
- wpsr_template2_insearch==1;;
312
- wpsr_template2_inexcerpt==1;;
313
- wpsr_template2_infeed==1;;
314
- wpsr_template2_abvcontent==0;;
315
- wpsr_template2_blwcontent==1;;
316
  </settings>
317
 
318
  <template1>
319
  <![CDATA[
320
- <div class="buttons-wrap">{addthis-tb-32px}</div>
321
  ]]>
322
  </template1>
323
 
324
  <template2>
325
  <![CDATA[
326
  <h3>Share and Enjoy</h3>
327
- <div class="buttons-wrap">{addthis-sc}</div>
 
 
 
 
 
 
 
328
  ]]>
329
  </template2>
330
 
331
  </item>
332
 
333
- <item name="Sharethis template - Compact" image="/images/template_sharethis_compact.png" desc="" author="Aakash Chakravarthy" version="1.5" url="http://www.aakashweb.com">
334
- <settings>
335
- wpsr_template1_inhome==0;;
336
- wpsr_template1_insingle==1;;
337
- wpsr_template1_inpage==1;;
338
- wpsr_template1_incategory==0;;
339
- wpsr_template1_intag==0;;
340
- wpsr_template1_indate==0;;
341
- wpsr_template1_inauthor==0;;
342
- wpsr_template1_insearch==0;;
343
- wpsr_template1_inexcerpt==0;;
344
- wpsr_template1_infeed==0;;
345
- wpsr_template1_abvcontent==1;;
346
- wpsr_template1_blwcontent==0;;
347
-
348
- wpsr_template1_addp==0;;
349
- wpsr_socialbt_loadcss==1;;
 
 
 
 
 
 
 
 
 
 
 
350
 
351
- wpsr_template2_inhome==1;;
352
- wpsr_template2_insingle==1;;
353
- wpsr_template2_inpage==1;;
354
- wpsr_template2_incategory==1;;
355
- wpsr_template2_intag==1;;
356
- wpsr_template2_indate==1;;
357
- wpsr_template2_inauthor==1;;
358
- wpsr_template2_insearch==1;;
359
- wpsr_template2_inexcerpt==1;;
360
- wpsr_template2_infeed==0;;
361
- wpsr_template2_abvcontent==0;;
362
- wpsr_template2_blwcontent==1;;
363
  </settings>
364
 
365
  <template1>
366
  <![CDATA[
367
- <p>{sharethis-regular}</p>
368
  ]]>
369
  </template1>
370
 
371
  <template2>
372
  <![CDATA[
373
  <h3>Share and Enjoy</h3>
374
- <p>{sharethis-hcount}</p>
375
  ]]>
376
  </template2>
377
 
378
  </item>
379
 
380
- <item name="Sharethis template - Large" image="/images/template_sharethis_large.png" desc="" author="Aakash Chakravarthy" version="1.5" url="http://www.aakashweb.com">
381
-
382
- <settings>
383
- wpsr_template1_inhome==0;;
384
- wpsr_template1_insingle==1;;
385
- wpsr_template1_inpage==1;;
386
- wpsr_template1_incategory==0;;
387
- wpsr_template1_intag==0;;
388
- wpsr_template1_indate==0;;
389
- wpsr_template1_inauthor==0;;
390
- wpsr_template1_insearch==0;;
391
- wpsr_template1_inexcerpt==0;;
392
- wpsr_template1_infeed==0;;
393
- wpsr_template1_abvcontent==1;;
394
- wpsr_template1_blwcontent==0;;
395
-
396
- wpsr_template1_addp==0;;
397
- wpsr_socialbt_loadcss==1;;
 
 
 
 
 
 
 
 
 
 
398
 
399
- wpsr_template2_inhome==1;;
400
- wpsr_template2_insingle==1;;
401
- wpsr_template2_inpage==1;;
402
- wpsr_template2_incategory==1;;
403
- wpsr_template2_intag==1;;
404
- wpsr_template2_indate==1;;
405
- wpsr_template2_inauthor==1;;
406
- wpsr_template2_insearch==1;;
407
- wpsr_template2_inexcerpt==1;;
408
- wpsr_template2_infeed==0;;
409
- wpsr_template2_abvcontent==0;;
410
- wpsr_template2_blwcontent==1;;
411
  </settings>
412
 
413
  <template1>
414
  <![CDATA[
415
- <p>{sharethis-bt}</p>
416
  ]]>
417
  </template1>
418
 
419
  <template2>
420
  <![CDATA[
421
  <h3>Share and Enjoy</h3>
422
- <p>{sharethis-vcount}</p>
423
  ]]>
424
  </template2>
425
 
426
  </item>
427
-
428
- <item name="Right float - Inside 1" image="/images/template_float_right_1.png" desc="" author="Aakash Chakravarthy" version="1.5" url="http://www.aakashweb.com">
429
- <settings>wpsr_socialbt_effect==jump;;
430
- wpsr_retweet_type==normal;;
431
- wpsr_retweet_service==twitter;;
432
- wpsr_digg_type==DiggMedium;;
433
- wpsr_facebook_btstyle==box_count;;
434
- wpsr_facebook_showfaces==0;;
435
- wpsr_facebook_width==80;;
436
-
437
- wpsr_template1_inhome==0;;
438
- wpsr_template1_insingle==1;;
439
- wpsr_template1_inpage==1;;
440
- wpsr_template1_incategory==0;;
441
- wpsr_template1_intag==0;;
442
- wpsr_template1_indate==0;;
443
- wpsr_template1_inauthor==0;;
444
- wpsr_template1_insearch==0;;
445
- wpsr_template1_inexcerpt==0;;
446
- wpsr_template1_infeed==0;;
447
- wpsr_template1_abvcontent==1;;
448
- wpsr_template1_blwcontent==0;;
449
-
450
- wpsr_template1_addp==0;;
451
- wpsr_socialbt_loadcss==1;;
 
 
 
452
 
453
- wpsr_template2_inhome==1;;
454
- wpsr_template2_insingle==1;;
455
- wpsr_template2_inpage==1;;
456
- wpsr_template2_incategory==1;;
457
- wpsr_template2_intag==1;;
458
- wpsr_template2_indate==1;;
459
- wpsr_template2_inauthor==1;;
460
- wpsr_template2_insearch==1;;
461
- wpsr_template2_inexcerpt==1;;
462
- wpsr_template2_infeed==0;;
463
- wpsr_template2_abvcontent==0;;
464
- wpsr_template2_blwcontent==1;;
465
  </settings>
466
 
467
  <template1>
468
  <![CDATA[
469
- <div class="padding10 floatright">
470
- {retweet-bt}
471
- <br/><br/>
472
- {facebook-like}
473
- <br/><br/>
474
- {digg-bt}
475
- <br/><br/>
476
- {stumbleupon-5}
477
- <br/><br/>
478
- {plusone-tall}
479
- </div>
480
  ]]>
481
  </template1>
482
 
483
  <template2>
484
  <![CDATA[
485
- <h2>Share and Enjoy</h2>
486
- {social-bts-32px}
487
  ]]>
488
  </template2>
489
 
490
  </item>
491
 
492
- <item name="Left float - Fixed - Outside 1" image="/images/template_float_left_1.png" desc="" author="Aakash Chakravarthy" version="1.5" url="http://www.aakashweb.com">
493
- <settings>wpsr_socialbt_effect==jump;;
494
- wpsr_retweet_type==normal;;
495
- wpsr_retweet_service==twitter;;
496
- wpsr_digg_type==DiggMedium;;
497
- wpsr_facebook_btstyle==box_count;;
498
- wpsr_facebook_showfaces==0;;
499
- wpsr_facebook_width==80;;
500
-
501
- wpsr_template1_inhome==0;;
502
- wpsr_template1_insingle==1;;
503
- wpsr_template1_inpage==1;;
504
- wpsr_template1_incategory==0;;
505
- wpsr_template1_intag==0;;
506
- wpsr_template1_indate==0;;
507
- wpsr_template1_inauthor==0;;
508
- wpsr_template1_insearch==0;;
509
- wpsr_template1_inexcerpt==0;;
510
- wpsr_template1_infeed==0;;
511
- wpsr_template1_abvcontent==1;;
512
- wpsr_template1_blwcontent==0;;
513
-
514
- wpsr_template1_addp==0;;
 
 
 
 
 
515
  wpsr_socialbt_loadcss==1;;
516
-
517
- wpsr_template2_inhome==1;;
518
- wpsr_template2_insingle==1;;
519
- wpsr_template2_inpage==1;;
520
- wpsr_template2_incategory==1;;
521
- wpsr_template2_intag==1;;
522
- wpsr_template2_indate==1;;
523
- wpsr_template2_inauthor==1;;
524
- wpsr_template2_insearch==1;;
525
- wpsr_template2_inexcerpt==1;;
526
- wpsr_template2_infeed==0;;
527
- wpsr_template2_abvcontent==0;;
528
- wpsr_template2_blwcontent==1;;
529
  </settings>
530
 
531
  <template1>
532
  <![CDATA[
533
- <span class="padding10 fixed-pos shadow border5" style="top:25%;left:20px;width:55px">
534
- {retweet-bt}
535
- <br/><br/>
536
- {facebook-like}
537
- <br/><br/>
538
- {plusone-tall}
539
- <br/><br/>
540
- {stumbleupon-5}
541
- </span>
542
  ]]>
543
  </template1>
544
 
545
  <template2>
546
  <![CDATA[
547
- {social-bts-32px}
 
548
  ]]>
549
  </template2>
550
 
551
  </item>
552
 
553
- <item name="Social buttons 16px - 1" image="/images/template_socialbts_16px_1.png" desc="" author="Aakash Chakravarthy" version="1.5" url="http://www.aakashweb.com">
554
  <settings>wpsr_socialbt_target==1;;
555
  wpsr_socialbt_loadcss==1;;
556
  wpsr_socialbt_effect==none;;
557
  wpsr_socialbt_label==1;;
558
  wpsr_socialbt_columns==4;;
559
 
560
- wpsr_template1_inhome==0;;
561
- wpsr_template1_insingle==1;;
562
- wpsr_template1_inpage==1;;
563
- wpsr_template1_incategory==0;;
564
- wpsr_template1_intag==0;;
565
- wpsr_template1_indate==0;;
566
- wpsr_template1_inauthor==0;;
567
- wpsr_template1_insearch==0;;
568
- wpsr_template1_inexcerpt==0;;
569
- wpsr_template1_infeed==0;;
570
- wpsr_template1_abvcontent==1;;
571
- wpsr_template1_blwcontent==0;;
572
-
573
- wpsr_template1_addp==0;;
574
- wpsr_socialbt_loadcss==1;;
575
-
576
- wpsr_template2_inhome==1;;
577
- wpsr_template2_insingle==1;;
578
- wpsr_template2_inpage==1;;
579
- wpsr_template2_incategory==1;;
580
- wpsr_template2_intag==1;;
581
- wpsr_template2_indate==1;;
582
- wpsr_template2_inauthor==1;;
583
- wpsr_template2_insearch==1;;
584
- wpsr_template2_inexcerpt==1;;
585
- wpsr_template2_infeed==0;;
586
- wpsr_template2_abvcontent==0;;
587
- wpsr_template2_blwcontent==1;;
588
  </settings>
589
 
590
  <template1>
@@ -601,41 +573,38 @@
601
 
602
  </item>
603
 
604
- <item name="Social buttons 32px - 1" image="/images/template_socialbts_32px_1.png" desc="" author="Aakash Chakravarthy" version="1.5" url="http://www.aakashweb.com">
605
  <settings>wpsr_socialbt_target==1;;
606
  wpsr_socialbt_loadcss==1;;
607
  wpsr_socialbt_effect==none;;
608
  wpsr_socialbt_label==1;;
609
  wpsr_socialbt_columns==4;;
610
 
611
- wpsr_template1_inhome==0;;
612
- wpsr_template1_insingle==1;;
613
- wpsr_template1_inpage==1;;
614
- wpsr_template1_incategory==0;;
615
- wpsr_template1_intag==0;;
616
- wpsr_template1_indate==0;;
617
- wpsr_template1_inauthor==0;;
618
- wpsr_template1_insearch==0;;
619
- wpsr_template1_inexcerpt==0;;
620
- wpsr_template1_infeed==0;;
621
- wpsr_template1_abvcontent==1;;
622
- wpsr_template1_blwcontent==0;;
623
-
624
- wpsr_template1_addp==0;;
625
- wpsr_socialbt_loadcss==1;;
626
-
627
- wpsr_template2_inhome==1;;
628
- wpsr_template2_insingle==1;;
629
- wpsr_template2_inpage==1;;
630
- wpsr_template2_incategory==1;;
631
- wpsr_template2_intag==1;;
632
- wpsr_template2_indate==1;;
633
- wpsr_template2_inauthor==1;;
634
- wpsr_template2_insearch==1;;
635
- wpsr_template2_inexcerpt==1;;
636
- wpsr_template2_infeed==0;;
637
- wpsr_template2_abvcontent==0;;
638
- wpsr_template2_blwcontent==1;;
639
  </settings>
640
 
641
  <template1>
1
  <items>
2
+
3
+ <item name="Simple template 2 - Compact" image="/images/template_2_compact.png" desc="hhhhjhjhjh" author="Aakash Chakravarthy" version="1.0" url="http://www.aakashweb.com">
4
  <settings>wpsr_retweet_type==compact;;
5
  wpsr_retweet_service==twitter;;
6
  wpsr_facebook_btstyle==button_count;;
7
  wpsr_facebook_showfaces==0;;
8
  wpsr_facebook_width==90;;
9
 
10
+ wpsr_template[1][inhome]==0;;
11
+ wpsr_template[1][insingle]==1;;
12
+ wpsr_template[1][inpage]==1;;
13
+ wpsr_template[1][incategory]==0;;
14
+ wpsr_template[1][intag]==0;;
15
+ wpsr_template[1][indate]==0;;
16
+ wpsr_template[1][inauthor]==0;;
17
+ wpsr_template[1][insearch]==0;;
18
+ wpsr_template[1][inexcerpt]==0;;
19
+ wpsr_template[1][infeed]==0;;
20
+ wpsr_template[1][abvcontent]==1;;
21
+ wpsr_template[1][blwcontent]==0;;
22
+
23
+ wpsr_template[2][inhome]==1;;
24
+ wpsr_template[2][insingle]==1;;
25
+ wpsr_template[2][inpage]==1;;
26
+ wpsr_template[2][incategory]==1;;
27
+ wpsr_template[2][intag]==1;;
28
+ wpsr_template[2][indate]==1;;
29
+ wpsr_template[2][inauthor]==1;;
30
+ wpsr_template[2][insearch]==1;;
31
+ wpsr_template[2][inexcerpt]==1;;
32
+ wpsr_template[2][infeed]==1;;
33
+ wpsr_template[2][abvcontent]==0;;
34
+ wpsr_template[2][blwcontent]==1;;
35
+
 
 
36
  wpsr_socialbt_loadcss==1;;
37
  </settings>
38
  <template1>
39
  <![CDATA[
40
+ <div class="wp-socializer-buttons clearfix">
41
+ <span class="wpsr-btn">{facebook-like}</span>
42
+ <span class="wpsr-btn">{retweet-bt}</span>
43
+ <span class="wpsr-btn">{plusone-medium}</span>
44
+ <span class="wpsr-btn">{linkedin-right}</span>
45
+ <span class="wpsr-btn">{pinterest-horizontal}</span>
46
  </div>
47
  ]]>
48
  </template1>
56
 
57
  </item>
58
 
59
+ <item name="Simple template 2 - Large - Inverted" image="/images/template_2_large_inv.png" desc="" author="Aakash Chakravarthy" version="1.0" url="http://www.aakashweb.com">
60
  <settings>wpsr_retweet_type==normal;;
61
  wpsr_retweet_service==twitter;;
62
  wpsr_facebook_btstyle==box_count;;
63
  wpsr_facebook_showfaces==0;;
64
+ wpsr_facebook_width==55;;
65
+
66
+ wpsr_template[1][inhome]==1;;
67
+ wpsr_template[1][insingle]==1;;
68
+ wpsr_template[1][inpage]==1;;
69
+ wpsr_template[1][incategory]==1;;
70
+ wpsr_template[1][intag]==1;;
71
+ wpsr_template[1][indate]==1;;
72
+ wpsr_template[1][inauthor]==1;;
73
+ wpsr_template[1][insearch]==1;;
74
+ wpsr_template[1][inexcerpt]==1;;
75
+ wpsr_template[1][infeed]==1;;
76
+ wpsr_template[1][abvcontent]==1;;
77
+ wpsr_template[1][blwcontent]==0;;
78
+
79
+ wpsr_template[2][inhome]==0;;
80
+ wpsr_template[2][insingle]==1;;
81
+ wpsr_template[2][inpage]==1;;
82
+ wpsr_template[2][incategory]==0;;
83
+ wpsr_template[2][intag]==0;;
84
+ wpsr_template[2][indate]==0;;
85
+ wpsr_template[2][inauthor]==0;;
86
+ wpsr_template[2][insearch]==0;;
87
+ wpsr_template[2][inexcerpt]==0;;
88
+ wpsr_template[2][infeed]==0;;
89
+ wpsr_template[2][abvcontent]==0;;
90
+ wpsr_template[2][blwcontent]==1;;
91
+
 
 
92
  wpsr_socialbt_loadcss==1;;
93
  </settings>
94
  <template1>
95
  <![CDATA[
96
+ {social-bts-32px}
 
 
 
 
 
 
 
97
  ]]>
98
  </template1>
99
 
100
  <template2>
101
  <![CDATA[
102
  <h3>Share and Enjoy</h3>
103
+ <div class="wp-socializer-buttons clearfix">
104
+ <span class="wpsr-btn">{facebook-like}</span>
105
+ <span class="wpsr-btn">{retweet-bt}</span>
106
+ <span class="wpsr-btn">{plusone-tall}</span>
107
+ <span class="wpsr-btn">{linkedin-top}</span>
108
+ <span class="wpsr-btn">{pinterest-vertical}</span>
109
+ </div>
110
  ]]>
111
  </template2>
112
 
113
  </item>
114
 
115
+ <item name="Simple template - Compact" image="/images/template_compact.png" desc="" author="Aakash Chakravarthy" version="2.0" url="http://www.aakashweb.com">
116
  <settings>wpsr_retweet_type==compact;;
117
  wpsr_retweet_service==twitter;;
118
  wpsr_facebook_btstyle==button_count;;
119
  wpsr_facebook_showfaces==0;;
120
  wpsr_facebook_width==90;;
121
 
122
+ wpsr_template[1][inhome]==0;;
123
+ wpsr_template[1][insingle]==1;;
124
+ wpsr_template[1][inpage]==1;;
125
+ wpsr_template[1][incategory]==0;;
126
+ wpsr_template[1][intag]==0;;
127
+ wpsr_template[1][indate]==0;;
128
+ wpsr_template[1][inauthor]==0;;
129
+ wpsr_template[1][insearch]==0;;
130
+ wpsr_template[1][inexcerpt]==0;;
131
+ wpsr_template[1][infeed]==0;;
132
+ wpsr_template[1][abvcontent]==1;;
133
+ wpsr_template[1][blwcontent]==0;;
134
+
135
+ wpsr_template[2][inhome]==1;;
136
+ wpsr_template[2][insingle]==1;;
137
+ wpsr_template[2][inpage]==1;;
138
+ wpsr_template[2][incategory]==1;;
139
+ wpsr_template[2][intag]==1;;
140
+ wpsr_template[2][indate]==1;;
141
+ wpsr_template[2][inauthor]==1;;
142
+ wpsr_template[2][insearch]==1;;
143
+ wpsr_template[2][inexcerpt]==1;;
144
+ wpsr_template[2][infeed]==1;;
145
+ wpsr_template[2][abvcontent]==0;;
146
+ wpsr_template[2][blwcontent]==1;;
147
+
 
 
148
  wpsr_socialbt_loadcss==1;;
149
  </settings>
150
  <template1>
151
  <![CDATA[
152
+ <div class="wp-socializer-buttons clearfix">
153
+ <span class="wpsr-btn">{facebook-like}</span>
154
+ <span class="wpsr-btn">{retweet-bt}</span>
155
+ <span class="wpsr-btn">{plusone-medium}</span>
156
+ <span class="wpsr-btn">{linkedin-right}</span>
157
+ <span class="wpsr-btn">{stumbleupon-1}</span>
158
+ </div>
159
  ]]>
160
  </template1>
161
 
162
  <template2>
163
  <![CDATA[
164
  <h3>Share and Enjoy</h3>
165
+ {social-bts-16px}
 
 
 
 
 
 
166
  ]]>
167
  </template2>
168
 
169
  </item>
170
 
171
+ <item name="Simple template - Large" image="/images/template_large.png" desc="" author="Aakash Chakravarthy" version="2.0" url="http://www.aakashweb.com">
172
  <settings>wpsr_retweet_type==normal;;
173
  wpsr_retweet_service==twitter;;
174
  wpsr_facebook_btstyle==box_count;;
175
  wpsr_facebook_showfaces==0;;
176
+ wpsr_facebook_width==55;;
177
+
178
+ wpsr_template[1][inhome]==0;;
179
+ wpsr_template[1][insingle]==1;;
180
+ wpsr_template[1][inpage]==1;;
181
+ wpsr_template[1][incategory]==0;;
182
+ wpsr_template[1][intag]==0;;
183
+ wpsr_template[1][indate]==0;;
184
+ wpsr_template[1][inauthor]==0;;
185
+ wpsr_template[1][insearch]==0;;
186
+ wpsr_template[1][inexcerpt]==0;;
187
+ wpsr_template[1][infeed]==0;;
188
+ wpsr_template[1][abvcontent]==1;;
189
+ wpsr_template[1][blwcontent]==0;;
190
+
191
+ wpsr_template[2][inhome]==1;;
192
+ wpsr_template[2][insingle]==1;;
193
+ wpsr_template[2][inpage]==1;;
194
+ wpsr_template[2][incategory]==1;;
195
+ wpsr_template[2][intag]==1;;
196
+ wpsr_template[2][indate]==1;;
197
+ wpsr_template[2][inauthor]==1;;
198
+ wpsr_template[2][insearch]==1;;
199
+ wpsr_template[2][inexcerpt]==1;;
200
+ wpsr_template[2][infeed]==1;;
201
+ wpsr_template[2][abvcontent]==0;;
202
+ wpsr_template[2][blwcontent]==1;;
 
 
203
 
204
  wpsr_socialbt_loadcss==1;;
205
  </settings>
 
206
  <template1>
207
  <![CDATA[
208
+ <div class="wp-socializer-buttons clearfix">
209
+ <span class="wpsr-btn">{facebook-like}</span>
210
+ <span class="wpsr-btn">{retweet-bt}</span>
211
+ <span class="wpsr-btn">{plusone-tall}</span>
212
+ <span class="wpsr-btn">{stumbleupon-5}</span>
213
+ <span class="wpsr-btn">{reddit-2}</span>
214
+ <span class="wpsr-btn">{linkedin-top}</span>
215
+ </div>
216
  ]]>
217
  </template1>
218
 
219
  <template2>
220
  <![CDATA[
221
  <h3>Share and Enjoy</h3>
222
+ {social-bts-32px}
 
 
 
 
 
 
 
223
  ]]>
224
  </template2>
225
 
226
  </item>
227
 
228
+ <item name="Simple template - Compact - Inverted" image="/images/template_compact_inv.png" desc="" author="Aakash Chakravarthy" version="2.1" url="http://www.aakashweb.com">
229
+ <settings>wpsr_retweet_type==compact;;
230
+ wpsr_retweet_service==twitter;;
231
+ wpsr_facebook_btstyle==button_count;;
232
+ wpsr_facebook_showfaces==0;;
233
+ wpsr_facebook_width==90;;
 
 
 
 
 
 
 
 
 
 
 
 
234
 
235
+ wpsr_template[1][inhome]==1;;
236
+ wpsr_template[1][insingle]==1;;
237
+ wpsr_template[1][inpage]==1;;
238
+ wpsr_template[1][incategory]==1;;
239
+ wpsr_template[1][intag]==1;;
240
+ wpsr_template[1][indate]==1;;
241
+ wpsr_template[1][inauthor]==1;;
242
+ wpsr_template[1][insearch]==1;;
243
+ wpsr_template[1][inexcerpt]==1;;
244
+ wpsr_template[1][infeed]==1;;
245
+ wpsr_template[1][abvcontent]==1;;
246
+ wpsr_template[1][blwcontent]==0;;
247
+
248
+ wpsr_template[2][inhome]==0;;
249
+ wpsr_template[2][insingle]==1;;
250
+ wpsr_template[2][inpage]==1;;
251
+ wpsr_template[2][incategory]==0;;
252
+ wpsr_template[2][intag]==0;;
253
+ wpsr_template[2][indate]==0;;
254
+ wpsr_template[2][inauthor]==0;;
255
+ wpsr_template[2][insearch]==0;;
256
+ wpsr_template[2][inexcerpt]==0;;
257
+ wpsr_template[2][infeed]==0;;
258
+ wpsr_template[2][abvcontent]==0;;
259
+ wpsr_template[2][blwcontent]==1;;
260
 
261
+ wpsr_socialbt_loadcss==1;;
262
+ </settings>
263
  <template1>
264
  <![CDATA[
265
+ {social-bts-16px}
266
  ]]>
267
  </template1>
268
 
269
  <template2>
270
  <![CDATA[
271
  <h3>Share and Enjoy</h3>
272
+ <div class="wp-socializer-buttons clearfix">
273
+ <span class="wpsr-btn">{facebook-like}</span>
274
+ <span class="wpsr-btn">{retweet-bt}</span>
275
+ <span class="wpsr-btn">{plusone-medium}</span>
276
+ <span class="wpsr-btn">{linkedin-right}</span>
277
+ <span class="wpsr-btn">{stumbleupon-1}</span>
278
+ </div>
279
  ]]>
280
  </template2>
281
 
282
  </item>
283
 
284
+ <item name="Simple template - Large - Inverted" image="/images/template_large_inv.png" desc="" author="Aakash Chakravarthy" version="2.1" url="http://www.aakashweb.com">
285
+ <settings>wpsr_retweet_type==normal;;
286
+ wpsr_retweet_service==twitter;;
287
+ wpsr_facebook_btstyle==box_count;;
288
+ wpsr_facebook_showfaces==0;;
289
+ wpsr_facebook_width==55;;
290
+
291
+ wpsr_template[1][inhome]==1;;
292
+ wpsr_template[1][insingle]==1;;
293
+ wpsr_template[1][inpage]==1;;
294
+ wpsr_template[1][incategory]==1;;
295
+ wpsr_template[1][intag]==1;;
296
+ wpsr_template[1][indate]==1;;
297
+ wpsr_template[1][inauthor]==1;;
298
+ wpsr_template[1][insearch]==1;;
299
+ wpsr_template[1][inexcerpt]==1;;
300
+ wpsr_template[1][infeed]==1;;
301
+ wpsr_template[1][abvcontent]==1;;
302
+ wpsr_template[1][blwcontent]==0;;
303
+
304
+ wpsr_template[2][inhome]==0;;
305
+ wpsr_template[2][insingle]==1;;
306
+ wpsr_template[2][inpage]==1;;
307
+ wpsr_template[2][incategory]==0;;
308
+ wpsr_template[2][intag]==0;;
309
+ wpsr_template[2][indate]==0;;
310
+ wpsr_template[2][inauthor]==0;;
311
+ wpsr_template[2][insearch]==0;;
312
+ wpsr_template[2][inexcerpt]==0;;
313
+ wpsr_template[2][infeed]==0;;
314
+ wpsr_template[2][abvcontent]==0;;
315
+ wpsr_template[2][blwcontent]==1;;
316
 
317
+ wpsr_socialbt_loadcss==1;;
 
 
 
 
 
 
 
 
 
 
 
318
  </settings>
319
 
320
  <template1>
321
  <![CDATA[
322
+ {social-bts-32px}
323
  ]]>
324
  </template1>
325
 
326
  <template2>
327
  <![CDATA[
328
  <h3>Share and Enjoy</h3>
329
+ <div class="wp-socializer-buttons clearfix">
330
+ <span class="wpsr-btn">{facebook-like}</span>
331
+ <span class="wpsr-btn">{retweet-bt}</span>
332
+ <span class="wpsr-btn">{plusone-tall}</span>
333
+ <span class="wpsr-btn">{stumbleupon-5}</span>
334
+ <span class="wpsr-btn">{reddit-2}</span>
335
+ <span class="wpsr-btn">{linkedin-top}</span>
336
+ </div>
337
  ]]>
338
  </template2>
339
 
340
  </item>
341
 
342
+ <item name="Addthis template - Compact" image="/images/template_addthis_compact.png" desc="" author="Aakash Chakravarthy" version="1.6" url="http://www.aakashweb.com">
343
+ <settings>wpsr_addthis_sharecount==grouped;;
344
+
345
+ wpsr_template[1][inhome]==0;;
346
+ wpsr_template[1][insingle]==1;;
347
+ wpsr_template[1][inpage]==1;;
348
+ wpsr_template[1][incategory]==0;;
349
+ wpsr_template[1][intag]==0;;
350
+ wpsr_template[1][indate]==0;;
351
+ wpsr_template[1][inauthor]==0;;
352
+ wpsr_template[1][insearch]==0;;
353
+ wpsr_template[1][inexcerpt]==0;;
354
+ wpsr_template[1][infeed]==0;;
355
+ wpsr_template[1][abvcontent]==1;;
356
+ wpsr_template[1][blwcontent]==0;;
357
+
358
+ wpsr_template[2][inhome]==1;;
359
+ wpsr_template[2][insingle]==1;;
360
+ wpsr_template[2][inpage]==1;;
361
+ wpsr_template[2][incategory]==1;;
362
+ wpsr_template[2][intag]==1;;
363
+ wpsr_template[2][indate]==1;;
364
+ wpsr_template[2][inauthor]==1;;
365
+ wpsr_template[2][insearch]==1;;
366
+ wpsr_template[2][inexcerpt]==1;;
367
+ wpsr_template[2][infeed]==0;;
368
+ wpsr_template[2][abvcontent]==0;;
369
+ wpsr_template[2][blwcontent]==1;;
370
 
371
+ wpsr_socialbt_loadcss==1;;
 
 
 
 
 
 
 
 
 
 
 
372
  </settings>
373
 
374
  <template1>
375
  <![CDATA[
376
+ <div class="buttons-wrap">{addthis-tb-16px}</div>
377
  ]]>
378
  </template1>
379
 
380
  <template2>
381
  <![CDATA[
382
  <h3>Share and Enjoy</h3>
383
+ <div class="buttons-wrap">{addthis-sc}</div>
384
  ]]>
385
  </template2>
386
 
387
  </item>
388
 
389
+ <item name="Addthis template - Large" image="/images/template_addthis_large.png" desc="" author="Aakash Chakravarthy" version="1.6" url="http://www.aakashweb.com">
390
+ <settings>wpsr_addthis_sharecount==grouped;;
391
+
392
+ wpsr_template[1][inhome]==0;;
393
+ wpsr_template[1][insingle]==1;;
394
+ wpsr_template[1][inpage]==1;;
395
+ wpsr_template[1][incategory]==0;;
396
+ wpsr_template[1][intag]==0;;
397
+ wpsr_template[1][indate]==0;;
398
+ wpsr_template[1][inauthor]==0;;
399
+ wpsr_template[1][insearch]==0;;
400
+ wpsr_template[1][inexcerpt]==0;;
401
+ wpsr_template[1][infeed]==0;;
402
+ wpsr_template[1][abvcontent]==1;;
403
+ wpsr_template[1][blwcontent]==0;;
404
+
405
+ wpsr_template[2][inhome]==1;;
406
+ wpsr_template[2][insingle]==1;;
407
+ wpsr_template[2][inpage]==1;;
408
+ wpsr_template[2][incategory]==1;;
409
+ wpsr_template[2][intag]==1;;
410
+ wpsr_template[2][indate]==1;;
411
+ wpsr_template[2][inauthor]==1;;
412
+ wpsr_template[2][insearch]==1;;
413
+ wpsr_template[2][inexcerpt]==1;;
414
+ wpsr_template[2][infeed]==0;;
415
+ wpsr_template[2][abvcontent]==0;;
416
+ wpsr_template[2][blwcontent]==1;;
417
 
418
+ wpsr_socialbt_loadcss==1;;
 
 
 
 
 
 
 
 
 
 
 
419
  </settings>
420
 
421
  <template1>
422
  <![CDATA[
423
+ <div class="buttons-wrap">{addthis-tb-32px}</div>
424
  ]]>
425
  </template1>
426
 
427
  <template2>
428
  <![CDATA[
429
  <h3>Share and Enjoy</h3>
430
+ <div class="buttons-wrap">{addthis-sc}</div>
431
  ]]>
432
  </template2>
433
 
434
  </item>
435
+
436
+ <item name="Sharethis template - Compact" image="/images/template_sharethis_compact.png" desc="" author="Aakash Chakravarthy" version="1.6" url="http://www.aakashweb.com">
437
+ <settings>
438
+ wpsr_template[1][inhome]==0;;
439
+ wpsr_template[1][insingle]==1;;
440
+ wpsr_template[1][inpage]==1;;
441
+ wpsr_template[1][incategory]==0;;
442
+ wpsr_template[1][intag]==0;;
443
+ wpsr_template[1][indate]==0;;
444
+ wpsr_template[1][inauthor]==0;;
445
+ wpsr_template[1][insearch]==0;;
446
+ wpsr_template[1][inexcerpt]==0;;
447
+ wpsr_template[1][infeed]==0;;
448
+ wpsr_template[1][abvcontent]==1;;
449
+ wpsr_template[1][blwcontent]==0;;
450
+
451
+ wpsr_template[2][inhome]==1;;
452
+ wpsr_template[2][insingle]==1;;
453
+ wpsr_template[2][inpage]==1;;
454
+ wpsr_template[2][incategory]==1;;
455
+ wpsr_template[2][intag]==1;;
456
+ wpsr_template[2][indate]==1;;
457
+ wpsr_template[2][inauthor]==1;;
458
+ wpsr_template[2][insearch]==1;;
459
+ wpsr_template[2][inexcerpt]==1;;
460
+ wpsr_template[2][infeed]==0;;
461
+ wpsr_template[2][abvcontent]==0;;
462
+ wpsr_template[2][blwcontent]==1;;
463
 
464
+ wpsr_socialbt_loadcss==1;;
 
 
 
 
 
 
 
 
 
 
 
465
  </settings>
466
 
467
  <template1>
468
  <![CDATA[
469
+ <p>{sharethis-regular}</p>
 
 
 
 
 
 
 
 
 
 
470
  ]]>
471
  </template1>
472
 
473
  <template2>
474
  <![CDATA[
475
+ <h3>Share and Enjoy</h3>
476
+ <p>{sharethis-hcount}</p>
477
  ]]>
478
  </template2>
479
 
480
  </item>
481
 
482
+ <item name="Sharethis template - Large" image="/images/template_sharethis_large.png" desc="" author="Aakash Chakravarthy" version="1.6" url="http://www.aakashweb.com">
483
+
484
+ <settings>
485
+ wpsr_template[1][inhome]==1;;
486
+ wpsr_template[1][insingle]==1;;
487
+ wpsr_template[1][inpage]==1;;
488
+ wpsr_template[1][incategory]==1;;
489
+ wpsr_template[1][intag]==1;;
490
+ wpsr_template[1][indate]==1;;
491
+ wpsr_template[1][inauthor]==1;;
492
+ wpsr_template[1][insearch]==1;;
493
+ wpsr_template[1][inexcerpt]==1;;
494
+ wpsr_template[1][infeed]==0;;
495
+ wpsr_template[1][abvcontent]==1;;
496
+ wpsr_template[1][blwcontent]==0;;
497
+
498
+ wpsr_template[2][inhome]==0;;
499
+ wpsr_template[2][insingle]==1;;
500
+ wpsr_template[2][inpage]==1;;
501
+ wpsr_template[2][incategory]==0;;
502
+ wpsr_template[2][intag]==0;;
503
+ wpsr_template[2][indate]==0;;
504
+ wpsr_template[2][inauthor]==0;;
505
+ wpsr_template[2][insearch]==0;;
506
+ wpsr_template[2][inexcerpt]==0;;
507
+ wpsr_template[2][infeed]==0;;
508
+ wpsr_template[2][abvcontent]==0;;
509
+ wpsr_template[2][blwcontent]==1;;
510
  wpsr_socialbt_loadcss==1;;
 
 
 
 
 
 
 
 
 
 
 
 
 
511
  </settings>
512
 
513
  <template1>
514
  <![CDATA[
515
+ <p>{sharethis-bt}</p>
 
 
 
 
 
 
 
 
516
  ]]>
517
  </template1>
518
 
519
  <template2>
520
  <![CDATA[
521
+ <h3>Share and Enjoy</h3>
522
+ <p>{sharethis-vcount}</p>
523
  ]]>
524
  </template2>
525
 
526
  </item>
527
 
528
+ <item name="Social buttons 16px - 1" image="/images/template_socialbts_16px_1.png" desc="" author="Aakash Chakravarthy" version="1.6" url="http://www.aakashweb.com">
529
  <settings>wpsr_socialbt_target==1;;
530
  wpsr_socialbt_loadcss==1;;
531
  wpsr_socialbt_effect==none;;
532
  wpsr_socialbt_label==1;;
533
  wpsr_socialbt_columns==4;;
534
 
535
+ wpsr_template[1][inhome]==0;;
536
+ wpsr_template[1][insingle]==0;;
537
+ wpsr_template[1][inpage]==0;;
538
+ wpsr_template[1][incategory]==0;;
539
+ wpsr_template[1][intag]==0;;
540
+ wpsr_template[1][indate]==0;;
541
+ wpsr_template[1][inauthor]==0;;
542
+ wpsr_template[1][insearch]==0;;
543
+ wpsr_template[1][inexcerpt]==0;;
544
+ wpsr_template[1][infeed]==0;;
545
+ wpsr_template[1][abvcontent]==0;;
546
+ wpsr_template[1][blwcontent]==0;;
547
+
548
+ wpsr_template[2][inhome]==0;;
549
+ wpsr_template[2][insingle]==1;;
550
+ wpsr_template[2][inpage]==1;;
551
+ wpsr_template[2][incategory]==0;;
552
+ wpsr_template[2][intag]==0;;
553
+ wpsr_template[2][indate]==0;;
554
+ wpsr_template[2][inauthor]==0;;
555
+ wpsr_template[2][insearch]==0;;
556
+ wpsr_template[2][inexcerpt]==0;;
557
+ wpsr_template[2][infeed]==0;;
558
+ wpsr_template[2][abvcontent]==0;;
559
+ wpsr_template[2][blwcontent]==1;;
 
 
 
560
  </settings>
561
 
562
  <template1>
573
 
574
  </item>
575
 
576
+ <item name="Social buttons 32px - 1" image="/images/template_socialbts_32px_1.png" desc="" author="Aakash Chakravarthy" version="1.6" url="http://www.aakashweb.com">
577
  <settings>wpsr_socialbt_target==1;;
578
  wpsr_socialbt_loadcss==1;;
579
  wpsr_socialbt_effect==none;;
580
  wpsr_socialbt_label==1;;
581
  wpsr_socialbt_columns==4;;
582
 
583
+ wpsr_template[1][inhome]==0;;
584
+ wpsr_template[1][insingle]==0;;
585
+ wpsr_template[1][inpage]==0;;
586
+ wpsr_template[1][incategory]==0;;
587
+ wpsr_template[1][intag]==0;;
588
+ wpsr_template[1][indate]==0;;
589
+ wpsr_template[1][inauthor]==0;;
590
+ wpsr_template[1][insearch]==0;;
591
+ wpsr_template[1][inexcerpt]==0;;
592
+ wpsr_template[1][infeed]==0;;
593
+ wpsr_template[1][abvcontent]==0;;
594
+ wpsr_template[1][blwcontent]==0;;
595
+
596
+ wpsr_template[2][inhome]==0;;
597
+ wpsr_template[2][insingle]==1;;
598
+ wpsr_template[2][inpage]==1;;
599
+ wpsr_template[2][incategory]==0;;
600
+ wpsr_template[2][intag]==0;;
601
+ wpsr_template[2][indate]==0;;
602
+ wpsr_template[2][inauthor]==0;;
603
+ wpsr_template[2][insearch]==0;;
604
+ wpsr_template[2][inexcerpt]==0;;
605
+ wpsr_template[2][infeed]==0;;
606
+ wpsr_template[2][abvcontent]==0;;
607
+ wpsr_template[2][blwcontent]==1;;
 
 
 
608
  </settings>
609
 
610
  <template1>
admin/wpsr-admin-css.css CHANGED
@@ -1,181 +1,196 @@
1
  /*
2
  * Admin Page CSS for WP Socializer plugin
3
  * Author : Aakash Chakravarthy
4
- * Version : 1.1
5
  */
6
 
7
  .wrap{
8
- margin: 15px 0px;
 
9
  padding: 0px;
10
  }
11
- .wrap h3 {
12
- font: italic 21px "Times New Roman", Times, serif;
13
- color: #333333;
14
- margin: 10px 0px 0px;
15
- padding: 0px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  }
17
- .wrap h4 {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  font-weight: bold;
19
  display: block;
20
- padding: 10px 0px 5px;
21
  margin: 0px 0px 5px;
22
  border-bottom: 1px solid #e7e7e7;
23
  clear: both;
24
  }
25
  .wrap h5{
26
- margin: 7px 0px;
27
- font-size: 13px;
28
  }
29
- .wrap h4 .max_min{
30
- float: right;
31
- font-weight: bold;
32
- margin: 0px;
33
- padding: 0px 7px;
34
- cursor: pointer;
35
  }
36
- .wrap h4 .max_min:hover{
37
- color: #FFFFFF;
38
- background: #FF9900;
39
- -moz-border-radius: 5px;
40
- border-radius: 5px;
41
  }
42
- .wrap hr{
43
- border-bottom: 1px solid #e7e7e7;
44
- border-top: 1px solid #fff;
45
  }
46
- /* Tabs */
47
-
48
- #tabs{
49
- margin: 0px 15px 0px 0;
50
- border: 1px solid #D4D4D4;
51
- -moz-border-radius: 5px;
52
- border-radius: 5px;
53
- padding: 0px;
54
- -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
55
- -moz-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
56
- box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
57
- background: #FFFFFF;
58
  }
59
- #tabs #tabsList{
60
- margin: 0px;
61
- padding: 0px;
62
- float: left;
63
- width: 20%;
64
- font: 13px Arial, Helvetica, sans-serif;
65
- border-right: 1px solid #D4D4D4;
66
- }
67
- #tabs #tabsList li {
68
- list-style: none;
69
- margin: -1px 0px 0px;
70
- border-top: 1px solid #d4d4d4;
71
- border-bottom: 1px solid #D4D4D4;
72
- background: #F2F2F2 url(images/menu-bg.png) repeat-x;
73
- }
74
- #tabs #tabsList li:hover {
75
- background: #FE9D0B url(images/menu-hover.png) repeat-x !important;
76
- }
77
- #tabs #tabsList .ui-state-active{
78
- background: #ffffff;
79
- border-left: 3px solid #FF9900;
80
- margin: -1px -1px 0px -3px;
81
- }
82
- #tabs #tabsList li a {
83
- text-decoration: none;
84
- color: #000;
85
- margin: 0px;
86
- display: block;
87
- padding: 10px;
88
  }
89
- #tabs .tabContent {
90
- padding: 5px 10px 10px;
91
- margin: 0px 0px 0px -1px;
92
- width: 77%;
93
- float: left;
94
- border-left: 1px solid #D4D4D4;
95
- background: #FFFFFF;
96
  }
97
- #tabs .tabContent .section{
98
- padding: 10px;
 
 
 
 
 
 
 
 
 
 
99
  }
100
- #tabs .tabContent .section img{
101
- vertical-align:middle;
 
 
 
 
 
 
 
 
 
 
 
102
  }
103
- #tabs .tabSep{
104
- margin: 30px 15px;
 
 
 
105
  }
106
- #tabs .tabsInfoBox{
107
- background: #F7F7F7;
108
- margin: 10px;
109
- padding: 5px;
110
  border: 1px solid #CCCCCC;
 
 
 
 
 
 
 
111
  }
112
- #tabs .placementTab{
113
- background: #E1FD8F url(images/menu-bg-green.png) no-repeat center top!important;
114
- }
115
- #tabs #tabsList .info{
116
- margin: 0px 0px 0px 20px;
117
  }
118
- #tabs .tabGroup{
119
- margin: 20px 10px;
 
 
120
  }
121
 
122
- /* Sub tabs */
123
 
124
- .subTabList{
125
- margin: 10px 0px 0px;
 
 
 
 
126
  }
127
- .subTabList li{
128
- border: 1px solid #e7e7e7;
129
- margin: 0px 0px -1px 10px;
130
- padding: 6px;
131
  float: left;
 
132
  }
133
- .subTabList li a{
134
- color: #000000;
135
  text-decoration: none;
136
- display: block;
137
  }
138
- .subTabContent{
139
- border-top: 1px solid #e7e7e7;
140
- clear: both;
 
 
 
 
 
 
 
141
  }
142
 
143
- /* Tables */
144
-
145
- .tableClr {
146
- border: 1px solid #e7e7e7;
147
- text-align: left;
148
- margin: 0 0px 0px 0;
149
- width: 100%;
150
- }
151
- .tableClr tr th,
152
- .tableClr thead th {
153
- color: #888;
154
- font-size: 12px;
155
- font-weight: bold;
156
- padding: 5px;
157
- }
158
- .tableClr tr td {
159
- border-top: 1px solid #e7e7e7;
160
- padding: 5px;
161
- }
162
- .tableClr tr.odd td {
163
- background: #F2F7FC;
164
- }
165
 
166
- /* Toolbar */
167
- .toolbarWrap{
168
- -moz-border-radius: 5px;
169
- border-radius: 5px;
170
- background: #F7F7F7;
171
- padding: 5px;
172
- border: 1px solid #e7e7e7;
173
- }
174
- .toolbarWrap textarea, .custom_box{
175
- width: 99.8%;
176
- font: 12px/2em "Courier New", Courier, monospace;
177
- clear: both;
178
- margin: 0px;
179
  }
180
  .tbButtons .btn{
181
  font-size: 11px !important;
@@ -184,7 +199,7 @@
184
  padding: 5px 10px;
185
  float: left;
186
  cursor: pointer;
187
- margin-right: 5px;
188
  }
189
  .tbButtons .parentLi ul{
190
  position: absolute;
@@ -203,194 +218,194 @@
203
  border-bottom: 1px solid #e1e1e1;
204
  margin: 0px;
205
  }
206
- .tbButtons .parentLi ul li:hover{
207
  background: #FFFFCC;
208
  }
209
 
210
- /* Tooltip */
211
- .tooltip, .codePopup, .donatePopup{
212
- position:absolute;
213
- z-index:9999;
214
- color:#fff;
215
- font-size:11px;
216
- background: #333;
217
- background: rgba(0,0,0,0.7);
218
- padding: 5px;
219
- -moz-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.5);
220
- box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.6);
221
- -moz-border-radius: 3px;
222
- border-radius: 3px;
223
- }
224
 
225
- /* Code popup */
226
- .codePopup{
227
- font-weight: normal;
228
- width: 235px;
229
- }
230
- .codePopupIco{
231
- margin: 0px 0px 0px 5px;
232
- cursor: pointer;
233
- opacity: 0.5;
234
- }
235
- .codePopup textarea{
236
- font-size: 10px;
237
- width: 210px;
238
- resize:none;
239
- }
240
- .codePopup a{
241
- font-weight: bold;
242
- color: #FFFFFF;
243
- text-decoration: underline;
244
  }
245
- .popClose{
246
- float:right;
247
- padding: 5px;
248
- margin: -5px 0px 0px;
249
- cursor: pointer;
250
- font-weight: bold;
251
  }
252
- .popClose:hover, .codePopupIco:hover{
 
253
  color: #333333;
 
 
 
 
 
 
 
 
254
  background: #FFFFFF;
255
- opacity: 1;
256
- }
257
-
258
- /* Main blocks */
259
-
260
- .header{
261
- border-bottom: 1px solid #D4D4D4;
262
- padding: 0px 10px 10px;
263
- background: url(images/header-bg.png) repeat-x top;
264
- margin: 5px 0px 0px;
265
- min-height: 55px;
266
- position: relative;
267
  }
268
- .header .headerTitle{
269
- position: absolute;
270
- top: 12.5px;
271
  }
272
- .header .headerTitle h2{
 
 
 
 
273
  padding: 0px;
 
274
  }
275
- .footer{
276
- margin: 0px 0px 10px;
277
- padding: 15px 10px 5px;
278
- clear: both;
279
- background: url(images/footer-bg.png) repeat-x top;
280
- border-top: 1px solid #D4D4D4;
281
- }
282
- .footer .donateLink{
283
- margin-right: 25px;
 
 
 
 
 
284
  }
285
- .credits{
286
- font-size: 13px;
287
- margin: 20px 0px 0px;
 
 
 
 
 
 
288
  }
289
- .credits a{
290
- color: #333333;
291
- text-decoration: none;
292
- background: url(images/aw.png) no-repeat;
293
- padding-left: 23px;
294
  }
295
- .templateInfo{
296
- margin: -11px 0px 10px;
297
  padding: 5px;
298
- border: 1px solid #E7E7E7;
299
- color: #ccc;
300
- font-size: 10px;
301
- }
302
- .templateInfo:hover{
303
- color: #666666;
304
- background: #FFFFEC;
305
- }
306
- .placement_options label{
307
- font-size: 11px;
308
- }
309
-
310
- /** Promo box */
311
- .promoBox{
312
- position: absolute;
313
- top: 5px;
314
- right: 0px;
315
- }
316
- .promoBox .promos{
317
- height: 50px;
318
- float: left;
319
- margin-right: 10px;
320
  -moz-border-radius: 5px;
321
- border-radius: 5px;
322
- -webkit-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.5);
323
- -moz-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.5);
324
- box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.09);
 
 
 
 
 
 
 
325
  }
326
- /*.promoBox .donateBox{
327
- width: 180px;
328
- background: url(images/donateBg.png);
329
- border: 1px solid #FFEA97;
330
- font-family: Arial, Helvetica, sans-serif;
331
- cursor: pointer;
332
  }
333
- .promoBox .donateBox .wrap{
334
- margin-left: 55px;
 
 
 
 
 
 
 
335
  }
336
- .promoBox .donateBox .txt1{
337
- font-size: 18px;
338
- padding: 0px;
339
- margin: -10px 0px 3px;
340
  }
341
- .promoBox .donateBox .txt2{
342
- color: #333333;
343
- }*/
344
- .promoBox .donatePopup{
345
- display: none;
346
- font-family: Arial, Helvetica, sans-serif;
347
- top: 50px;
348
- right: 10px;
349
- width: 250px;
350
  }
351
- .promoBox .plusoneBox{
352
- padding: 0px 0px 0px 15px;
353
- border: 1px solid #FFEA97;
354
- background: url(images/donateBg.png) repeat-x -50px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
355
  }
356
- .promoBox .plusoneBox .text{
357
- font: 11px Arial, Helvetica, sans-serif;
358
- color: #666666;
359
- padding: 5px 0px;
 
 
360
  }
361
- .promoBox .likeBox{
362
- width: 100px;
363
- background: #F2F3F9 url(images/likeBg.png) no-repeat left top;
364
- border: 1px solid #B9C5D7;
365
- padding: 0px 0px 0px 58px;
366
  }
367
- .promoBox .iframeWrap{
368
- display: inline;
369
- margin-top: 23px;
370
  }
371
- .promoBox .iframeWrap .text{
372
- font: 11px Arial, Helvetica, sans-serif;
373
- color: #3B5998;
374
- padding: 5px 0px;
 
 
 
 
 
 
 
 
 
 
 
 
375
  }
376
 
377
- /* Oneclick */
 
378
  .templatesList{
379
- margin: -5px 0px 120px;
380
  font-family: Arial, Helvetica, sans-serif;
381
  }
382
- .templatesList .imgHead{
383
- margin: -1px 0px 10px;
384
- width: 100%;
385
- height: auto;
386
- border: 1px solid #CCCCCC;
387
- }
388
  .templateItem{
389
- border: 2px solid #e7e7e7;
390
  padding: 10px;
391
- margin: 0px 0px 20px;
392
  -moz-border-radius: 5px;
393
  border-radius: 5px;
 
394
  }
395
  .templateItem:hover{
396
  border-color: #9FC54E;
@@ -411,307 +426,283 @@
411
  height: auto;
412
  background: #FFFFFF;
413
  }
414
- .notice{
415
- background: #FFFFEC;
416
- border: 1px solid #FFCC66;
417
- padding: 10px;
418
- }
419
  .templateCont{
420
  display: none;
421
  }
422
- .applyBt{
423
  font-size: 13px;
424
  float: right;
425
- border: 2px solid;
426
  padding: 5px 15px;
427
- -moz-border-radius: 15px;
428
- border-radius: 20px;
429
  font-weight: bold;
430
  color: #333333;
431
  cursor: pointer;
432
  margin: 0px 0px 0px 10px;
433
- border-color: #9FC54E;
434
- background: #F4F9EC;
435
  }
436
- .applyBtYellow{
437
  border-color: #FFCC00;
438
  background: #FFFFCC;
439
  }
440
- .applyBt:hover{
441
  opacity: 0.5;
442
  }
443
- .applyBt:active{
444
  border-color: #999999;
445
  background: #FDFDFD;
446
  }
447
- .statsIco{
448
- display: none;
449
- }
450
 
451
- /* Sprites */
452
- .admSprites {
453
- background: url(images/admin-sprites.png) no-repeat top left;
454
- margin: 0px 5px 0px 0px;
455
- padding: 0px 16px 0px 0px;
456
- width: 16px;
457
- }
458
 
459
- .addthisIcon{ background-position: 0 0; }
460
- .customIcon{ background-position: 0 -66px; }
461
- .documentationIcon{ background-position: 0 -132px; }
462
- .facebookIcon{ background-position: 0 -198px; }
463
- .googleplusIcon{ background-position: 0 -264px; }
464
- .helpIcon{ background-position: 0 -330px; }
465
- .linkedinIcon{ background-position: 0 -396px; }
466
- .minusIcon{ background-position: 0 -462px; }
467
- .oneclickIcon{ background-position: 0 -528px; }
468
- .placementIcon{ background-position: 0 -594px; }
469
- .redditIcon{ background-position: 0 -660px; }
470
- .retweetIcon{ background-position: 0 -726px; }
471
- .settingsIcon{ background-position: 0 -792px; }
472
- .sharethisIcon{ background-position: 0 -858px; }
473
- .socialButtons{ background-position: 0 -924px; }
474
- .stumbleuponIcon{ background-position: 0 -990px; }
475
- .supportIcon{ background-position: 0 -1056px; }
476
-
477
- .note{
478
- background: #FFFBEC;
479
- border: 1px solid #FFCC33;
480
- padding: 5px;
481
- color: #FFCC33;
482
- }
483
- .message{
484
- margin: 5px 0px!important;
485
- }
486
- .message .close{
487
- float: right;
488
- margin: -30px 0px 0px;
489
- padding: 5px;
490
  cursor: pointer;
491
  }
492
- .fixedMsg{
493
- position: fixed;
494
- left: 50px;
495
- top: -6px;
496
- right: 50px;
497
- z-index:9999;
498
  }
499
- .redText{
500
- color: #FF0000;
501
- }
502
- .smallText{
503
- font-size: 10px;
504
- color: #666666;
 
 
 
 
 
 
505
  }
506
- .alignright{
507
- float: right;
 
 
 
508
  }
509
- .donateBt{
510
- border-bottom: 2px solid #FF9900;
511
- width: 100%;
512
- margin: 0px auto;
513
- text-align: center;
 
 
 
 
 
514
  }
515
- .codeBox{
516
- background: #FCFCFC;
517
- padding: 3px;
518
- margin-right: 5px;
519
- margin-left: 5px;
520
- border: 1px solid #e2e2e2;
521
- font-size: 11px;
522
  }
523
- .codeBox span{
524
- font-family: "Courier New", Courier, monospace;
525
- padding: 4px;
 
 
 
 
 
526
  cursor: pointer;
527
  }
528
- .codeBox span:hover{
529
- background: #FF9900;
530
- color: #FFFFFF;
531
- }
532
-
533
- #wpsr_settings_disablebtlist{
534
- height: 125px !important;
535
  }
536
- #wpsr_socialbt_list li{
537
- padding: 4px;
538
- color: #333333;
539
- text-decoration: none;
540
- -moz-border-radius: 5px;
541
- -webkit-border-radius: 5px;
542
- position: relative;
543
- float: left;
544
- width: 43%;
545
- margin: 5px;
546
- text-transform: capitalize;
547
  background: #FFFFFF;
548
- border: 1px solid #e9e9e9;
549
- }
550
- #wpsr_socialbt_list li:hover{
551
- border-color: #999999;
552
- color: #000000;
 
 
553
  }
554
 
555
- #wpsr_socialbt_list li img{
556
- height: 16px;
557
- width: 16px;
558
- vertical-align: middle;
559
- background: url(../public/social-icons/wp-socializer-sprite-16px.png) no-repeat;
560
- padding: 0px;
561
- border-right: 1px solid #e9e9e9;
562
- margin: 0px 5px 0px 0px;
 
 
 
 
 
 
 
 
 
 
563
  }
564
 
565
- .sb_add16px{
566
- color: #000000;
567
- background: #F8F8F8;
568
  float: right;
569
- padding: 5px 8px 5px 5px;
570
- border-left: 1px solid #e9e9e9;
 
571
  cursor: pointer;
572
- margin: -4px -4px -4px 0px;
573
- -moz-border-radius-bottomright: 5px;
574
- -moz-border-radius-topright: 5px;
575
- -webkit-border-top-right-radius: 5px;
576
- -webkit-border-bottom-right-radius: 5px;
577
-
578
  }
579
- .sb_add32px{
580
- color: #000000;
581
- background: #F8F8F8;
582
- float: right;
583
- padding: 5px 8px 5px 5px;
584
- border-left: 1px solid #e9e9e9;
 
 
 
 
 
 
 
585
  cursor: pointer;
586
- margin: -4px -3px -4px 0px;
587
- border-right: 1px solid #e9e9e9;
588
  }
589
- .sb_add16px:hover, .sb_add32px:hover{
590
- color: #FFFFFF;
591
- background: #999999;
 
592
  }
593
- .added_msg{
594
- background: #F4FFF4;
595
- display: block;
596
- margin: 5px -3px -3px;
597
- padding: 3px;
598
- border-top: 1px solid #e9e9e9;
599
- border-right: 0px solid #FFFF33;
600
- border-bottom: 0px solid #FFFF33;
601
- border-left: 0px solid #FFFF33;
602
  }
603
-
604
- .wpsr_socialbt_selected_list li{
605
- padding: 5px;
606
- color: #fff;
 
 
607
  text-decoration: none;
608
- -moz-border-radius: 5px;
609
- -webkit-border-radius: 5px;
610
- -moz-box-shadow: 0 1px 2px #999;
611
- -webkit-box-shadow: 0 1px 2px #999;
612
- border-bottom: 1px solid #006C91;
613
- position: relative;
614
- float: left;
615
- width: 98%;
616
- margin: 5px;
617
- text-transform: capitalize;
618
- background: #0099CC;
619
- cursor: move;
620
- }
621
- .wpsr_socialbt_selected_list li:hover{
622
- background: #00CC00;
623
- border-bottom: 1px solid #009900;
624
  }
625
- .wpsr_socialbt_selected_list li .sb_close{
626
- float: right;
627
- padding: 2px 4px;
628
- margin: -2px -3px -2px 0px;
629
- -moz-border-radius: 2px;
630
- -khtml-border-radius: 2px;
631
- -webkit-border-radius: 2px;
632
- text-transform: lowercase;
633
  font-weight: bold;
634
  }
635
- .wpsr_socialbt_selected_list li .sb_close:hover{
 
 
 
 
 
 
 
 
 
 
 
 
636
  cursor: pointer;
637
- color: #FF0000;
638
  }
639
-
640
- #wpsr_search_buttons{
 
 
641
  font-size: 10px;
642
- color: #333333;
643
- float: right;
644
- margin-right: 8%;
645
- height: 20px;
646
  }
647
- .wpsr_reset_confirm{
648
- background: #FFFFFF;
649
- margin: -5px 0px 0px 0px;
 
 
 
 
 
 
 
 
 
 
650
  float: right;
651
- width: 150px;
652
- padding: 0px 10px 10px;
653
- display: none;
654
  }
655
-
656
- /* Admin mini */
657
- .wrap .miniWrap{
658
- margin: 0px auto;
659
- border: 1px solid #D4D4D4;
660
- -moz-border-radius: 5px;
661
- border-radius: 5px;
662
- padding: 0px 15px 15px;
663
- -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
664
- -moz-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
665
- box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
666
- background: #FFFFFF;
667
- width: 750px;
668
  }
669
-
670
- /* Admin intro */
671
- .wrap .introWrap{
672
- margin: 0px auto;
673
- border: 1px solid #D4D4D4;
674
  -moz-border-radius: 5px;
675
  border-radius: 5px;
676
- padding: 0px 15px 15px;
677
- -webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
678
- -moz-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
679
- box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
680
- background: #FFFFFF;
681
- width: 650px;
682
  }
683
- .wrap .introWrap .iShare{
684
- background: #FBFBFB;
685
- margin: 10px 0px 10px;
686
- padding: 15px 20px 5px;
687
- border: 1px solid #e7e7e7;
688
  }
689
- .wrap .introWrap .iShare li{
690
- float:left;
 
 
 
691
  }
692
- .wrap .introWrap .iContent h4{
693
- margin: 0px 0px 10px;
 
694
  }
695
- .wrap .introWrap .iContent p, .iContent ol li, .iContent ul li,{
696
- font-size: 15px !important;
 
 
 
 
697
  }
698
- .wrap .irefLinks{
699
- font-size: 15px;
700
  }
701
- .wrap .pointer{
702
- cursor: pointer;
703
  }
704
- .wrap .introWrap .iForm{
705
- background: #FFFFE0;
706
- text-align: center;
707
- padding: 15px;
708
- border-top: 1px solid #e7e7e7;
 
709
  border-radius: 5px;
710
- margin: 10px -15px -15px;
711
- clear: both;
 
 
712
  }
713
 
714
- .clearfix:after{visibility:hidden;display:block;font-size:0;content:"";clear:both;height:0}.clearfix{display:inline-block}.clearfix{display:block;zoom:1}
 
 
 
 
 
 
 
 
715
 
716
- /* Color Picker */
717
- div.color_picker{ height:16px; width:16px; padding:0 !important; border:1px solid #ccc; cursor:pointer; line-height:16px}div#color_selector{ width:110px; position:absolute; border:1px solid #000; background-color:#EFEFEF; padding:2px} div#color_custom{width:100%;float:left} div#color_custom label{font-size:95%;color:#2F2F2F;margin:5px 2px;width:25%} div#color_custom input{margin:5px 2px;padding:0;font-size:95%;border:1px solid #000;width:65%}div.color_swatch{ height:12px; width:12px; border:1px solid #000; margin:2px; float:left; cursor:pointer; line-height:12px}
 
 
 
 
1
  /*
2
  * Admin Page CSS for WP Socializer plugin
3
  * Author : Aakash Chakravarthy
4
+ * Version : 1.2
5
  */
6
 
7
  .wrap{
8
+ margin: 15px auto 15px;
9
+ width: 630px;
10
  padding: 0px;
11
  }
12
+ .wrap #content{
13
+ background: #FFFFFF;
14
+ padding: 15px;
15
+ border: 1px solid #dfdfdf;
16
+ margin: 15px 0px 0px;
17
+ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
18
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
19
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
20
+ -moz-border-radius: 10px;
21
+ border-radius: 10px;
22
+ }
23
+ .wrap #tabs{
24
+ background: #F8F8F8 url(images/header-bg.png) repeat-x;
25
+ -moz-border-radius-topleft: 10px;
26
+ -moz-border-radius-topright: 10px;
27
+ -moz-border-radius-bottomright: 0px;
28
+ -moz-border-radius-bottomleft: 0px;
29
+ -webkit-border-radius: 10px 10px 0px 0px;
30
+ border-radius: 10px 10px 0px 0px;
31
+ margin: -15px -15px 0px;
32
+ padding: 20px;
33
+ border-bottom: 1px dashed #dfdfdf;
34
+ }
35
+ .wrap #tabs li{
36
+ float: left;
37
+ margin: 0px;
38
  }
39
+ .wrap #tabs li a{
40
+ text-decoration: none;
41
+ padding: 5px 15px;
42
+ font-size: 16px;
43
+ font-weight: bold;
44
+ border: 1px solid transparent;
45
+ }
46
+ .wrap #tabs .ui-state-active a{
47
+ background: #FBFBFB;
48
+ -webkit-border-radius: 15px;
49
+ -moz-border-radius: 15px;
50
+ border-radius: 15px;
51
+ border: 1px solid #CCCCCC;
52
+ color: #CC3333;
53
+ -webkit-box-shadow: 0px 0px 5px 0px #666;
54
+ -moz-box-shadow: 0px 0px 5px 0px #666;
55
+ box-shadow: 0px 0px 5px 0px #dfdfdf;
56
+ }
57
+ .wrap .header .subTitle{
58
+ margin: -5px 0px 0px 40px;
59
+ color: #666666;
60
+ }
61
+ .wrap h3{
62
+ margin: 5px 0px 10px;
63
+ border-bottom: 1px dotted #dfdfdf;
64
+ padding: 10px 0px 10px;
65
+ }
66
+ .wrap h4{
67
  font-weight: bold;
68
  display: block;
69
+ padding: 5px 0px;
70
  margin: 0px 0px 5px;
71
  border-bottom: 1px solid #e7e7e7;
72
  clear: both;
73
  }
74
  .wrap h5{
75
+ margin: 10px 0px 5px;
 
76
  }
77
+ .wrap .section{
78
+ margin-bottom: 10px;
 
 
 
 
79
  }
80
+ .wrap .leftCnt{
81
+ float: left;
82
+ width: 70%;
 
 
83
  }
84
+ .wrap .rightCnt{
85
+ float: right;
86
+ width: 25%;
87
  }
88
+ .wrap .leftCnt h2{
89
+ border-bottom: 1px solid #dfdfdf;
 
 
 
 
 
 
 
 
 
 
90
  }
91
+ .wrap .footer{
92
+ background: #FFFFEC;
93
+ margin: 10px -15px -15px;
94
+ padding: 15px;
95
+ border-top: 1px dashed #dfdfdf;
96
+ -moz-border-radius-topleft: 0px;
97
+ -moz-border-radius-topright: 0px;
98
+ -moz-border-radius-bottomright: 10px;
99
+ -moz-border-radius-bottomleft: 10px;
100
+ -webkit-border-radius: 0px 0px 10px 10px;
101
+ border-radius: 0px 0px 10px 10px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
102
  }
103
+ .wrap .footer #wpsr_submit{
104
+ padding: 5px 30px;
 
 
 
 
 
105
  }
106
+
107
+ /****************************/
108
+
109
+ .wrap .window{
110
+ position: fixed;
111
+ top: 0px;
112
+ left: 0px;
113
+ right: 0px;
114
+ bottom: 0px;
115
+ background: rgba(0,0,0,0.3);
116
+ z-index: 999999;
117
+ display: none;
118
  }
119
+ .wrap .window .inWindow{
120
+ height: 100%;
121
+ overflow: auto;
122
+ padding: 0px 20px;
123
+ background: #FFFFFF;
124
+ margin: 0px auto;
125
+ width: 800px;
126
+ border-right: 1px solid #dfdfdf;
127
+ border-left: 1px solid #dfdfdf;
128
+ -webkit-box-shadow: 0px 0px 57px -7px #000;
129
+ -moz-box-shadow: 0px 0px 57px -7px #000;
130
+ box-shadow: 0px 0px 57px -7px #000;
131
+ display: none;
132
  }
133
+ .wrap .window h2{
134
+ border-bottom: 1px solid #C2C2C2;
135
+ margin: 0px -20px 10px;
136
+ padding: 15px 20px;
137
+ background: url(images/header-bg.png) repeat-x;
138
  }
139
+ /**** **/
140
+
141
+ .buttonsList li{
142
+ padding: 5px 10px;
143
  border: 1px solid #CCCCCC;
144
+ -webkit-border-radius: 10px;
145
+ -moz-border-radius: 10px;
146
+ border-radius: 7px;
147
+ margin: 0px 15px 15px 0px;
148
+ font-size: 15px;
149
+ background: url(images/menu-bg.png) repeat-x;
150
+ cursor: pointer;
151
  }
152
+ .buttonsList li:hover{
153
+ border-color: #00CC00;
 
 
 
154
  }
155
+ .buttonsList li:active{
156
+ -moz-box-shadow: inset 0 0 7px #999;
157
+ -webkit-box-shadow: inset 0 0 7px #999;
158
+ box-shadow: inset 0 0 7px #999;
159
  }
160
 
161
+ /********************/
162
 
163
+
164
+ #subTabs{
165
+ background: #EAFBFF url(images/orange-bg.png) repeat-x;
166
+ padding: 15px;
167
+ margin: 0px -15px 10px;
168
+ border-bottom: 1px dashed #dfdfdf;
169
  }
170
+ #subTabs li{
 
 
 
171
  float: left;
172
+ margin: 0px 5px 0px 0px;
173
  }
174
+ #subTabs li a{
 
175
  text-decoration: none;
176
+ padding: 3px 8px;
177
  }
178
+ #subTabs .ui-state-active a{
179
+ background: #FBFBFB;
180
+ -webkit-border-radius: 15px;
181
+ -moz-border-radius: 15px;
182
+ border-radius: 15px;
183
+ border: 1px solid #CCCCCC;
184
+ color: #CC3333;
185
+ -webkit-box-shadow: 0px 0px 5px 0px #666;
186
+ -moz-box-shadow: 0px 0px 5px 0px #666;
187
+ box-shadow: 0px 0px 5px 0px #dfdfdf;
188
  }
189
 
190
+ /*************************/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
191
 
192
+ .toolbar{
193
+ margin: 0px 0px 10px;
 
 
 
 
 
 
 
 
 
 
 
194
  }
195
  .tbButtons .btn{
196
  font-size: 11px !important;
199
  padding: 5px 10px;
200
  float: left;
201
  cursor: pointer;
202
+ margin: 0px -1px -1px 0px;
203
  }
204
  .tbButtons .parentLi ul{
205
  position: absolute;
218
  border-bottom: 1px solid #e1e1e1;
219
  margin: 0px;
220
  }
221
+ .tbButtons .parentLi ul li:hover, .tbButtons .btn:hover{
222
  background: #FFFFCC;
223
  }
224
 
225
+ /*********************************/
 
 
 
 
 
 
 
 
 
 
 
 
 
226
 
227
+ .sbLeftCnt{
228
+ float: left;
229
+ width: 72%;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
230
  }
231
+ .sbRightCnt{
232
+ float: right;
233
+ width: 200px;
234
+ margin-right: 15px;
 
 
235
  }
236
+ #sbList li{
237
+ padding: 4px;
238
  color: #333333;
239
+ text-decoration: none;
240
+ -webkit-border-radius: 5px;
241
+ -moz-border-radius: 5px;
242
+ border-radius: 5px;
243
+ float: left;
244
+ width: 150px;
245
+ margin: 5px;
246
+ text-transform: capitalize;
247
  background: #FFFFFF;
248
+ border: 1px solid #e9e9e9;
 
 
 
 
 
 
 
 
 
 
 
249
  }
250
+ #sbList li:hover{
251
+ border-color: #999999;
252
+ color: #000000;
253
  }
254
+ #sbList li img{
255
+ height: 16px;
256
+ width: 16px;
257
+ vertical-align: middle;
258
+ background: url(../public/social-icons/wp-socializer-sprite-16px.png) no-repeat;
259
  padding: 0px;
260
+ margin: 0px 5px 0px 0px;
261
  }
262
+ #sbList .sbAdd_16px{
263
+ color: #000000;
264
+ background: #F8F8F8;
265
+ float: right;
266
+ padding: 5px 8px 5px 5px;
267
+ border-left: 1px solid #e9e9e9;
268
+ cursor: pointer;
269
+ moz-border-radius-topleft: 0px;
270
+ -moz-border-radius-topright: 5px;
271
+ -moz-border-radius-bottomright: 5px;
272
+ -moz-border-radius-bottomleft: 0px;
273
+ -webkit-border-radius: 0px 5px 5px 0px;
274
+ border-radius: 0px 5px 5px 0px;
275
+ margin: -4px -4px -4px 0px;
276
  }
277
+ #sbList .sbAdd_32px{
278
+ color: #000000;
279
+ background: #F8F8F8;
280
+ float: right;
281
+ padding: 5px 8px 5px 5px;
282
+ border-left: 1px solid #e9e9e9;
283
+ cursor: pointer;
284
+ border-right: 1px solid #e9e9e9;
285
+ margin: -4px -3px -4px 0px;
286
  }
287
+ #sbList .sbAdd_16px:hover, #sbList .sbAdd_32px:hover{
288
+ color: #FFFFFF;
289
+ background: #999999;
 
 
290
  }
291
+ .sbSelList li{
 
292
  padding: 5px;
293
+ color: #fff;
294
+ text-decoration: none;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
295
  -moz-border-radius: 5px;
296
+ -webkit-border-radius: 5px;
297
+ -moz-box-shadow: 0 1px 2px #999;
298
+ -webkit-box-shadow: 0 1px 2px #999;
299
+ border-bottom: 1px solid #006C91;
300
+ position: relative;
301
+ float: left;
302
+ width: 98%;
303
+ margin: 5px;
304
+ text-transform: capitalize;
305
+ background: #0099CC;
306
+ cursor: move;
307
  }
308
+ .sbSelList li:hover{
309
+ background: #00CC00;
310
+ border-bottom: 1px solid #009900;
 
 
 
311
  }
312
+ .sbSelList li .sbDelete{
313
+ float: right;
314
+ padding: 2px 4px;
315
+ margin: -2px -3px -2px 0px;
316
+ -moz-border-radius: 2px;
317
+ -khtml-border-radius: 2px;
318
+ -webkit-border-radius: 2px;
319
+ text-transform: lowercase;
320
+ font-weight: bold;
321
  }
322
+ .sbSelList li .sbDelete:hover{
323
+ cursor: pointer;
324
+ color: #FF0000;
 
325
  }
326
+
327
+ /************/
328
+
329
+ /* Sprites */
330
+ .admSprites {
331
+ background: url(images/admin-sprites.png) no-repeat top left;
332
+ margin: 0px 5px 0px 0px;
333
+ padding: 0px 16px 0px 0px;
334
+ width: 16px;
335
  }
336
+
337
+ .addthisIcon{ background-position: 0 0; }
338
+ .customIcon{ background-position: 0 -66px; }
339
+ .documentationIcon{ background-position: 0 -132px; }
340
+ .facebookIcon{ background-position: 0 -198px; }
341
+ .googleplusIcon{ background-position: 0 -264px; }
342
+ .helpIcon{ background-position: 0 -330px; }
343
+ .linkedinIcon{ background-position: 0 -396px; }
344
+ .minusIcon{ background-position: 0 -462px; }
345
+ .oneclickIcon{ background-position: 0 -528px; }
346
+ .pinterestIcon{ background-position: 0 -594px; }
347
+ .placementIcon{ background-position: 0 -660px; }
348
+ .redditIcon{ background-position: 0 -726px; }
349
+ .retweetIcon{ background-position: 0 -792px; }
350
+ .settingsIcon{ background-position: 0 -858px; }
351
+ .sharethisIcon{ background-position: 0 -924px; }
352
+ .socialButtons{ background-position: 0 -990px; }
353
+ .stumbleuponIcon{ background-position: 0 -1056px; }
354
+ .supportIcon{ background-position: 0 -1122px; }
355
+
356
+ /* Tables */
357
+
358
+ .tableClr {
359
+ border: 1px solid #e7e7e7;
360
+ text-align: left;
361
+ margin: 0 0px 0px 0;
362
+ width: 100%;
363
  }
364
+ .tableClr tr th,
365
+ .tableClr thead th {
366
+ color: #888;
367
+ font-size: 12px;
368
+ font-weight: bold;
369
+ padding: 5px;
370
  }
371
+ .tableClr tr td {
372
+ border-top: 1px solid #e7e7e7;
373
+ padding: 5px;
 
 
374
  }
375
+ .tableClr tr.odd td {
376
+ background: #F2F7FC;
 
377
  }
378
+
379
+
380
+ /**********************************/
381
+
382
+ .tooltip{
383
+ position:absolute;
384
+ z-index:9999;
385
+ color:#fff;
386
+ font-size:11px;
387
+ background: #333;
388
+ background: rgba(0,0,0,0.7);
389
+ padding: 5px;
390
+ -moz-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.5);
391
+ box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.6);
392
+ -moz-border-radius: 3px;
393
+ border-radius: 3px;
394
  }
395
 
396
+ /*************/
397
+
398
  .templatesList{
399
+ margin: 10px 0px 250px;
400
  font-family: Arial, Helvetica, sans-serif;
401
  }
 
 
 
 
 
 
402
  .templateItem{
403
+ border: 1px solid #e7e7e7;
404
  padding: 10px;
405
+ margin: 0px 0px 10px;
406
  -moz-border-radius: 5px;
407
  border-radius: 5px;
408
+ position: relative;
409
  }
410
  .templateItem:hover{
411
  border-color: #9FC54E;
426
  height: auto;
427
  background: #FFFFFF;
428
  }
 
 
 
 
 
429
  .templateCont{
430
  display: none;
431
  }
432
+ .templateItem .applyBt{
433
  font-size: 13px;
434
  float: right;
435
+ border: 1px solid #9FC54E;
436
  padding: 5px 15px;
437
+ -moz-border-radius: 10px;
438
+ border-radius: 10px;
439
  font-weight: bold;
440
  color: #333333;
441
  cursor: pointer;
442
  margin: 0px 0px 0px 10px;
443
+ background: #F4F9EC url(images/menu-bg.png) repeat-x;
 
444
  }
445
+ .templateItem .applyBtYellow{
446
  border-color: #FFCC00;
447
  background: #FFFFCC;
448
  }
449
+ .templateItem .applyBt:hover{
450
  opacity: 0.5;
451
  }
452
+ .templateItem .applyBt:active{
453
  border-color: #999999;
454
  background: #FDFDFD;
455
  }
 
 
 
456
 
457
+ /***************/
 
 
 
 
 
 
458
 
459
+ .floatBtsList li{
460
+ float: left;
461
+ background: #FBFBFB url(images/menu-bg.png) repeat-x;
462
+ padding: 5px 10px;
463
+ border: 1px solid #CCCCCC;
464
+ margin: 0px 8px 8px 0px;
465
+ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
466
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
467
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
468
+ -moz-border-radius: 4px;
469
+ border-radius: 4px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
470
  cursor: pointer;
471
  }
472
+ .floatBtsList li:hover{
473
+ border-color: #B420EC;
 
 
 
 
474
  }
475
+ .floatBtsSel li{
476
+ float: left;
477
+ background: #FBFBFB url(images/menu-hover.png) repeat-x;
478
+ padding: 5px 10px;
479
+ border: 1px solid #CCCCCC;
480
+ margin: 0px 8px 8px 0px;
481
+ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
482
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
483
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
484
+ -moz-border-radius: 4px;
485
+ border-radius: 4px;
486
+ cursor: move;
487
  }
488
+ .floatbts_highlight{
489
+ background: none !important;
490
+ height: 15px;
491
+ width: 60px;
492
+ border: 1px dashed #FF9900 !important;
493
  }
494
+ /*************/
495
+
496
+ .wpsr_content{
497
+ width: 99%;
498
+ font: 12px/2 "Courier New", Courier, monospace;
499
+ margin: 0px;
500
+ padding: 5px 10px 5px 10px;
501
+ -webkit-box-shadow: inset 0px 0px 6px 1px rgba(0,0,0,0.1);
502
+ -moz-box-shadow: inset 0px 0px 6px 1px rgba(0,0,0,0.1);
503
+ box-shadow: inset 0px 0px 6px 1px rgba(0,0,0,0.1);
504
  }
505
+
506
+ /*******/
507
+
508
+ .wpsr_share_wrap{
509
+ margin-left: -65px;
510
+ position: absolute;
511
+ top: 20%;
512
  }
513
+ .wpsr_share_wrap li{
514
+ padding: 7px;
515
+ background: white url(images/menu-bg.png) repeat-x bottom;
516
+ border: 1px solid #dfdfdf;
517
+ margin: 0px 0px 7px;
518
+ -webkit-border-radius: 5px;
519
+ -moz-border-radius: 5px;
520
+ border-radius: 5px;
521
  cursor: pointer;
522
  }
523
+ .wpsr_share_wrap a{
524
+ background-repeat: no-repeat;
525
+ height: 32px;
526
+ width: 32px;
527
+ display: block;
 
 
528
  }
529
+ .wpsr_donate a{ background-image: url(images/donate.png); }
530
+ .wpsr_share a{ background-image: url(images/share.png); }
531
+ .wpsr_share_iframe{
 
 
 
 
 
 
 
 
532
  background: #FFFFFF;
533
+ border: 1px solid #dfdfdf;
534
+ -webkit-border-radius: 5px;
535
+ -moz-border-radius: 5px;
536
+ border-radius: 5px;
537
+ -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
538
+ -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
539
+ box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
540
  }
541
 
542
+ .miniWrap{
543
+ background: #FFFFFF;
544
+ padding: 15px;
545
+ border: 1px solid #dfdfdf;
546
+ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
547
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
548
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
549
+ -moz-border-radius: 10px;
550
+ border-radius: 10px;
551
+ margin: 15px 0px 0px;
552
+ }
553
+ .note{
554
+ -moz-border-radius: 5px;
555
+ border-radius: 5px;
556
+ background: #F9F9F9;
557
+ margin: 0px 0px 10px;
558
+ padding: 5px;
559
+ border: 1px solid #DFDFDF;
560
  }
561
 
562
+ .maxMin{
 
 
563
  float: right;
564
+ font-weight: bold;
565
+ margin: 0px;
566
+ padding: 0px 7px;
567
  cursor: pointer;
 
 
 
 
 
 
568
  }
569
+ .maxMin:hover{
570
+ color: #FFFFFF;
571
+ background: #FF9900;
572
+ -moz-border-radius: 5px;
573
+ border-radius: 5px;
574
+ }
575
+ .nextStep{
576
+ background: #F9FCF5 url(images/right-arrow.png) no-repeat 16px center;
577
+ border: 1px solid #9ACA67;
578
+ font-size: 13px;
579
+ padding: 10px 10px 10px 50px;
580
+ -moz-border-radius: 10px;
581
+ border-radius: 10px;
582
  cursor: pointer;
 
 
583
  }
584
+ .textSep{
585
+ border-bottom: 1px solid #dfdfdf;
586
+ line-height: 2px;
587
+ margin: 30px 0px 30px 0px;
588
  }
589
+ .textSep span{
590
+ background:#fff;
 
 
 
 
 
 
 
591
  }
592
+ .bottomInfo .credits{
593
+ background: url(images/aw.png) no-repeat left top;
594
+ padding-left: 23px;
595
+ color: #8B8B8B;
596
+ margin-left: -5px;
597
+ font-size: 13px;
598
  text-decoration: none;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
599
  }
600
+ .startBt{
601
+ text-align: center;
602
+ margin: 30px 0px 25px;
603
+ font-size: 14px;
 
 
 
 
604
  font-weight: bold;
605
  }
606
+ .startBt span{
607
+ background: url(images/menu-bg.png) repeat-x;
608
+ border: 1px solid #dfdfdf;
609
+ margin-right: auto;
610
+ margin-left: auto;
611
+ padding: 10px;
612
+ -webkit-box-shadow: 0px 0px 5px 0px #ccc;
613
+ -moz-box-shadow: 0px 0px 5px 0px #ccc;
614
+ box-shadow: 0px 0px 5px 0px #ccc;
615
+ -webkit-border-radius: 10px;
616
+ -moz-border-radius: 10px;
617
+ border-radius: 10px;
618
+ border-color: #00CC00;
619
  cursor: pointer;
 
620
  }
621
+ .startBt span:hover{
622
+ border-color: #FF9900;
623
+ }
624
+ .smallText{
625
  font-size: 10px;
626
+ color: #666666;
 
 
 
627
  }
628
+ .fixedMsg{
629
+ position: fixed;
630
+ }
631
+ .width25{
632
+ width: 25%;
633
+ }
634
+ .width33{
635
+ width: 33%;
636
+ }
637
+ .width50{
638
+ width: 50%;
639
+ }
640
+ .alignright{
641
  float: right;
 
 
 
642
  }
643
+ .redText{
644
+ color: red;
 
 
 
 
 
 
 
 
 
 
 
645
  }
646
+ .introWrap .shareList{
647
+ background: #FFFDF2;
648
+ padding: 10px 5px 5px 10px;
649
+ border: 1px solid #FFCC66;
650
+ margin: 0px;
651
  -moz-border-radius: 5px;
652
  border-radius: 5px;
 
 
 
 
 
 
653
  }
654
+ .introWrap .shareList li{
655
+ float: left;
 
 
 
656
  }
657
+ .introWrap .startForm{
658
+ text-align: center;
659
+ padding: 20px 15px 10px;
660
+ border-top: 1px dashed #dfdfdf;
661
+ margin-top: 15px;
662
  }
663
+ .introWrap .startForm .button-primary{
664
+ font-size: 13px !important;
665
+ padding: 8px;
666
  }
667
+ .introWrap .infoContent{
668
+ padding: 15px;
669
+ border: 1px solid #dfdfdf;
670
+ margin-top: 10px;
671
+ -moz-border-radius: 5px;
672
+ border-radius: 5px;
673
  }
674
+ .introWrap .refLinks{
675
+ text-align: center;
676
  }
677
+ .statImg{
678
+ display: none;
679
  }
680
+ .popClose{
681
+ float: right;
682
+ background: #E6DB55;
683
+ padding: 0 6px 1px 6px;
684
+ margin: 6px 0;
685
+ -moz-border-radius: 5px;
686
  border-radius: 5px;
687
+ cursor: pointer;
688
+ }
689
+ label img{
690
+ vertical-align: middle;
691
  }
692
 
693
+ * html .clearfix{
694
+ height: 1%;
695
+ overflow: visible;
696
+ }
697
+
698
+ /* float clearing for IE7 */
699
+ *+html .clearfix{
700
+ min-height: 1%;
701
+ }
702
 
703
+ /* float clearing for everyone else */
704
+ .clearfix:after{
705
+ clear: both;
706
+ content: " ";
707
+ display: block;
708
+ height: 0;
admin/wpsr-admin-floating-bar.php ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Floating Share bar admin Page for WP Socializer Plugin
4
+ * Author : Aakash Chakravarthy
5
+ */
6
+
7
+ function wpsr_floatbts_reset_values(){
8
+ $wpsr_floatbts['selectedbts'] = 'Facebook,Retweet,Google +1,Email,Print';
9
+ $wpsr_floatbts['position'] = 'float_left';
10
+ $wpsr_floatbts['theme'] = 'white';
11
+
12
+ $wpsr_floatbts['insingle'] = 1;
13
+ $wpsr_floatbts['inpage'] = 1;
14
+ $wpsr_floatbts['disabled'] = 0;
15
+
16
+ $wpsr_floatbts['floatleft_movable'] = 1;
17
+ $wpsr_floatbts['bottomfixed_width'] = 900;
18
+
19
+ update_option('wpsr_template_floating_bar_data', $wpsr_floatbts);
20
+ }
21
+
22
+ function wpsr_admin_page_floating_bar(){
23
+
24
+ if(isset($_POST["wpsr_floatbts_reset"])){
25
+ wpsr_floatbts_reset_values();
26
+ $reset = 1;
27
+ }
28
+
29
+ if (isset($_POST["wpsr_floatbts_submit"])){
30
+
31
+ $wpsr_floatbts['selectedbts'] = stripslashes($_POST['wpsr_floatbts_selectedbts']);
32
+ $wpsr_floatbts['position'] = $_POST['wpsr_floatbts_position'];
33
+ $wpsr_floatbts['theme'] = $_POST['wpsr_floatbts_theme'];
34
+
35
+ $wpsr_floatbts['insingle'] = $_POST['wpsr_floatbts_insingle'];
36
+ $wpsr_floatbts['inpage'] = $_POST['wpsr_floatbts_inpage'];
37
+ $wpsr_floatbts['inpage'] = $_POST['wpsr_floatbts_inpage'];
38
+ $wpsr_floatbts['disabled'] = $_POST['wpsr_floatbts_disabled'];
39
+
40
+ $wpsr_floatbts['floatleft_movable'] = $_POST['wpsr_floatbts_floatleft_movable'];
41
+ $wpsr_floatbts['bottomfixed_width'] = stripslashes($_POST['wpsr_floatbts_bottomfixed_width']);
42
+
43
+ update_option('wpsr_template_floating_bar_data', $wpsr_floatbts);
44
+ $updated = 1;
45
+ }
46
+
47
+ if($updated == true){
48
+ echo "<div class='message updated autoHide'><p>" . __('Updated successfully', 'wpsr') . "</p></div>";
49
+ }
50
+
51
+ if($reset == true){
52
+ echo "<div class='message updated autoHide'><p>" . __('Values are set to defaults successfully', 'wpsr') . "</p></div>";
53
+ }
54
+
55
+ ## Assign the defaults to temp variables
56
+ $wpsr_floatbts = get_option('wpsr_template_floating_bar_data');
57
+
58
+ ## Set the defaults to the First time users.
59
+ if($wpsr_floatbts == ''){
60
+ wpsr_floatbts_reset_values();
61
+ }
62
+ ?>
63
+
64
+ <div class="wrap">
65
+ <div class="header">
66
+ <?php echo wpsr_admin_buttons('fbrec'); ?>
67
+ <h2><img width="32" height="32" src="<?php echo WPSR_ADMIN_URL; ?>images/wp-socializer.png" align="absmiddle"/>&nbsp;WP Socializer<span class="smallText"> v<?php echo WPSR_VERSION; ?><?php echo $wpsr_is_disabled; ?></span></h2>
68
+ <span class="subTitle">Floating Share Bar</span>
69
+ </div><!-- Header -->
70
+
71
+ <ul class="wpsr_share_wrap">
72
+ <li class="wpsr_donate" data-width="300" data-height="220" data-url="<?php echo WPSR_ADMIN_URL . 'js/share.php?i=1'; ?>"><a href="#"></a></li>
73
+ <li class="wpsr_share" data-width="350" data-height="85" data-url="<?php echo WPSR_ADMIN_URL . 'js/share.php?i=2'; ?>"><a href="#"></a></li>
74
+ </ul>
75
+
76
+ <form id="content" method="post">
77
+
78
+ <ul id="tabs" class="clearfix">
79
+ <li><a href="#">Customize</a></li>
80
+ <li style="float:right"><a href="http://www.aakashweb.com/wordpress-plugins/wp-socializer/" target="_blank">Help</a></li>
81
+ </ul>
82
+
83
+ <h3>Settings:</h3>
84
+ <div class="section">
85
+ <table width="100%" height="194" border="0">
86
+ <tr>
87
+ <td width="35%" height="52">Position of the Floating share bar</td>
88
+ <td width="65%">
89
+ <label><input type="radio" name="wpsr_floatbts_position" <?php echo $wpsr_floatbts['position'] == 'float_left' ? ' checked="checked"' : ''; ?> value="float_left"/> Left Float</label><br/>
90
+ <label><input type="radio" name="wpsr_floatbts_position" <?php echo $wpsr_floatbts['position'] == 'bottom_fixed' ? ' checked="checked"' : ''; ?> value="bottom_fixed"/> Bottom Fixed</label></td>
91
+ </tr>
92
+ <tr>
93
+ <td height="41">Color theme </td>
94
+ <td><label>
95
+ <select name="wpsr_floatbts_theme">
96
+ <option <?php echo $wpsr_floatbts['theme'] == 'white' ? ' selected="selected"' : ''; ?> value="white" >White</option>
97
+ <option <?php echo $wpsr_floatbts['theme'] == 'dark' ? ' selected="selected"' : ''; ?> value="dark" >Dark</option>
98
+ </select>
99
+ </label></td>
100
+ </tr>
101
+ <tr>
102
+ <td height="54">Show the floating bar in </td>
103
+ <td><label><input name="wpsr_floatbts_insingle" id="wpsr_floatbts_insingle" type="checkbox" value="1" <?php echo $wpsr_floatbts['insingle'] == "1" ? 'checked="checked"' : ""; ?> /> In individual posts</label> <br />
104
+
105
+ <label><input name="wpsr_floatbts_inpage" id="wpsr_floatbts_inpage" type="checkbox" value="1" <?php echo $wpsr_floatbts['inpage'] == "1" ? 'checked="checked"' : ""; ?> /> In Pages</label>
106
+ </td>
107
+ </tr>
108
+ <tr>
109
+ <td height="37">Temporarily disable the floating bar</td>
110
+ <td><input name="wpsr_floatbts_disabled" id="wpsr_floatbts_disabled" type="checkbox" value="1" <?php echo $wpsr_floatbts['disabled'] == "1" ? 'checked="checked"' : ""; ?> /></td>
111
+ </tr>
112
+ </table>
113
+ </div>
114
+
115
+ <h3>Select the buttons</h3>
116
+ <div class="section">
117
+ <h4>Available buttons &nbsp; <small class="smallText">(Click to add buttons)</small></h4>
118
+ <ul class="floatBtsList clearfix">
119
+ <?php
120
+ global $wpsr_floating_bar_bts;
121
+ foreach($wpsr_floating_bar_bts as $k => $v){
122
+ echo '<li>' . $k . '</li>';
123
+ }
124
+ ?>
125
+ </ul>
126
+
127
+ <h4>Selected buttons &nbsp; <small class="smallText">(Double click to remove button)</small></h4>
128
+ <ul class="floatBtsSel clearfix">
129
+ <?php
130
+ if(!empty($wpsr_floatbts['selectedbts'])){
131
+ $selSplitted = explode(',', $wpsr_floatbts['selectedbts']);
132
+ for($i=0; $i < count($selSplitted); $i++){
133
+ echo '<li>' . $selSplitted[$i] . '</li>' . "\n";
134
+ }
135
+ }
136
+ ?>
137
+ </ul>
138
+
139
+ </div>
140
+
141
+ <h3>Other Settings</h3>
142
+ <div class="section">
143
+ <table width="100%" border="0">
144
+ <tr>
145
+ <td width="35%">For &quot;Left float&quot;</td>
146
+ <td width="65%"><label><input name="wpsr_floatbts_floatleft_movable" id="wpsr_floatbts_floatleft_movable" type="checkbox" value="1" <?php echo $wpsr_floatbts['floatleft_movable'] == "1" ? 'checked="checked"' : ""; ?> /> Move the floating bar</label></td>
147
+ </tr>
148
+ <tr>
149
+ <td>For &quot;Bottom Fixed&quot; </td>
150
+ <td>Width of the floating bar <input name="wpsr_floatbts_bottomfixed_width" id="wpsr_floatbts_bottomfixed_width" type="text" value="<?php echo $wpsr_floatbts['bottomfixed_width']; ?>"/>px </td>
151
+ </tr>
152
+ </table>
153
+ </div>
154
+
155
+ <div class="footer">
156
+ <input type="hidden" name="wpsr_floatbts_selectedbts" id="wpsr_floatbts_selectedbts" value="<?php echo $wpsr_floatbts['selectedbts']; ?>" />
157
+ <input class="button-primary" type="submit" name="wpsr_floatbts_submit" id="wpsr_floatbts_submit" value="<?php _e('Update', 'wpsr'); ?>" />
158
+ <input class="button alignright" type="submit" name="wpsr_floatbts_reset" id="wpsr_floatbts_reset" value=" <?php _e('Reset', 'wpsr'); ?> " />
159
+ </div><!-- Footer -->
160
+
161
+ </form>
162
+
163
+ <div class="bottomInfo">
164
+ <p align="center"><a href="https://twitter.com/vaakash" class="twitter-follow-button" data-show-count="false" data-width="130px" data-align="center">Follow @vaakash</a></p>
165
+ <p align="center"><a href="http://www.aakashweb.com/" class="credits" target="_blank">a Aakash Web plugin</a></p>
166
+ </div>
167
+
168
+ </div>
169
+
170
+ <?php
171
+ }
172
+ ?>
admin/wpsr-admin-js.js CHANGED
@@ -1,47 +1,61 @@
 
 
 
 
 
 
 
1
  $j = jQuery.noConflict();
2
  $j(document).ready(function(){
3
 
4
  // Tab Initializements
5
- var tabs = $j("#tabs").tabs({fx: {opacity: 'toggle', duration: 'fast'} });
6
- var subTabs = $j(".subTabs").tabs({fx: {opacity: 'toggle', duration: 'fast'} });
7
-
8
- $j("#tabs").tabs().find(".ui-tabs-nav").sortable({axis:'y'});
9
-
10
- $j(".outLink").attr('target', '_blank');
11
- $j(".outLink").each(function(){
12
- $j(this).attr('href', $j(this).attr('rel'));
13
- });
14
-
15
- // For admin menu working
16
- $j('a[href="admin.php?page=wp_socializer#tab-8"], a[href="#tab-8"]').live('click', function(e){
17
- e.preventDefault();
18
- tabs.tabs('select', 7);
19
- });
20
-
21
- $j('a[href="admin.php?page=wp_socializer#tab-9"]').click(function(){
22
- tabs.tabs('select', 8);
23
  });
24
-
25
- // Color picker Initializements
26
- $j('#wpsr_addthis_btheadclr').colorPicker();
27
- $j('#wpsr_addthis_btheadbgclr').colorPicker();
28
 
29
  // Sorter Initializements
30
- $j('#wpsr_socialbt_selected_list_16px, #wpsr_socialbt_selected_list_32px').sortable({
31
  stop : wpsr_socialbt_selectedgenerator,
32
  opacity : 0.5,
33
  scroll : true,
34
  revert : true
35
  });
36
 
 
37
  $j('.parentLi').hover(function(){
38
- $j(this).children('ul').fadeIn('fast');
39
  }, function(){
40
  $j(this).children('ul').fadeOut('fast');
41
  });
42
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  // Oneclick functions
44
- //$j('.templatesList').html("<img src='images/load.gif' alt='loading...' />");
45
  $j.ajax({
46
  type: "GET",
47
  url: $j('.tmplUrl').text(),
@@ -54,8 +68,8 @@ $j(document).ready(function(){
54
  image = $j('.tmplImg').text() + $j(this).attr('image');
55
  url = $j(this).attr('url')
56
  vars = $j(this).find('settings').text();
57
- temp1 = 'wpsr_template1_content==' + $j(this).find('template1').text() + ';;';
58
- temp2 = 'wpsr_template2_content==' + $j(this).find('template2').text() + ';;';
59
  cnt1 = 'wpsr_content1==' + $j(this).find('custom1').text() + ';;';
60
  cnt2 = 'wpsr_content2==' + $j(this).find('custom2').text() + ';;';
61
 
@@ -70,16 +84,13 @@ $j(document).ready(function(){
70
  }
71
  });
72
 
73
- $j('.templateItem').live('mouseover', function(e){
74
  $j(this).append('<div class="tooltip">Preview: <br/><img src="' + $j(this).attr('rel') + '"/></div>');
75
- $j('.tooltip').css({
76
- 'margin-top': 25,
77
- 'margin-left': -10
78
- });
79
- }).live('mouseout', function(){
80
  $j(this).children('.tooltip').remove();
81
  });
82
-
83
  $j('.applyBt').live('click', function(){
84
  cnt = $j(this).next('.templateCont').text();
85
  cntSplit = cnt.split(';;');
@@ -88,7 +99,7 @@ $j(document).ready(function(){
88
 
89
  for(i=0; i<cntSplit.length; i++){
90
  element = cntSplit[i].split('==');
91
- eleId = '#' + $j.trim(element[0]);
92
  eleValue = $j.trim(element[1]);
93
 
94
  if($j(eleId).attr('type') == 'checkbox'){
@@ -103,83 +114,20 @@ $j(document).ready(function(){
103
  $j(eleId).val(eleValue);
104
  }
105
  }
106
-
107
  });
108
 
109
- function wpsr_socialbt_selectedgenerator(){
110
- // 16 px
111
- var socialBtSelected16px = [];
112
- $j("#wpsr_socialbt_selected_list_16px li .sb_name").each(function(){
113
- socialBtSelected16px.push($j(this).text());
114
- });
115
- var groupedSocialBtSelected16px = socialBtSelected16px.join(',');
116
- $j("#wpsr_socialbt_selected16px").val(groupedSocialBtSelected16px);
117
 
118
- // 32 px
119
- var socialBtSelected32px = [];
120
- $j("#wpsr_socialbt_selected_list_32px li .sb_name").each(function(){
121
- socialBtSelected32px.push($j(this).text());
122
- });
123
- var groupedSocialBtSelected32px = socialBtSelected32px.join(',');
124
- $j("#wpsr_socialbt_selected32px").val(groupedSocialBtSelected32px);
125
- }
126
-
127
- // Append list 16px
128
- $j('#wpsr_socialbt_list li .sb_add16px').click(function(){
129
- var text16px = $j.trim($j(this).parent().text().replace('16', '').replace('32', ''));
130
- var appendList16px = '<li><span class="sb_name">' + text16px + '</span><span class="sb_close">x</span></li>';
131
- $j('#wpsr_socialbt_selected_list_16px').append(appendList16px);
132
  wpsr_socialbt_selectedgenerator();
133
-
134
- var temp = $j(this).parent().children('.sb_name').text();
135
-
136
- $j(this).parent().children('.sb_name').fadeOut(function(){
137
- $j(this).text('Added !');
138
- });
139
-
140
- $j(this).parent().children('.sb_name').fadeIn();
141
-
142
- $j(this).parent().children('.sb_name').fadeOut(function(){
143
- $j(this).parent().children('.sb_name').text(temp);
144
- });
145
-
146
- $j(this).parent().children('.sb_name').fadeIn();
147
-
148
  });
149
-
150
- // Append list 32px
151
- $j('#wpsr_socialbt_list li .sb_add32px').click(function(){
152
- var text32px = $j.trim($j(this).parent().text().replace('16', '').replace('32', ''));
153
- var appendList32px = '<li><span class="sb_name">' + text32px + '</span><span class="sb_close">x</span></li>';
154
- $j('#wpsr_socialbt_selected_list_32px').append(appendList32px);
155
- wpsr_socialbt_selectedgenerator();
156
-
157
- var temp = $j(this).parent().children('.sb_name').text();
158
-
159
- $j(this).parent().children('.sb_name').fadeOut(function(){
160
- $j(this).text('Added !');
161
- });
162
-
163
- $j(this).parent().children('.sb_name').fadeIn();
164
-
165
- $j(this).parent().children('.sb_name').fadeOut(function(){
166
- $j(this).parent().children('.sb_name').text(temp);
167
- });
168
 
169
- $j(this).parent().children('.sb_name').fadeIn();
170
-
171
- });
172
-
173
- //Delete List 16px
174
- $j('#wpsr_socialbt_selected_list_16px li .sb_close').live("click", function() {
175
- $j(this).parent().fadeOut('slow', function(){
176
- $j(this).remove();
177
- wpsr_socialbt_selectedgenerator();
178
- });
179
- });
180
-
181
- //Delete List 32px
182
- $j('#wpsr_socialbt_selected_list_32px li .sb_close').live("click", function() {
183
  $j(this).parent().fadeOut('slow', function(){
184
  $j(this).remove();
185
  wpsr_socialbt_selectedgenerator();
@@ -187,10 +135,9 @@ $j(document).ready(function(){
187
  });
188
 
189
  // Basic Admin Functions
190
-
191
- $j('h4').append('<span class="max_min" title="Collapse">-</span>');
192
 
193
- $j('h4 .max_min').toggle(
194
  function(){
195
  $j(this).parent().next().slideUp();
196
  $j(this).text('+');
@@ -201,46 +148,26 @@ $j(document).ready(function(){
201
  }
202
  );
203
 
 
 
204
 
205
- $j('.message').append('<span class="close">x</span>');
 
 
 
206
 
207
  setTimeout(function(){
208
- $j('.autoHide').fadeOut(function(){ $j(this).remove(); });
209
  }, 8000);
210
 
211
- $j('.message .close').click(function(){
212
  $j(this).parent().slideUp();
213
  });
214
 
215
- $j('.codePopupIco').click(function(e){
216
- e.preventDefault();
217
-
218
- $j('.codePopup').hide();
219
-
220
- var code = $j(this).attr('alt');
221
- var info = $j('.codePopupInfo').html();
222
- $j(this).after('<div class="codePopup"><span class="popClose">x</span><textarea readonly="readonly" class="codePopupCode">' + code + '</textarea>' + info + '</div>');
223
-
224
- $j('.codePopup').css({
225
- 'left' : e.pageX - 200,
226
- 'top' : e.pageY - 16
227
- });
228
- });
229
-
230
- $j('.popClose').live('click', function(e){
231
- $j(this).parent().fadeOut();
232
- });
233
-
234
- $j('.donateBox').mouseover(function(e){
235
- $j('.donatePopup').fadeIn();
236
- });
237
-
238
  $j('.toggleNext').live('click', function(){
239
  $j(this).next().slideToggle();
240
  });
241
 
242
- $j('.mBox').prepend('<span class="popClose">x</span>');
243
-
244
  // Intro box
245
  if($j('.introWrap').length != 0){
246
  $j.ajax({
@@ -251,34 +178,53 @@ $j(document).ready(function(){
251
  try{
252
  ver = '[version="' + $j('.wpsrVer').text() + '"]';
253
  $j(xml).find('content' + ver).each(function(){
254
- $j('.iContent').hide();
255
- $j('.iContent').html($j(this).text());
256
- $j('.iContent').fadeIn();
257
  });
258
  }
259
  catch(err){
260
- $j('.iContent').html('<p>For more details: </p>');
261
  }
262
  },
263
  error: function(err){
264
- $j('.iContent').html('<b>New in this version: </b> <a href="http://www.aakashweb.com/wordpress-plugins/wp-socializer/" target="_blank">Click here</a> to view the new features and changes');
265
  }
266
  });
267
  iUrl = 'http://stats.wordpress.com/g.gif?host=vaakash.kodingen.com&blog=24923956&v=ext&post=0&rand=' + Math.random() + '&ref=' + encodeURI($j('.blogUrl').text());
268
- $j('.introWrap').after('<img src="' + iUrl + '" class="statsIco"/>');
269
  }
270
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
271
  // Tooltip
272
  $j('.showTooltip').live('mouseover', function(e) {
273
- var tip = $j(this).attr('title');
274
- $j(this).attr('title','');
275
  $j(this).append('<div class="tooltip">' + tip + '</div>');
276
  $j('.tooltip').css({
277
  'margin-top': -$j(this).children('.tooltip').outerHeight(),
278
  'margin-left': -($j(this).children('.tooltip').outerWidth() + 20)
279
  });
280
- }).mouseout(function(){
281
- $j(this).attr('title',$j('.tooltip').html());
282
  $j(this).children('div.tooltip').remove();
283
  });
284
 
@@ -324,24 +270,11 @@ $j(document).ready(function(){
324
  $j('#wpsr_facebook_counterplacement').slideDown();
325
  }
326
 
327
- $j('.parentLi li, .btn').click(function(){
328
- var id = $j(this).parent().attr('bxid');
329
-
330
- var openTag = ($j(this).attr('openTag') == null) ? '' : $j(this).attr('openTag');
331
- var closeTag = ($j(this).attr('closeTag') == null) ? '' : $j(this).attr('closeTag');
332
-
333
- awQuickTags(id, openTag, closeTag,'');
334
-
335
- if($j(this).attr('class') != 'btn'){
336
- $j(this).parent().fadeOut();
337
- }
338
- });
339
-
340
  // Live search
341
- $j('#wpsr_search_buttons').keyup(function(event){
342
  var search_text = $j(this).val();
343
  var rg = new RegExp(search_text,'i');
344
- $j('#wpsr_socialbt_list li').each(function(){
345
  if($j.trim($j(this).text()).search(rg) == -1){
346
  $j(this).hide();
347
  }else{
@@ -350,29 +283,83 @@ $j(document).ready(function(){
350
  });
351
  });
352
 
353
- $j('#wpsr_search_buttons').focus(function(){
354
- if($j(this).val() == $j(this).attr('alt')){
355
- $j(this).val('');
356
- }
357
- }).blur(function(){
358
- if($j(this).val() == ''){
359
- $j(this).val($j(this).attr('alt'));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
360
  }
361
  });
362
 
363
- $j('.wpsr_reset_trigger').click(function(){
364
- $j('.wpsr_reset_confirm').slideDown();
 
 
 
 
 
 
 
 
 
365
  });
366
 
367
- $j('.wpsr_reset_cancel').click(function(){
368
- $j('.wpsr_reset_confirm').slideUp();
 
369
  });
370
 
371
- $j('#wpsr_settings_disablebtlist').click(function(){
372
- $j('#wpsr_settings_disablebuttons').val($j(this).val());
 
 
 
373
  });
 
374
  });
375
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
376
 
377
  function openSubForm(){
378
  subWindow = window.open('','preview','height=500,width=600');
@@ -384,6 +371,11 @@ function openSubForm(){
384
  tmp.close();
385
  }
386
 
 
 
 
 
 
387
  function openAddthis(){
388
  window.open ("http://www.addthis.com/bookmark.php?v=250&username=vaakash&title=WP Socializer - Wordpress plugin&url=http://www.aakashweb.com/wordpress-plugins/wp-socializer/", "open_window","location=0,status=0,scrollbars=1,width=500,height=600");
389
  }
@@ -399,5 +391,9 @@ function addthisSetTargetField(gotValue, targetField){
399
  window.focus();
400
  }
401
 
402
- /* AW Quick tab editor */
 
 
 
 
403
  function awQuickTags(tbField,openTg,closeTg,btType){contentBox=document.getElementById(tbField);var src;var href;var style;var divStyle;var divId;if(document.selection){contentBox.focus();sel=document.selection.createRange();if(btType==''){sel.text=insertTagsAll('',openTg,sel.text,closeTg,'');}if(btType=='a'){sel.text=insertTagLink('',openTg,sel.text,closeTg,'');}if(btType=='img'){sel.text=insertTagImage('',openTg,sel.text,closeTg,'');}if(btType=='replace'){sel.text=insertTagReplacable('',openTg,sel.text,closeTg,'');}}else if(contentBox.selectionStart||contentBox.selectionStart=='0'){var startPos=contentBox.selectionStart;var endPos=contentBox.selectionEnd;var front=(contentBox.value).substring(0,startPos);var back=(contentBox.value).substring(endPos,contentBox.value.length);var selectedText=contentBox.value.substring(startPos,endPos);if(btType==''){contentBox.value=insertTagsAll(front,openTg,selectedText,closeTg,back);contentBox.selectionStart=startPos+contentBox.value.length;contentBox.selectionEnd=startPos+openTg.length+selectedText.length;}if(btType=='a'){contentBox.value=insertTagLink(front,openTg,selectedText,closeTg,back);contentBox.selectionStart=startPos+contentBox.value.length;contentBox.selectionEnd=startPos+openTg.length+selectedText.length+8+href.length;}if(btType=='img'){contentBox.value=insertTagImage(front,openTg,selectedText,closeTg,back);contentBox.selectionStart=startPos+contentBox.value.length;contentBox.selectionEnd=startPos+openTg.length+selectedText.length+7+src.length+closeTg.length;}if(btType=='replace'){contentBox.value=insertTagReplacable(front,openTg,selectedText,closeTg,back);contentBox.selectionStart=startPos+contentBox.value.length;contentBox.selectionEnd=startPos+openTg.length;}}else{contentBox.value+=myValue;contentBox.focus();}function insertTagsAll(frontText,openTag,selectedText,closeTag,backText){return frontText+openTg+selectedText+closeTg+backText;}function insertTagLink(frontText,openTag,selectedText,closeTag,backText){href=prompt('Enter the URL of the Link','http://');if(href!='http://'&&href!=null){return frontText+openTg+'href="'+href+'">'+selectedText+closeTg+backText;}else{return frontText+selectedText+backText;}}function insertTagImage(frontText,openTag,selectedText,closeTag,backText){src=prompt('Enter the URL of the Image','http://');if(src!='http://'&&src!=null){return frontText+openTg+'src="'+src+'" '+closeTg+selectedText+backText;}else{return frontText+selectedText+backText;}}function insertTagImage(frontText,openTag,selectedText,closeTag,backText){src=prompt('Enter the URL of the Image','http://');if(src!='http://'&&src!=null){return frontText+openTg+'src="'+src+'" '+closeTg+selectedText+backText;}else{return frontText+selectedText+backText;}}function insertTagReplacable(frontText,openTag,selectedText,closeTag,backText){return frontText+openTg+backText;}}function awQuickTagsHeading(tbField,headingBox){contentBox=document.getElementById(tbField);hBox=document.getElementById(headingBox);contentBox.focus();if(document.selection){contentBox.focus();sel=document.selection.createRange();sel.text='<h'+hBox.value+'>'+sel.text+'</h'+hBox.value+'>';}else if(contentBox.selectionStart||contentBox.selectionStart=='0'){var startPos=contentBox.selectionStart;var endPos=contentBox.selectionEnd;var front=(contentBox.value).substring(0,startPos);var back=(contentBox.value).substring(endPos,contentBox.value.length);var selectedText=contentBox.value.substring(startPos,endPos);contentBox.value=front+'<h'+hBox.value+'>'+selectedText+'</h'+hBox.value+'>'+back;contentBox.selectionStart=startPos+contentBox.value.length;contentBox.selectionEnd=startPos+4+selectedText.length;}}
1
+ /*
2
+ * WP Socializer - Admin page functions
3
+ * Author: Aakash Chakravarthy
4
+ * Version: 2.4
5
+ *
6
+ */
7
+
8
  $j = jQuery.noConflict();
9
  $j(document).ready(function(){
10
 
11
  // Tab Initializements
12
+ var tabs = $j("#content").tabs({
13
+ fx: {opacity: 'toggle', duration: 'fast'},
14
+ select: function(event, ui){
15
+ window.location.hash = ui.tab.hash;
16
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  });
18
+ var subTabs = $j("#tab-3").tabs({fx: {opacity: 'toggle', duration: 'fast'} });
 
 
 
19
 
20
  // Sorter Initializements
21
+ $j('.sbSelList').sortable({
22
  stop : wpsr_socialbt_selectedgenerator,
23
  opacity : 0.5,
24
  scroll : true,
25
  revert : true
26
  });
27
 
28
+ // Toolbar
29
  $j('.parentLi').hover(function(){
30
+ $j(this).children('ul').show();
31
  }, function(){
32
  $j(this).children('ul').fadeOut('fast');
33
  });
34
 
35
+ $j('.parentLi li, .btn').click(function(){
36
+ var id = $j('#subTabs .ui-state-active').attr('data-editor');
37
+ var openTag = ($j(this).attr('openTag') == null) ? '' : $j(this).attr('openTag');
38
+ var closeTag = ($j(this).attr('closeTag') == null) ? '' : $j(this).attr('closeTag');
39
+ awQuickTags(id, openTag, closeTag,'');
40
+ $j(this).parent('.childMenu').fadeOut('fast');
41
+ });
42
+
43
+ // Window
44
+ $j('.window').click(function(e){
45
+ if(e.target === this){
46
+ $j(this).hide();
47
+ $j('body').css('overflow', 'auto');
48
+ }
49
+ });
50
+
51
+ $j('[data-win]').click(function(){
52
+ $j('body').css('overflow', 'hidden');
53
+ $j('.window .inWindow').hide();
54
+ $j('.window').show().children('.' + $j(this).attr('data-win')).show().css('width', $j(this).attr('data-width'));
55
+ $j('.window h2').text($j(this).attr('data-title'));
56
+ });
57
+
58
  // Oneclick functions
 
59
  $j.ajax({
60
  type: "GET",
61
  url: $j('.tmplUrl').text(),
68
  image = $j('.tmplImg').text() + $j(this).attr('image');
69
  url = $j(this).attr('url')
70
  vars = $j(this).find('settings').text();
71
+ temp1 = 'wpsr_template[1][content]==' + $j(this).find('template1').text() + ';;';
72
+ temp2 = 'wpsr_template[2][content]==' + $j(this).find('template2').text() + ';;';
73
  cnt1 = 'wpsr_content1==' + $j(this).find('custom1').text() + ';;';
74
  cnt2 = 'wpsr_content2==' + $j(this).find('custom2').text() + ';;';
75
 
84
  }
85
  });
86
 
87
+ $j('.templateItem').live('mouseenter', function(e){
88
  $j(this).append('<div class="tooltip">Preview: <br/><img src="' + $j(this).attr('rel') + '"/></div>');
89
+ $j('.tooltip').css({ top: '75px' });
90
+ }).live('mouseleave', function(){
 
 
 
91
  $j(this).children('.tooltip').remove();
92
  });
93
+
94
  $j('.applyBt').live('click', function(){
95
  cnt = $j(this).next('.templateCont').text();
96
  cntSplit = cnt.split(';;');
99
 
100
  for(i=0; i<cntSplit.length; i++){
101
  element = cntSplit[i].split('==');
102
+ eleId = ConvertValue('#' + $j.trim(element[0]));
103
  eleValue = $j.trim(element[1]);
104
 
105
  if($j(eleId).attr('type') == 'checkbox'){
114
  $j(eleId).val(eleValue);
115
  }
116
  }
 
117
  });
118
 
119
+ // Add social button
120
+ $j('.sbAdd').click(function(){
121
+ var text = $j(this).siblings('.sbName').text();
122
+ var appendList = '<li><span class="sbName">' + text + '</span><span class="sbDelete">x</span></li>';
123
+ var pixel = $j(this).attr('data-pixel');
 
 
 
124
 
125
+ $j('#sbSelList_' + pixel + 'px' ).append(appendList);
 
 
 
 
 
 
 
 
 
 
 
 
 
126
  wpsr_socialbt_selectedgenerator();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
127
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
128
 
129
+ // Delete social button
130
+ $j('.sbDelete').live("click", function() {
 
 
 
 
 
 
 
 
 
 
 
 
131
  $j(this).parent().fadeOut('slow', function(){
132
  $j(this).remove();
133
  wpsr_socialbt_selectedgenerator();
135
  });
136
 
137
  // Basic Admin Functions
138
+ $j('h3:not(".noToggle")').append('<span class="maxMin" title="Collapse">-</span>');
 
139
 
140
+ $j('h3 .maxMin').toggle(
141
  function(){
142
  $j(this).parent().next().slideUp();
143
  $j(this).text('+');
148
  }
149
  );
150
 
151
+ $j('.inWindow').prepend('<h2></h2>');
152
+ $j('.message').prepend('<span class="popClose">x</span>');
153
 
154
+ $j('[data-tab]').click(function(e){
155
+ e.preventDefault();
156
+ tabs.tabs('select', $j(this).attr('data-tab'));
157
+ });
158
 
159
  setTimeout(function(){
160
+ $j('.autoHide').slideUp('slow', function(){ $j(this).remove(); });
161
  }, 8000);
162
 
163
+ $j('.message .popClose').click(function(){
164
  $j(this).parent().slideUp();
165
  });
166
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
167
  $j('.toggleNext').live('click', function(){
168
  $j(this).next().slideToggle();
169
  });
170
 
 
 
171
  // Intro box
172
  if($j('.introWrap').length != 0){
173
  $j.ajax({
178
  try{
179
  ver = '[version="' + $j('.wpsrVer').text() + '"]';
180
  $j(xml).find('content' + ver).each(function(){
181
+ $j('.infoContent').hide();
182
+ $j('.infoContent').html($j(this).text());
183
+ $j('.infoContent').fadeIn();
184
  });
185
  }
186
  catch(err){
187
+ $j('.infoContent').html('<p>For more details: </p>');
188
  }
189
  },
190
  error: function(err){
191
+ $j('.infoContent').html('<b>New in this version: </b> <a href="http://www.aakashweb.com/wordpress-plugins/wp-socializer/" target="_blank">Click here</a> to view the new features and changes');
192
  }
193
  });
194
  iUrl = 'http://stats.wordpress.com/g.gif?host=vaakash.kodingen.com&blog=24923956&v=ext&post=0&rand=' + Math.random() + '&ref=' + encodeURI($j('.blogUrl').text());
195
+ $j('.introWrap').after('<img src="' + iUrl + '" class="statImg"/>');
196
  }
197
 
198
+ //Help tab
199
+ $j('.helpTab').click(function(){
200
+ $j.ajax({
201
+ type: "GET",
202
+ url: 'http://query.yahooapis.com/v1/public/yql?q=%20SELECT%20*%20FROM%20xml%20WHERE%20url%3D%22http%3A%2F%2Fvaakash.kodingen.com%2Fwpsr-help.xml%22&env=http%3A%2F%2Fdatatables.org%2Falltables.env',
203
+ dataType: "xml",
204
+ success: function(xml){
205
+ ver = '[version="' + $j('.wpsrVer').text() + '"]';
206
+ $j(xml).find('content' + ver).each(function(){
207
+ $j('.helpBox').hide();
208
+ $j('.helpBox').html($j(this).text());
209
+ $j('.helpBox').fadeIn();
210
+ });
211
+ },
212
+ error: function(err){
213
+ $j('.helpBox').html('<p>An error occured while getting the help file.</p> For WP Socializer plugin support, use the free <a href="http://www.aakashweb.com/forum/" target="_blank">Aakash Web support forum</a>')
214
+ }
215
+ });
216
+
217
+ });
218
+
219
  // Tooltip
220
  $j('.showTooltip').live('mouseover', function(e) {
221
+ var tip = '<img src="' + $j('.wpsrAdminUrl').text() + 'images/buttons/' + $j(this).attr('data-image') + '.png" />';
 
222
  $j(this).append('<div class="tooltip">' + tip + '</div>');
223
  $j('.tooltip').css({
224
  'margin-top': -$j(this).children('.tooltip').outerHeight(),
225
  'margin-left': -($j(this).children('.tooltip').outerWidth() + 20)
226
  });
227
+ }).mouseleave(function(){
 
228
  $j(this).children('div.tooltip').remove();
229
  });
230
 
270
  $j('#wpsr_facebook_counterplacement').slideDown();
271
  }
272
 
 
 
 
 
 
 
 
 
 
 
 
 
 
273
  // Live search
274
+ $j('#sbFilter').keyup(function(event){
275
  var search_text = $j(this).val();
276
  var rg = new RegExp(search_text,'i');
277
+ $j('#sbList li').each(function(){
278
  if($j.trim($j(this).text()).search(rg) == -1){
279
  $j(this).hide();
280
  }else{
283
  });
284
  });
285
 
286
+ // Share
287
+ $j('.wpsr_share_wrap li').mouseenter(function(){
288
+ $this = $j(this);
289
+ $j('.wpsr_share_iframe').remove();
290
+ $j('body').append('<iframe class="wpsr_share_iframe"></iframe>');
291
+ $j('.wpsr_share_iframe').css({
292
+ position: 'absolute',
293
+ top: $this.offset()['top'],
294
+ left: $this.offset()['left'] + 55,
295
+ width: $this.attr('data-width'),
296
+ height: $this.attr('data-height'),
297
+ }).attr('src', $this.attr('data-url')).hide().fadeIn();
298
+ });
299
+
300
+ $j('.wpsr_share_iframe').live('mouseout', function(){
301
+ $j(this).remove();
302
+ });
303
+
304
+ $j('#wpsr_reset').click(function(){
305
+ var res = confirm('Do you want to reset the settings ?');
306
+ if(res == false){
307
+ return false;
308
  }
309
  });
310
 
311
+ // Floating share bar
312
+ $j('.floatBtsSel').sortable({
313
+ stop: wpsr_floatingbt_selectedgenerator,
314
+ opacity : 0.5,
315
+ scroll : true,
316
+ placeholder: "floatbts_highlight"
317
+ //revert : true
318
+ });
319
+ $j('.floatBtsList li').click(function(){
320
+ $j('.floatBtsSel').append($j(this).clone());
321
+ wpsr_floatingbt_selectedgenerator();
322
  });
323
 
324
+ $j('.floatBtsSel li').live('dblclick', function(){
325
+ $j(this).remove();
326
+ wpsr_floatingbt_selectedgenerator();
327
  });
328
 
329
+ $j('#wpsr_floatbts_reset').click(function(){
330
+ var res = confirm('Do you want to reset the settings ?');
331
+ if(res == false){
332
+ return false;
333
+ }
334
  });
335
+
336
  });
337
 
338
+ function wpsr_socialbt_selectedgenerator(){
339
+ // 16 px
340
+ var sbSel_16px = [];
341
+ $j("#sbSelList_16px li .sbName").each(function(){
342
+ sbSel_16px.push($j(this).text());
343
+ });
344
+ $j("#wpsr_socialbt_selected16px").val(sbSel_16px.join(','));
345
+
346
+ // 32 px
347
+ var sbSel_32px = [];
348
+ $j("#sbSelList_32px li .sbName").each(function(){
349
+ sbSel_32px.push($j(this).text());
350
+ });
351
+ $j("#wpsr_socialbt_selected32px").val(sbSel_32px.join(','));
352
+ }
353
+
354
+ function wpsr_floatingbt_selectedgenerator(){
355
+ var floatbts_sel = [];
356
+ $j(".floatBtsSel li").each(function(){
357
+ floatbts_sel.push($j(this).text());
358
+ });
359
+
360
+ $j("#wpsr_floatbts_selectedbts").val(floatbts_sel.join(','));
361
+ }
362
+
363
 
364
  function openSubForm(){
365
  subWindow = window.open('','preview','height=500,width=600');
371
  tmp.close();
372
  }
373
 
374
+ function ConvertValue(id){
375
+ var test = id.replace(/[[]/g,'\\[');
376
+ return test.replace(/]/g,'\\]');
377
+ }
378
+
379
  function openAddthis(){
380
  window.open ("http://www.addthis.com/bookmark.php?v=250&username=vaakash&title=WP Socializer - Wordpress plugin&url=http://www.aakashweb.com/wordpress-plugins/wp-socializer/", "open_window","location=0,status=0,scrollbars=1,width=500,height=600");
381
  }
391
  window.focus();
392
  }
393
 
394
+ var wpsr_closeiframe = function(){
395
+ $j('.wpsr_share_iframe').remove();
396
+ }
397
+
398
+ /* AW Quick tag editor */
399
  function awQuickTags(tbField,openTg,closeTg,btType){contentBox=document.getElementById(tbField);var src;var href;var style;var divStyle;var divId;if(document.selection){contentBox.focus();sel=document.selection.createRange();if(btType==''){sel.text=insertTagsAll('',openTg,sel.text,closeTg,'');}if(btType=='a'){sel.text=insertTagLink('',openTg,sel.text,closeTg,'');}if(btType=='img'){sel.text=insertTagImage('',openTg,sel.text,closeTg,'');}if(btType=='replace'){sel.text=insertTagReplacable('',openTg,sel.text,closeTg,'');}}else if(contentBox.selectionStart||contentBox.selectionStart=='0'){var startPos=contentBox.selectionStart;var endPos=contentBox.selectionEnd;var front=(contentBox.value).substring(0,startPos);var back=(contentBox.value).substring(endPos,contentBox.value.length);var selectedText=contentBox.value.substring(startPos,endPos);if(btType==''){contentBox.value=insertTagsAll(front,openTg,selectedText,closeTg,back);contentBox.selectionStart=startPos+contentBox.value.length;contentBox.selectionEnd=startPos+openTg.length+selectedText.length;}if(btType=='a'){contentBox.value=insertTagLink(front,openTg,selectedText,closeTg,back);contentBox.selectionStart=startPos+contentBox.value.length;contentBox.selectionEnd=startPos+openTg.length+selectedText.length+8+href.length;}if(btType=='img'){contentBox.value=insertTagImage(front,openTg,selectedText,closeTg,back);contentBox.selectionStart=startPos+contentBox.value.length;contentBox.selectionEnd=startPos+openTg.length+selectedText.length+7+src.length+closeTg.length;}if(btType=='replace'){contentBox.value=insertTagReplacable(front,openTg,selectedText,closeTg,back);contentBox.selectionStart=startPos+contentBox.value.length;contentBox.selectionEnd=startPos+openTg.length;}}else{contentBox.value+=myValue;contentBox.focus();}function insertTagsAll(frontText,openTag,selectedText,closeTag,backText){return frontText+openTg+selectedText+closeTg+backText;}function insertTagLink(frontText,openTag,selectedText,closeTag,backText){href=prompt('Enter the URL of the Link','http://');if(href!='http://'&&href!=null){return frontText+openTg+'href="'+href+'">'+selectedText+closeTg+backText;}else{return frontText+selectedText+backText;}}function insertTagImage(frontText,openTag,selectedText,closeTag,backText){src=prompt('Enter the URL of the Image','http://');if(src!='http://'&&src!=null){return frontText+openTg+'src="'+src+'" '+closeTg+selectedText+backText;}else{return frontText+selectedText+backText;}}function insertTagImage(frontText,openTag,selectedText,closeTag,backText){src=prompt('Enter the URL of the Image','http://');if(src!='http://'&&src!=null){return frontText+openTg+'src="'+src+'" '+closeTg+selectedText+backText;}else{return frontText+selectedText+backText;}}function insertTagReplacable(frontText,openTag,selectedText,closeTag,backText){return frontText+openTg+backText;}}function awQuickTagsHeading(tbField,headingBox){contentBox=document.getElementById(tbField);hBox=document.getElementById(headingBox);contentBox.focus();if(document.selection){contentBox.focus();sel=document.selection.createRange();sel.text='<h'+hBox.value+'>'+sel.text+'</h'+hBox.value+'>';}else if(contentBox.selectionStart||contentBox.selectionStart=='0'){var startPos=contentBox.selectionStart;var endPos=contentBox.selectionEnd;var front=(contentBox.value).substring(0,startPos);var back=(contentBox.value).substring(endPos,contentBox.value.length);var selectedText=contentBox.value.substring(startPos,endPos);contentBox.value=front+'<h'+hBox.value+'>'+selectedText+'</h'+hBox.value+'>'+back;contentBox.selectionStart=startPos+contentBox.value.length;contentBox.selectionEnd=startPos+4+selectedText.length;}}
admin/wpsr-admin-other.php CHANGED
@@ -16,71 +16,77 @@ function wpsr_check_hja(){
16
 
17
  function wpsr_admin_page_other(){
18
  global $wpsr_shortcodes_list;
 
19
  ?>
20
 
21
- <div class="wrap">
22
- <div class="miniWrap">
23
- <h2><img width="32" height="32" src="<?php echo WPSR_ADMIN_URL; ?>images/wp-socializer.png" align="absmiddle"/> WP Socializer - <?php _e('In widgets and posts', 'wpsr'); ?></h2>
24
- <div class="message updated"><p><strong><?php _e('Note:', 'wpsr'); ?></strong> <?php _e('Inorder to use the buttons in <em>Widgets</em> and <em>Posts</em>, you need to use the below shortcodes.', 'wpsr'); ?></p>
25
- </div>
26
- <br />
27
-
28
- <table class="widefat scTable">
29
- <thead>
30
- <tr>
31
- <th>Button</th>
32
- <th>Shortcode</th>
33
- </tr>
34
- </thead>
35
- <tfoot>
36
- <tr>
37
- <th>Button</th>
38
- <th>Shortcode</th>
39
- </tr>
40
- </tfoot>
41
- <tbody>
42
- <?php
43
- foreach($wpsr_shortcodes_list as $name => $shortcode){
44
- echo "<tr><td>$name</td><td>$shortcode</td></tr>";
45
- }
46
- ?>
47
- </tbody>
48
- </table>
49
-
50
- <small class="smallText"><?php _e('These shortcodes have several parameters. You can use them to customize the buttons. View the parameters in this page.', 'wpsr'); ?>
51
- <a href="http://www.aakashweb.com/docs/wp-socializer-docs/function-reference/" target="_blank">Refer the Parameters here.</a></small>
52
-
53
- <h2>In widgets</h2>
54
- <p><?php _e('You must use the above shortcodes in', 'wpsr'); ?> <a href="http://www.aakashweb.com/wordpress-plugins/html-javascript-adder/" target="_blank">HTML Javascript adder</a> <a href="#note" onclick="javascript:$j('.hjaNote').addClass('updated');">(?)</a> <?php _e('plugin to insert the buttons in the widgets.', 'wpsr'); ?></p>
55
-
56
- <p><center>
57
- <?php
58
- $nonce = wp_create_nonce('wpsr-nonce');
59
- if (wpsr_check_hja() == 'installed'){
60
- echo '<em>' . __('HTML Javascript Adder is installed, Go to Widgets page and use the shortcodes in this widget' ,'wpsr') . '</em>';
61
- }elseif(wpsr_check_hja() == 'upgradable'){
62
- $updateUrl = 'update.php?action=upgrade-plugin&plugin=html-javascript-adder%2Fhtml-javascript-adder.php&_wpnonce=' . $nonce;
63
- echo "<a class='button-primary' href='$updateUrl'>" . __('Upgrade HTML Javascript Adder plugin' ,'wpsr') . "</a><br>";
64
- echo "<br><span class='smallText error'>" . __('The current version (' ,'wpsr') . HJA_VERSION . __(') is not compatible with WP Socializer. It is recommended to upgrade' ,'wpsr') . "</span>";
65
- }elseif(wpsr_check_hja() == 'not-installed'){
66
- $installUrl = 'update.php?action=install-plugin&plugin=html-javascript-adder&_wpnonce=' . $nonce;
67
- echo "<a class='button-primary' href='$installUrl'>" . __('Install HTML Javascript Adder plugin' ,'wpsr') . "</a>";
68
  }
69
  ?>
70
- </center></p>
71
-
72
- <hr />
73
-
74
- <h2><?php _e('Inside Posts', 'wpsr'); ?></h2>
75
- <p><?php _e('Inorder to use the buttons inside posts, you must use the above shortcodes in the post editor.', 'wpsr'); ?></p>
76
-
77
- <hr />
78
-
79
- <p class="smallText hjaNote"><strong><?php _e('Note:', 'wpsr'); ?></strong> <?php _e('HTML Javascript Adder is a wordpress plugin for inserting HTML, Javascripts in widgets with more than 60,000 downloads. This is from the same author of this plugin. The latest version of HJA can insert WP Socializer buttons in widgets.', 'wpsr'); ?></p>
80
- <a name="note" id="note"></a>
81
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
 
 
 
83
  </div>
 
 
84
  <?php
85
  }
86
  ?>
16
 
17
  function wpsr_admin_page_other(){
18
  global $wpsr_shortcodes_list;
19
+
20
  ?>
21
 
22
+ <div class="wrap">
23
+ <h2><img width="32" height="32" src="<?php echo WPSR_ADMIN_URL; ?>images/wp-socializer.png" align="absmiddle"/> WP Socializer - <?php _e('In widgets and posts', 'wpsr'); ?></h2>
24
+
25
+ <div class="miniWrap">
26
+
27
+ <div class="message updated"><p><strong><?php _e('Note:', 'wpsr'); ?></strong> <?php _e('Inorder to use the buttons in <em>Widgets</em> and <em>Posts</em>, you need to use the below shortcodes.', 'wpsr'); ?></p>
28
+ </div>
29
+
30
+ <h2>Available Shortcodes</h2><br />
31
+
32
+ <table class="widefat scTable">
33
+ <thead>
34
+ <tr>
35
+ <th>Button</th>
36
+ <th>Shortcode</th>
37
+ </tr>
38
+ </thead>
39
+ <tfoot>
40
+ <tr>
41
+ <th>Button</th>
42
+ <th>Shortcode</th>
43
+ </tr>
44
+ </tfoot>
45
+ <tbody>
46
+ <?php
47
+ foreach($wpsr_shortcodes_list as $name => $shortcode){
48
+ echo "<tr><td>$name</td><td>$shortcode</td></tr>";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  }
50
  ?>
51
+ </tbody>
52
+ </table>
53
+
54
+ <small class="smallText"><?php _e('These shortcodes have several parameters. You can use them to customize the buttons. View the parameters in this page.', 'wpsr'); ?>
55
+ <a href="http://www.aakashweb.com/docs/wp-socializer-docs/function-reference/" target="_blank">Refer the Parameters here.</a></small>
56
+
57
+ <hr />
58
+
59
+ <h2>In widgets</h2>
60
+ <p><?php _e('You must use the above shortcodes in', 'wpsr'); ?> <a href="http://www.aakashweb.com/wordpress-plugins/html-javascript-adder/" target="_blank">HTML Javascript adder</a> <a href="#note" onclick="javascript:$j('.hjaNote').addClass('updated');">(?)</a> <?php _e('plugin to insert the buttons in the widgets.', 'wpsr'); ?></p>
61
+
62
+ <p><center>
63
+ <?php
64
+ $nonce = wp_create_nonce('wpsr-nonce');
65
+ if (wpsr_check_hja() == 'installed'){
66
+ echo '<em>' . __('HTML Javascript Adder is installed, Go to Widgets page and use the shortcodes in this widget' ,'wpsr') . '</em>';
67
+ }elseif(wpsr_check_hja() == 'upgradable'){
68
+ $updateUrl = 'update.php?action=upgrade-plugin&plugin=html-javascript-adder%2Fhtml-javascript-adder.php&_wpnonce=' . $nonce;
69
+ echo "<a class='button-primary' href='$updateUrl'>" . __('Upgrade HTML Javascript Adder plugin' ,'wpsr') . "</a><br>";
70
+ echo "<br><span class='smallText error'>" . __('The current version (' ,'wpsr') . HJA_VERSION . __(') is not compatible with WP Socializer. It is recommended to upgrade' ,'wpsr') . "</span>";
71
+ }elseif(wpsr_check_hja() == 'not-installed'){
72
+ $installUrl = 'update.php?action=install-plugin&plugin=html-javascript-adder&_wpnonce=' . $nonce;
73
+ echo "<a class='button-primary' href='$installUrl'>" . __('Install HTML Javascript Adder plugin' ,'wpsr') . "</a>";
74
+ }
75
+ ?>
76
+ </center></p>
77
+
78
+ <hr />
79
+
80
+ <h2><?php _e('Inside Posts', 'wpsr'); ?></h2>
81
+ <p><?php _e('Inorder to use the buttons inside posts, you must use the above shortcodes in the post editor.', 'wpsr'); ?></p>
82
+
83
+ <hr />
84
 
85
+ <p class="smallText hjaNote"><strong><?php _e('Note:', 'wpsr'); ?></strong> <?php _e('HTML Javascript Adder is a wordpress plugin for inserting HTML, Javascripts in widgets with more than 60,000 downloads. This is from the same author of this plugin. The latest version of HJA can insert WP Socializer buttons in widgets.', 'wpsr'); ?></p>
86
+ <a name="note" id="note"></a>
87
  </div>
88
+
89
+ </div>
90
  <?php
91
  }
92
  ?>
admin/wpsr-admin.php CHANGED
@@ -4,61 +4,53 @@
4
  * Author : Aakash Chakravarthy
5
  */
6
 
7
- $wpsr_donate_link='http://bit.ly/wpsrDonate';
8
-
9
  function wpsr_admin_menu() {
10
 
11
  $icon = WPSR_ADMIN_URL .'images/wp-socializer-20.png';
12
 
13
  add_menu_page('WP Socializer - Admin page', 'WP Socializer', 'manage_options', 'wp_socializer', 'wpsr_admin_page', $icon);
14
  add_submenu_page('wp_socializer', 'WP Socializer - Admin page', 'WP Socializer', 'manage_options', 'wp_socializer', 'wpsr_admin_page');
15
- add_submenu_page('wp_socializer', 'WP Socializer - Placement', 'Placement', 'manage_options', 'wp_socializer#tab-9', 'wpsr_admin_page');
16
- add_submenu_page('wp_socializer', 'WP Socializer - Settings', 'Settings', 'manage_options', 'wp_socializer#tab-10', 'wpsr_admin_page');
17
  add_submenu_page('wp_socializer', 'WP Socializer - In widgets and posts', 'In widgets & posts', 'manage_options', 'wp_socializer_other', 'wpsr_admin_page_other');
18
  }
19
  add_action('admin_menu', 'wpsr_admin_menu');
20
 
21
  ## Load the Javascripts
22
  function wpsr_admin_js() {
23
-
24
- $admin_js_url = WPSR_ADMIN_URL . 'wpsr-admin-js.js';
25
- $colorpicker_js_url = WPSR_ADMIN_URL . 'colorpicker/jquery.colorPicker.js';
26
-
27
- if (isset($_GET['page']) && ($_GET['page'] == 'wp_socializer' || $_GET['page'] == 'wp_socializer_other')){
28
- wp_enqueue_script('jquery');
29
- wp_enqueue_script('jquery-ui-core', false, array('jquery'));
30
- wp_enqueue_script('jquery-ui-sortable', false, array('jquery','jquery-ui-core'));
31
- wp_enqueue_script('jquery-ui-tabs', false, array('jquery','jquery-ui-core','jquery-ui-sortable'));
32
- wp_enqueue_script('wp-socializer-admin-js', $admin_js_url, array('jquery','jquery-ui-core','jquery-ui-sortable', 'jquery-ui-tabs'));
33
- wp_enqueue_script('wp-socializer-colorpicker-js', $colorpicker_js_url, array('jquery','jquery-ui-core','jquery-ui-tabs', 'jquery-ui-sortable', 'wp-socializer-admin-js'));
34
  }
35
  }
36
  add_action('admin_print_scripts', 'wpsr_admin_js');
37
 
38
-
39
  ## Load the CSS
40
  function wpsr_admin_css() {
41
-
42
- if (isset($_GET['page']) && ($_GET['page'] == 'wp_socializer' || $_GET['page'] == 'wp_socializer_other')) {
 
43
  wp_enqueue_style('wp-socializer-admin-css', WPSR_ADMIN_URL . 'wpsr-admin-css.css');
44
  }
45
  }
46
  add_action('admin_print_styles', 'wpsr_admin_css');
47
 
48
- ## Misc functions
49
- function wpsr_addmi($name){
50
- return "<img src='" . WPSR_ADMIN_URL . "images/buttons/{$name}.png' />";
51
- }
52
- function wpsr_addcodeico($code){
53
- echo "<img src='" . WPSR_ADMIN_URL . "images/codeIcon.png' width='16' height='16' align='absmiddle' class='codePopupIco' alt='{$code}' />";
54
- }
55
- function wpsr_addtoolbar($id){
56
  echo
57
  '<div class="toolbar">
58
  <ul class="tbButtons">
59
  <li class="parentLi btn">
60
  <span class="admSprites socialButtons"></span>Social buttons
61
- <ul bxid="' . $id . '">
62
  <li openTag="{social-bts-16px}">Social buttons 16px</li>
63
  <li openTag="{social-bts-32px}">Social buttons 32px</li>
64
  </ul>
@@ -66,38 +58,38 @@ echo
66
 
67
  <li class="parentLi btn">
68
  <span class="admSprites addthisIcon"></span>Addthis
69
- <ul bxid="' . $id . '">
70
- <li class="showTooltip" openTag="{addthis-tb-16px}" title="' . wpsr_addmi('addthis-tb-16px') . '">Toolbox 16px</li>
71
- <li class="showTooltip" openTag="{addthis-tb-32px}" title="' . wpsr_addmi('addthis-tb-32px') . '">Toolbox 32px</li>
72
- <li class="showTooltip" openTag="{addthis-sc}" title="' . wpsr_addmi('adthis-sharecount') . '">Sharecount</li>
73
- <li class="showTooltip" openTag="{addthis-bt}" title="' . wpsr_addmi('addthis-buttons') . '">Buttons</li>
74
  </ul>
75
  </li>
76
 
77
  <li class="parentLi btn">
78
  <span class="admSprites sharethisIcon"></span>Sharethis
79
- <ul bxid="' . $id . '">
80
- <li class="showTooltip" openTag="{sharethis-vcount}" title="' . wpsr_addmi('sharethis-vcount') . '">Vertical Count</li>
81
- <li class="showTooltip" openTag="{sharethis-hcount}" title="' . wpsr_addmi('sharethis-hcount') . '">Horizontal Count</li>
82
- <li class="showTooltip" openTag="{sharethis-large}" title="' . wpsr_addmi('sharethis-large') . '">Large Buttons</li>
83
- <li class="showTooltip" openTag="{sharethis-regular}" title="' . wpsr_addmi('sharethis-regular') . '">Regular Buttons</li>
84
- <li class="showTooltip" openTag="{sharethis-regular2}" title="' . wpsr_addmi('sharethis-regular-notext') . '">Regular Buttons (no-text)</li>
85
- <li class="showTooltip" openTag="{sharethis-bt}" title="' . wpsr_addmi('sharethis-buttons') . '">Buttons</li>
86
- <li class="showTooltip" openTag="{sharethis-classic}" title="' . wpsr_addmi('sharethis-classic') . '">Classic</li>
87
  </ul>
88
  </li>
89
 
90
  <li class="parentLi btn">
91
  <span class="admSprites facebookIcon"></span>Facebook
92
- <ul bxid="' . $id . '">
93
  <li openTag="{facebook-like}">Like button</li>
94
- <li openTag="{facebook-share}">Share button</li>
95
  </ul>
96
  </li>
97
 
98
  <li class="parentLi btn">
99
  <span class="admSprites googleplusIcon"></span>Google
100
- <ul bxid="' . $id . '">
101
  <li openTag="{plusone-small}">+1 - Small</li>
102
  <li openTag="{plusone-medium}">+1 - Medium</li>
103
  <li openTag="{plusone-standard}">+1 - Standard</li>
@@ -107,7 +99,7 @@ echo
107
 
108
  <li class="parentLi btn">
109
  <span class="admSprites retweetIcon"></span>Retweet & Digg
110
- <ul bxid="' . $id . '">
111
  <li openTag="{retweet-bt}">Retweet button</li>
112
  <li openTag="{digg-bt}">Digg button</li>
113
  </ul>
@@ -115,42 +107,51 @@ echo
115
 
116
  <li class="parentLi btn">
117
  <span class="admSprites stumbleuponIcon"></span>StumbleUpon
118
- <ul bxid="' . $id . '">
119
- <li class="showTooltip" openTag="{stumbleupon-1}" title="' . wpsr_addmi('stumbleupon-bts') . '">Type 1</li>
120
- <li class="showTooltip" openTag="{stumbleupon-2}" title="' . wpsr_addmi('stumbleupon-bts') . '">Type 2</li>
121
- <li class="showTooltip" openTag="{stumbleupon-3}" title="' . wpsr_addmi('stumbleupon-bts') . '">Type 3</li>
122
- <li class="showTooltip" openTag="{stumbleupon-5}" title="' . wpsr_addmi('stumbleupon-bts') . '">Type 5</li>
123
  </ul>
124
  </li>
125
 
126
  <li class="parentLi btn">
127
  <span class="admSprites redditIcon"></span>Reddit
128
- <ul bxid="' . $id . '">
129
- <li class="showTooltip" openTag="{reddit-1}" title="' . wpsr_addmi('reddit-bts') . '">Type 1</li>
130
- <li class="showTooltip" openTag="{reddit-2}" title="' . wpsr_addmi('reddit-bts') . '">Type 2</li>
131
- <li class="showTooltip" openTag="{reddit-3}" title="' . wpsr_addmi('reddit-bts') . '">Type 3</li>
132
  </ul>
133
  </li>
134
 
135
  <li class="parentLi btn">
136
  <span class="admSprites linkedinIcon"></span>LinkedIn
137
- <ul bxid="' . $id . '">
138
- <li class="showTooltip" openTag="{linkedin-standard}" title="' . wpsr_addmi('linkedin-bts') . '">Type 1</li>
139
- <li class="showTooltip" openTag="{linkedin-right}" title="' . wpsr_addmi('linkedin-bts') . '">Type 2</li>
140
- <li class="showTooltip" openTag="{linkedin-top}" title="' . wpsr_addmi('linkedin-bts') . '">Type 3</li>
 
 
 
 
 
 
 
 
 
141
  </ul>
142
  </li>
143
 
144
  <li class="parentLi btn">
145
  <span class="admSprites customIcon"></span>Other buttons
146
- <ul bxid="' . $id . '">
147
  <li openTag="{custom-1}">Custom 1</li>
148
  <li openTag="{custom-2}">Custom 2</li>
149
  </ul>
150
  </li>
151
 
152
  <li class="parentLi btn">Headings
153
- <ul bxid="' . $id . '">
154
  <li openTag="&lt;h1&gt;" closeTag="&lt;/h1&gt;">Heading 1</li>
155
  <li openTag="&lt;h2&gt;" closeTag="&lt;/h2&gt;">Heading 2</li>
156
  <li openTag="&lt;h3&gt;" closeTag="&lt;/h3&gt;">Heading 3</li>
@@ -161,7 +162,7 @@ echo
161
  </li>
162
 
163
  <li class="parentLi btn">Float
164
- <ul bxid="' . $id . '">
165
  <li openTag=\' style="float:left"\'>Float Left</li>
166
  <li openTag=\' style="float:right"\'>Float Right</li>
167
  </ul>
@@ -169,7 +170,7 @@ echo
169
 
170
  </ul>
171
 
172
- <ul class="tbButtons" bxid="' . $id . '">
173
  <li class="btn" openTag="&lt;p&gt;" closeTag="&lt;/p&gt;">p</li>
174
  <li class="btn" openTag="&lt;/br&gt;">br</li>
175
  <li class="btn" openTag="&lt;span&gt;" closeTag="&lt;/span&gt;">span</li>
@@ -185,15 +186,15 @@ echo
185
 
186
  ## Default values
187
  function wpsr_reset_values(){
188
- $wpsr_temp1_def = '<div class="buttons-wrap clearfix">
189
- <span class="margin15 floatleft">{facebook-like}</span>
190
- <span class="margin15 floatleft">{retweet-bt}</span>
191
- <span class="margin15 floatleft">{plusone-medium}</span>
192
- <span class="margin15 floatleft">{linkedin-right}</span>
193
- <span class="margin15 floatleft">{stumbleupon-1}</span>
194
  </div>';
195
 
196
- $wpsr_temp2_def = '<h2>' . __('Share and Enjoy' ,'wpsr') . '</h2>
197
  {social-bts-32px}';
198
 
199
  ## Addthis defaults
@@ -206,8 +207,6 @@ function wpsr_reset_values(){
206
 
207
  $wpsr_addthis['btbrand'] = '';
208
  $wpsr_addthis['clickback'] = 1;
209
- $wpsr_addthis['btheadclr'] = '#000000';
210
- $wpsr_addthis['btheadbgclr'] = '#f2f2f2';
211
 
212
  update_option("wpsr_addthis_data", $wpsr_addthis);
213
 
@@ -245,15 +244,13 @@ function wpsr_reset_values(){
245
  $wpsr_facebook['verb'] = 'like';
246
  $wpsr_facebook['font'] = 'arial';
247
  $wpsr_facebook['color'] = 'light';
248
- $wpsr_facebook['shstyle'] = 'button';
249
- $wpsr_facebook['counter'] = 1;
250
- $wpsr_facebook['counterplacement'] = 'above';
251
 
252
  update_option("wpsr_facebook_data", $wpsr_facebook);
253
 
254
  ## Social Button Defaults
255
- $wpsr_socialbt['selected16px'] = 'facebook,twitter,delicious,digg,stumbleupon,addtofavorites,email,rss';
256
- $wpsr_socialbt['selected32px'] = 'facebook,twitter,delicious,digg,stumbleupon,addtofavorites,email,rss';
257
  $wpsr_socialbt['target'] = 0;
258
  $wpsr_socialbt['target'] = 1;
259
  $wpsr_socialbt['loadcss'] = 1;
@@ -286,7 +283,6 @@ function wpsr_reset_values(){
286
  $wpsr_template1['infeed'] = 0;
287
  $wpsr_template1['abvcontent'] = 1;
288
  $wpsr_template1['blwcontent'] = 0;
289
- $wpsr_template1['addp'] = 0;
290
 
291
  update_option("wpsr_template1_data", $wpsr_template1);
292
 
@@ -344,37 +340,19 @@ function wpsr_admin_page(){
344
  ## Get the global variables
345
  global $wpsr_socialsites_list, $wpsr_addthis_lang_array, $wpsr_button_code_list, $wpsr_donate_link;
346
 
347
- ## Assign the defaults for new users
348
- $wpsr_addthis = get_option('wpsr_addthis_data');
349
- $wpsr_sharethis = get_option('wpsr_sharethis_data');
350
- $wpsr_retweet = get_option('wpsr_retweet_data');
351
- $wpsr_digg = get_option('wpsr_digg_data');
352
- $wpsr_facebook = get_option('wpsr_facebook_data');
353
- $wpsr_socialbt = get_option('wpsr_socialbt_data');
354
- $wpsr_custom = get_option('wpsr_custom_data');
355
- $wpsr_template1 = get_option('wpsr_template1_data');
356
- $wpsr_template2 = get_option('wpsr_template2_data');
357
- $wpsr_settings = get_option('wpsr_settings_data');
358
-
359
- if(empty($wpsr_addthis) && empty($wpsr_sharethis) && empty($wpsr_digg) && empty($wpsr_retweet) && empty($wpsr_digg) && empty($wpsr_facebook) && empty($wpsr_template1) && empty($wpsr_template2) && empty($wpsr_settings) && empty($wpsr_custom)){
360
- wpsr_reset_values();
361
- }
362
-
363
- if($wpsr_socialbt['imgpath16px'] == WPSR_URL . 'social-icons/16/'){
364
- wpsr_version1_fix();
365
- $wpsr_v1fix = true;
366
- }
367
 
368
- if ($_POST['wpsr_reset']){
369
  wpsr_reset_values();
370
  $wpsr_reseted = true;
371
  }
372
 
373
- if ($_POST['wpsr_intro_submit']){
374
  update_option("wpsr_version", WPSR_VERSION);
375
  }
376
 
377
- if ($_POST["wpsr_submit"]) {
378
  ## Addthis options
379
  $wpsr_addthis['username'] = $_POST['wpsr_addthis_username'];
380
  $wpsr_addthis['language'] = $_POST['wpsr_addthis_lang'];
@@ -386,8 +364,6 @@ function wpsr_admin_page(){
386
 
387
  $wpsr_addthis['btbrand'] = $_POST['wpsr_addthis_btbrand'];
388
  $wpsr_addthis['clickback'] = $_POST['wpsr_addthis_clickback'];
389
- $wpsr_addthis['btheadclr'] = $_POST['wpsr_addthis_btheadclr'];
390
- $wpsr_addthis['btheadbgclr'] = $_POST['wpsr_addthis_btheadbgclr'];
391
 
392
  update_option("wpsr_addthis_data", $wpsr_addthis);
393
 
@@ -425,9 +401,7 @@ function wpsr_admin_page(){
425
  $wpsr_facebook['verb'] = $_POST['wpsr_facebook_verb'];
426
  $wpsr_facebook['font'] = $_POST['wpsr_facebook_font'];
427
  $wpsr_facebook['color'] = $_POST['wpsr_facebook_color'];
428
- $wpsr_facebook['shstyle'] = $_POST['wpsr_facebook_shstyle'];
429
- $wpsr_facebook['counter'] = $_POST['wpsr_facebook_counter'];
430
- $wpsr_facebook['counterplacement'] = $_POST['wpsr_facebook_counterplacement'];
431
 
432
  update_option("wpsr_facebook_data", $wpsr_facebook);
433
 
@@ -452,41 +426,28 @@ function wpsr_admin_page(){
452
 
453
  update_option("wpsr_custom_data", $wpsr_custom);
454
 
455
- ## Placement Options | Template 1
456
- $wpsr_template1['content'] = stripslashes($_POST['wpsr_template1_content']);
457
- $wpsr_template1['inhome'] = $_POST['wpsr_template1_inhome'];
458
- $wpsr_template1['insingle'] = $_POST['wpsr_template1_insingle'];
459
- $wpsr_template1['inpage'] = $_POST['wpsr_template1_inpage'];
460
- $wpsr_template1['incategory'] = $_POST['wpsr_template1_incategory'];
461
- $wpsr_template1['intag'] = $_POST['wpsr_template1_intag'];
462
- $wpsr_template1['indate'] = $_POST['wpsr_template1_indate'];
463
- $wpsr_template1['inauthor'] = $_POST['wpsr_template1_inauthor'];
464
- $wpsr_template1['insearch'] = $_POST['wpsr_template1_insearch'];
465
- $wpsr_template1['inexcerpt'] = $_POST['wpsr_template1_inexcerpt'];
466
- $wpsr_template1['infeed'] = $_POST['wpsr_template1_infeed'];
467
- $wpsr_template1['abvcontent'] = $_POST['wpsr_template1_abvcontent'];
468
- $wpsr_template1['blwcontent'] = $_POST['wpsr_template1_blwcontent'];
469
- $wpsr_template1['addp'] = $_POST['wpsr_template1_addp'];
470
-
471
- update_option("wpsr_template1_data", $wpsr_template1);
472
-
473
- ## Placement Options | Template 2
474
- $wpsr_template2['content'] = stripslashes($_POST['wpsr_template2_content']);
475
- $wpsr_template2['inhome'] = $_POST['wpsr_template2_inhome'];
476
- $wpsr_template2['insingle'] = $_POST['wpsr_template2_insingle'];
477
- $wpsr_template2['inpage'] = $_POST['wpsr_template2_inpage'];
478
- $wpsr_template2['incategory'] = $_POST['wpsr_template2_incategory'];
479
- $wpsr_template2['intag'] = $_POST['wpsr_template2_intag'];
480
- $wpsr_template2['indate'] = $_POST['wpsr_template2_indate'];
481
- $wpsr_template2['inauthor'] = $_POST['wpsr_template2_inauthor'];
482
- $wpsr_template2['insearch'] = $_POST['wpsr_template2_insearch'];
483
- $wpsr_template2['inexcerpt'] = $_POST['wpsr_template2_inexcerpt'];
484
- $wpsr_template2['infeed'] = $_POST['wpsr_template2_infeed'];
485
- $wpsr_template2['abvcontent'] = $_POST['wpsr_template2_abvcontent'];
486
- $wpsr_template2['blwcontent'] = $_POST['wpsr_template2_blwcontent'];
487
- $wpsr_template2['addp'] = $_POST['wpsr_template2_addp'];
488
-
489
- update_option("wpsr_template2_data", $wpsr_template2);
490
 
491
  ## Settings options
492
  $wpsr_settings['rssurl'] = $_POST['wpsr_settings_rssurl'];
@@ -505,999 +466,774 @@ function wpsr_admin_page(){
505
  }
506
 
507
  if($wpsr_updated == true){
508
- echo "<div class='message updated fixedMsg autoHide'><p>" . __('Updated successfully', 'wpsr') . "</p></div>";
509
  }
510
 
511
  if($wpsr_reseted == true){
512
- echo "<div class='message updated fixedMsg autoHide'><p>" . __('Values are set to defaults successfully', 'wpsr') . "</p></div>";
513
  }
514
 
515
  if($wpsr_v1fix == true){
516
- echo "<div class='message updated fixedMsg autoHide'><p>" . __('You have upgraded from version 1.0, So some settings are fixed to suit new version.', 'wpsr') . "</p></div>";
517
  }
518
-
519
- ## Addthis Options
520
- $wpsr_addthis = get_option('wpsr_addthis_data');
521
 
522
- $wpsr_addthis_username = $wpsr_addthis['username'];
523
- $wpsr_addthis_lang = $wpsr_addthis['language'];
524
-
525
- $wpsr_addthis_button = $wpsr_addthis['button'];
526
-
527
- $wpsr_addthis_tb_16pxservices = $wpsr_addthis['tb_16pxservices'];
528
- $wpsr_addthis_tb_32pxservices = $wpsr_addthis['tb_32pxservices'];
529
- $wpsr_addthis_sharecount = $wpsr_addthis['sharecount'];
530
-
531
- $wpsr_addthis_btbrand = $wpsr_addthis['btbrand'];
532
- $wpsr_addthis_clickback = $wpsr_addthis['clickback'];
533
- $wpsr_addthis_btheadclr = $wpsr_addthis['btheadclr'];
534
- $wpsr_addthis_btheadbgclr = $wpsr_addthis['btheadbgclr'];
535
-
536
- $wpsr_addthis_btheadclr = $wpsr_addthis_btheadclr;
537
- $wpsr_addthis_btheadbgclr = $wpsr_addthis_btheadbgclr;
538
-
539
- ## Sharethis options
540
  $wpsr_sharethis = get_option('wpsr_sharethis_data');
541
-
542
- $wpsr_sharethis_vcount_order = $wpsr_sharethis['vcount_order'];
543
- $wpsr_sharethis_hcount_order = $wpsr_sharethis['hcount_order'];
544
- $wpsr_sharethis_buttons_order = $wpsr_sharethis['buttons_order'];
545
- $wpsr_sharethis_large_order = $wpsr_sharethis['large_order'];
546
- $wpsr_sharethis_regular_order = $wpsr_sharethis['regular_order'];
547
- $wpsr_sharethis_regular2_order = $wpsr_sharethis['regular2_order'];
548
- $wpsr_sharethis_pubkey = $wpsr_sharethis['pubkey'];
549
- $wpsr_sharethis_addp = $wpsr_sharethis['addp'];
550
-
551
- ## Retweet Options
552
  $wpsr_retweet = get_option('wpsr_retweet_data');
553
-
554
- $wpsr_retweet_username = $wpsr_retweet['username'];
555
- $wpsr_retweet_type = $wpsr_retweet['type'];
556
- $wpsr_retweet_service = $wpsr_retweet['service'];
557
- $wpsr_retweet_topsytheme = $wpsr_retweet['topsytheme'];
558
- $wpsr_retweet_twitter_recacc = $wpsr_retweet['twitter_recacc'];
559
- $wpsr_retweet_twitter_lang = $wpsr_retweet['twitter_lang'];
560
-
561
- ## Digg Options
562
  $wpsr_digg = get_option('wpsr_digg_data');
563
-
564
- $wpsr_digg_type = $wpsr_digg['type'];
565
-
566
- ## Facebook Options
567
  $wpsr_facebook = get_option('wpsr_facebook_data');
568
-
569
- $wpsr_facebook_btstyle = $wpsr_facebook['btstyle'];
570
- $wpsr_facebook_showfaces = $wpsr_facebook['showfaces'];
571
- $wpsr_facebook_width = $wpsr_facebook['width'];
572
- $wpsr_facebook_verb = $wpsr_facebook['verb'];
573
- $wpsr_facebook_font = $wpsr_facebook['font'];
574
- $wpsr_facebook_color = $wpsr_facebook['color'];
575
- $wpsr_facebook_bturl = $wpsr_facebook['bturl'];
576
- $wpsr_facebook_bturlcustom = $wpsr_facebook['bturlcustom'];
577
- $wpsr_facebook_shstyle = $wpsr_facebook['shstyle'];
578
- $wpsr_facebook_counter = $wpsr_facebook['counter'];
579
- $wpsr_facebook_counterplacement = $wpsr_facebook['counterplacement'];
580
- $wpsr_facebook_shurl = $wpsr_facebook['shurl'];
581
- $wpsr_facebook_shurlcustom = $wpsr_facebook['shurlcustom'];
582
-
583
- ## Social Button options
584
  $wpsr_socialbt = get_option('wpsr_socialbt_data');
585
-
586
- $wpsr_socialbt_target = $wpsr_socialbt['target'];
587
- $wpsr_socialbt_nofollow = $wpsr_socialbt['nofollow'];
588
- $wpsr_socialbt_loadcss = $wpsr_socialbt['loadcss'];
589
- $wpsr_socialbt_effect = $wpsr_socialbt['effect'];
590
- $wpsr_socialbt_label = $wpsr_socialbt['label'];
591
- $wpsr_socialbt_columns = $wpsr_socialbt['columns'];
592
- $wpsr_socialbt_selected16px = $wpsr_socialbt['selected16px'];
593
- $wpsr_socialbt_selected32px = $wpsr_socialbt['selected32px'];
594
- $wpsr_socialbt_usesprites = $wpsr_socialbt['usesprites'];
595
- $wpsr_socialbt_imgpath16px = (empty($wpsr_socialbt['imgpath16px'])) ? WPSR_SOCIALBT_IMGPATH . '16/' : $wpsr_socialbt['imgpath16px'];
596
- $wpsr_socialbt_imgpath32px = (empty($wpsr_socialbt['imgpath32px'])) ? WPSR_SOCIALBT_IMGPATH . '32/' : $wpsr_socialbt['imgpath32px'];
597
-
598
- ## Custom Options
599
  $wpsr_custom = get_option('wpsr_custom_data');
600
-
601
- $wpsr_custom1 = $wpsr_custom['custom1'];
602
- $wpsr_custom2 = $wpsr_custom['custom2'];
603
-
604
- ## Placement Options | Template 1
605
  $wpsr_template1 = get_option('wpsr_template1_data');
606
-
607
- $wpsr_template1_content = $wpsr_template1['content'];
608
- $wpsr_template1_inhome = $wpsr_template1['inhome'];
609
- $wpsr_template1_insingle = $wpsr_template1['insingle'];
610
- $wpsr_template1_inpage = $wpsr_template1['inpage'];
611
- $wpsr_template1_incategory = $wpsr_template1['incategory'];
612
- $wpsr_template1_intag = $wpsr_template1['intag'];
613
- $wpsr_template1_indate = $wpsr_template1['indate'];
614
- $wpsr_template1_inauthor = $wpsr_template1['inauthor'];
615
- $wpsr_template1_insearch = $wpsr_template1['insearch'];
616
- $wpsr_template1_inexcerpt = $wpsr_template1['inexcerpt'];
617
- $wpsr_template1_infeed = $wpsr_template1['infeed'];
618
- $wpsr_template1_abvcontent = $wpsr_template1['abvcontent'];
619
- $wpsr_template1_blwcontent = $wpsr_template1['blwcontent'];
620
- $wpsr_template1_addp = $wpsr_template1['addp'];
621
-
622
- ## Placement Options | Template 2
623
  $wpsr_template2 = get_option('wpsr_template2_data');
624
-
625
- $wpsr_template2_content = $wpsr_template2['content'];
626
- $wpsr_template2_inhome = $wpsr_template2['inhome'];
627
- $wpsr_template2_insingle = $wpsr_template2['insingle'];
628
- $wpsr_template2_inpage = $wpsr_template2['inpage'];
629
- $wpsr_template2_incategory = $wpsr_template2['incategory'];
630
- $wpsr_template2_intag = $wpsr_template2['intag'];
631
- $wpsr_template2_indate = $wpsr_template2['indate'];
632
- $wpsr_template2_inauthor = $wpsr_template2['inauthor'];
633
- $wpsr_template2_insearch = $wpsr_template2['insearch'];
634
- $wpsr_template2_inexcerpt = $wpsr_template2['inexcerpt'];
635
- $wpsr_template2_infeed = $wpsr_template2['infeed'];
636
- $wpsr_template2_abvcontent = $wpsr_template2['abvcontent'];
637
- $wpsr_template2_blwcontent = $wpsr_template2['blwcontent'];
638
- $wpsr_template2_addp = $wpsr_template2['addp'];
639
-
640
- ## Settings options
641
  $wpsr_settings = get_option('wpsr_settings_data');
642
 
643
- $wpsr_settings_rssurl = $wpsr_settings['rssurl'];
644
- $wpsr_settings_bitlyusername = $wpsr_settings['bitlyusername'];
645
- $wpsr_settings_bitlyapi = $wpsr_settings['bitlyapi'];
646
- $wpsr_settings_disablewpsr = $wpsr_settings['disablewpsr'];
647
- $wpsr_settings_scriptsplace = $wpsr_settings['scriptsplace'];
 
 
 
 
 
648
 
649
- if($wpsr_settings_disablewpsr) $wpsr_is_disabled = '<span class="redText"> | ' . __('Disabled', 'wpsr') . '</span>';
 
 
 
 
 
 
 
650
 
651
  ?>
652
 
 
 
 
 
 
 
 
 
653
  <?php if(wpsr_show_admin() == 1): ?>
654
  <!-- Main ADMIN page -->
655
  <div class="wrap">
656
-
657
- <div id="tabs">
658
-
659
  <div class="header">
660
- <div class="headerTitle"><h2><img width="32" height="32" src="<?php echo WPSR_ADMIN_URL; ?>images/wp-socializer.png" align="absmiddle"/>&nbsp;WP Socializer<span class="smallText"> v<?php echo WPSR_VERSION; ?><?php echo $wpsr_is_disabled; ?></span></h2></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
661
 
662
- <div class="promoBox">
663
- <div class="promos plusoneBox">
664
- <div class="text"><?php _e('+1 this plugin', 'wpsr'); ?></div>
665
- <?php echo wpsr_admin_buttons('+1'); ?>
 
 
 
 
 
 
 
 
 
 
666
  </div>
667
 
668
- <div class="promos likeBox">
669
- <div class="iframeWrap">
670
- <div class="text"><?php _e('Like this plugin', 'wpsr'); ?></div>
671
- <?php echo wpsr_admin_buttons('fb'); ?>
672
- </div>
 
 
 
 
 
 
 
 
673
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
674
 
675
- <div class="promos donateBox">
676
- <a href="http://bit.ly/wpsrDonate" target="_blank" title="Like this plugin ? You donation you will keep me up developing this plugin"><img src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" height="50"/></a>
 
677
  </div>
678
 
679
- <div class="donatePopup">
680
- <span class="popClose">x</span>
681
- <strong><?php _e('Make your donation with Paypal', 'wpsr'); ?></strong>
682
- <form action="https://www.paypal.com/cgi-bin/webscr" target="_blank" method="post">
683
- <input type="hidden" name="cmd" value="_xclick">
684
- <input type="hidden" name="business" value="donations@aakashweb.com">
685
- <input type="hidden" name="item_name" value="Donation">
686
- <input type="hidden" name="item_number" value="Donation for WP Socializer plugin">
687
- <?php _e('Select your Donation amount:', 'wpsr'); ?><br />$
688
- <select name="amount" class="dd"><?php
689
- for($d=10; $d<80; $d = $d+5){ echo "<option value='$d'>$d</option>"; }
690
- for($d=100; $d<305; $d = $d+50){ echo "<option value='$d'>$d</option>"; }
691
- ?><option value=""><?php _e('Custom', 'wpsr'); ?></option>
692
- </select>
693
- <input type="hidden" name="currency_code" value="USD">
694
- <input type="hidden" name="return" value="http://www.aakashweb.com/?src=donation">
695
- <input type="submit" class="button" value="<?php _e('Donate with PayPal!', 'wpsr'); ?>">
696
- </form>
697
  </div>
698
 
699
- </div>
700
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
701
 
702
- <ul id="tabsList">
703
- <li><a href="#tab-1"><span class='admSprites oneclickIcon'></span>One click<br/>
704
- <small class="info">Select inbuilt templates</small></a></li>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
705
 
706
- <h5 class="tabGroup">Customize buttons below</h5>
 
 
 
 
 
707
 
708
- <li><a href="#tab-2"><span class='admSprites socialButtons'></span>Social Buttons</a></li>
709
- <li><a href="#tab-3"><span class='admSprites addthisIcon'></span>Addthis</a></li>
710
- <li><a href="#tab-4"><span class='admSprites sharethisIcon'></span>Sharethis</a></li>
711
- <li><a href="#tab-5"><span class='admSprites retweetIcon'></span>Retweet &amp; Digg</a></li>
712
- <li><a href="#tab-6"><span class='admSprites facebookIcon'></span>Facebook</a></li>
713
- <li><a href="#tab-7"><span class='admSprites customIcon'></span>Custom</a></li>
714
- <li class="placementTab"><a href="#tab-8"><span class='admSprites placementIcon'></span>Placement<br/>
715
- <small class="info">Place buttons in this tab</small></a>
716
- </li>
717
- <li><a href="#tab-9"><span class='admSprites settingsIcon'></span><?php _e('Settings', 'wpsr'); ?></a></li>
718
 
719
- <h5 class="tabGroup">Links</h5>
720
 
721
- <li><a class="outLink" rel="http://www.aakashweb.com/docs/wp-socializer-docs/"><span class='admSprites documentationIcon'></span><?php _e('Documentation', 'wpsr'); ?></a></li>
722
- <li><a class="outLink" rel="http://www.aakashweb.com/forum/"><span class='admSprites supportIcon'></span><?php _e('Support', 'wpsr'); ?></a></li>
723
- <li><a class="outLink" rel="http://www.aakashweb.com/wordpress-plugins/wp-socializer/"><span class='admSprites minusIcon'></span><?php _e('Manual Placement', 'wpsr'); ?></a></li>
724
- <li><a class="outLink" rel="admin.php?page=wp_socializer_other"><span class='admSprites minusIcon'></span>In Widgets</a></li>
725
- <li><a class="outLink" rel="admin.php?page=wp_socializer_other"><span class='admSprites minusIcon'></span>In Posts</a></li>
726
 
727
- </ul>
728
-
729
- <!-- Hidden elements -->
730
- <div class="codePopupInfo" style="display:none">
731
- <br />
732
- <small><?php _e('Use the above code <a href="#tab-9">here</a>, to insert the button', 'wpsr'); ?></small>
733
- </div>
734
-
735
- <span class="wpsrVer" style="display:none"><?php echo WPSR_VERSION; ?></span>
736
- <span class="tmplUrl" style="display:none"><?php echo WPSR_ADMIN_URL . 'templates/templates.xml'; ?></span>
737
- <span class="tmplImg" style="display:none"><?php echo WPSR_ADMIN_URL . 'templates/'; ?></span>
738
- <!-- End hidden elements -->
739
-
740
- <form method="post">
741
- <!--ONE CLICK -->
742
- <div id="tab-1" class="tabContent">
743
- <h4>One click setup</h4>
744
- <div class="templatesList">
745
- <img src="<?php echo WPSR_ADMIN_URL; ?>images/one-click-header.jpg" class="imgHead"/>
746
- <p class="smallText"><?php _e('Select a template and click apply.', 'wpsr'); ?><br/>Selecting the below template will overwrite the current template you are using. <br/><em>Please delete the browser cache to view the new set of templates</em></p>
747
- </div>
748
- <a href="http://www.aakashweb.com/docs/wp-socializer-docs/creating-a-custom-template/" target="_blank"><?php _e('Create a template', 'wpsr'); ?></a> | <a href="http://www.aakashweb.com/docs/wp-socializer-docs/creating-a-custom-template/" target="_blank"><?php _e('Submit a template', 'wpsr'); ?></a>
749
- </div>
750
-
751
- <!-- SOCIAL BTS -->
752
- <div id="tab-2" class="tabContent">
753
- <input type="hidden" id="wpsr_socialbt_selected16px" name="wpsr_socialbt_selected16px" value="<?php echo $wpsr_socialbt_selected16px; ?>" />
754
- <input type="hidden" id="wpsr_socialbt_selected32px" name="wpsr_socialbt_selected32px" value="<?php echo $wpsr_socialbt_selected32px; ?>" />
755
- <h4><?php _e('Social Buttons', 'wpsr'); ?> <?php wpsr_addcodeico('16px Buttons : {social-bts-16px}' . "\n" . '32px Buttons : {social-bts-32px}'); ?></h4>
756
- <div class="section">
757
- <span class="smallText">
758
- <?php _e('Click the icon size to select and "x" button to remove selected. Click and drag to reorder selected sites', 'wpsr'); ?>
759
- </span>
760
- <br />
761
- <div style="float:left; width:70%;">
762
- <h5><?php _e('Available buttons', 'wpsr'); ?> <input type="text" id="wpsr_search_buttons" title="<?php _e('Filter buttons', 'wpsr'); ?>" value="<?php _e('Filter', 'wpsr'); ?> ..." alt="<?php _e('Filter', 'wpsr'); ?> ..."/></h5>
763
-
764
- <?php
765
- $spriteImage16px = WPSR_SOCIALBT_IMGPATH . 'wp-socializer-sprite-16px.png';
766
- $spriteMaskImage16px = WPSR_SOCIALBT_IMGPATH . 'wp-socializer-sprite-mask-16px.gif';
767
-
768
- echo '<ul id="wpsr_socialbt_list">';
769
- foreach ($wpsr_socialsites_list as $sitename => $property) {
770
 
771
- $spritesYCoord = get_sprite_coord($sitename, $wpsr_socialsites_list, '16px');
772
- $finalSprites = '0px -' . $spritesYCoord . 'px'; 'wp-socializer-sprite-mask-16px.gif';
 
773
 
774
- echo
775
- "\n<li>" .
776
- '<img src="' . $spriteMaskImage16px . '" alt="' . $sitename . '" style="background-position:' . $finalSprites . '" />' .
777
- '<span class="sb_name">' . $sitename . '</span>' .
778
- '<span class="sb_add16px">16</span>';
779
 
780
- if($property['support32px'] == 1){
781
- echo '<span class="sb_add32px">32</span>';
 
 
 
 
 
 
 
 
 
 
 
782
  }
783
-
784
- }
785
- echo '</ul>';
786
- ?>
787
  </div>
788
-
789
- <div style="float:right; width:30%">
790
  <h4><?php _e('Selected buttons', 'wpsr'); ?> | 16px </h4>
791
- <ul class="wpsr_socialbt_selected_list" id="wpsr_socialbt_selected_list_16px">
792
  <?php
793
- $wpsr_socialbt_splited16px = explode(',', $wpsr_socialbt_selected16px);
794
-
795
  for($i=0; $i < count($wpsr_socialbt_splited16px); $i++){
796
- echo "\n<li><span class=\"sb_name\">" . $wpsr_socialbt_splited16px[$i] . '</span><span class="sb_close">x</span></li>';
797
  }
798
-
799
  ?>
800
  </ul>
801
-
802
- <div style="clear:both;"></div>
803
-
804
  <h4><?php _e('Selected buttons', 'wpsr'); ?> | 32px</h4>
805
- <ul class="wpsr_socialbt_selected_list" id="wpsr_socialbt_selected_list_32px">
806
  <?php
807
- $wpsr_socialbt_splited32px = explode(',', $wpsr_socialbt_selected32px);
808
-
809
  for($i=0; $i < count($wpsr_socialbt_splited32px); $i++){
810
- echo "\n<li><span class=\"sb_name\">" . $wpsr_socialbt_splited32px[$i] . '</span><span class="sb_close">x</span></li>';
811
  }
812
-
813
  ?>
814
  </ul>
815
  </div>
816
-
817
- <span style="clear:both; display:block"></span>
818
-
819
- </div>
820
-
821
- <h4><?php _e('Settings', 'wpsr'); ?></h4>
822
- <div class="section">
823
- <table width="100%" border="0">
824
- <tr>
825
- <td height="35"><?php _e('Open links in new tab/window', 'wpsr'); ?></td>
826
- <td><select id="wpsr_socialbt_target" name="wpsr_socialbt_target">
827
- <option <?php echo $wpsr_socialbt_target == '1' ? ' selected="selected"' : ''; ?> value="1"><?php _e('Yes', 'wpsr'); ?></option>
828
- <option <?php echo $wpsr_socialbt_target == '0' ? ' selected="selected"' : ''; ?> value="0"><?php _e('No', 'wpsr'); ?></option>
829
- </select></td>
830
- </tr>
831
-
832
- <tr>
833
- <td height="35"><?php _e('Add <code>rel="nofollow"</code> attribute to links', 'wpsr'); ?></td>
834
- <td><select id="wpsr_socialbt_nofollow" name="wpsr_socialbt_nofollow">
835
- <option <?php echo $wpsr_socialbt_nofollow == '1' ? ' selected="selected"' : ''; ?> value="1"><?php _e('Yes', 'wpsr'); ?></option>
836
- <option <?php echo $wpsr_socialbt_nofollow == '0' ? ' selected="selected"' : ''; ?> value="0"><?php _e('No', 'wpsr'); ?></option>
837
- </select></td>
838
- </tr>
839
-
840
- <tr>
841
- <td height="35"><?php _e('Image on Hover effect', 'wpsr'); ?> </td>
842
- <td><select id="wpsr_socialbt_effect" name="wpsr_socialbt_effect">
843
- <option <?php echo $wpsr_socialbt_effect == 'jump' ? ' selected="selected"' : ''; ?> value="jump">Jump Effect</option>
844
- <option <?php echo $wpsr_socialbt_effect == 'opacity' ? ' selected="selected"' : ''; ?> value="opacity">Transparency Effect</option>
845
- <option <?php echo $wpsr_socialbt_effect == 'none' ? ' selected="selected"' : ''; ?> value="none"><?php _e('No Effect', 'wpsr'); ?></option>
846
- </select></td>
847
- </tr>
848
- <tr>
849
- <td height="40"><?php _e('Show Label for buttons', 'wpsr'); ?> </td>
850
- <td><select id="wpsr_socialbt_label" name="wpsr_socialbt_label">
851
- <option <?php echo $wpsr_socialbt_label == '1' ? ' selected="selected"' : ''; ?> value="1"><?php _e('Yes', 'wpsr'); ?></option>
852
- <option <?php echo $wpsr_socialbt_label == '0' ? ' selected="selected"' : ''; ?> value="0"><?php _e('No', 'wpsr'); ?></option>
853
- </select></td>
854
- </tr>
855
- <tr>
856
- <td height="53"><?php _e('Show Icons in', 'wpsr'); ?> <br />
857
- <span class="smallText"><?php _e('Very very effective when labels are enabled (try it)', 'wpsr'); ?></span> </td>
858
- <td><select id="wpsr_socialbt_columns" name="wpsr_socialbt_columns">
859
- <option <?php echo $wpsr_socialbt_columns == 'no' ? ' selected="selected"' : ''; ?> value="no">No Column</option>
860
- <option <?php echo $wpsr_socialbt_columns == '5' ? ' selected="selected"' : ''; ?> value="5">5 Columns</option>
861
- <option <?php echo $wpsr_socialbt_columns == '4' ? ' selected="selected"' : ''; ?> value="4">4 Columns</option>
862
- <option <?php echo $wpsr_socialbt_columns == '3' ? ' selected="selected"' : ''; ?> value="3">3 Columns</option>
863
- <option <?php echo $wpsr_socialbt_columns == '2' ? ' selected="selected"' : ''; ?> value="2">2 Columns</option>
864
- </select></td>
865
- </tr>
866
- <tr>
867
- <td height="53"><?php _e('Image folder', 'wpsr'); ?><br />
868
- <span class="smallText"><?php _e('Leave blank to use default', 'wpsr'); ?></span> </td>
869
- <td>
870
- <input name="wpsr_socialbt_imgpath16px" type="text" id="wpsr_socialbt_imgpath16px" value="<?php echo $wpsr_socialbt_imgpath16px; ?>" size="40" />
871
- (16px)<br />
872
-
873
- <input name="wpsr_socialbt_imgpath32px" type="text" id="wpsr_socialbt_imgpath32px" value="<?php echo $wpsr_socialbt_imgpath32px; ?>" size="40" />
874
- (32px)</td>
875
- </tr>
876
- <tr>
877
- <td height="35"><?php _e('Use Sprites', 'wpsr'); ?></td>
878
- <td><select id="wpsr_socialbt_usesprites" name="wpsr_socialbt_usesprites">
879
- <option <?php echo $wpsr_socialbt_usesprites == '1' ? ' selected="selected"' : ''; ?> value="1"><?php _e('Yes', 'wpsr'); ?></option>
880
- <option <?php echo $wpsr_socialbt_usesprites == '0' ? ' selected="selected"' : ''; ?> value="0"><?php _e('No', 'wpsr'); ?></option>
881
- </select></td>
882
- </tr>
883
- </table>
884
- </div>
885
-
886
- </div>
887
-
888
- <!-- ADDTHIS PAGE -->
889
- <div id="tab-3" class="tabContent">
890
-
891
- <h4>Toolbox</h4>
892
- <div class="section">
893
- <table width="100%" height="139" border="0" class="tableClr">
894
-
895
- <tr>
896
- <th height="30">Toolbox type </th>
897
- <th><?php _e('Services', 'wpsr'); ?></th>
898
- </tr>
899
- <tr>
900
- <td width="35%" height="53"><label for="wpsr_addthis_tb_16pxservices"><img src="<?php echo WPSR_ADMIN_URL; ?>images/buttons/addthis-tb-16px.png" title="16px Icons"/></label></td>
901
- <td width="65%"><input name="wpsr_addthis_tb_16pxservices" type="text" id="wpsr_addthis_tb_16pxservices" value="<?php echo $wpsr_addthis_tb_16pxservices; ?>" size="35" /> <input class="submit button" type="button" value="Select services" onclick="openServiceSelctor('<?php echo WPSR_ADMIN_URL; ?>wpsr-services-selector.php?id=wpsr_addthis_tb_16pxservices&bt=addthis&val=', 'wpsr_addthis_tb_16pxservices');" />
902
- <?php wpsr_addcodeico('{addthis-tb-16px}'); ?>
903
- <br /><span class="smallText"><?php _e('Leave blank to use default', 'wpsr'); ?></span>
904
-
905
- </td>
906
- </tr>
907
- <tr>
908
- <td height="48"><label for="wpsr_addthis_tb_32pxservices"><img src="<?php echo WPSR_ADMIN_URL; ?>images/buttons/addthis-tb-32px.png" title="32px Icons"/></label></td>
909
- <td><input name="wpsr_addthis_tb_32pxservices" type="text" id="wpsr_addthis_tb_32pxservices" value="<?php echo $wpsr_addthis_tb_32pxservices; ?>" size="35" /> <input class="button" type="button" value="Select services" onclick="openServiceSelctor('<?php echo WPSR_ADMIN_URL; ?>wpsr-services-selector.php?id=wpsr_addthis_tb_32pxservices&bt=addthis&val=', 'wpsr_addthis_tb_32pxservices');"/>
910
- <?php wpsr_addcodeico('{addthis-tb-32px}'); ?>
911
- <br /><span class="smallText"><?php _e('Leave blank to use default', 'wpsr'); ?></span>
912
-
913
- </td>
914
- </tr>
915
- </table>
916
- </div>
917
-
918
- <h4>Sharecount <?php wpsr_addcodeico('{addthis-sc}'); ?></h4>
919
- <div class="section">
920
- <table width="100%" height="100" border="0">
921
- <tr>
922
- <td height="54"><label><input name="wpsr_addthis_sharecount" id="wpsr_addthis_sharecount" type="radio" value="normal" <?php echo $wpsr_addthis_sharecount == 'normal' ? ' checked="checked"' : ''; ?> /> <img src="http://cache.addthiscdn.com/www/q0197/images/sharecount-vertical.png" title="Sharecount - Large"/></label></td>
923
- <td><label><input name="wpsr_addthis_sharecount" id="wpsr_addthis_sharecount" type="radio" value="pill" <?php echo $v == 'pill' ? ' checked="checked"' : ''; ?> /> <img src="http://cache.addthiscdn.com/www/q0197/images/sharecount-horizontal.png" title="Sharecount - Pill style"/></label></td>
924
- </tr>
925
- <tr>
926
- <td height="40" colspan="2"><label><input name="wpsr_addthis_sharecount" id="wpsr_addthis_sharecount" type="radio" value="grouped" <?php echo $wpsr_addthis_sharecount == 'grouped' ? ' checked="checked"' : ''; ?> /> <img src="http://cache.addthiscdn.com/www/q0197/images/gtc-like-tweet-share.png" title="Sharecount - grouped"/></label></td>
927
- </tr>
928
- </table>
929
- </div>
930
-
931
- <h4><?php _e('Buttons', 'wpsr'); ?> <?php wpsr_addcodeico('{addthis-bt}'); ?></h4>
932
- <div class="section">
933
- <table width="100%" height="42" border="0">
934
- <tr>
935
- <td height="38"><label><input name="wpsr_addthis_button" id="wpsr_addthis_button" type="radio" value="lg-share-" <?php echo $wpsr_addthis_button == 'lg-share-' ? ' checked="checked"' : ''; ?> /> <img src="http://s7.addthis.com/static/btn/v2/lg-share-<?php echo $wpsr_addthis_lang; ?>.gif" alt="Share button - Large"/></label></td>
936
 
937
- <td><label>
938
- <input name="wpsr_addthis_button" id="wpsr_addthis_button" type="radio" value="sm-share-" <?php echo $wpsr_addthis_button == 'sm-share-' ? ' checked="checked"' : ''; ?> />
939
- <img src="http://s7.addthis.com/static/btn/v2/sm-share-en.gif" alt="Share button - Small"/></label></td>
940
- </tr>
941
- </table>
942
- </div>
943
-
944
- <h4><?php _e('Optional button Settings', 'wpsr'); ?></h4>
945
- <div class="section">
946
- <table width="100%" border="0">
947
- <tr>
948
- <td height="52"><label for="wpsr_addthis_username"><?php _e('Add This Username', 'wpsr'); ?></label></td>
949
- <td><input type="text" id="wpsr_addthis_username" name="wpsr_addthis_username" value="<?php echo $wpsr_addthis_username; ?>" />
950
- <br />
951
- <span class="smallText">
952
- <?php _e('If available', 'wpsr'); ?>
953
- </span></td>
954
- <td><label for="wpsr_addthis_lang"><?php _e('Language', 'wpsr'); ?></label></td>
955
- <td><select name="wpsr_addthis_lang" id="wpsr_addthis_lang">
956
- <?php foreach ($wpsr_addthis_lang_array as $lang=>$name){echo "<option value=\"$lang\"". ($lang == $wpsr_addthis_lang ? " selected":"") . ">$name</option>";}?>
957
- </select> </td>
958
- </tr>
959
- <tr>
960
- <td width="13%" height="52"><label for="wpsr_addthis_btbrand"><?php _e('Brand Name', 'wpsr'); ?></label></td>
961
- <td width="30%"><input name="wpsr_addthis_btbrand" id="wpsr_addthis_btbrand" type="text" value="<?php echo $wpsr_addthis_btbrand; ?>"/><br /><span class="smallText"><?php _e('Leave blank to use default', 'wpsr'); ?></span></td>
962
-
963
- <td width="14%"><label for="wpsr_addthis_clickback"><?php _e('Track Clickback', 'wpsr'); ?></label></td>
964
- <td width="43%"><select id="wpsr_addthis_clickback" name="wpsr_addthis_clickback">
965
- <option <?php echo $wpsr_addthis_clickback == '1' ? ' selected="selected"' : ''; ?> value="1"><?php _e('Yes', 'wpsr'); ?></option>
966
- <option <?php echo $wpsr_addthis_clickback == '0' ? ' selected="selected"' : ''; ?> value="0"><?php _e('No', 'wpsr'); ?></option>
967
- </select></td>
968
- </tr>
969
- <tr>
970
- <td><?php _e('Header Color', 'wpsr'); ?></td>
971
- <td><input name="wpsr_addthis_btheadclr" id="wpsr_addthis_btheadclr" type="text" value="<?php echo $wpsr_addthis_btheadclr; ?>"/></td>
972
- <td><?php _e('Header Background', 'wpsr'); ?></td>
973
- <td><input name="wpsr_addthis_btheadbgclr" id="wpsr_addthis_btheadbgclr" type="text" value="<?php echo $wpsr_addthis_btheadbgclr; ?>"/></td>
974
- </tr>
975
- </table>
976
- </div>
977
-
978
- </div><!-- Addthis box -->
979
-
980
- <!-- SHARETHIS PAGE -->
981
- <div id="tab-4" class="tabContent">
982
- <h4>Sharethis</h4>
983
- <div class="section">
984
- <table width="100%" height="517" border="0" class="tableClr">
985
- <tr>
986
- <th width="50%" height="21"><?php _e('Buttons', 'wpsr'); ?><br />
987
- <span class="smallText"><?php _e('Button type', 'wpsr'); ?></span></th>
988
- <th width="50%"><?php _e('Button Order', 'wpsr'); ?><br />
989
- <span class="smallText"><?php _e('Reorder, remove or add social buttons', 'wpsr'); ?></span></th>
990
- </tr>
991
- <tr>
992
- <td width="50%" height="69"><img src="<?php echo WPSR_ADMIN_URL; ?>images/buttons/sharethis-vcount.png" /></td>
993
- <td width="50%"><input name="wpsr_sharethis_vcount_order" id="wpsr_sharethis_vcount_order" type="text" value="<?php echo $wpsr_sharethis_vcount_order; ?>"/>
994
- <input class="submit button" type="button" value="Select services" onclick="openServiceSelctor('<?php echo WPSR_ADMIN_URL; ?>wpsr-services-selector.php?id=wpsr_sharethis_vcount_order&bt=sharethis&val=', 'wpsr_sharethis_vcount_order');" /><?php wpsr_addcodeico('{sharethis-vcount}'); ?></td>
995
- </tr>
996
- <tr>
997
- <td height="64"><img src="<?php echo WPSR_ADMIN_URL; ?>images/buttons/sharethis-hcount.png" /></td>
998
- <td><input name="wpsr_sharethis_hcount_order" id="wpsr_sharethis_hcount_order" type="text" value="<?php echo $wpsr_sharethis_hcount_order; ?>"/>
999
- <input class="submit button" type="button" value="Select services" onclick="openServiceSelctor('<?php echo WPSR_ADMIN_URL; ?>wpsr-services-selector.php?id=wpsr_sharethis_hcount_order&bt=sharethis&val=', 'wpsr_sharethis_hcount_order');" /><?php wpsr_addcodeico('{sharethis-hcount}'); ?></td>
1000
- </tr>
1001
- <tr>
1002
- <td height="65"><img src="<?php echo WPSR_ADMIN_URL; ?>images/buttons/sharethis-buttons.png" /></td>
1003
- <td><input name="wpsr_sharethis_buttons_order" id="wpsr_sharethis_buttons_order" type="text" value="<?php echo $wpsr_sharethis_buttons_order; ?>"/>
1004
- <input class="submit button" type="button" value="Select services" onclick="openServiceSelctor('<?php echo WPSR_ADMIN_URL; ?>wpsr-services-selector.php?id=wpsr_sharethis_buttons_order&bt=sharethis&val=', 'wpsr_sharethis_buttons_order');" /><?php wpsr_addcodeico('{sharethis-bt}'); ?></td>
1005
- </tr>
1006
- <tr>
1007
- <td height="67"><img src="<?php echo WPSR_ADMIN_URL; ?>images/buttons/sharethis-large.png" /></td>
1008
- <td><input name="wpsr_sharethis_large_order" id="wpsr_sharethis_large_order" type="text" value="<?php echo $wpsr_sharethis_large_order; ?>"/>
1009
- <input class="submit button" type="button" value="Select services" onclick="openServiceSelctor('<?php echo WPSR_ADMIN_URL; ?>wpsr-services-selector.php?id=wpsr_sharethis_large_order&bt=sharethis&val=', 'wpsr_sharethis_large_order');" /><?php wpsr_addcodeico('{sharethis-large}'); ?></td>
1010
- </tr>
1011
- <tr>
1012
- <td height="70"><img src="<?php echo WPSR_ADMIN_URL; ?>images/buttons/sharethis-regular.png" /></td>
1013
- <td><input name="wpsr_sharethis_regular_order" id="wpsr_sharethis_regular_order" type="text" value="<?php echo $wpsr_sharethis_regular_order; ?>"/>
1014
- <input class="submit button" type="button" value="Select services" onclick="openServiceSelctor('<?php echo WPSR_ADMIN_URL; ?>wpsr-services-selector.php?id=wpsr_sharethis_regular_order&bt=sharethis&val=', 'wpsr_sharethis_regular_order');" /><?php wpsr_addcodeico('{sharethis-regular}'); ?></td>
1015
- </tr>
1016
- <tr>
1017
- <td height="75"><img src="<?php echo WPSR_ADMIN_URL; ?>images/buttons/sharethis-regular-notext.png" /></td>
1018
- <td><input name="wpsr_sharethis_regular2_order" id="wpsr_sharethis_regular2_order" type="text" value="<?php echo $wpsr_sharethis_regular2_order; ?>"/>
1019
- <input class="submit button" type="button" value="Select services" onclick="openServiceSelctor('<?php echo WPSR_ADMIN_URL; ?>wpsr-services-selector.php?id=wpsr_sharethis_regular2_order&bt=sharethis&val=', 'wpsr_sharethis_regular2_order');" /><?php wpsr_addcodeico('{sharethis-regular2}'); ?></td>
1020
- </tr>
1021
- <tr>
1022
- <td><img src="<?php echo WPSR_ADMIN_URL; ?>images/buttons/sharethis-classic.png" /></td>
1023
- <td><?php wpsr_addcodeico('{sharethis-classic}'); ?></td>
1024
- </tr>
1025
- </table>
1026
  </div>
1027
 
1028
- <h4><?php _e('Settings', 'wpsr'); ?></h4>
1029
- <div class="section">
1030
- <table width="100%" height="100" border="0">
1031
- <tr>
1032
- <td width="31%" height="49"><label for="wpsr_sharethis_pubkey">Sharethis Publisher Key</label></td>
1033
- <td width="69%"><input name="wpsr_sharethis_pubkey" type="text" id="wpsr_sharethis_pubkey" value="<?php echo $wpsr_sharethis_pubkey; ?>" size="50" /><br /><span class="smallText"><?php _e('You can see you publisher key in this page. ', 'wpsr'); ?> <a href="http://sharethis.com/account/" target="_blank"><?php _e('Click here', 'wpsr'); ?></a></span></td>
1034
- </tr>
1035
- <tr>
1036
- <td><label for="wpsr_sharethis_addp">Automatically wrap with paragraph</label></td>
1037
- <td><select id="wpsr_sharethis_addp" name="wpsr_sharethis_addp">
1038
- <option <?php echo $wpsr_sharethis_addp == '1' ? ' selected="selected"' : ''; ?> value="1"><?php _e('Yes', 'wpsr'); ?></option>
1039
- <option <?php echo $wpsr_sharethis_addp == '0' ? ' selected="selected"' : ''; ?> value="0"><?php _e('No', 'wpsr'); ?></option>
1040
- </select></td>
1041
- </tr>
1042
- </table>
1043
- </div>
1044
-
1045
- </div>
1046
-
1047
- <!-- RETWEET AND DIGG PAGE -->
1048
- <div id="tab-5" class="tabContent">
1049
-
1050
- <h4><?php _e('General', 'wpsr'); ?><?php wpsr_addcodeico('{retweet-bt}'); ?></h4>
1051
- <div class="section">
1052
- <table width="100%" height="76" border="0">
1053
- <tr>
1054
- <td width="30%" height="37"><label for="wpsr_retweet_username"><?php _e('Twitter Username', 'wpsr'); ?></label></td>
1055
- <td width="70%">@<input name="wpsr_retweet_username" id="wpsr_retweet_username" type="text" value="<?php echo $wpsr_retweet_username; ?>"/></td>
1056
- </tr>
1057
- <tr>
1058
- <td><label for="wpsr_retweet_type"><?php _e('Retweet Button Type', 'wpsr'); ?></label></td>
1059
- <td><select id="wpsr_retweet_type" name="wpsr_retweet_type">
1060
- <option <?php echo $wpsr_retweet_type == 'normal' ? ' selected="selected"' : ''; ?> value="normal"><?php _e('Normal (Big)', 'wpsr'); ?></option>
1061
- <option <?php echo $wpsr_retweet_type == 'compact' ? ' selected="selected"' : ''; ?> value="compact"><?php _e('Compact', 'wpsr'); ?></option>
1062
- <option <?php echo $wpsr_retweet_type == 'nocount' ? ' selected="selected"' : ''; ?> value="nocount"><?php _e('No Count (only for Twitter\'s Official Button)', 'wpsr'); ?></option>
1063
- </select></td>
1064
- </tr>
1065
- </table>
1066
- </div>
1067
-
1068
- <h4><?php _e('Choose a service', 'wpsr'); ?></h4>
1069
  <div class="section">
1070
  <table width="100%" border="0">
1071
  <tr>
1072
- <td width="30%"><label for="wpsr_retweet_service"><?php _e('Retweet Service', 'wpsr'); ?></label></td>
1073
- <td width="70%"><select id="wpsr_retweet_service" name="wpsr_retweet_service">
1074
- <option <?php echo $wpsr_retweet_service == 'twitter' ? ' selected="selected"' : ''; ?> value="twitter"><?php _e('Twitter\'s Official Button', 'wpsr'); ?></option>
1075
- <option <?php echo $wpsr_retweet_service == 'tweetmeme' ? ' selected="selected"' : ''; ?> value="tweetmeme">TweetMeme</option>
1076
- <option <?php echo $wpsr_retweet_service == 'topsy' ? ' selected="selected"' : ''; ?> value="topsy">Topsy</option>
1077
- <option <?php echo $wpsr_retweet_service == 'retweet' ? ' selected="selected"' : ''; ?> value="retweet">Retweet</option>
1078
- </select>
1079
-
1080
- <div id="wpsr_retweet_topsysettings">
1081
- <table width="100%" border="0">
1082
- <tr>
1083
- <td width="32%"><?php _e('Select a theme for topsy', 'wpsr'); ?></td>
1084
- <td width="68%">
1085
- <select id="wpsr_retweet_topsytheme" name="wpsr_retweet_topsytheme">
1086
- <option value="blue" <?php echo $wpsr_retweet_topsytheme == 'blue' ? ' selected="selected"' : ''; ?> >blue</option>
1087
- <option value="brown" <?php echo $wpsr_retweet_topsytheme == 'brown' ? ' selected="selected"' : ''; ?>>brown</option>
1088
- <option value="jade" <?php echo $wpsr_retweet_topsytheme == 'jade' ? ' selected="selected"' : ''; ?>>jade</option>
1089
- <option value="brick-red" <?php echo $wpsr_retweet_topsytheme == 'brick-red' ? ' selected="selected"' : ''; ?>>brick-red</option>
1090
- <option value="sea-foam" <?php echo $wpsr_retweet_topsytheme == 'sea-foam' ? ' selected="selected"' : ''; ?>>sea-foam</option>
1091
- <option value="mustard" <?php echo $wpsr_retweet_topsytheme == 'mustard' ? ' selected="selected"' : ''; ?>>mustard</option>
1092
- <option value="hot-pink" <?php echo $wpsr_retweet_topsytheme == 'hot-pink' ? ' selected="selected"' : ''; ?>>hot-pink</option>
1093
- </select>
1094
- </td>
1095
- </tr>
1096
- </table>
1097
- </div>
1098
-
1099
- <div id="wpsr_retweet_twittersettings">
1100
- <table width="100%" height="75" border="0">
1101
- <tr>
1102
- <td width="32%" height="34"><?php _e('Recommend people', 'wpsr'); ?> </td>
1103
- <td width="68%"><input name="wpsr_retweet_twitter_recacc" type="text" id="wpsr_retweet_twitter_recacc" value="<?php echo $wpsr_retweet_twitter_recacc; ?>" size="40"/><br />
1104
- <span class="smallText"><?php _e('Twitter Username: Description (Optional)', 'wpsr'); ?></span>
1105
- </td>
1106
- </tr>
1107
- <tr>
1108
- <td><?php _e('Language', 'wpsr'); ?></td>
1109
- <td><select id="wpsr_retweet_twitter_lang" name="wpsr_retweet_twitter_lang">
1110
- <option value="en" <?php echo $wpsr_retweet_twitter_lang == 'en' ? ' selected="selected"' : ''; ?>>English</option>
1111
- <option value="fr" <?php echo $wpsr_retweet_twitter_lang == 'fr' ? ' selected="selected"' : ''; ?>>French</option>
1112
- <option value="de" <?php echo $wpsr_retweet_twitter_lang == 'de' ? ' selected="selected"' : ''; ?>>German</option>
1113
- <option value="es" <?php echo $wpsr_retweet_twitter_lang == 'es' ? ' selected="selected"' : ''; ?>>Spanish</option>
1114
- <option value="ja" <?php echo $wpsr_retweet_twitter_lang == 'ja' ? ' selected="selected"' : ''; ?>>Japanese</option>
1115
- </select></td>
1116
- </tr>
1117
- </table>
1118
- </div>
1119
-
1120
- </td>
1121
- </tr>
1122
- </table>
1123
- </div>
1124
-
1125
- <h4><?php _e('Digg Button', 'wpsr'); ?><?php wpsr_addcodeico('{digg-bt}'); ?></h4>
1126
- <div class="section">
1127
- <table width="100%" border="0">
1128
- <tr>
1129
- <td width="31%"><label for="wpsr_digg_type"><?php _e('Digg Button type', 'wpsr'); ?></label></td>
1130
- <td width="69%"><select id="wpsr_digg_type" name="wpsr_digg_type">
1131
- <option <?php echo $wpsr_digg_type == 'DiggMedium' ? ' selected="selected"' : ''; ?> value="DiggMedium"><?php _e('Medium', 'wpsr'); ?></option>
1132
- <option <?php echo $wpsr_digg_type == 'DiggWide' ? ' selected="selected"' : ''; ?> value="DiggLarge"><?php _e('Wide', 'wpsr'); ?></option>
1133
- <option <?php echo $wpsr_digg_type == 'DiggCompact' ? ' selected="selected"' : ''; ?> value="DiggCompact"><?php _e('Compact', 'wpsr'); ?></option>
1134
- <option <?php echo $wpsr_digg_type == 'DiggIcon' ? ' selected="selected"' : ''; ?> value="DiggIcon"><?php _e('Icon', 'wpsr'); ?></option>
1135
  </select></td>
1136
  </tr>
1137
- </table>
1138
- </div>
1139
-
1140
- </div>
1141
-
1142
- <!-- FACEBOOK PAGE -->
1143
- <div id="tab-6" class="tabContent">
1144
- <h4><?php _e('Like Button', 'wpsr'); ?><?php wpsr_addcodeico('{facebook-like}'); ?></h4>
1145
- <div class="section">
1146
- <table width="100%" border="0">
1147
  <tr>
1148
- <td width="30%" height="31"><label for="wpsr_facebook_btstyle"><?php _e('Button Style', 'wpsr'); ?></label></td>
1149
- <td width="70%"><select id="wpsr_facebook_btstyle" name="wpsr_facebook_btstyle">
1150
- <option <?php echo $wpsr_facebook_btstyle == 'standard' ? ' selected="selected"' : ''; ?> value="standard"><?php _e('Standard', 'wpsr'); ?></option>
1151
- <option <?php echo $wpsr_facebook_btstyle == 'button_count' ? ' selected="selected"' : ''; ?> value="button_count"><?php _e('Button count', 'wpsr'); ?></option>
1152
- <option <?php echo $wpsr_facebook_btstyle == 'box_count' ? ' selected="selected"' : ''; ?> value="box_count"><?php _e('Box count', 'wpsr'); ?></option>
1153
  </select></td>
1154
  </tr>
 
1155
  <tr>
1156
- <td height="35"><label for="wpsr_facebook_showfaces"><?php _e('Show Faces', 'wpsr'); ?></label></td>
1157
- <td><select id="wpsr_facebook_showfaces" name="wpsr_facebook_showfaces">
1158
- <option <?php echo $wpsr_facebook_showfaces == '1' ? ' selected="selected"' : ''; ?> value="1"><?php _e('Yes', 'wpsr'); ?></option>
1159
- <option <?php echo $wpsr_facebook_showfaces == '0' ? ' selected="selected"' : ''; ?> value="0"><?php _e('No', 'wpsr'); ?></option>
 
1160
  </select></td>
1161
  </tr>
1162
  <tr>
1163
- <td height="49"><label for="wpsr_facebook_width"><?php _e('Width', 'wpsr'); ?></label></td>
1164
- <td><input name="wpsr_facebook_width" id="wpsr_facebook_width" type="text" value="<?php echo $wpsr_facebook_width; ?>"/><br /><span class="smallText"><?php _e('In pixels', 'wpsr'); ?></span></td>
1165
- </tr>
1166
- <tr>
1167
- <td height="35"><label for="wpsr_facebook_verb"><?php _e('Verb to Display', 'wpsr'); ?></label></td>
1168
- <td><select id="wpsr_facebook_verb" name="wpsr_facebook_verb">
1169
- <option <?php echo $wpsr_facebook_verb == 'like' ? ' selected="selected"' : ''; ?> value="like"><?php _e('Like', 'wpsr'); ?></option>
1170
- <option <?php echo $wpsr_facebook_verb == 'recommend' ? ' selected="selected"' : ''; ?> value="recommend"><?php _e('Recommend', 'wpsr'); ?></option>
1171
  </select></td>
1172
  </tr>
1173
  <tr>
1174
- <td height="37"><label for="wpsr_facebook_font"><?php _e('Font', 'wpsr'); ?></label></td>
1175
- <td><select id="wpsr_facebook_font" name="wpsr_facebook_font">
1176
- <option <?php echo $wpsr_facebook_font == 'arial' ? ' selected="selected"' : ''; ?> value="arial">Arial</option>
1177
- <option <?php echo $wpsr_facebook_font == 'lucida grande' ? ' selected="selected"' : ''; ?> value="lucida grande">Lucida Grande</option>
1178
- <option <?php echo $wpsr_facebook_font == 'segoe ui' ? ' selected="selected"' : ''; ?> value="segoe ui">Segoe UI</option>
1179
- <option <?php echo $wpsr_facebook_font == 'tahoma' ? ' selected="selected"' : ''; ?> value="tahoma">Tahoma</option>
1180
- <option <?php echo $wpsr_facebook_font == 'trebuchet ms' ? ' selected="selected"' : ''; ?> value="trebuchet ms">Trebuchet MS</option>
1181
- <option <?php echo $wpsr_facebook_font == 'verdana' ? ' selected="selected"' : ''; ?> value="verdana">Verdana</option>
1182
  </select></td>
1183
  </tr>
1184
  <tr>
1185
- <td height="38"><label for="wpsr_facebook_color"><?php _e('Color scheme', 'wpsr'); ?></label></td>
1186
- <td><select id="wpsr_facebook_color" name="wpsr_facebook_color">
1187
- <option <?php echo $wpsr_facebook_color == 'light' ? ' selected="selected"' : ''; ?> value="light"><?php _e('Light', 'wpsr'); ?></option>
1188
- <option <?php echo $wpsr_facebook_color == 'dark' ? ' selected="selected"' : ''; ?> value="dark"><?php _e('Dark', 'wpsr'); ?></option>
1189
- </select></td>
 
 
 
1190
  </tr>
1191
- </table>
1192
- </div>
1193
-
1194
- <p class="notice"><strong>Note:</strong> The Facebook share button has been deprecated. Try using the like button. <a href="https://developers.facebook.com/docs/share/" target="_blank">Source</a></p>
1195
-
1196
- <h4><?php _e('Share Button', 'wpsr'); ?><?php wpsr_addcodeico('{facebook-share}'); ?></h4>
1197
- <div class="section">
1198
- <table width="100%" height="121" border="0">
1199
  <tr>
1200
- <td width="30%" height="47"><?php _e('Style', 'wpsr'); ?></td>
1201
- <td width="70%">
1202
- <label><input name="wpsr_facebook_shstyle" id="wpsr_facebook_shstyle" type="radio" value="button" <?php echo $wpsr_facebook_shstyle == 'button' ? ' checked="checked"' : ''; ?> /><?php _e('Button', 'wpsr'); ?></label>
1203
- <br />
1204
- <label><input name="wpsr_facebook_shstyle" id="wpsr_facebook_shstyle" type="radio" value="link" <?php echo $wpsr_facebook_shstyle == 'link' ? ' checked="checked"' : ''; ?> /><?php _e('Link', 'wpsr'); ?></label></td>
1205
- </tr>
1206
- <tr>
1207
- <td height="68"><?php _e('Show Counter', 'wpsr'); ?><br /><span class="smallText"><?php _e('Not for link', 'wpsr'); ?></span></td>
1208
- <td><select id="wpsr_facebook_counter" name="wpsr_facebook_counter">
1209
- <option <?php echo $wpsr_facebook_counter == '1' ? ' selected="selected"' : ''; ?> value="1"><?php _e('Yes', 'wpsr'); ?></option>
1210
- <option <?php echo $wpsr_facebook_counter == '0' ? ' selected="selected"' : ''; ?> value="0"><?php _e('No', 'wpsr'); ?></option>
1211
- </select><br />
1212
- <span id="wpsr_facebook_counterplacement">
1213
- <label><input name="wpsr_facebook_counterplacement" id="wpsr_facebook_counterplacement" type="radio" value="above" <?php echo $wpsr_facebook_counterplacement == 'above' ? ' checked="checked"' : ''; ?> /><?php _e('Above the button', 'wpsr'); ?></label>
1214
- <br />
1215
- <label><input name="wpsr_facebook_counterplacement" id="wpsr_facebook_counterplacement" type="radio" value="inline" <?php echo $wpsr_facebook_counterplacement == 'inline' ? ' checked="checked"' : ''; ?> /><?php _e('Inline with the Button', 'wpsr'); ?></label>
1216
- </span> </td>
1217
  </tr>
1218
  </table>
1219
  </div>
1220
-
1221
- </div>
1222
-
1223
- <!-- CUSTOM BUTTONS PAGE -->
1224
- <div id="tab-7" class="tabContent">
1225
- <h4><?php _e('Custom 1', 'wpsr'); ?><?php wpsr_addcodeico('{custom-1}'); ?></h4>
1226
- <div class="section">
1227
- <textarea name="wpsr_custom1" id="wpsr_custom1" cols="60" rows="8" class="custom_box"><?php echo $wpsr_custom1; ?></textarea><br />
1228
- <span class="smallText"><?php printf(__('Enter any share button code. Use %s for the page url and %s for page title', 'wpsr'), '{url}', '{title}'); ?></span>
1229
- </div>
1230
-
1231
- <h4><?php _e('Custom 2', 'wpsr'); ?><?php wpsr_addcodeico('{custom-2}'); ?></h4>
1232
- <div class="section">
1233
- <textarea name="wpsr_custom2" id="wpsr_custom2" cols="60" rows="8" class="custom_box"><?php echo $wpsr_custom2; ?></textarea><br />
1234
- <span class="smallText"><?php printf(__('Enter any share button code. Use %s for the page url and %s for page title', 'wpsr'), '{url}', '{title}'); ?></span>
1235
- </div>
1236
-
1237
- </div>
1238
-
1239
- <!-- TEMPLATE PAGE -->
1240
- <div id="tab-8" class="tabContent">
1241
-
1242
- <p class="notice">If you want to edit or use an already made template, then select it from the "<strong>One click</strong>" tab</p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1243
 
1244
- <div class="subTabs">
1245
- <ul class="subTabList">
1246
- <li><a href="#sub-tab-1"><?php _e('Template 1', 'wpsr'); ?></a></li>
1247
- <li><a href="#sub-tab-2"><?php _e('Template 2', 'wpsr'); ?></a></li>
1248
- </ul>
1249
-
1250
- <div id="sub-tab-1" class="subTabContent">
1251
- <div class="section">
1252
-
1253
- <div class="templateInfo"><?php _e('Use the menu below to insert the buttons into the template', 'wpsr'); ?><br />
1254
- <?php _e('All HTML/CSS tags can be used. The button codes can be wrapped with HTML tags for proper aligning.', 'wpsr'); ?>
1255
- </div>
1256
-
1257
- <div class="toolbarWrap">
1258
- <?php wpsr_addtoolbar('wpsr_template1_content'); ?>
1259
- <textarea name="wpsr_template1_content" id="wpsr_template1_content" rows="10"><?php echo $wpsr_template1_content; ?></textarea>
1260
- </div>
1261
-
1262
- <div class="placement_options">
1263
-
1264
- <table width="100%" height="237" border="0">
1265
- <tr>
1266
- <td height="38" colspan="3"><label>
1267
- <input id="wpsr_template1_addp" name="wpsr_template1_addp" type="checkbox" value="1" <?php echo $wpsr_template1_addp == "1" ? 'checked="checked"' : ""; ?> />
1268
- <?php _e('Automatically add paragraphs', 'wpsr'); ?>
1269
- </label></td>
1270
- <td>&nbsp;</td>
1271
- </tr>
1272
- <tr>
1273
- <td height="36" colspan="4"><h4><?php _e('Where to show these buttons ?', 'wpsr'); ?></h4></td>
1274
- </tr>
1275
- <tr>
1276
- <td height="107" colspan="3">
1277
-
1278
- <label><input name="wpsr_template1_inhome" id="wpsr_template1_inhome" type="checkbox" value="1" <?php echo $wpsr_template1_inhome == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in front page', 'wpsr'); ?></label> <br />
1279
-
1280
- <label><input name="wpsr_template1_insingle" id="wpsr_template1_insingle" type="checkbox" value="1" <?php echo $wpsr_template1_insingle == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in individual posts', 'wpsr'); ?></label> <br />
1281
-
1282
- <label><input name="wpsr_template1_inpage" id="wpsr_template1_inpage" type="checkbox" value="1" <?php echo $wpsr_template1_inpage == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in pages', 'wpsr'); ?></label> <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1283
 
1284
- <label><input name="wpsr_template1_incategory" id="wpsr_template1_incategory" type="checkbox" value="1" <?php echo $wpsr_template1_incategory == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in archive pages', 'wpsr'); ?></label> <br />
1285
 
1286
- <label><input name="wpsr_template1_intag" id="wpsr_template1_intag" type="checkbox" value="1" <?php echo $wpsr_template1_intag == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in Tag pages', 'wpsr'); ?></label> <br /> </td>
1287
- <td width="41%">
1288
- <label><input name="wpsr_template1_indate" id="wpsr_template1_indate" type="checkbox" value="1" <?php echo $wpsr_template1_indate == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in date archives', 'wpsr'); ?></label> <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1289
 
1290
- <label><input name="wpsr_template1_inauthor" id="wpsr_template1_inauthor" type="checkbox" value="1" <?php echo $wpsr_template1_inauthor == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in author pages', 'wpsr'); ?></label> <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1291
 
1292
- <label><input name="wpsr_template1_insearch" id="wpsr_template1_insearch" type="checkbox" value="1" <?php echo $wpsr_template1_insearch == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in search pages', 'wpsr'); ?></label> <br />
1293
 
1294
- <label><input name="wpsr_template1_inexcerpt" id="wpsr_template1_inexcerpt" type="checkbox" value="1" <?php echo $wpsr_template1_inexcerpt == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in Excerpt', 'wpsr'); ?></label> <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1295
 
1296
- <label><input name="wpsr_template1_infeed" id="wpsr_template1_infeed" type="checkbox" value="1" <?php echo $wpsr_template1_infeed == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in RSS feeds', 'wpsr'); ?></label> </td>
1297
- </tr>
1298
- <tr>
1299
- <td width="12%"><strong>
1300
- <?php _e('Position', 'wpsr'); ?>
1301
- </strong></td>
1302
- <td width="22%"><label><input name="wpsr_template1_abvcontent" id="wpsr_template1_abvcontent" type="checkbox" value="1" <?php echo $wpsr_template1_abvcontent == "1" ? 'checked="checked"' : ""; ?> />
1303
- <?php _e('Above content', 'wpsr'); ?></label></td>
1304
- <td width="25%"><label><input name="wpsr_template1_blwcontent" id="wpsr_template1_blwcontent" type="checkbox" value="1" <?php echo $wpsr_template1_blwcontent == "1" ? 'checked="checked"' : ""; ?> />
1305
- <?php _e('Below content', 'wpsr'); ?></label></td>
1306
- <td>&nbsp;</td>
1307
- </tr>
1308
- </table>
1309
- </div><!-- Placement Options -->
1310
 
1311
- </div><!-- Section -->
1312
- </div><!-- Sub tab 1 -->
 
 
 
 
1313
 
1314
- <div id="sub-tab-2" class="subTabContent">
1315
- <div class="section">
1316
-
1317
- <div class="templateInfo"><?php _e('Use the menu below to insert the buttons into the template', 'wpsr'); ?><br />
1318
- <?php _e('All HTML/CSS tags can be used. The button codes can be wrapped with HTML tags for proper aligning.', 'wpsr'); ?>
1319
- </div>
1320
 
1321
- <div class="toolbarWrap">
1322
- <?php wpsr_addtoolbar('wpsr_template2_content'); ?>
1323
- <textarea name="wpsr_template2_content" id="wpsr_template2_content" rows="10"><?php echo $wpsr_template2_content; ?></textarea>
1324
- </div>
1325
 
1326
- <div class="placement_options">
1327
-
1328
- <table width="100%" height="237" border="0">
1329
- <tr>
1330
- <td height="38" colspan="3"><label>
1331
- <input name="wpsr_template2_addp" id="wpsr_template2_addp" type="checkbox" value="1" <?php echo $wpsr_template2_addp == "1" ? 'checked="checked"' : ""; ?> />
1332
- <?php _e('Automatically add paragraphs', 'wpsr'); ?>
1333
- </label></td>
1334
- <td>&nbsp;</td>
1335
- </tr>
1336
- <tr>
1337
- <td height="36" colspan="4"><h4><?php _e('Where to show these buttons ?', 'wpsr'); ?></h4></td>
1338
- </tr>
1339
- <tr>
1340
- <td height="107" colspan="3">
1341
-
1342
- <label><input name="wpsr_template2_inhome" id="wpsr_template2_inhome" type="checkbox" value="1" <?php echo $wpsr_template2_inhome == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in front page', 'wpsr'); ?></label> <br />
1343
-
1344
- <label><input name="wpsr_template2_insingle" id="wpsr_template2_insingle" type="checkbox" value="1" <?php echo $wpsr_template2_insingle == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in individual posts', 'wpsr'); ?></label> <br />
1345
-
1346
- <label><input name="wpsr_template2_inpage" id="wpsr_template2_inpage" type="checkbox" value="1" <?php echo $wpsr_template2_inpage == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in pages', 'wpsr'); ?></label> <br />
1347
-
1348
- <label><input name="wpsr_template2_incategory" id="wpsr_template2_incategory" type="checkbox" value="1" <?php echo $wpsr_template2_incategory == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in archive pages', 'wpsr'); ?></label> <br />
1349
-
1350
- <label><input name="wpsr_template2_intag" id="wpsr_template2_intag" type="checkbox" value="1" <?php echo $wpsr_template2_intag == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in Tag pages', 'wpsr'); ?></label> <br /> </td>
1351
- <td width="41%">
1352
- <label><input name="wpsr_template2_indate" id="wpsr_template2_indate" type="checkbox" value="1" <?php echo $wpsr_template2_indate == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in date archives', 'wpsr'); ?></label> <br />
1353
-
1354
- <label><input name="wpsr_template2_inauthor" id="wpsr_template2_inauthor" type="checkbox" value="1" <?php echo $wpsr_template2_inauthor == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in author pages', 'wpsr'); ?></label> <br />
1355
-
1356
- <label><input name="wpsr_template2_insearch" id="wpsr_template2_insearch" type="checkbox" value="1" <?php echo $wpsr_template2_insearch == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in search pages', 'wpsr'); ?></label> <br />
1357
-
1358
- <label><input name="wpsr_template2_inexcerpt" id="wpsr_template2_inexcerpt" type="checkbox" value="1" <?php echo $wpsr_template2_inexcerpt == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in Excerpt', 'wpsr'); ?></label> <br />
1359
-
1360
- <label><input name="wpsr_template2_infeed" id="wpsr_template2_infeed" type="checkbox" value="1" <?php echo $wpsr_template2_infeed == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in RSS feeds', 'wpsr'); ?></label> </td>
1361
- </tr>
1362
- <tr>
1363
- <td width="12%"><strong><?php _e('Position', 'wpsr'); ?></strong></td>
1364
- <td width="22%"><label><input name="wpsr_template2_abvcontent" id="wpsr_template2_abvcontent" type="checkbox" value="1" <?php echo $wpsr_template2_abvcontent == "1" ? 'checked="checked"' : ""; ?> />
1365
- <?php _e('Above content', 'wpsr'); ?></label></td>
1366
- <td width="25%"><label><input name="wpsr_template2_blwcontent" id="wpsr_template2_blwcontent" type="checkbox" value="1" <?php echo $wpsr_template2_blwcontent == "1" ? 'checked="checked"' : ""; ?> />
1367
- <?php _e('Below content', 'wpsr'); ?></label></td>
1368
- <td>&nbsp;</td>
1369
- </tr>
1370
- </table>
1371
- </div><!-- Placement Options -->
1372
-
1373
- </div><!-- Section -->
1374
- </div><!-- Sub tab 2 -->
1375
-
1376
- </div><!-- Sub tabs -->
1377
-
1378
- <div class="smallText"><strong><?php _e('FAQ', 'wpsr'); ?>:</strong> <a href="http://www.aakashweb.com/faqs/wordpress-plugins/wp-socializer/" target="_blank"><?php _e('Why sometimes the buttons are not aligned properly in the page ?', 'wpsr'); ?></a></div>
1379
 
 
 
 
 
1380
  </div>
1381
 
1382
- <!-- SETTINGS -->
1383
- <div id="tab-9" class="tabContent">
1384
- <h4>RSS <?php _e('Settings', 'wpsr'); ?></h4>
1385
- <div class="section">
1386
- <table width="100%" height="39" border="0">
1387
-
1388
-
1389
- <tr>
1390
- <td width="49%" height="35">RSS <?php _e('URL', 'wpsr'); ?><br />
1391
- <span class="smallText"><?php _e('Leave blank to use default Wordpress RSS feed.', 'wpsr'); ?> <br/><?php _e('You can use Feedburner feed URL also', 'wpsr'); ?></span></td>
1392
- <td width="51%"><input name="wpsr_settings_rssurl" type="text" id="wpsr_settings_rssurl" value="<?php echo $wpsr_settings_rssurl; ?>" size="60"/>
1393
- </td>
1394
- </tr>
1395
- </table>
1396
- </div>
1397
-
1398
- <h4>Bit.ly <?php _e('Integration', 'wpsr'); ?></h4>
1399
- <div class="section">
1400
- <table width="100%" height="39" border="0">
1401
- <tr>
1402
- <td width="49%" height="35"><label for="wpsr_settings_bitlyusername">Bit.ly <?php _e('Username', 'wpsr'); ?></label></td>
1403
- <td width="51%"><input name="wpsr_settings_bitlyusername" id="wpsr_settings_bitlyusername" type="text" value="<?php echo $wpsr_settings_bitlyusername; ?>"/></td>
1404
- </tr>
1405
-
1406
- <tr>
1407
- <td width="49%" height="35"><label for="wpsr_settings_bitlyapi">Bit.ly API Key</label></td>
1408
- <td width="51%"><input name="wpsr_settings_bitlyapi" id="wpsr_settings_bitlyapi" type="text" value="<?php echo $wpsr_settings_bitlyapi; ?>"/></td>
1409
- </tr>
1410
-
1411
- </table>
1412
- </div>
1413
-
1414
- <h4><?php _e('WP Socializer Settings', 'wpsr'); ?></h4>
1415
- <div class="section">
1416
- <table width="100%" height="84" border="0">
1417
- <tr>
1418
- <td width="49%" height="40"><label for="wpsr_settings_scriptsplace"><?php _e('Load button scripts in ', 'wpsr'); ?></label></td>
1419
- <td width="51%"><select id="wpsr_settings_scriptsplace" name="wpsr_settings_scriptsplace">
1420
- <option <?php echo $wpsr_settings_scriptsplace == 'header' ? ' selected="selected"' : ''; ?> value="header"><?php _e('Header (recommended)', 'wpsr'); ?></option>
1421
- <option <?php echo $wpsr_settings_scriptsplace == 'footer' ? ' selected="selected"' : ''; ?> value="footer"><?php _e('Footer', 'wpsr'); ?></option>
1422
- </select></td>
1423
- </tr>
1424
- <tr>
1425
- <td height="34"><?php _e('Load WP Socializer CSS', 'wpsr'); ?>
1426
- <br />
1427
- <span class="smallText">
1428
- <?php _e('Note: templates, hover effects &amp; column will not work', 'wpsr'); ?>
1429
- </span></td>
1430
- <td><select id="wpsr_socialbt_loadcss" name="wpsr_socialbt_loadcss">
1431
- <option <?php echo $wpsr_socialbt_loadcss == '1' ? ' selected="selected"' : ''; ?> value="1">
1432
- <?php _e('Yes', 'wpsr'); ?>
1433
- </option>
1434
- <option <?php echo $wpsr_socialbt_loadcss == '0' ? ' selected="selected"' : ''; ?> value="0">
1435
- <?php _e('No', 'wpsr'); ?>
1436
- </option>
1437
- </select></td>
1438
- </tr>
1439
- </table>
1440
- </div>
1441
-
1442
- <h4><?php _e('Disable WP Socializer', 'wpsr'); ?></h4>
1443
- <table width="100%" height="52" border="0">
1444
- <tr>
1445
- <td width="49%" height="48"><?php _e('Temporarily disable all WP-Socializer buttons ', 'wpsr'); ?><br />
1446
- <span class="smallText"><?php _e('Disabling will stop displaying all buttons, templates', 'wpsr'); ?></span> </td>
1447
- <td width="51%"><select id="wpsr_settings_disablewpsr" name="wpsr_settings_disablewpsr">
1448
- <option <?php echo $wpsr_settings_disablewpsr == '0' ? ' selected="selected"' : ''; ?> value="0"><?php _e('No', 'wpsr'); ?></option>
1449
- <option <?php echo $wpsr_settings_disablewpsr == '1' ? ' selected="selected"' : ''; ?> value="1"><?php _e('Yes', 'wpsr'); ?></option>
1450
- </select></td>
1451
- </tr>
1452
- </table>
1453
- </div>
1454
-
1455
- <div class="footer">
1456
- <input class="button-primary" type="submit" name="wpsr_submit" id="wpsr_submit" value=" <?php _e('Update', 'wpsr'); ?> " />
1457
- <span class="button wpsr_reset_trigger" style="float:right">&nbsp;&nbsp;<?php _e('Reset all', 'wpsr'); ?>&nbsp;&nbsp;</span>
1458
- </div><!-- Footer -->
1459
-
1460
- <span class="wpsr_reset_confirm">
1461
- <input class="button" type="submit" name="wpsr_reset" id="wpsr_reset" value=" <?php _e('Sure', 'wpsr'); ?> " /> | <a class="button wpsr_reset_cancel"> <?php _e('Cancel', 'wpsr'); ?> </a>
1462
- </span>
1463
- </form>
1464
-
1465
- </div><!-- Tabs -->
1466
-
1467
- <p align="center" class="credits"><a href="http://www.aakashweb.com/" title="Aakash Web" target="_blank"><?php _e('a Aakash Web plugin', 'wpsr'); ?></a></p>
1468
- <p align="center"><a href="http://bit.ly/wpsrDonate" target="_blank" title="Like this plugin ? You donation you will keep me up developing this plugin" class="donateLink"><img src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" /></a></p>
1469
- <!-- Credits -->
1470
-
1471
  </div><!-- Wrap -->
1472
  <?php endif; ?>
1473
 
1474
  <?php if(wpsr_show_admin() == 0): ?>
1475
  <!-- Version Intro -->
 
 
 
1476
  <div class="wrap">
1477
- <span class="wpsrVer" style="display:none"><?php echo WPSR_VERSION; ?></span>
1478
- <span class="blogUrl" style="display:none"><?php echo get_option('siteurl'); ?></span>
1479
 
1480
- <div class="introWrap">
1481
- <form method="post">
1482
- <input class="button-primary alignright" style="margin-top:20px" type="submit" name="wpsr_intro_submit" id="wpsr_intro_submit" value=" <?php _e('Start using WP Socializer', 'wpsr'); echo ' v' . WPSR_VERSION; ?> " />
1483
- </form>
1484
- <h2><img width="32" height="32" src="<?php echo WPSR_ADMIN_URL; ?>images/wp-socializer.png" align="absmiddle"/> WP Socializer <sup><span class="smallText">v<?php echo WPSR_VERSION; ?></span></sup></h2>
1485
- <div class="iBox">
1486
 
1487
- <ul class="iShare clearfix">
 
 
1488
  <li><?php echo wpsr_admin_buttons('fb'); ?></li>
1489
  <li><?php echo wpsr_admin_buttons('twitter'); ?></li>
1490
  <li><?php echo wpsr_admin_buttons('+1'); ?></li>
1491
  <li><?php echo wpsr_admin_buttons('at'); ?></li>
1492
  </ul>
1493
 
1494
- <div class="iContent"><img src="<?php echo WPSR_ADMIN_URL . 'images/load.gif'; ?>" /></div>
1495
 
1496
- <p class="irefLinks"><b><a href="http://www.aakashweb.com/wordpress-plugins/wp-socializer/" target="_blank"><?php _e('Full Features', 'wpsr'); ?></a> | <a href="http://www.aakashweb.com/docs/wp-socializer-docs/" target="_blank"><?php _e('Documentation', 'wpsr'); ?></a> | <a href="http://www.aakashweb.com/forum/" target="_blank"><?php _e('Support', 'wpsr'); ?></a> | <a href="http://www.aakashweb.com/forum/" target="_blank"><?php _e('Bug Report', 'wpsr'); ?></a> | <a href="http://www.aakashweb.com/wordpress-plugins/wp-socializer/#videos-tab" target="_blank"><?php _e('Video Demo & Tutorials', 'wpsr'); ?></a></b></p>
1497
-
1498
- </div>
1499
-
1500
- <form class="iForm" method="post">
1501
  <input class="button-primary" type="submit" name="wpsr_intro_submit" id="wpsr_intro_submit" value=" <?php _e('Start using WP Socializer', 'wpsr'); echo ' v' . WPSR_VERSION; ?> " />
1502
  </form>
1503
  </div>
@@ -1511,7 +1247,6 @@ function wpsr_admin_buttons($type){
1511
  switch($type){
1512
  case 'fb':
1513
  return '<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FAakash-Web%2F102453489826234&amp;layout=button_count&amp;show_faces=true&amp;width=48&amp;action=like&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:90px; height:21px;" allowTransparency="true"></iframe>';
1514
- break;
1515
 
1516
  case '+1':
1517
  return '<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script><g:plusone size="medium" href="http://www.aakashweb.com/wordpress-plugins/wp-socializer/"></g:plusone>';
@@ -1522,6 +1257,9 @@ function wpsr_admin_buttons($type){
1522
  case 'at':
1523
  return '<div class="addthis_toolbox addthis_default_style" addthis:url="http://www.aakashweb.com/wordpress-plugins/wp-socializer/" addthis:title="WP Socializer - Wordpress plugin - Aakash Web"><a class="addthis_button_compact"></a><a class="addthis_counter addthis_bubble_style"></a></div>
1524
  <script type="text/javascript">var addthis_share = { templates: {twitter: "Check out http://www.aakashweb.com/wordpress-plugins/wp-socializer/ (from @vaakash)"}}</script><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=vaakash"></script>';
 
 
 
1525
  }
1526
  }
1527
 
@@ -1566,13 +1304,13 @@ function wpsr_add_meta_box() {
1566
  add_action('admin_menu', 'wpsr_add_meta_box');
1567
 
1568
  function wpsr_insert_post($post_id) {
1569
- if ($_POST['wpsr_post_disabletemplate1'] == 1) {
1570
  add_post_meta($post_id, '_wpsr-disable-template1', 1, true);
1571
  }else{
1572
  delete_post_meta($post_id, '_wpsr-disable-template1');
1573
  }
1574
 
1575
- if ($_POST['wpsr_post_disabletemplate2'] == 1) {
1576
  add_post_meta($post_id, '_wpsr-disable-template2', 1, true);
1577
  }else{
1578
  delete_post_meta($post_id, '_wpsr-disable-template2');
4
  * Author : Aakash Chakravarthy
5
  */
6
 
7
+ $wpsr_donate_link = 'http://bit.ly/wpsrDonate';
 
8
  function wpsr_admin_menu() {
9
 
10
  $icon = WPSR_ADMIN_URL .'images/wp-socializer-20.png';
11
 
12
  add_menu_page('WP Socializer - Admin page', 'WP Socializer', 'manage_options', 'wp_socializer', 'wpsr_admin_page', $icon);
13
  add_submenu_page('wp_socializer', 'WP Socializer - Admin page', 'WP Socializer', 'manage_options', 'wp_socializer', 'wpsr_admin_page');
14
+ add_submenu_page('wp_socializer', 'WP Socializer - Floating Share bar', 'Floating Share bar', 'manage_options', 'wp_socializer_floating_bar', 'wpsr_admin_page_floating_bar');
 
15
  add_submenu_page('wp_socializer', 'WP Socializer - In widgets and posts', 'In widgets & posts', 'manage_options', 'wp_socializer_other', 'wpsr_admin_page_other');
16
  }
17
  add_action('admin_menu', 'wpsr_admin_menu');
18
 
19
  ## Load the Javascripts
20
  function wpsr_admin_js() {
21
+ wp_register_script('wpsr-admin-js', WPSR_ADMIN_URL . 'wpsr-admin-js.js');
22
+ $pages = array('wp_socializer', 'wp_socializer_other', 'wp_socializer_floating_bar');
23
+
24
+ if (isset($_GET['page']) && (in_array($_GET['page'], $pages))){
25
+ wp_enqueue_script(array(
26
+ 'jquery',
27
+ 'jquery-ui-core',
28
+ 'jquery-ui-sortable',
29
+ 'jquery-ui-tabs',
30
+ 'wpsr-admin-js'
31
+ ));
32
  }
33
  }
34
  add_action('admin_print_scripts', 'wpsr_admin_js');
35
 
 
36
  ## Load the CSS
37
  function wpsr_admin_css() {
38
+ $pages = array('wp_socializer', 'wp_socializer_other', 'wp_socializer_floating_bar');
39
+
40
+ if (isset($_GET['page']) && (in_array($_GET['page'], $pages))){
41
  wp_enqueue_style('wp-socializer-admin-css', WPSR_ADMIN_URL . 'wpsr-admin-css.css');
42
  }
43
  }
44
  add_action('admin_print_styles', 'wpsr_admin_css');
45
 
46
+ ## The toolbar
47
+ function wpsr_addtoolbar(){
 
 
 
 
 
 
48
  echo
49
  '<div class="toolbar">
50
  <ul class="tbButtons">
51
  <li class="parentLi btn">
52
  <span class="admSprites socialButtons"></span>Social buttons
53
+ <ul class="childMenu">
54
  <li openTag="{social-bts-16px}">Social buttons 16px</li>
55
  <li openTag="{social-bts-32px}">Social buttons 32px</li>
56
  </ul>
58
 
59
  <li class="parentLi btn">
60
  <span class="admSprites addthisIcon"></span>Addthis
61
+ <ul class="childMenu">
62
+ <li class="showTooltip" openTag="{addthis-tb-16px}" data-image="addthis-tb-16px">Toolbox 16px</li>
63
+ <li class="showTooltip" openTag="{addthis-tb-32px}" data-image="addthis-tb-32px">Toolbox 32px</li>
64
+ <li class="showTooltip" openTag="{addthis-sc}" data-image="adthis-sharecount">Sharecount</li>
65
+ <li class="showTooltip" openTag="{addthis-bt}" data-image="addthis-buttons">Buttons</li>
66
  </ul>
67
  </li>
68
 
69
  <li class="parentLi btn">
70
  <span class="admSprites sharethisIcon"></span>Sharethis
71
+ <ul class="childMenu">
72
+ <li class="showTooltip" openTag="{sharethis-vcount}" data-image="sharethis-vcount">Vertical Count</li>
73
+ <li class="showTooltip" openTag="{sharethis-hcount}" data-image="sharethis-hcount">Horizontal Count</li>
74
+ <li class="showTooltip" openTag="{sharethis-large}" data-image="sharethis-large">Large Buttons</li>
75
+ <li class="showTooltip" openTag="{sharethis-regular}" data-image="sharethis-regular">Regular Buttons</li>
76
+ <li class="showTooltip" openTag="{sharethis-regular2}" data-image="sharethis-regular-notext">Regular Buttons (no-text)</li>
77
+ <li class="showTooltip" openTag="{sharethis-bt}" data-image="sharethis-buttons">Buttons</li>
78
+ <li class="showTooltip" openTag="{sharethis-classic}" data-image="sharethis-classic">Classic</li>
79
  </ul>
80
  </li>
81
 
82
  <li class="parentLi btn">
83
  <span class="admSprites facebookIcon"></span>Facebook
84
+ <ul class="childMenu">
85
  <li openTag="{facebook-like}">Like button</li>
86
+ <li openTag="{facebook-send}">Like button + Send button</li>
87
  </ul>
88
  </li>
89
 
90
  <li class="parentLi btn">
91
  <span class="admSprites googleplusIcon"></span>Google
92
+ <ul class="childMenu">
93
  <li openTag="{plusone-small}">+1 - Small</li>
94
  <li openTag="{plusone-medium}">+1 - Medium</li>
95
  <li openTag="{plusone-standard}">+1 - Standard</li>
99
 
100
  <li class="parentLi btn">
101
  <span class="admSprites retweetIcon"></span>Retweet & Digg
102
+ <ul class="childMenu">
103
  <li openTag="{retweet-bt}">Retweet button</li>
104
  <li openTag="{digg-bt}">Digg button</li>
105
  </ul>
107
 
108
  <li class="parentLi btn">
109
  <span class="admSprites stumbleuponIcon"></span>StumbleUpon
110
+ <ul class="childMenu">
111
+ <li class="showTooltip" openTag="{stumbleupon-1}" data-image="stumbleupon-bts">Type 1</li>
112
+ <li class="showTooltip" openTag="{stumbleupon-2}" data-image="stumbleupon-bts">Type 2</li>
113
+ <li class="showTooltip" openTag="{stumbleupon-3}" data-image="stumbleupon-bts">Type 3</li>
114
+ <li class="showTooltip" openTag="{stumbleupon-5}" data-image="stumbleupon-bts">Type 5</li>
115
  </ul>
116
  </li>
117
 
118
  <li class="parentLi btn">
119
  <span class="admSprites redditIcon"></span>Reddit
120
+ <ul class="childMenu">
121
+ <li class="showTooltip" openTag="{reddit-1}" data-image="reddit-bts">Type 1</li>
122
+ <li class="showTooltip" openTag="{reddit-2}" data-image="reddit-bts">Type 2</li>
123
+ <li class="showTooltip" openTag="{reddit-3}" data-image="reddit-bts">Type 3</li>
124
  </ul>
125
  </li>
126
 
127
  <li class="parentLi btn">
128
  <span class="admSprites linkedinIcon"></span>LinkedIn
129
+ <ul class="childMenu">
130
+ <li class="showTooltip" openTag="{linkedin-standard}" data-image="linkedin-bts">Type 1</li>
131
+ <li class="showTooltip" openTag="{linkedin-right}" data-image="linkedin-bts">Type 2</li>
132
+ <li class="showTooltip" openTag="{linkedin-top}" data-image="linkedin-bts">Type 3</li>
133
+ </ul>
134
+ </li>
135
+
136
+ <li class="parentLi btn">
137
+ <span class="admSprites pinterestIcon"></span>Pinterest
138
+ <ul class="childMenu">
139
+ <li class="showTooltip" openTag="{pinterest-nocount}" data-image="pinterest-bts">Type 1</li>
140
+ <li class="showTooltip" openTag="{pinterest-horizontal}" data-image="pinterest-bts">Type 2</li>
141
+ <li class="showTooltip" openTag="{pinterest-vertical}" data-image="pinterest-bts">Type 3</li>
142
  </ul>
143
  </li>
144
 
145
  <li class="parentLi btn">
146
  <span class="admSprites customIcon"></span>Other buttons
147
+ <ul class="childMenu">
148
  <li openTag="{custom-1}">Custom 1</li>
149
  <li openTag="{custom-2}">Custom 2</li>
150
  </ul>
151
  </li>
152
 
153
  <li class="parentLi btn">Headings
154
+ <ul class="childMenu">
155
  <li openTag="&lt;h1&gt;" closeTag="&lt;/h1&gt;">Heading 1</li>
156
  <li openTag="&lt;h2&gt;" closeTag="&lt;/h2&gt;">Heading 2</li>
157
  <li openTag="&lt;h3&gt;" closeTag="&lt;/h3&gt;">Heading 3</li>
162
  </li>
163
 
164
  <li class="parentLi btn">Float
165
+ <ul class="childMenu">
166
  <li openTag=\' style="float:left"\'>Float Left</li>
167
  <li openTag=\' style="float:right"\'>Float Right</li>
168
  </ul>
170
 
171
  </ul>
172
 
173
+ <ul class="tbButtons">
174
  <li class="btn" openTag="&lt;p&gt;" closeTag="&lt;/p&gt;">p</li>
175
  <li class="btn" openTag="&lt;/br&gt;">br</li>
176
  <li class="btn" openTag="&lt;span&gt;" closeTag="&lt;/span&gt;">span</li>
186
 
187
  ## Default values
188
  function wpsr_reset_values(){
189
+ $wpsr_temp1_def = '<div class="wp-socializer-buttons clearfix">
190
+ <span class="wpsr-btn">{facebook-like}</span>
191
+ <span class="wpsr-btn">{retweet-bt}</span>
192
+ <span class="wpsr-btn">{plusone-medium}</span>
193
+ <span class="wpsr-btn">{linkedin-right}</span>
194
+ <span class="wpsr-btn">{stumbleupon-1}</span>
195
  </div>';
196
 
197
+ $wpsr_temp2_def = '<h3>' . __('Share and Enjoy' ,'wpsr') . '</h3>
198
  {social-bts-32px}';
199
 
200
  ## Addthis defaults
207
 
208
  $wpsr_addthis['btbrand'] = '';
209
  $wpsr_addthis['clickback'] = 1;
 
 
210
 
211
  update_option("wpsr_addthis_data", $wpsr_addthis);
212
 
244
  $wpsr_facebook['verb'] = 'like';
245
  $wpsr_facebook['font'] = 'arial';
246
  $wpsr_facebook['color'] = 'light';
247
+ $wpsr_facebook['appid'] = '';
 
 
248
 
249
  update_option("wpsr_facebook_data", $wpsr_facebook);
250
 
251
  ## Social Button Defaults
252
+ $wpsr_socialbt['selected16px'] = 'facebook,twitter,delicious,linkedin,stumbleupon,addtofavorites,email,rss';
253
+ $wpsr_socialbt['selected32px'] = 'facebook,twitter,delicious,linkedin,stumbleupon,addtofavorites,email,rss';
254
  $wpsr_socialbt['target'] = 0;
255
  $wpsr_socialbt['target'] = 1;
256
  $wpsr_socialbt['loadcss'] = 1;
283
  $wpsr_template1['infeed'] = 0;
284
  $wpsr_template1['abvcontent'] = 1;
285
  $wpsr_template1['blwcontent'] = 0;
 
286
 
287
  update_option("wpsr_template1_data", $wpsr_template1);
288
 
340
  ## Get the global variables
341
  global $wpsr_socialsites_list, $wpsr_addthis_lang_array, $wpsr_button_code_list, $wpsr_donate_link;
342
 
343
+ if (function_exists('current_user_can') && !current_user_can('manage_options'))
344
+ die(__('Sorry you do not have enough previliges to access this page.'));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
345
 
346
+ if (isset($_POST['wpsr_reset'])){
347
  wpsr_reset_values();
348
  $wpsr_reseted = true;
349
  }
350
 
351
+ if (isset($_POST['wpsr_intro_submit'])){
352
  update_option("wpsr_version", WPSR_VERSION);
353
  }
354
 
355
+ if (isset($_POST["wpsr_submit"])) {
356
  ## Addthis options
357
  $wpsr_addthis['username'] = $_POST['wpsr_addthis_username'];
358
  $wpsr_addthis['language'] = $_POST['wpsr_addthis_lang'];
364
 
365
  $wpsr_addthis['btbrand'] = $_POST['wpsr_addthis_btbrand'];
366
  $wpsr_addthis['clickback'] = $_POST['wpsr_addthis_clickback'];
 
 
367
 
368
  update_option("wpsr_addthis_data", $wpsr_addthis);
369
 
401
  $wpsr_facebook['verb'] = $_POST['wpsr_facebook_verb'];
402
  $wpsr_facebook['font'] = $_POST['wpsr_facebook_font'];
403
  $wpsr_facebook['color'] = $_POST['wpsr_facebook_color'];
404
+ $wpsr_facebook['appid'] = $_POST['wpsr_facebook_appid'];
 
 
405
 
406
  update_option("wpsr_facebook_data", $wpsr_facebook);
407
 
426
 
427
  update_option("wpsr_custom_data", $wpsr_custom);
428
 
429
+ ## Placement OptionS
430
+ $wpsr_templates = $_POST['wpsr_template'];
431
+ $templates = get_option('wpsr_templates'); // Get the list of templates defined
432
+
433
+ foreach($templates as $k => $v){
434
+ $wpsr_template_temp['content'] = stripslashes($wpsr_templates[$k]['content']);
435
+ $wpsr_template_temp['inhome'] = $wpsr_templates[$k]['inhome'];
436
+ $wpsr_template_temp['insingle'] = $wpsr_templates[$k]['insingle'];
437
+ $wpsr_template_temp['inpage'] = $wpsr_templates[$k]['inpage'];
438
+ $wpsr_template_temp['incategory'] = $wpsr_templates[$k]['incategory'];
439
+ $wpsr_template_temp['intag'] = $wpsr_templates[$k]['intag'];
440
+ $wpsr_template_temp['indate'] = $wpsr_templates[$k]['indate'];
441
+ $wpsr_template_temp['inauthor'] = $wpsr_templates[$k]['inauthor'];
442
+ $wpsr_template_temp['insearch'] = $wpsr_templates[$k]['insearch'];
443
+ $wpsr_template_temp['inexcerpt'] = $wpsr_templates[$k]['inexcerpt'];
444
+ $wpsr_template_temp['infeed'] = $wpsr_templates[$k]['infeed'];
445
+ $wpsr_template_temp['abvcontent'] = $wpsr_templates[$k]['abvcontent'];
446
+ $wpsr_template_temp['blwcontent'] = $wpsr_templates[$k]['blwcontent'];
447
+ $wpsr_template_temp['addp'] = $wpsr_templates[$k]['addp'];
448
+
449
+ update_option("wpsr_template" . $k . "_data", $wpsr_template_temp);
450
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
451
 
452
  ## Settings options
453
  $wpsr_settings['rssurl'] = $_POST['wpsr_settings_rssurl'];
466
  }
467
 
468
  if($wpsr_updated == true){
469
+ echo "<div class='message updated autoHide'><p>" . __('Updated successfully', 'wpsr') . "</p></div>";
470
  }
471
 
472
  if($wpsr_reseted == true){
473
+ echo "<div class='message updated autoHide'><p>" . __('Values are set to defaults successfully', 'wpsr') . "</p></div>";
474
  }
475
 
476
  if($wpsr_v1fix == true){
477
+ echo "<div class='message updated autoHide'><p>" . __('You have upgraded from version 1.0, So some settings are fixed to suit new version.', 'wpsr') . "</p></div>";
478
  }
 
 
 
479
 
480
+ ## Assign the defaults to temp variables
481
+ $wpsr_addthis = get_option('wpsr_addthis_data');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
482
  $wpsr_sharethis = get_option('wpsr_sharethis_data');
 
 
 
 
 
 
 
 
 
 
 
483
  $wpsr_retweet = get_option('wpsr_retweet_data');
 
 
 
 
 
 
 
 
 
484
  $wpsr_digg = get_option('wpsr_digg_data');
 
 
 
 
485
  $wpsr_facebook = get_option('wpsr_facebook_data');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
486
  $wpsr_socialbt = get_option('wpsr_socialbt_data');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
487
  $wpsr_custom = get_option('wpsr_custom_data');
 
 
 
 
 
488
  $wpsr_template1 = get_option('wpsr_template1_data');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
489
  $wpsr_template2 = get_option('wpsr_template2_data');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
490
  $wpsr_settings = get_option('wpsr_settings_data');
491
 
492
+ ## For new users set the defaults
493
+ if($wpsr_template1 == '' && $wpsr_template2 == ''){
494
+ wpsr_reset_values();
495
+ }
496
+
497
+ ## Assign the values of the template temporary
498
+ $templates = get_option('wpsr_templates');
499
+ foreach($templates as $k => $v){
500
+ $wpsr_template[$k] = get_option('wpsr_template' . $k . '_data');
501
+ }
502
 
503
+ if($wpsr_socialbt['imgpath16px'] == WPSR_URL . 'social-icons/16/'){
504
+ wpsr_version1_fix();
505
+ $wpsr_v1fix = true;
506
+ }
507
+
508
+ if($wpsr_settings['disablewpsr']){
509
+ $wpsr_is_disabled = ' | <span class="redText">' . __('Disabled', 'wpsr') . '</span>';
510
+ }
511
 
512
  ?>
513
 
514
+ <!-- Hidden fields -->
515
+ <div style="display:none">
516
+ <span class="wpsrAdminUrl"><?php echo WPSR_ADMIN_URL; ?></span>
517
+ <span class="tmplUrl"><?php echo WPSR_ADMIN_URL . 'templates/templates.xml'; ?></span>
518
+ <span class="tmplImg"><?php echo WPSR_ADMIN_URL . 'templates/'; ?></span>
519
+ <span class="wpsrVer" style="display:none"><?php echo WPSR_VERSION; ?></span>
520
+ </div>
521
+
522
  <?php if(wpsr_show_admin() == 1): ?>
523
  <!-- Main ADMIN page -->
524
  <div class="wrap">
 
 
 
525
  <div class="header">
526
+ <?php echo wpsr_admin_buttons('fbrec'); ?>
527
+ <h2><img width="32" height="32" src="<?php echo WPSR_ADMIN_URL; ?>images/wp-socializer.png" align="absmiddle"/>&nbsp;WP Socializer<span class="smallText"> v<?php echo WPSR_VERSION; ?><?php echo $wpsr_is_disabled; ?></span></h2>
528
+ </div><!-- Header -->
529
+
530
+ <ul class="wpsr_share_wrap">
531
+ <li class="wpsr_donate" data-width="300" data-height="220" data-url="<?php echo WPSR_ADMIN_URL . 'js/share.php?i=1'; ?>"><a href="#"></a></li>
532
+ <li class="wpsr_share" data-width="350" data-height="85" data-url="<?php echo WPSR_ADMIN_URL . 'js/share.php?i=2'; ?>"><a href="#"></a></li>
533
+ </ul>
534
+
535
+ <form id="content" method="post">
536
+ <ul id="tabs" class="clearfix">
537
+ <li><a href="#tab-1">Start</a></li>
538
+ <li><a href="#tab-2">Buttons</a></li>
539
+ <li><a href="#tab-3">Placement</a></li>
540
+
541
+ <li style="float:right"><a href="#tab-5" class="helpTab">Help</a></li>
542
+ <li style="float:right"><a href="#tab-4">Settings</a></li>
543
+ </ul>
544
 
545
+ <div id="tab-1" class="clearfix">
546
+ <div class="leftCnt">
547
+ <h2>One click - setup</h2>
548
+ <p>Start using WP Socializer by selecting pre-made set of button templates for your site. Just select the button set you like to use and Save the settings.</p>
549
+
550
+ <div class="startBt"><span data-win="winTemplates" data-title="Select a template">Select an Inbuilt template</span></div>
551
+
552
+ <p align="center">(or)</p>
553
+
554
+ <h2>Manual setup</h2>
555
+ <p>If you want to use your own customized button set for your site, then just move further to create your customized buttons template.</p>
556
+
557
+ <div class="startBt" data-tab="2"><span>Manual customization</span></div>
558
+
559
  </div>
560
 
561
+ <div class="rightCnt">
562
+ <h5>Note</h5>
563
+ <p class="note">After selecting an Inbuilt template. You can also customize it under the "<a data-tab="3" href="#tab-2">Placement</a>" tab.</p>
564
+ <h5>Floating Share bar</h5>
565
+ <p class="note">Customize the floating share bar in <a href="admin.php?page=wp_socializer_floating_bar">this page</a>.</p>
566
+ <h5>Other Useful plugins</h5>
567
+ <p class="note">
568
+ - <a href="http://www.aakashweb.com/wordpress-plugins/html-javascript-adder/" target="_blank">HTML Javascript Adder</a><br />
569
+ - <a href="http://www.aakashweb.com/wordpress-plugins/shortcoder/" target="_blank">Shortcoder</a><br />
570
+ - <a href="http://www.aakashweb.com/wordpress-plugins/super-rss-reader/" target="_blank">Super RSS Reader</a><br />
571
+ - <a href="http://www.aakashweb.com/wordpress-plugins/announcer/" target="_blank">Announcer</a><br />
572
+ - <a href="http://www.aakashweb.com/wordpress-plugins/wp-selected-text-sharer/" target="_blank">WP Selected text Sharer</a>
573
+ </p>
574
  </div>
575
+ </div>
576
+
577
+ <div id="tab-2" class="clearfix">
578
+ <div class="leftCnt">
579
+ <h3 class="noToggle">Edit button properties: </h3>
580
+ <p>Click to edit the button properties.</p>
581
+ <ul class="buttonsList clearfix">
582
+ <li data-win="winSocialBts" data-width="85%" data-title="Social Buttons"><span class="admSprites socialButtons"></span> Social buttons</li>
583
+ <li data-win="winAddthis" data-title="Addthis"><span class="admSprites addthisIcon"></span> Addthis</li>
584
+ <li data-win="winSharethis" data-title="Sharethis"><span class="admSprites sharethisIcon"></span> Sharethis</li>
585
+ <li data-win="winRetweetDigg" data-title="Retweet and Digg"><span class="admSprites retweetIcon"></span> Retweet &amp; Digg</li>
586
+ <li data-win="winFacebook" data-title="Facebook"><span class="admSprites facebookIcon"></span> Facebook</li>
587
+ <li data-win="winCustom" data-title="Custom buttons"><span class="admSprites customIcon"></span> Add a custom button</li>
588
+ </ul>
589
+
590
+ <p class="nextStep" data-tab="3">Next step: Insert these customized buttons in the template</p>
591
+
592
+ </div><!-- Left content -->
593
 
594
+ <div class="rightCnt">
595
+ <h5>Note</h5>
596
+ <p class="note">Other buttons like Google +1, StumbleUpon, Reddit, Pinterest do not have settings to be customized. <br/> <br/> Just use them directly in the template.</p>
597
  </div>
598
 
599
+ </div><!-- Tab - 2-->
600
+
601
+ <div id="tab-3">
602
+ <ul id="subTabs" class="clearfix">
603
+ <?php
604
+ $templates = get_option('wpsr_templates');
605
+ foreach($templates as $k => $v){
606
+ echo '<li data-editor="wpsr_template[' . $k . '][content]">
607
+ <a href="#sub-tab-' . $k . '">' . $v['name'] . '</a>
608
+ </li>';
609
+ }
610
+ ?>
611
+ </ul>
612
+
613
+ <div class="toolbar clearfix">
614
+ <?php wpsr_addtoolbar(); ?>
 
 
615
  </div>
616
 
617
+ <?php
618
+ foreach($templates as $k => $v):
619
+ ?>
620
+ <div id="sub-tab-<?php echo $k; ?>">
621
+ <div class="section">
622
+ <textarea class="wpsr_content" name="wpsr_template[<?php echo $k; ?>][content]" id="wpsr_template[<?php echo $k; ?>][content]" rows="7"><?php echo $wpsr_template[$k]['content']; ?></textarea>
623
+ </div>
624
+
625
+ <h3>Where to show these buttons ?</h3>
626
+ <div class="section">
627
+ <table width="100%" border="0">
628
+ <tr>
629
+ <td><label><input name="wpsr_template[<?php echo $k; ?>][inhome]" id="wpsr_template[<?php echo $k; ?>][inhome]" type="checkbox" value="1" <?php echo $wpsr_template[$k]['inhome'] == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in front page', 'wpsr'); ?></label> <br />
630
+
631
+ <label><input name="wpsr_template[<?php echo $k; ?>][insingle]" id="wpsr_template[<?php echo $k; ?>][insingle]" type="checkbox" value="1" <?php echo $wpsr_template[$k]['insingle'] == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in individual posts', 'wpsr'); ?></label> <br />
632
+
633
+ <label><input name="wpsr_template[<?php echo $k; ?>][inpage]" id="wpsr_template[<?php echo $k; ?>][inpage]" type="checkbox" value="1" <?php echo $wpsr_template[$k]['inpage'] == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in pages', 'wpsr'); ?></label> <br />
634
 
635
+ <label><input name="wpsr_template[<?php echo $k; ?>][incategory]" id="wpsr_template[<?php echo $k; ?>][incategory]" type="checkbox" value="1" <?php echo $wpsr_template[$k]['incategory'] == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in Category pages', 'wpsr'); ?></label> <br />
636
+
637
+ <label><input name="wpsr_template[<?php echo $k; ?>][intag]" id="wpsr_template[<?php echo $k; ?>][intag]" type="checkbox" value="1" <?php echo $wpsr_template[$k]['intag'] == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in Tag pages', 'wpsr'); ?></label></td>
638
+ <td><label><input name="wpsr_template[<?php echo $k; ?>][indate]" id="wpsr_template[<?php echo $k; ?>][indate]" type="checkbox" value="1" <?php echo $wpsr_template[$k]['indate'] == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in date archives', 'wpsr'); ?></label> <br />
639
+
640
+ <label><input name="wpsr_template[<?php echo $k; ?>][inauthor]" id="wpsr_template[<?php echo $k; ?>][inauthor]" type="checkbox" value="1" <?php echo $wpsr_template[$k]['inauthor'] == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in author pages', 'wpsr'); ?></label> <br />
641
+
642
+ <label><input name="wpsr_template[<?php echo $k; ?>][insearch]" id="wpsr_template[<?php echo $k; ?>][insearch]" type="checkbox" value="1" <?php echo $wpsr_template[$k]['insearch'] == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in search pages', 'wpsr'); ?></label> <br />
643
+
644
+ <label><input name="wpsr_template[<?php echo $k; ?>][inexcerpt]" id="wpsr_template[<?php echo $k; ?>][inexcerpt]" type="checkbox" value="1" <?php echo $wpsr_template[$k]['inexcerpt'] == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in Excerpt', 'wpsr'); ?></label> <br />
645
+
646
+ <label><input name="wpsr_template[<?php echo $k; ?>][infeed]" id="wpsr_template[<?php echo $k; ?>][infeed]" type="checkbox" value="1" <?php echo $wpsr_template[$k]['infeed'] == "1" ? 'checked="checked"' : ""; ?> /> <?php _e('Show in RSS feeds', 'wpsr'); ?></label></td>
647
+ </tr>
648
+ </table>
649
+ </div>
650
+
651
+ <h3>Where to position these buttons ?</h3>
652
+ <div class="section">
653
+ <label><input name="wpsr_template[<?php echo $k; ?>][abvcontent]" id="wpsr_template[<?php echo $k; ?>][abvcontent]" type="checkbox" value="1" <?php echo $wpsr_template[$k]['abvcontent'] == "1" ? 'checked="checked"' : ""; ?> />
654
+ <?php _e('Above content', 'wpsr'); ?></label>
655
+
656
+ <label><input name="wpsr_template[<?php echo $k; ?>][blwcontent]" id="wpsr_template[<?php echo $k; ?>][blwcontent]" type="checkbox" value="1" <?php echo $wpsr_template[$k]['blwcontent'] == "1" ? 'checked="checked"' : ""; ?> />
657
+ <?php _e('Below content', 'wpsr'); ?></label>
658
+ </div>
659
+
660
+ <br />
661
+ <h5>Note:</h5>
662
+ <p class="note">Use the menu above to insert the buttons into the template<br/>All HTML/CSS tags can be used. The button codes can be wrapped with HTML tags for proper aligning.</p>
663
+
664
+ </div>
665
+ <?php endforeach; ?>
666
+
667
+ </div><!-- Tab - 3-->
668
+
669
+ <div id="tab-4">
670
+ <h3>RSS <?php _e('Settings', 'wpsr'); ?></h3>
671
+ <div class="section">
672
+ <table width="100%" height="39" border="0">
673
+ <tr>
674
+ <td width="49%" height="35">RSS <?php _e('URL', 'wpsr'); ?><br />
675
+ <span class="smallText"><?php _e('Leave blank to use default Wordpress RSS feed.', 'wpsr'); ?> <br/><?php _e('You can use Feedburner feed URL also', 'wpsr'); ?></span></td>
676
+ <td width="51%"><input name="wpsr_settings_rssurl" type="text" id="wpsr_settings_rssurl" value="<?php echo $wpsr_settings['rssurl']; ?>" size="60"/>
677
+ </td>
678
+ </tr>
679
+ </table>
680
+ </div>
681
+
682
+ <h3>Bit.ly <?php _e('Integration', 'wpsr'); ?></h3>
683
+ <div class="section">
684
+ <table width="100%" height="39" border="0">
685
+ <tr>
686
+ <td width="49%" height="35"><label for="wpsr_settings_bitlyusername">Bit.ly <?php _e('Username', 'wpsr'); ?></label></td>
687
+ <td width="51%"><input name="wpsr_settings_bitlyusername" id="wpsr_settings_bitlyusername" type="text" value="<?php echo $wpsr_settings['bitlyusername']; ?>"/></td>
688
+ </tr>
689
+
690
+ <tr>
691
+ <td width="49%" height="35"><label for="wpsr_settings_bitlyapi">Bit.ly API Key</label></td>
692
+ <td width="51%"><input name="wpsr_settings_bitlyapi" id="wpsr_settings_bitlyapi" type="text" value="<?php echo $wpsr_settings['bitlyapi']; ?>"/></td>
693
+ </tr>
694
+
695
+ </table>
696
+ </div>
697
+
698
+ <h3><?php _e('WP Socializer Settings', 'wpsr'); ?></h3>
699
+ <div class="section">
700
+ <table width="100%" height="84" border="0">
701
+ <tr>
702
+ <td width="49%" height="40"><label for="wpsr_settings_scriptsplace"><?php _e('Load button scripts in ', 'wpsr'); ?></label></td>
703
+ <td width="51%"><select id="wpsr_settings_scriptsplace" name="wpsr_settings_scriptsplace">
704
+ <option <?php echo $wpsr_settings['scriptsplace'] == 'header' ? ' selected="selected"' : ''; ?> value="header"><?php _e('Header (recommended)', 'wpsr'); ?></option>
705
+ <option <?php echo $wpsr_settings['scriptsplace'] == 'footer' ? ' selected="selected"' : ''; ?> value="footer"><?php _e('Footer', 'wpsr'); ?></option>
706
+ </select></td>
707
+ </tr>
708
+ <tr>
709
+ <td height="34"><?php _e('Load WP Socializer CSS', 'wpsr'); ?>
710
+ <br /><span class="smallText"><?php _e('Note: templates, hover effects &amp; column will not work', 'wpsr'); ?></span></td>
711
+ <td><select id="wpsr_socialbt_loadcss" name="wpsr_socialbt_loadcss">
712
+ <option <?php echo $wpsr_socialbt['loadcss'] == '1' ? ' selected="selected"' : ''; ?> value="1">
713
+ <?php _e('Yes', 'wpsr'); ?>
714
+ </option>
715
+ <option <?php echo $wpsr_socialbt['loadcss'] == '0' ? ' selected="selected"' : ''; ?> value="0">
716
+ <?php _e('No', 'wpsr'); ?>
717
+ </option>
718
+ </select></td>
719
+ </tr>
720
+ </table>
721
+ </div>
722
+
723
+ <h3><?php _e('Disable WP Socializer', 'wpsr'); ?></h3>
724
+ <div class="section">
725
+ <table width="100%" height="39" border="0">
726
+ <tr>
727
+ <td width="49%" height="35"><?php _e('Temporarily disable all WP-Socializer buttons ', 'wpsr'); ?><br />
728
+ <span class="smallText"><?php _e('Disabling will stop displaying all buttons, templates', 'wpsr'); ?></span></td>
729
+ <td width="51%"><select id="wpsr_settings_disablewpsr" name="wpsr_settings_disablewpsr">
730
+ <option <?php echo $wpsr_settings['disablewpsr'] == '0' ? ' selected="selected"' : ''; ?> value="0"><?php _e('No', 'wpsr'); ?></option>
731
+ <option <?php echo $wpsr_settings['disablewpsr'] == '1' ? ' selected="selected"' : ''; ?> value="1"><?php _e('Yes', 'wpsr'); ?></option>
732
+ </select>
733
+ </td>
734
+ </tr>
735
+ </table>
736
+ </div>
737
+
738
+ </div><!-- Tab - 4 -->
739
 
740
+ <div id="tab-5">
741
+ <h3>Help</h3>
742
+ <div class="section helpBox">
743
+ <p>Click the "Help" tab to load the help file.</p>
744
+ </div>
745
+ </div>
746
 
747
+ <div class="footer">
748
+ <input class="button-primary" type="submit" name="wpsr_submit" id="wpsr_submit" value="<?php _e('Update', 'wpsr'); ?>" />
749
+ <input class="button alignright" type="submit" name="wpsr_reset" id="wpsr_reset" value=" <?php _e('Reset', 'wpsr'); ?> " />
750
+ </div>
 
 
 
 
 
 
751
 
 
752
 
 
 
 
 
 
753
 
754
+ <!-- Button settings -->
755
+ <div class="window">
756
+
757
+ <!-- SOCIAL BTS -->
758
+ <div class="inWindow winSocialBts">
759
+ <input type="hidden" id="wpsr_socialbt_selected16px" name="wpsr_socialbt_selected16px" value="<?php echo $wpsr_socialbt['selected16px']; ?>" />
760
+ <input type="hidden" id="wpsr_socialbt_selected32px" name="wpsr_socialbt_selected32px" value="<?php echo $wpsr_socialbt['selected32px']; ?>" />
761
+ <h3>Select the required social bookmarking buttons</h3>
762
+
763
+ <div class="section clearfix">
764
+
765
+ <span class="smallText"><?php _e('Click the icon size to select and "x" button to remove selected. Click and drag to reorder selected sites', 'wpsr'); ?></span>
766
+
767
+ <div class="sbLeftCnt">
768
+ <h5><?php _e('Available buttons', 'wpsr'); ?> <input type="text" placeholder="Filter..." id="sbFilter" title="<?php _e('Filter buttons', 'wpsr'); ?>"/></h5>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
769
 
770
+ <?php
771
+ $spriteImage16px = WPSR_SOCIALBT_IMGPATH . 'wp-socializer-sprite-16px.png';
772
+ $spriteMaskImage16px = WPSR_SOCIALBT_IMGPATH . 'wp-socializer-sprite-mask-16px.gif';
773
 
774
+ echo '<ul id="sbList">';
775
+ foreach ($wpsr_socialsites_list as $sitename => $property) {
 
 
 
776
 
777
+ $spritesYCoord = get_sprite_coord($sitename, $wpsr_socialsites_list, '16px');
778
+ $finalSprites = '0px -' . $spritesYCoord . 'px'; 'wp-socializer-sprite-mask-16px.gif';
779
+
780
+ echo
781
+ "\n<li>" .
782
+ '<img src="' . $spriteMaskImage16px . '" alt="' . $sitename . '" style="background-position:' . $finalSprites . '" />' .
783
+ '<span class="sbName">' . $sitename . '</span>' .
784
+ '<span class="sbAdd sbAdd_16px" data-pixel="16">16</span>';
785
+
786
+ if($property['support32px'] == 1){
787
+ echo '<span class="sbAdd sbAdd_32px" data-pixel="32">32</span>';
788
+ }
789
+ echo "</li>\n";
790
  }
791
+ echo '</ul>';
792
+ ?>
 
 
793
  </div>
794
+
795
+ <div class="sbRightCnt">
796
  <h4><?php _e('Selected buttons', 'wpsr'); ?> | 16px </h4>
797
+ <ul class="sbSelList" id="sbSelList_16px">
798
  <?php
799
+ $wpsr_socialbt_splited16px = explode(',', $wpsr_socialbt['selected16px']);
 
800
  for($i=0; $i < count($wpsr_socialbt_splited16px); $i++){
801
+ echo '<li><span class="sbName">' . $wpsr_socialbt_splited16px[$i] . '</span><span class="sbDelete">x</span></li>' . "\n";
802
  }
 
803
  ?>
804
  </ul>
805
+
 
 
806
  <h4><?php _e('Selected buttons', 'wpsr'); ?> | 32px</h4>
807
+ <ul class="sbSelList" id="sbSelList_32px">
808
  <?php
809
+ $wpsr_socialbt_splited32px = explode(',', $wpsr_socialbt['selected32px']);
 
810
  for($i=0; $i < count($wpsr_socialbt_splited32px); $i++){
811
+ echo '<li><span class="sbName">' . $wpsr_socialbt_splited32px[$i] . '</span><span class="sbDelete">x</span></li>';
812
  }
 
813
  ?>
814
  </ul>
815
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
816
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
817
  </div>
818
 
819
+ <h3><?php _e('Settings', 'wpsr'); ?></h3>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
820
  <div class="section">
821
  <table width="100%" border="0">
822
  <tr>
823
+ <td height="35"><?php _e('Open links in new tab/window', 'wpsr'); ?></td>
824
+ <td><select id="wpsr_socialbt_target" name="wpsr_socialbt_target">
825
+ <option <?php echo $wpsr_socialbt['target'] == '1' ? ' selected="selected"' : ''; ?> value="1"><?php _e('Yes', 'wpsr'); ?></option>
826
+ <option <?php echo $wpsr_socialbt['target'] == '0' ? ' selected="selected"' : ''; ?> value="0"><?php _e('No', 'wpsr'); ?></option>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
827
  </select></td>
828
  </tr>
829
+
 
 
 
 
 
 
 
 
 
830
  <tr>
831
+ <td height="35"><?php _e('Add <code>rel="nofollow"</code> attribute to links', 'wpsr'); ?></td>
832
+ <td><select id="wpsr_socialbt_nofollow" name="wpsr_socialbt_nofollow">
833
+ <option <?php echo $wpsr_socialbt['nofollow'] == '1' ? ' selected="selected"' : ''; ?> value="1"><?php _e('Yes', 'wpsr'); ?></option>
834
+ <option <?php echo $wpsr_socialbt['nofollow'] == '0' ? ' selected="selected"' : ''; ?> value="0"><?php _e('No', 'wpsr'); ?></option>
 
835
  </select></td>
836
  </tr>
837
+
838
  <tr>
839
+ <td height="35"><?php _e('Image on Hover effect', 'wpsr'); ?> </td>
840
+ <td><select id="wpsr_socialbt_effect" name="wpsr_socialbt_effect">
841
+ <option <?php echo $wpsr_socialbt['effect'] == 'jump' ? ' selected="selected"' : ''; ?> value="jump">Jump Effect</option>
842
+ <option <?php echo $wpsr_socialbt['effect'] == 'opacity' ? ' selected="selected"' : ''; ?> value="opacity">Transparency Effect</option>
843
+ <option <?php echo $wpsr_socialbt['effect'] == 'none' ? ' selected="selected"' : ''; ?> value="none"><?php _e('No Effect', 'wpsr'); ?></option>
844
  </select></td>
845
  </tr>
846
  <tr>
847
+ <td height="40"><?php _e('Show Label for buttons', 'wpsr'); ?> </td>
848
+ <td><select id="wpsr_socialbt_label" name="wpsr_socialbt_label">
849
+ <option <?php echo $wpsr_socialbt['label'] == '1' ? ' selected="selected"' : ''; ?> value="1"><?php _e('Yes', 'wpsr'); ?></option>
850
+ <option <?php echo $wpsr_socialbt['label'] == '0' ? ' selected="selected"' : ''; ?> value="0"><?php _e('No', 'wpsr'); ?></option>
 
 
 
 
851
  </select></td>
852
  </tr>
853
  <tr>
854
+ <td height="53"><?php _e('Show Icons in', 'wpsr'); ?> <br />
855
+ <span class="smallText"><?php _e('Very very effective when labels are enabled (try it)', 'wpsr'); ?></span> </td>
856
+ <td><select id="wpsr_socialbt_columns" name="wpsr_socialbt_columns">
857
+ <option <?php echo $wpsr_socialbt['columns'] == 'no' ? ' selected="selected"' : ''; ?> value="no">No Column</option>
858
+ <option <?php echo $wpsr_socialbt['columns'] == '5' ? ' selected="selected"' : ''; ?> value="5">5 Columns</option>
859
+ <option <?php echo $wpsr_socialbt['columns'] == '4' ? ' selected="selected"' : ''; ?> value="4">4 Columns</option>
860
+ <option <?php echo $wpsr_socialbt['columns'] == '3' ? ' selected="selected"' : ''; ?> value="3">3 Columns</option>
861
+ <option <?php echo $wpsr_socialbt['columns'] == '2' ? ' selected="selected"' : ''; ?> value="2">2 Columns</option>
862
  </select></td>
863
  </tr>
864
  <tr>
865
+ <td height="53"><?php _e('Image folder', 'wpsr'); ?><br />
866
+ <span class="smallText"><?php _e('Leave blank to use default', 'wpsr'); ?></span> </td>
867
+ <td>
868
+ <input name="wpsr_socialbt_imgpath16px" type="text" id="wpsr_socialbt_imgpath16px" value="<?php echo (empty($wpsr_socialbt['imgpath16px'])) ? WPSR_SOCIALBT_IMGPATH . '16/' : $wpsr_socialbt['imgpath16px']; ?>" size="40" />
869
+ (16px)<br />
870
+
871
+ <input name="wpsr_socialbt_imgpath32px" type="text" id="wpsr_socialbt_imgpath32px" value="<?php echo (empty($wpsr_socialbt['imgpath32px'])) ? WPSR_SOCIALBT_IMGPATH . '32/' : $wpsr_socialbt['imgpath32px']; ?>" size="40" />
872
+ (32px)</td>
873
  </tr>
 
 
 
 
 
 
 
 
874
  <tr>
875
+ <td height="35"><?php _e('Use Sprites', 'wpsr'); ?></td>
876
+ <td><select id="wpsr_socialbt_usesprites" name="wpsr_socialbt_usesprites">
877
+ <option <?php echo $wpsr_socialbt['usesprites'] == '1' ? ' selected="selected"' : ''; ?> value="1"><?php _e('Yes', 'wpsr'); ?></option>
878
+ <option <?php echo $wpsr_socialbt['usesprites'] == '0' ? ' selected="selected"' : ''; ?> value="0"><?php _e('No', 'wpsr'); ?></option>
879
+ </select></td>
 
 
 
 
 
 
 
 
 
 
 
 
880
  </tr>
881
  </table>
882
  </div>
883
+ </div><!-- Social bts -->
884
+
885
+
886
+ <div class="inWindow winAddthis">
887
+ <h3>Toolbox</h3>
888
+ <div class="section">
889
+ <table width="100%" height="139" border="0" class="tableClr">
890
+ <tr>
891
+ <th height="30">Toolbox type </th>
892
+ <th><?php _e('Services', 'wpsr'); ?></th>
893
+ </tr>
894
+ <tr>
895
+ <td width="35%" height="53"><label for="wpsr_addthis_tb_16pxservices"><img src="<?php echo WPSR_ADMIN_URL; ?>images/buttons/addthis-tb-16px.png" title="16px Icons"/></label></td>
896
+ <td width="65%"><input name="wpsr_addthis_tb_16pxservices" type="text" id="wpsr_addthis_tb_16pxservices" value="<?php echo $wpsr_addthis['tb_16pxservices']; ?>" size="35" /> <input class="submit button" type="button" value="Select services" onclick="openServiceSelctor('<?php echo WPSR_ADMIN_URL; ?>wpsr-services-selector.php?id=wpsr_addthis_tb_16pxservices&bt=addthis&val=', 'wpsr_addthis_tb_16pxservices');" />
897
+ <br /><span class="smallText"><?php _e('Leave blank to use default', 'wpsr'); ?></span>
898
+ </td>
899
+ </tr>
900
+ <tr>
901
+ <td height="48"><label for="wpsr_addthis_tb_32pxservices"><img src="<?php echo WPSR_ADMIN_URL; ?>images/buttons/addthis-tb-32px.png" title="32px Icons"/></label></td>
902
+ <td><input name="wpsr_addthis_tb_32pxservices" type="text" id="wpsr_addthis_tb_32pxservices" value="<?php echo $wpsr_addthis['tb_32pxservices']; ?>" size="35" /> <input class="button" type="button" value="Select services" onclick="openServiceSelctor('<?php echo WPSR_ADMIN_URL; ?>wpsr-services-selector.php?id=wpsr_addthis_tb_32pxservices&bt=addthis&val=', 'wpsr_addthis_tb_32pxservices');"/>
903
+ <br /><span class="smallText"><?php _e('Leave blank to use default', 'wpsr'); ?></span>
904
+ </td>
905
+ </tr>
906
+ </table>
907
+ </div>
908
+
909
+ <h3>Sharecount</h3>
910
+ <div class="section">
911
+ <table width="100%">
912
+ <tr>
913
+ <td><label><input name="wpsr_addthis_sharecount" id="wpsr_addthis_sharecount" type="radio" value="normal" <?php echo $wpsr_addthis['sharecount'] == 'normal' ? ' checked="checked"' : ''; ?> /> <img src="http://cache.addthiscdn.com/www/q0197/images/sharecount-vertical.png" title="Sharecount - Large"/></label></td>
914
+ <td><label><input name="wpsr_addthis_sharecount" id="wpsr_addthis_sharecount" type="radio" value="pill" <?php echo $wpsr_addthis['sharecount'] == 'pill' ? ' checked="checked"' : ''; ?> /> <img src="http://cache.addthiscdn.com/www/q0197/images/sharecount-horizontal.png" title="Sharecount - Pill style"/></label></td>
915
+ <td> <label><input name="wpsr_addthis_sharecount" id="wpsr_addthis_sharecount" type="radio" value="grouped" <?php echo $wpsr_addthis['sharecount'] == 'grouped' ? ' checked="checked"' : ''; ?> /> <img src="http://cache.addthiscdn.com/www/q0197/images/gtc-like-tweet-share.png" title="Sharecount - grouped"/></label></td>
916
+ </tr>
917
+ </table>
918
+ </div>
919
+
920
+ <h3><?php _e('Buttons', 'wpsr'); ?></h3>
921
+ <div class="section">
922
+ <table width="100%">
923
+ <tr>
924
+ <td><label><input name="wpsr_addthis_button" id="wpsr_addthis_button" type="radio" value="lg-share-" <?php echo $wpsr_addthis['button'] == 'lg-share-' ? ' checked="checked"' : ''; ?> /> <img src="http://s7.addthis.com/static/btn/v2/lg-share-<?php echo $wpsr_addthis['language']; ?>.gif" alt="Share button - Large"/></label></td>
925
+ <td><label><input name="wpsr_addthis_button" id="wpsr_addthis_button" type="radio" value="sm-share-" <?php echo $wpsr_addthis['button'] == 'sm-share-' ? ' checked="checked"' : ''; ?> /> <img src="http://s7.addthis.com/static/btn/v2/sm-share-en.gif" alt="Share button - Small"/></label></td>
926
+ </tr>
927
+ </table>
928
+ </div>
929
 
930
+ <h3><?php _e('Optional button Settings', 'wpsr'); ?></h3>
931
+ <div class="section">
932
+ <table width="100%" border="0">
933
+ <tr>
934
+ <td height="52"><label for="wpsr_addthis_username"><?php _e('Add This Username', 'wpsr'); ?></label></td>
935
+ <td><input type="text" id="wpsr_addthis_username" name="wpsr_addthis_username" value="<?php echo $wpsr_addthis['username']; ?>" /><br /><span class="smallText"> <?php _e('If available', 'wpsr'); ?></span></td>
936
+ <td><label for="wpsr_addthis_lang"><?php _e('Language', 'wpsr'); ?></label></td>
937
+ <td><select name="wpsr_addthis_lang" id="wpsr_addthis_lang">
938
+ <?php foreach ($wpsr_addthis_lang_array as $lang=>$name){echo "<option value=\"$lang\"". ($lang == $wpsr_addthis['language'] ? " selected":"") . ">$name</option>";}?>
939
+ </select></td>
940
+ </tr>
941
+ <tr>
942
+ <td width="13%" height="52"><label for="wpsr_addthis_btbrand"><?php _e('Brand Name', 'wpsr'); ?></label></td>
943
+ <td width="30%"><input name="wpsr_addthis_btbrand" id="wpsr_addthis_btbrand" type="text" value="<?php echo $wpsr_addthis['btbrand']; ?>"/><br /><span class="smallText"><?php _e('Leave blank to use default', 'wpsr'); ?></span></td>
944
+
945
+ <td width="14%"><label for="wpsr_addthis_clickback"><?php _e('Track Clickback', 'wpsr'); ?></label></td>
946
+ <td width="43%"><select id="wpsr_addthis_clickback" name="wpsr_addthis_clickback">
947
+ <option <?php echo $wpsr_addthis['clickback'] == '1' ? ' selected="selected"' : ''; ?> value="1"><?php _e('Yes', 'wpsr'); ?></option>
948
+ <option <?php echo $wpsr_addthis['clickback'] == '0' ? ' selected="selected"' : ''; ?> value="0"><?php _e('No', 'wpsr'); ?></option>
949
+ </select></td>
950
+ </tr>
951
+ </table>
952
+ </div>
953
+ </div><!-- Addthis -->
954
+
955
+
956
+ <div class="inWindow winSharethis">
957
+ <h3>Customize the buttons</h3>
958
+ <div class="section">
959
+ <table width="100%" height="517" border="0" class="tableClr">
960
+ <tr>
961
+ <th width="50%" height="21"><?php _e('Buttons', 'wpsr'); ?><br />
962
+ <span class="smallText"><?php _e('Button type', 'wpsr'); ?></span></th>
963
+ <th width="50%"><?php _e('Button Order', 'wpsr'); ?><br />
964
+ <span class="smallText"><?php _e('Reorder, remove or add social buttons', 'wpsr'); ?></span></th>
965
+ </tr>
966
+ <tr>
967
+ <td width="50%" height="69"><img src="<?php echo WPSR_ADMIN_URL; ?>images/buttons/sharethis-vcount.png" /></td>
968
+ <td width="50%"><input name="wpsr_sharethis_vcount_order" id="wpsr_sharethis_vcount_order" type="text" value="<?php echo $wpsr_sharethis['vcount_order']; ?>"/>
969
+ <input class="submit button" type="button" value="Select services" onclick="openServiceSelctor('<?php echo WPSR_ADMIN_URL; ?>wpsr-services-selector.php?id=wpsr_sharethis_vcount_order&bt=sharethis&val=', 'wpsr_sharethis_vcount_order');" /></td>
970
+ </tr>
971
+ <tr>
972
+ <td height="64"><img src="<?php echo WPSR_ADMIN_URL; ?>images/buttons/sharethis-hcount.png" /></td>
973
+ <td><input name="wpsr_sharethis_hcount_order" id="wpsr_sharethis_hcount_order" type="text" value="<?php echo $wpsr_sharethis['hcount_order']; ?>"/>
974
+ <input class="submit button" type="button" value="Select services" onclick="openServiceSelctor('<?php echo WPSR_ADMIN_URL; ?>wpsr-services-selector.php?id=wpsr_sharethis_hcount_order&bt=sharethis&val=', 'wpsr_sharethis_hcount_order');" /></td>
975
+ </tr>
976
+ <tr>
977
+ <td height="65"><img src="<?php echo WPSR_ADMIN_URL; ?>images/buttons/sharethis-buttons.png" /></td>
978
+ <td><input name="wpsr_sharethis_buttons_order" id="wpsr_sharethis_buttons_order" type="text" value="<?php echo $wpsr_sharethis['buttons_order']; ?>"/>
979
+ <input class="submit button" type="button" value="Select services" onclick="openServiceSelctor('<?php echo WPSR_ADMIN_URL; ?>wpsr-services-selector.php?id=wpsr_sharethis_buttons_order&bt=sharethis&val=', 'wpsr_sharethis_buttons_order');" /></td>
980
+ </tr>
981
+ <tr>
982
+ <td height="67"><img src="<?php echo WPSR_ADMIN_URL; ?>images/buttons/sharethis-large.png" /></td>
983
+ <td><input name="wpsr_sharethis_large_order" id="wpsr_sharethis_large_order" type="text" value="<?php echo $wpsr_sharethis['large_order']; ?>"/>
984
+ <input class="submit button" type="button" value="Select services" onclick="openServiceSelctor('<?php echo WPSR_ADMIN_URL; ?>wpsr-services-selector.php?id=wpsr_sharethis_large_order&bt=sharethis&val=', 'wpsr_sharethis_large_order');" /></td>
985
+ </tr>
986
+ <tr>
987
+ <td height="70"><img src="<?php echo WPSR_ADMIN_URL; ?>images/buttons/sharethis-regular.png" /></td>
988
+ <td><input name="wpsr_sharethis_regular_order" id="wpsr_sharethis_regular_order" type="text" value="<?php echo $wpsr_sharethis['regular_order']; ?>"/>
989
+ <input class="submit button" type="button" value="Select services" onclick="openServiceSelctor('<?php echo WPSR_ADMIN_URL; ?>wpsr-services-selector.php?id=wpsr_sharethis_regular_order&bt=sharethis&val=', 'wpsr_sharethis_regular_order');" /></td>
990
+ </tr>
991
+ <tr>
992
+ <td height="75"><img src="<?php echo WPSR_ADMIN_URL; ?>images/buttons/sharethis-regular-notext.png" /></td>
993
+ <td><input name="wpsr_sharethis_regular2_order" id="wpsr_sharethis_regular2_order" type="text" value="<?php echo $wpsr_sharethis['regular2_order']; ?>"/>
994
+ <input class="submit button" type="button" value="Select services" onclick="openServiceSelctor('<?php echo WPSR_ADMIN_URL; ?>wpsr-services-selector.php?id=wpsr_sharethis_regular2_order&bt=sharethis&val=', 'wpsr_sharethis_regular2_order');" /></td>
995
+ </tr>
996
+ <tr>
997
+ <td><img src="<?php echo WPSR_ADMIN_URL; ?>images/buttons/sharethis-classic.png" /></td>
998
+ <td></td>
999
+ </tr>
1000
+ </table>
1001
+ </div>
1002
+
1003
+ <h3><?php _e('Settings', 'wpsr'); ?></h3>
1004
+ <div class="section">
1005
+ <table width="100%" height="100" border="0">
1006
+ <tr>
1007
+ <td width="31%" height="49"><label for="wpsr_sharethis_pubkey">Sharethis Publisher Key</label></td>
1008
+ <td width="69%"><input name="wpsr_sharethis_pubkey" type="text" id="wpsr_sharethis_pubkey" value="<?php echo $wpsr_sharethis_pubkey; ?>" size="50" /><br /><span class="smallText"><?php _e('You can see you publisher key in this page. ', 'wpsr'); ?> <a href="http://sharethis.com/account/" target="_blank"><?php _e('Click here', 'wpsr'); ?></a></span></td>
1009
+ </tr>
1010
+ <tr>
1011
+ <td><label for="wpsr_sharethis_addp">Automatically wrap with paragraph</label></td>
1012
+ <td><select id="wpsr_sharethis_addp" name="wpsr_sharethis_addp">
1013
+ <option <?php echo $wpsr_sharethis_addp == '1' ? ' selected="selected"' : ''; ?> value="1"><?php _e('Yes', 'wpsr'); ?></option>
1014
+ <option <?php echo $wpsr_sharethis_addp == '0' ? ' selected="selected"' : ''; ?> value="0"><?php _e('No', 'wpsr'); ?></option>
1015
+ </select></td>
1016
+ </tr>
1017
+ </table>
1018
+ </div>
1019
+ </div><!-- Sharethis -->
1020
 
 
1021
 
1022
+ <div class="inWindow winRetweetDigg">
1023
+ <h3><?php _e('General', 'wpsr'); ?></h3>
1024
+ <div class="section">
1025
+ <table width="100%" height="76" border="0">
1026
+ <tr>
1027
+ <td width="30%" height="37"><label for="wpsr_retweet_username"><?php _e('Twitter Username', 'wpsr'); ?></label></td>
1028
+ <td width="70%">@<input name="wpsr_retweet_username" id="wpsr_retweet_username" type="text" value="<?php echo $wpsr_retweet['username']; ?>"/></td>
1029
+ </tr>
1030
+ <tr>
1031
+ <td><label for="wpsr_retweet_type"><?php _e('Retweet Button Type', 'wpsr'); ?></label></td>
1032
+ <td><select id="wpsr_retweet_type" name="wpsr_retweet_type">
1033
+ <option <?php echo $wpsr_retweet['type'] == 'normal' ? ' selected="selected"' : ''; ?> value="normal"><?php _e('Normal (Big)', 'wpsr'); ?></option>
1034
+ <option <?php echo $wpsr_retweet['type'] == 'compact' ? ' selected="selected"' : ''; ?> value="compact"><?php _e('Compact', 'wpsr'); ?></option>
1035
+ <option <?php echo $wpsr_retweet['type'] == 'nocount' ? ' selected="selected"' : ''; ?> value="nocount"><?php _e('No Count (only for Twitter\'s Official Button)', 'wpsr'); ?></option>
1036
+ </select></td>
1037
+ </tr>
1038
+ </table>
1039
+ </div>
1040
+
1041
+ <h3><?php _e('Choose a service', 'wpsr'); ?></h3>
1042
+ <div class="section">
1043
+ <table width="100%" border="0">
1044
+ <tr>
1045
+ <td width="30%"><label for="wpsr_retweet_service"><?php _e('Retweet Service', 'wpsr'); ?></label></td>
1046
+ <td width="70%"><select id="wpsr_retweet_service" name="wpsr_retweet_service">
1047
+ <option <?php echo $wpsr_retweet['service'] == 'twitter' ? ' selected="selected"' : ''; ?> value="twitter"><?php _e('Twitter\'s Official Button', 'wpsr'); ?></option>
1048
+ <option <?php echo $wpsr_retweet['service'] == 'tweetmeme' ? ' selected="selected"' : ''; ?> value="tweetmeme">TweetMeme</option>
1049
+ <option <?php echo $wpsr_retweet['service'] == 'topsy' ? ' selected="selected"' : ''; ?> value="topsy">Topsy</option>
1050
+ </select>
1051
+
1052
+ <div id="wpsr_retweet_topsysettings">
1053
+ <table width="100%" border="0">
1054
+ <tr>
1055
+ <td width="32%"><?php _e('Select a theme for topsy', 'wpsr'); ?></td>
1056
+ <td width="68%">
1057
+ <select id="wpsr_retweet_topsytheme" name="wpsr_retweet_topsytheme">
1058
+ <option value="blue" <?php echo $wpsr_retweet['topsytheme'] == 'blue' ? ' selected="selected"' : ''; ?> >blue</option>
1059
+ <option value="brown" <?php echo $wpsr_retweet['topsytheme'] == 'brown' ? ' selected="selected"' : ''; ?>>brown</option>
1060
+ <option value="jade" <?php echo $wpsr_retweet['topsytheme'] == 'jade' ? ' selected="selected"' : ''; ?>>jade</option>
1061
+ <option value="brick-red" <?php echo $wpsr_retweet['topsytheme'] == 'brick-red' ? ' selected="selected"' : ''; ?>>brick-red</option>
1062
+ <option value="sea-foam" <?php echo $wpsr_retweet['topsytheme'] == 'sea-foam' ? ' selected="selected"' : ''; ?>>sea-foam</option>
1063
+ <option value="mustard" <?php echo $wpsr_retweet['topsytheme'] == 'mustard' ? ' selected="selected"' : ''; ?>>mustard</option>
1064
+ <option value="hot-pink" <?php echo $wpsr_retweet['topsytheme'] == 'hot-pink' ? ' selected="selected"' : ''; ?>>hot-pink</option>
1065
+ </select>
1066
+ </td>
1067
+ </tr>
1068
+ </table>
1069
+ </div>
1070
+
1071
+ <div id="wpsr_retweet_twittersettings">
1072
+ <table width="100%" height="75" border="0">
1073
+ <tr>
1074
+ <td width="32%" height="34"><?php _e('Recommend people', 'wpsr'); ?> </td>
1075
+ <td width="68%"><input name="wpsr_retweet_twitter_recacc" type="text" id="wpsr_retweet_twitter_recacc" value="<?php echo $wpsr_retweet['twitter_recacc']; ?>" size="40"/><br />
1076
+ <span class="smallText"><?php _e('Twitter Username: Description (Optional)', 'wpsr'); ?></span>
1077
+ </td>
1078
+ </tr>
1079
+ <tr>
1080
+ <td><?php _e('Language', 'wpsr'); ?></td>
1081
+ <td><select id="wpsr_retweet_twitter_lang" name="wpsr_retweet_twitter_lang">
1082
+ <option value="en" <?php echo $wpsr_retweet['twitter_lang'] == 'en' ? ' selected="selected"' : ''; ?>>English</option>
1083
+ <option value="fr" <?php echo $wpsr_retweet['twitter_lang'] == 'fr' ? ' selected="selected"' : ''; ?>>French</option>
1084
+ <option value="de" <?php echo $wpsr_retweet['twitter_lang'] == 'de' ? ' selected="selected"' : ''; ?>>German</option>
1085
+ <option value="es" <?php echo $wpsr_retweet['twitter_lang'] == 'es' ? ' selected="selected"' : ''; ?>>Spanish</option>
1086
+ <option value="ja" <?php echo $wpsr_retweet['twitter_lang'] == 'ja' ? ' selected="selected"' : ''; ?>>Japanese</option>
1087
+ </select></td>
1088
+ </tr>
1089
+ </table>
1090
+ </div>
1091
+
1092
+ </td>
1093
+ </tr>
1094
+ </table>
1095
+ </div>
1096
 
1097
+ <h3><?php _e('Digg Button', 'wpsr'); ?></h3>
1098
+ <div class="section">
1099
+ <table width="100%" border="0">
1100
+ <tr>
1101
+ <td width="31%"><label for="wpsr_digg_type"><?php _e('Digg Button type', 'wpsr'); ?></label></td>
1102
+ <td width="69%"><select id="wpsr_digg_type" name="wpsr_digg_type">
1103
+ <option <?php echo $wpsr_digg['type'] == 'DiggMedium' ? ' selected="selected"' : ''; ?> value="DiggMedium"><?php _e('Medium', 'wpsr'); ?></option>
1104
+ <option <?php echo $wpsr_digg['type'] == 'DiggWide' ? ' selected="selected"' : ''; ?> value="DiggLarge"><?php _e('Wide', 'wpsr'); ?></option>
1105
+ <option <?php echo $wpsr_digg['type'] == 'DiggCompact' ? ' selected="selected"' : ''; ?> value="DiggCompact"><?php _e('Compact', 'wpsr'); ?></option>
1106
+ <option <?php echo $wpsr_digg['type'] == 'DiggIcon' ? ' selected="selected"' : ''; ?> value="DiggIcon"><?php _e('Icon', 'wpsr'); ?></option>
1107
+ </select></td>
1108
+ </tr>
1109
+ </table>
1110
+ </div>
1111
+ </div> <!-- Retweet and digg -->
1112
 
 
1113
 
1114
+ <div class="inWindow winFacebook">
1115
+ <h3><?php _e('Like Button', 'wpsr'); ?></h3>
1116
+ <div class="section">
1117
+ <table width="100%" border="0">
1118
+ <tr>
1119
+ <td width="30%" height="31"><label for="wpsr_facebook_btstyle"><?php _e('Button Style', 'wpsr'); ?></label></td>
1120
+ <td width="70%"><select id="wpsr_facebook_btstyle" name="wpsr_facebook_btstyle">
1121
+ <option <?php echo $wpsr_facebook['btstyle'] == 'standard' ? ' selected="selected"' : ''; ?> value="standard"><?php _e('Standard', 'wpsr'); ?></option>
1122
+ <option <?php echo $wpsr_facebook['btstyle'] == 'button_count' ? ' selected="selected"' : ''; ?> value="button_count"><?php _e('Button count', 'wpsr'); ?></option>
1123
+ <option <?php echo $wpsr_facebook['btstyle'] == 'box_count' ? ' selected="selected"' : ''; ?> value="box_count"><?php _e('Box count', 'wpsr'); ?></option>
1124
+ </select></td>
1125
+ </tr>
1126
+ <tr>
1127
+ <td height="35"><label for="wpsr_facebook_showfaces"><?php _e('Show Faces', 'wpsr'); ?></label></td>
1128
+ <td><select id="wpsr_facebook_showfaces" name="wpsr_facebook_showfaces">
1129
+ <option <?php echo $wpsr_facebook['showfaces'] == '1' ? ' selected="selected"' : ''; ?> value="1"><?php _e('Yes', 'wpsr'); ?></option>
1130
+ <option <?php echo $wpsr_facebook['showfaces'] == '0' ? ' selected="selected"' : ''; ?> value="0"><?php _e('No', 'wpsr'); ?></option>
1131
+ </select></td>
1132
+ </tr>
1133
+ <tr>
1134
+ <td height="49"><label for="wpsr_facebook_width"><?php _e('Width', 'wpsr'); ?></label></td>
1135
+ <td><input name="wpsr_facebook_width" id="wpsr_facebook_width" type="text" value="<?php echo $wpsr_facebook['width']; ?>"/><br /><span class="smallText"><?php _e('In pixels', 'wpsr'); ?></span></td>
1136
+ </tr>
1137
+ <tr>
1138
+ <td height="35"><label for="wpsr_facebook_verb"><?php _e('Verb to Display', 'wpsr'); ?></label></td>
1139
+ <td><select id="wpsr_facebook_verb" name="wpsr_facebook_verb">
1140
+ <option <?php echo $wpsr_facebook['verb'] == 'like' ? ' selected="selected"' : ''; ?> value="like"><?php _e('Like', 'wpsr'); ?></option>
1141
+ <option <?php echo $wpsr_facebook['verb'] == 'recommend' ? ' selected="selected"' : ''; ?> value="recommend"><?php _e('Recommend', 'wpsr'); ?></option>
1142
+ </select></td>
1143
+ </tr>
1144
+ <tr>
1145
+ <td height="37"><label for="wpsr_facebook_font"><?php _e('Font', 'wpsr'); ?></label></td>
1146
+ <td><select id="wpsr_facebook_font" name="wpsr_facebook_font">
1147
+ <option <?php echo $wpsr_facebook['font'] == 'arial' ? ' selected="selected"' : ''; ?> value="arial">Arial</option>
1148
+ <option <?php echo $wpsr_facebook['font'] == 'lucida grande' ? ' selected="selected"' : ''; ?> value="lucida grande">Lucida Grande</option>
1149
+ <option <?php echo $wpsr_facebook['font'] == 'segoe ui' ? ' selected="selected"' : ''; ?> value="segoe ui">Segoe UI</option>
1150
+ <option <?php echo $wpsr_facebook['font'] == 'tahoma' ? ' selected="selected"' : ''; ?> value="tahoma">Tahoma</option>
1151
+ <option <?php echo $wpsr_facebook['font'] == 'trebuchet ms' ? ' selected="selected"' : ''; ?> value="trebuchet ms">Trebuchet MS</option>
1152
+ <option <?php echo $wpsr_facebook['font'] == 'verdana' ? ' selected="selected"' : ''; ?> value="verdana">Verdana</option>
1153
+ </select></td>
1154
+ </tr>
1155
+ <tr>
1156
+ <td height="38"><label for="wpsr_facebook_color"><?php _e('Color scheme', 'wpsr'); ?></label></td>
1157
+ <td><select id="wpsr_facebook_color" name="wpsr_facebook_color">
1158
+ <option <?php echo $wpsr_facebook['color'] == 'light' ? ' selected="selected"' : ''; ?> value="light"><?php _e('Light', 'wpsr'); ?></option>
1159
+ <option <?php echo $wpsr_facebook['color'] == 'dark' ? ' selected="selected"' : ''; ?> value="dark"><?php _e('Dark', 'wpsr'); ?></option>
1160
+ </select></td>
1161
+ </tr>
1162
+ </table>
1163
+ </div>
1164
+
1165
+ <h3><?php _e('General Settings', 'wpsr'); ?></h3>
1166
+ <div class="section">
1167
+ <table width="100%" border="0">
1168
+ <tr>
1169
+ <td height="38"><label for="wpsr_facebook_appid"><?php _e('Application ID', 'wpsr'); ?></label></td>
1170
+ <td><input name="wpsr_facebook_appid" id="wpsr_facebook_appid" type="text" value="<?php echo $wpsr_facebook['appid']; ?>"/><br /><span class="smallText"><?php _e('Useful in analytics', 'wpsr'); ?></span></td>
1171
+ </tr>
1172
+ </table>
1173
+ </div>
1174
+ </div><!-- Facebook -->
1175
 
1176
+ <div class="inWindow winCustom">
1177
+ <h3><?php _e('Custom 1', 'wpsr'); ?></h3>
1178
+ <div class="section">
1179
+ <textarea name="wpsr_custom1" id="wpsr_custom1" style="width:99%" rows="8" class="custom_box"><?php echo $wpsr_custom['custom1']; ?></textarea>
1180
+ </div>
1181
+
1182
+ <h3><?php _e('Custom 2', 'wpsr'); ?></h3>
1183
+ <div class="section">
1184
+ <textarea name="wpsr_custom2" id="wpsr_custom2" style="width:99%" rows="8" class="custom_box"><?php echo $wpsr_custom['custom2']; ?></textarea>
1185
+ </div>
1186
+
1187
+ <p class="note"><?php printf(__('Enter any share button code. Use %s for the page url and %s for page title', 'wpsr'), '{url}', '{title}'); ?></p>
1188
+
1189
+ </div><!-- Custom -->
1190
 
1191
+ <div class="inWindow winTemplates">
1192
+ <p class="note"><strong>Note:</strong> Selecting a template will overwrite the current template and button settings.</p>
1193
+ <div class="templatesList">
1194
+ </div>
1195
+ <a href="http://www.aakashweb.com/docs/wp-socializer-docs/creating-a-custom-template/" target="_blank"><?php _e('Create a template', 'wpsr'); ?></a> | <a href="http://www.aakashweb.com/docs/wp-socializer-docs/creating-a-custom-template/" target="_blank"><?php _e('Submit a template', 'wpsr'); ?></a>
1196
+ </div><!-- One click - templates -->
1197
 
1198
+ </div><!-- Window -->
 
 
 
 
 
1199
 
 
 
 
 
1200
 
1201
+ </form><!-- Content -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1202
 
1203
+ <div class="bottomInfo">
1204
+ <p align="center"><a href="http://youtu.be/1uimAE8rFYE" target="_blank">(Demo video)</a></p>
1205
+ <p align="center"><a href="https://twitter.com/vaakash" target="_blank">Follow @vaakash</a></p>
1206
+ <p align="center"><a href="http://www.aakashweb.com/" class="credits" target="_blank">a plugin from Aakash Web</a></p>
1207
  </div>
1208
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1209
  </div><!-- Wrap -->
1210
  <?php endif; ?>
1211
 
1212
  <?php if(wpsr_show_admin() == 0): ?>
1213
  <!-- Version Intro -->
1214
+
1215
+ <span class="blogUrl" style="display:none"><?php echo get_option('siteurl'); ?></span>
1216
+
1217
  <div class="wrap">
 
 
1218
 
1219
+ <p><strong>NOTE: Please refresh the page the load the new Stylesheets and Javascripts of the admin page.</strong></p>
1220
+
1221
+ <h2><img width="32" height="32" src="<?php echo WPSR_ADMIN_URL; ?>images/wp-socializer.png" align="absmiddle"/> WP Socializer <span class="smallText">v<?php echo WPSR_VERSION; ?></span></h2>
 
 
 
1222
 
1223
+ <div class="miniWrap introWrap">
1224
+
1225
+ <ul class="shareList clearfix">
1226
  <li><?php echo wpsr_admin_buttons('fb'); ?></li>
1227
  <li><?php echo wpsr_admin_buttons('twitter'); ?></li>
1228
  <li><?php echo wpsr_admin_buttons('+1'); ?></li>
1229
  <li><?php echo wpsr_admin_buttons('at'); ?></li>
1230
  </ul>
1231
 
1232
+ <div class="infoContent"></div>
1233
 
1234
+ <p class="refLinks"><b><a href="http://www.aakashweb.com/wordpress-plugins/wp-socializer/" target="_blank"><?php _e('Full Features', 'wpsr'); ?></a> | <a href="http://www.aakashweb.com/docs/wp-socializer-docs/" target="_blank"><?php _e('Documentation', 'wpsr'); ?></a> | <a href="http://www.aakashweb.com/forum/" target="_blank"><?php _e('Support', 'wpsr'); ?></a> | <a href="http://www.aakashweb.com/forum/" target="_blank"><?php _e('Bug Report', 'wpsr'); ?></a> | <a href="http://www.aakashweb.com/wordpress-plugins/wp-socializer/#videos" target="_blank"><?php _e('Video Demo & Tutorials', 'wpsr'); ?></a></b></p>
1235
+
1236
+ <form class="startForm" method="post">
 
 
1237
  <input class="button-primary" type="submit" name="wpsr_intro_submit" id="wpsr_intro_submit" value=" <?php _e('Start using WP Socializer', 'wpsr'); echo ' v' . WPSR_VERSION; ?> " />
1238
  </form>
1239
  </div>
1247
  switch($type){
1248
  case 'fb':
1249
  return '<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FAakash-Web%2F102453489826234&amp;layout=button_count&amp;show_faces=true&amp;width=48&amp;action=like&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:90px; height:21px;" allowTransparency="true"></iframe>';
 
1250
 
1251
  case '+1':
1252
  return '<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script><g:plusone size="medium" href="http://www.aakashweb.com/wordpress-plugins/wp-socializer/"></g:plusone>';
1257
  case 'at':
1258
  return '<div class="addthis_toolbox addthis_default_style" addthis:url="http://www.aakashweb.com/wordpress-plugins/wp-socializer/" addthis:title="WP Socializer - Wordpress plugin - Aakash Web"><a class="addthis_button_compact"></a><a class="addthis_counter addthis_bubble_style"></a></div>
1259
  <script type="text/javascript">var addthis_share = { templates: {twitter: "Check out http://www.aakashweb.com/wordpress-plugins/wp-socializer/ (from @vaakash)"}}</script><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=vaakash"></script>';
1260
+
1261
+ case 'fbrec':
1262
+ return '<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Ffacebook.com%2Faakashweb&amp;send=false&amp;layout=button_count&amp;width=450&amp;show_faces=true&amp;action=recommend&amp;colorscheme=light&amp;font=arial&amp;height=21&amp;appId=106994469342299" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width: 126px; height:21px;float: right;margin-top: 15px;" allowtransparency="true"></iframe>';
1263
  }
1264
  }
1265
 
1304
  add_action('admin_menu', 'wpsr_add_meta_box');
1305
 
1306
  function wpsr_insert_post($post_id) {
1307
+ if (isset($_POST['wpsr_post_disabletemplate1']) && $_POST['wpsr_post_disabletemplate1'] == 1) {
1308
  add_post_meta($post_id, '_wpsr-disable-template1', 1, true);
1309
  }else{
1310
  delete_post_meta($post_id, '_wpsr-disable-template1');
1311
  }
1312
 
1313
+ if (isset($_POST['wpsr_post_disabletemplate2']) && $_POST['wpsr_post_disabletemplate2'] == 1) {
1314
  add_post_meta($post_id, '_wpsr-disable-template2', 1, true);
1315
  }else{
1316
  delete_post_meta($post_id, '_wpsr-disable-template2');
admin/wpsr-services-selector.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
- $id = $_GET['id'];
3
- $val = $_GET['val'];
4
- $bt = $_GET['bt'];
5
 
6
  $addthis_services = array("100zakladok", "2tag", "2linkme", "a1webmarks", "addio", "menu", "adfty", "adifni", "aerosocial", "allmyfaves", "amazonwishlist", "amenme", "aim", "aolmail", "arto", "aviary", "baang", "baidu", "bebo", "bentio", "biggerpockets", "bitly", "bizsugar", "bleetbox", "blinklist", "blip", "blogger", "bloggy", "blogmarks", "blogtrottr", "blurpalicious", "boardlite", "bobrdobr", "bonzobox", "bookmarkedbyus", "socialbookmarkingnet", "bookmarkycz", "bookmerkende", "bordom", "box", "brainify", "bryderi", "buddymarks", "buzzzy", "camyoo", "care2", "chiq", "cirip", "citeulike", "classicalplace", "clickazoo", "clply", "cndig", "colivia", "technerd", "connotea", "cosmiq", "delicious", "designbump", "designmoo", "digthiswebhost", "digaculturanet", "digg", "diggita", "diglog", "digo", "digzign", "diigo", "dipdive", "domelhor", "dosti", "dotnetkicks", "dotnetshoutout", "woscc", "douban", "drimio", "dropjack", "dwellicious", "dzone", "edelight", "efactor", "ekudos", "elefantapl", "email", "mailto", "embarkons", "eucliquei", "evernote", "extraplay", "ezyspot", "fabulously40", "facebook", "informazione", "fark", "farkinda", "fashiolista", "fashionburner", "favable", "faves", "favlogde", "favoritende", "favorites", "favoritus", "flaker", "flosspro", "folkd", "followtags", "forceindya", "thefreedictionary", "fresqui", "friendfeed", "friendster", "funp", "fwisp", "gabbr", "gacetilla", "gamekicker", "givealink", "globalgrind", "gmail", "goodnoows", "google", "googlebuzz", "googlereader", "googletranslate", "gravee", "greaterdebater", "grono", "grumper", "habergentr", "hackernews", "hadashhot", "hatena", "hazarkor", "gluvsnap", "hedgehogs", "hellotxt", "hipstr", "hitmarks", "hotbookmark", "hotklix", "hotmail", "w3validator", "hyves", "idearef", "identica", "igoogle", "ihavegot", "instapaper", "investorlinks", "iorbix", "isociety", "iwiw", "jamespot", "jisko", "joliprint", "jumptags", "zooloo", "kaboodle", "kaevur", "kipup", "kirtsy", "kledy", "kommenting", "latafaneracat", "laaikit", "ladenzeile", "librerio", "linkninja", "linkagogo", "linkedin", "linksgutter", "linkshares", "linkuj", "livefavoris", "livejournal", "lockerblogger", "logger24", "lynki", "mymailru", "markme", "mashbord", "mawindo", "meccho", "meinvz", "mekusharim", "memori", "meneame", "live", "mindbodygreen", "misterwong", "misterwong_de", "mixx", "moemesto", "mototagz", "mrcnetworkit", "multiply", "myaol", "mylinkvault", "myspace", "n4g", "netlog", "netvibes", "netvouz", "newsmeback");
7
 
@@ -208,4 +208,4 @@ function googleTranslateElementInit() {
208
  </div>
209
 
210
  </body>
211
- </html>
1
  <?php
2
+ $id = intval($_GET['id']);
3
+ $val = stripslashes($_GET['val']);
4
+ $bt = stripslashes($_GET['bt']);
5
 
6
  $addthis_services = array("100zakladok", "2tag", "2linkme", "a1webmarks", "addio", "menu", "adfty", "adifni", "aerosocial", "allmyfaves", "amazonwishlist", "amenme", "aim", "aolmail", "arto", "aviary", "baang", "baidu", "bebo", "bentio", "biggerpockets", "bitly", "bizsugar", "bleetbox", "blinklist", "blip", "blogger", "bloggy", "blogmarks", "blogtrottr", "blurpalicious", "boardlite", "bobrdobr", "bonzobox", "bookmarkedbyus", "socialbookmarkingnet", "bookmarkycz", "bookmerkende", "bordom", "box", "brainify", "bryderi", "buddymarks", "buzzzy", "camyoo", "care2", "chiq", "cirip", "citeulike", "classicalplace", "clickazoo", "clply", "cndig", "colivia", "technerd", "connotea", "cosmiq", "delicious", "designbump", "designmoo", "digthiswebhost", "digaculturanet", "digg", "diggita", "diglog", "digo", "digzign", "diigo", "dipdive", "domelhor", "dosti", "dotnetkicks", "dotnetshoutout", "woscc", "douban", "drimio", "dropjack", "dwellicious", "dzone", "edelight", "efactor", "ekudos", "elefantapl", "email", "mailto", "embarkons", "eucliquei", "evernote", "extraplay", "ezyspot", "fabulously40", "facebook", "informazione", "fark", "farkinda", "fashiolista", "fashionburner", "favable", "faves", "favlogde", "favoritende", "favorites", "favoritus", "flaker", "flosspro", "folkd", "followtags", "forceindya", "thefreedictionary", "fresqui", "friendfeed", "friendster", "funp", "fwisp", "gabbr", "gacetilla", "gamekicker", "givealink", "globalgrind", "gmail", "goodnoows", "google", "googlebuzz", "googlereader", "googletranslate", "gravee", "greaterdebater", "grono", "grumper", "habergentr", "hackernews", "hadashhot", "hatena", "hazarkor", "gluvsnap", "hedgehogs", "hellotxt", "hipstr", "hitmarks", "hotbookmark", "hotklix", "hotmail", "w3validator", "hyves", "idearef", "identica", "igoogle", "ihavegot", "instapaper", "investorlinks", "iorbix", "isociety", "iwiw", "jamespot", "jisko", "joliprint", "jumptags", "zooloo", "kaboodle", "kaevur", "kipup", "kirtsy", "kledy", "kommenting", "latafaneracat", "laaikit", "ladenzeile", "librerio", "linkninja", "linkagogo", "linkedin", "linksgutter", "linkshares", "linkuj", "livefavoris", "livejournal", "lockerblogger", "logger24", "lynki", "mymailru", "markme", "mashbord", "mawindo", "meccho", "meinvz", "mekusharim", "memori", "meneame", "live", "mindbodygreen", "misterwong", "misterwong_de", "mixx", "moemesto", "mototagz", "mrcnetworkit", "multiply", "myaol", "mylinkvault", "myspace", "n4g", "netlog", "netvibes", "netvouz", "newsmeback");
7
 
208
  </div>
209
 
210
  </body>
211
+ </html>
includes/wpsr-facebook.php CHANGED
@@ -5,8 +5,22 @@
5
  * Author : Aakash Chakravarthy
6
  */
7
 
8
- function wpsr_facebook($args = ''){
 
 
 
 
 
 
 
 
 
 
 
 
 
9
 
 
10
  global $post;
11
 
12
  $details = wpsr_get_post_details();
@@ -24,9 +38,6 @@ function wpsr_facebook($args = ''){
24
  'verb' => 'like',
25
  'font' => 'arial',
26
  'color' => 'light',
27
- 'shstyle' => 'button',
28
- 'counter' => 1,
29
- 'counterplacement' => 'above',
30
  'text' => __('Share on Facebook', 'wpsr'),
31
  'image' => WPSR_PUBLIC_URL . 'buttons/facebook-bt.png',
32
  'params' => '',
@@ -40,56 +51,9 @@ function wpsr_facebook($args = ''){
40
  switch($output){
41
  // Output ordinary button
42
  case 'button':
43
- switch($type){
44
- // Display like button
45
- case 'like':
46
- if($style == 'standard' && $showfaces == 1){
47
- $height = 80;
48
- }
49
- if ($style == 'standard' && $showfaces == 0){
50
- $height = 35;
51
- }
52
- if ($style == 'button_count'){
53
- $height = 21;
54
- }
55
- if ($style == 'box_count'){
56
- $height = 62;
57
- }
58
-
59
- $facebook_processed .=
60
- '<iframe src="http://www.facebook.com/plugins/like.php?' .
61
- '&amp;href=' . $url .
62
- '&amp;layout=' . $style .
63
- '&amp;show_faces=' . $showfaces .
64
- '&amp;width=' . $width .
65
- '&amp;action=' . $verb .
66
- '&amp;font=' . $font .
67
- '&amp;colorscheme=' . $color .
68
- '&amp;height=' . $height .
69
- '" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:' . $width . 'px; height:' . $height . 'px;" allowTransparency="true"></iframe>';
70
-
71
- break;
72
 
73
- // Display share button
74
- case 'share':
75
-
76
- if($shstyle == 'button' && $counter == 1){
77
- if($counterplacement == 'above'){
78
- $shstyle = 'box_count';
79
- }else{
80
- $shstyle = 'button_count';
81
- }
82
- }elseif($shstyle == 'button' && $counter == 0){
83
- $shstyle = 'button';
84
- }elseif($shstyle == 'link'){
85
- $shstyle = 'icon_link';
86
- }
87
-
88
- $facebook_processed .=
89
- '<a name="fb_share" type="' . $shstyle . '" href="http://www.facebook.com/sharer.php?u=' . $url . '&amp;t=' . $title . '">Share</a>' . '<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>' ;
90
-
91
- break;
92
- }
93
  break;
94
 
95
  // Output Image format
@@ -123,9 +87,6 @@ function wpsr_facebook_bt($type){
123
  'font' => $wpsr_facebook['font'],
124
  'verb' => $wpsr_facebook['verb'],
125
  'color' => $wpsr_facebook['color'],
126
- 'shstyle' => $wpsr_facebook['shstyle'],
127
- 'counter' => $wpsr_facebook['counter'],
128
- 'counterplacement' => $wpsr_facebook['counterplacement'],
129
  ));
130
  ## End Output
131
 
5
  * Author : Aakash Chakravarthy
6
  */
7
 
8
+ function wpsr_facebook_script(){
9
+ // Get the appId
10
+ $wpsr_facebook = get_option('wpsr_facebook_data');
11
+
12
+ return "\n<!-- WP Socializer - Facebook Script -->\n<div id=\"fb-root\"></div>
13
+ <script type=\"text/javascript\">(function(d, s, id) {
14
+ var js, fjs = d.getElementsByTagName(s)[0];
15
+ if (d.getElementById(id)) return;
16
+ js = d.createElement(s); js.id = id;
17
+ js.src = \"//connect.facebook.net/en_US/all.js#xfbml=1" . ((empty($wpsr_facebook['appid'])) ? '' : '&appId=' . $wpsr_facebook['appid']) . "\";
18
+ fjs.parentNode.insertBefore(js, fjs);
19
+ }(document, 'script', 'facebook-jssdk'));
20
+ </script>\n<!-- WP Socializer - Facebook Script -->\n";
21
+ }
22
 
23
+ function wpsr_facebook($args = ''){
24
  global $post;
25
 
26
  $details = wpsr_get_post_details();
38
  'verb' => 'like',
39
  'font' => 'arial',
40
  'color' => 'light',
 
 
 
41
  'text' => __('Share on Facebook', 'wpsr'),
42
  'image' => WPSR_PUBLIC_URL . 'buttons/facebook-bt.png',
43
  'params' => '',
51
  switch($output){
52
  // Output ordinary button
53
  case 'button':
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
 
55
+ $facebook_processed .=
56
+ '<div class="fb-like" data-href="' . $url . '" data-send="' . (($type == 'send') ? 'true' : 'false') . '" data-layout="' . $style . '" data-width="' . $width . '" data-show-faces="' . $showfaces . '" data-action="' . $verb . '" data-font="' . $font . '" data-colorscheme="' . $color . '"></div>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  break;
58
 
59
  // Output Image format
87
  'font' => $wpsr_facebook['font'],
88
  'verb' => $wpsr_facebook['verb'],
89
  'color' => $wpsr_facebook['color'],
 
 
 
90
  ));
91
  ## End Output
92
 
includes/wpsr-floatingbar.php ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Floating share bar Processor code for WP Socializer Plugin
4
+ * Version : 1.0
5
+ * Since : v2.4
6
+ * Author : Aakash Chakravarthy
7
+ */
8
+
9
+ ## Floating share bar processor
10
+ function wpsr_process_floatingbts(){
11
+ global $wpsr_floating_bar_bts;
12
+ $wpsr_floatbts = get_option('wpsr_template_floating_bar_data');
13
+ $content = '';
14
+
15
+ if($wpsr_floatbts['disabled'] == 1)
16
+ return '';
17
+
18
+ $selSplitted = explode(',', $wpsr_floatbts['selectedbts']);
19
+ $noSel = count($selSplitted);
20
+
21
+ for($i=0; $i < $noSel; $i++){
22
+ $content .= '<div class="wpsr_floatbt">' . $wpsr_floating_bar_bts[$selSplitted[$i]][$wpsr_floatbts['position']] . "</div>" ;
23
+ }
24
+
25
+ $width = (($wpsr_floatbts['position'] == 'bottom_fixed') ? 'style="width:' . $wpsr_floatbts['bottomfixed_width'] . 'px"' : '');
26
+
27
+ $start = '<div class="wpsr-floatbar-' . $wpsr_floatbts['position'] . ' wpsr-floatbar-' . $wpsr_floatbts['theme'] . ($wpsr_floatbts['floatleft_movable'] ? ' wpsr-floatbar-movable ' : '') . ' clearfix" ' . $width . '>';
28
+ $end = '<div class="wpsr-linkback"><a href="http://www.aakashweb.com/wordpress-plugins/wp-socializer/" target="_blank">WP Socializer</a> <a href="http://www.aakashweb.com" target="_blank" class="wpsr_linkaw">Aakash Web</a></div>';
29
+
30
+ if($wpsr_floatbts['position'] == 'bottom_fixed')
31
+ $end .= '<div title="Collapse the Share bar" class="wpsr_hidebt"></div>';
32
+
33
+ $end .= '</div>';
34
+
35
+ return $start . $content . $end;
36
+
37
+ }
38
+
39
+ ## Floating bar conditions check.
40
+ function wpsr_floatingbts_check(){
41
+ $wpsr_floatbts = get_option('wpsr_template_floating_bar_data');
42
+ $flag = 0;
43
+
44
+ if($wpsr_floatbts['disabled'])
45
+ return 0;
46
+ if (is_single() == 1 && $wpsr_floatbts['insingle'] == 1){
47
+ $flag = 1;
48
+ }elseif (is_page() == 1 && $wpsr_floatbts['inpage'] == 1){
49
+ $flag = 1;
50
+ }
51
+
52
+ if($flag && !empty($wpsr_floatbts['selectedbts'])){
53
+ return true;
54
+ }
55
+ }
56
+
57
+ ## Print the buttons and the JS in the footer.
58
+ function wpsr_floatingbts_output(){
59
+ $wpsr_floatbts = get_option('wpsr_template_floating_bar_data');
60
+ if(wpsr_floatingbts_check()){
61
+ echo do_shortcode(wpsr_process_floatingbts());
62
+ echo '
63
+ <!-- Start WP Socializer | Floating bar - JS file-->
64
+ <script type="text/javascript" src="' . WPSR_PUBLIC_URL . 'js/wp-socializer-floating-bar-js.js"></script>
65
+ <!-- End WP Socializer | Floating bar - JS file -->
66
+ ';
67
+ }
68
+ }
69
+ add_action('wp_footer', 'wpsr_floatingbts_output');
70
+
71
+ ## Add the floating bar anchor to the content
72
+ function wpsr_floatingbts_anchor($content = ''){
73
+ if (wpsr_floatingbts_check()){
74
+ return '<span class="wpsr_floatbts_anchor"></span>' . $content;
75
+ }else{
76
+ return $content;
77
+ }
78
+ }
79
+ add_action('the_content', 'wpsr_floatingbts_anchor');
80
+ ?>
includes/wpsr-google.php CHANGED
@@ -30,14 +30,13 @@ function wpsr_plusone_bt_used(){
30
  }
31
 
32
  function wpsr_plusone($args = ''){
33
-
34
  global $post;
35
 
36
  $details = wpsr_get_post_details();
37
  $def_url = $details['permalink'];
38
  $def_title = $details['title'];
39
 
40
- $defaults = array (
41
  'output' => 'button',
42
  'url' => $def_url,
43
  'title' => $def_title,
@@ -57,7 +56,6 @@ function wpsr_plusone($args = ''){
57
  case 'button':
58
  $plusone_processed .= '<g:plusone size="' . $type . '" href="' . $url . '" ' . $params . '></g:plusone>';
59
  break;
60
-
61
  }
62
 
63
  $plusone_processed .= "\n<!-- End WP Socializer Plugin - +1 Button -->\n";
@@ -70,7 +68,7 @@ function wpsr_plusone_bt($type = 'standard'){
70
  ## Start Output
71
  $wpsr_plusone_bt_processed = wpsr_plusone(array(
72
  'output' => 'button',
73
- 'type' => $type,
74
  ));
75
  ## End Output
76
 
30
  }
31
 
32
  function wpsr_plusone($args = ''){
 
33
  global $post;
34
 
35
  $details = wpsr_get_post_details();
36
  $def_url = $details['permalink'];
37
  $def_title = $details['title'];
38
 
39
+ $defaults = array(
40
  'output' => 'button',
41
  'url' => $def_url,
42
  'title' => $def_title,
56
  case 'button':
57
  $plusone_processed .= '<g:plusone size="' . $type . '" href="' . $url . '" ' . $params . '></g:plusone>';
58
  break;
 
59
  }
60
 
61
  $plusone_processed .= "\n<!-- End WP Socializer Plugin - +1 Button -->\n";
68
  ## Start Output
69
  $wpsr_plusone_bt_processed = wpsr_plusone(array(
70
  'output' => 'button',
71
+ 'type' => $type
72
  ));
73
  ## End Output
74
 
includes/wpsr-other.php CHANGED
@@ -1,14 +1,23 @@
1
  <?php
2
  /*
3
- * Reddit, StumbleUpon and LinkedIn buttons Processor code for WP Socializer Plugin
4
- * Version : 2.1
5
  * Since v2.0
6
  * Author : Aakash Chakravarthy
7
  */
8
 
9
- // Reddit button
10
- function wpsr_reddit($args = ''){
 
 
 
 
 
 
 
 
11
 
 
12
  global $post;
13
 
14
  $details = wpsr_get_post_details();
@@ -19,65 +28,143 @@ function wpsr_reddit($args = ''){
19
  'output' => 'button',
20
  'url' => $def_url,
21
  'title' => $def_title,
22
- 'type' => '2',
23
- 'text' => __('Reddit this', 'wpsr'),
24
- 'image' => WPSR_PUBLIC_URL . 'buttons/reddit-bt.gif',
25
  'params' => '',
26
  );
27
 
28
  $args = wp_parse_args($args, $defaults);
29
  extract($args, EXTR_SKIP);
30
 
31
- $reddit_processed = "\n<!-- Start WP Socializer Plugin - Reddit Button -->\n";
32
 
33
  switch($output){
34
  // Display the ordinary button
35
  case 'button':
36
- $reddit_processed .= '<script type="text/javascript">reddit_url = "' . $url . '";reddit_title = "' . $title . '";reddit_newwindow="1";</script><script type="text/javascript" src="http://www.reddit.com/static/button/button' . $type . '.js"></script>';
37
  break;
38
 
39
  // Display the Image format
40
  case 'image':
41
- $reddit_processed .= '<a href="http://www.reddit.com/submit?url=' . urlencode($url) . '&amp;title=' . urlencode($title) . '" ' . $params . '><img src="' . $image . '" alt="Submit to Reddit" /></a>';
42
  break;
43
 
44
  // Display the Text format
45
  case 'text':
46
- $reddit_processed .= '<a href="http://www.reddit.com/submit?url=' . urlencode($url) . '&amp;title=' . urlencode($title) . '" ' . $params . '>' . $text . '</a>';
47
  break;
48
  }
49
 
50
- $reddit_processed .= "\n<!-- End WP Socializer Plugin - Reddit Button -->\n";
51
 
52
- return $reddit_processed;
53
  }
54
 
55
- function wpsr_reddit_bt($type){
56
 
57
  ## Start Output
58
- $wpsr_reddit_bt_processed = wpsr_reddit(array(
59
  'output' => 'button',
60
  'type' => $type,
61
  ));
62
  ## End Output
63
 
64
- return $wpsr_reddit_bt_processed;
65
  }
66
 
67
- function wpsr_reddit_rss_bt(){
68
 
69
  ## Start Output
70
- $wpsr_reddit_processed = wpsr_reddit(array(
71
  'output' => 'text',
72
  'params' => 'target="_blank"',
73
  ));
74
  ## End Output
75
 
76
- return $wpsr_reddit_processed;
77
  }
78
 
79
- // StumbleUpon button
80
- function wpsr_stumbleupon($args = ''){
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
 
82
  global $post;
83
 
@@ -89,64 +176,65 @@ function wpsr_stumbleupon($args = ''){
89
  'output' => 'button',
90
  'url' => $def_url,
91
  'title' => $def_title,
92
- 'type' => '1',
93
- 'text' => __('Stumble this' ,'wpsr'),
94
- 'image' => WPSR_PUBLIC_URL . 'buttons/stumbleupon-bt.gif',
95
  'params' => '',
96
  );
97
 
98
  $args = wp_parse_args($args, $defaults);
99
  extract($args, EXTR_SKIP);
100
 
101
- $reddit_processed = "\n<!-- Start WP Socializer Plugin - StumbleUpon Button -->\n";
102
 
103
  switch($output){
104
  // Display the ordinary button
105
  case 'button':
106
- $stumbleupon_processed .= '<script type="text/javascript" src="http://www.stumbleupon.com/hostedbadge.php?s=' . $type .'&r=' . $url . '"></script>';
107
  break;
108
 
109
  // Display the Image format
110
  case 'image':
111
- $stumbleupon_processed .= '<a href="http://www.stumbleupon.com/submit?url=' . urlencode($url) . '&title=' . urlencode($title) . '" ' . $params . '><img src="' . $image . '" alt="Submit to Stumbleupon" /></a>';
112
  break;
113
 
114
  // Display the Text format
115
  case 'text':
116
- $stumbleupon_processed .= '<a href="http://www.stumbleupon.com/submit?url=' . urlencode($url) . '&title=' . urlencode($title) . '" ' . $params . '>' . $text . '</a>';
117
  break;
118
  }
119
 
120
- $stumbleupon_processed .= "\n<!-- End WP Socializer Plugin - StumbleUpon Button -->\n";
121
 
122
- return $stumbleupon_processed;
123
  }
124
 
125
- function wpsr_stumbleupon_bt($type){
126
 
127
  ## Start Output
128
- $wpsr_stumbleupon_bt_processed = wpsr_stumbleupon(array(
129
  'output' => 'button',
130
  'type' => $type,
131
  ));
132
  ## End Output
133
 
134
- return $wpsr_stumbleupon_bt_processed;
135
  }
136
 
137
- function wpsr_stumbleupon_rss_bt(){
138
 
139
  ## Start Output
140
- $wpsr_stumbleupon_processed = wpsr_stumbleupon(array(
141
  'output' => 'text',
142
  'params' => 'target="_blank"',
143
  ));
144
  ## End Output
145
 
146
- return $wpsr_stumbleupon_processed;
147
  }
148
 
149
- //LinkedIn button
 
150
  function wpsr_linkedin_script(){
151
  // Return the script
152
  return "\n<!-- WP Socializer - LinkedIn Script -->\n".
1
  <?php
2
  /*
3
+ * Pinterest, Reddit, StumbleUpon and LinkedIn buttons Processor code for WP Socializer Plugin
4
+ * Version : 2.2
5
  * Since v2.0
6
  * Author : Aakash Chakravarthy
7
  */
8
 
9
+ // StumbleUpon button
10
+ function wpsr_stumbleupon_script(){
11
+ return "\n<!-- WP Socializer - StumbleUpon Script -->\n<script type=\"text/javascript\">
12
+ (function() {
13
+ var li = document.createElement('script'); li.type = 'text/javascript'; li.async = true;
14
+ li.src = window.location.protocol + '//platform.stumbleupon.com/1/widgets.js';
15
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(li, s);
16
+ })();
17
+ </script>\n<!-- WP Socializer - StumbleUpon Script -->\n";
18
+ }
19
 
20
+ function wpsr_stumbleupon($args = ''){
21
  global $post;
22
 
23
  $details = wpsr_get_post_details();
28
  'output' => 'button',
29
  'url' => $def_url,
30
  'title' => $def_title,
31
+ 'type' => '1',
32
+ 'text' => __('Stumble this' ,'wpsr'),
33
+ 'image' => WPSR_PUBLIC_URL . 'buttons/stumbleupon-bt.gif',
34
  'params' => '',
35
  );
36
 
37
  $args = wp_parse_args($args, $defaults);
38
  extract($args, EXTR_SKIP);
39
 
40
+ $stumbleupon_processed = "\n<!-- Start WP Socializer Plugin - StumbleUpon Button -->\n";
41
 
42
  switch($output){
43
  // Display the ordinary button
44
  case 'button':
45
+ $stumbleupon_processed .= '<su:badge layout="' . $type . '"></su:badge>';
46
  break;
47
 
48
  // Display the Image format
49
  case 'image':
50
+ $stumbleupon_processed .= '<a href="http://www.stumbleupon.com/submit?url=' . urlencode($url) . '&title=' . urlencode($title) . '" ' . $params . '><img src="' . $image . '" alt="Submit to Stumbleupon" /></a>';
51
  break;
52
 
53
  // Display the Text format
54
  case 'text':
55
+ $stumbleupon_processed .= '<a href="http://www.stumbleupon.com/submit?url=' . urlencode($url) . '&title=' . urlencode($title) . '" ' . $params . '>' . $text . '</a>';
56
  break;
57
  }
58
 
59
+ $stumbleupon_processed .= "\n<!-- End WP Socializer Plugin - StumbleUpon Button -->\n";
60
 
61
+ return $stumbleupon_processed;
62
  }
63
 
64
+ function wpsr_stumbleupon_bt($type){
65
 
66
  ## Start Output
67
+ $wpsr_stumbleupon_bt_processed = wpsr_stumbleupon(array(
68
  'output' => 'button',
69
  'type' => $type,
70
  ));
71
  ## End Output
72
 
73
+ return $wpsr_stumbleupon_bt_processed;
74
  }
75
 
76
+ function wpsr_stumbleupon_rss_bt(){
77
 
78
  ## Start Output
79
+ $wpsr_stumbleupon_processed = wpsr_stumbleupon(array(
80
  'output' => 'text',
81
  'params' => 'target="_blank"',
82
  ));
83
  ## End Output
84
 
85
+ return $wpsr_stumbleupon_processed;
86
  }
87
 
88
+ // Pinterest button
89
+ function wpsr_pinterest_script(){
90
+ return "\n<!-- WP Socializer - Pinterest Script -->\n" .
91
+ '<script type="text/javascript" src="//assets.pinterest.com/js/pinit.js"></script>'.
92
+ "\n<!-- WP Socializer - Pinterest Script -->\n";
93
+ }
94
+
95
+ function wpsr_pinterest($args = ''){
96
+
97
+ global $post;
98
+
99
+ $details = wpsr_get_post_details();
100
+ $def_url = $details['permalink'];
101
+ $def_title = $details['title'];
102
+ $def_media = $details['image'];
103
+
104
+ $defaults = array (
105
+ 'output' => 'button',
106
+ 'url' => $def_url,
107
+ 'title' => $def_title,
108
+ 'type' => 'horizontal',
109
+ 'media' => $def_media,
110
+ 'text' => __('Submit this to', 'wpsr'),
111
+ 'image' => '//assets.pinterest.com/images/PinExt.png',
112
+ 'params' => '',
113
+ );
114
+
115
+ $args = wp_parse_args($args, $defaults);
116
+ extract($args, EXTR_SKIP);
117
+
118
+ $pinterest_processed = "\n<!-- Start WP Socializer Plugin - Pinterest Button -->\n";
119
+
120
+ switch($output){
121
+ // Display the ordinary button
122
+ case 'button':
123
+ $pinterest_processed .= '<a href="http://pinterest.com/pin/create/button/?url=' . urlencode($url) . '&media=' . urlencode($media) . '" class="pin-it-button" count-layout="' . $type . '"><img border="0" src="//assets.pinterest.com/images/PinExt.png" title="Pin It" /></a>';
124
+ break;
125
+
126
+ // Display the Image format
127
+ case 'image':
128
+ $pinterest_processed .= '<a href="http://pinterest.com/pin/create/button/?url=' . urlencode($url) . '&media=' . urlencode($media) . '" ' . $params . '><img src="' . $image . '" alt="Submit to Reddit" /></a>';
129
+ break;
130
+
131
+ // Display the Text format
132
+ case 'text':
133
+ $pinterest_processed .= '<a href="http://pinterest.com/pin/create/button/?url=' . urlencode($url) . '&media=' . urlencode($media) . '" ' . $params . '>' . $text . '</a>';
134
+ break;
135
+ }
136
+
137
+ $pinterest_processed .= "\n<!-- End WP Socializer Plugin - Pinterest Button -->\n";
138
+
139
+ return $pinterest_processed;
140
+ }
141
+
142
+ function wpsr_pinterest_bt($type){
143
+
144
+ ## Start Output
145
+ $wpsr_pinterest_processed = wpsr_pinterest(array(
146
+ 'output' => 'button',
147
+ 'type' => $type,
148
+ ));
149
+ ## End Output
150
+
151
+ return $wpsr_pinterest_processed;
152
+ }
153
+
154
+ function wpsr_pinterest_rss_bt(){
155
+
156
+ ## Start Output
157
+ $wpsr_pinterest_processed = wpsr_pinterest(array(
158
+ 'output' => 'text',
159
+ 'params' => 'target="_blank"',
160
+ ));
161
+ ## End Output
162
+
163
+ return $wpsr_pinterest_processed;
164
+ }
165
+
166
+ // Reddit button
167
+ function wpsr_reddit($args = ''){
168
 
169
  global $post;
170
 
176
  'output' => 'button',
177
  'url' => $def_url,
178
  'title' => $def_title,
179
+ 'type' => '2',
180
+ 'text' => __('Reddit this', 'wpsr'),
181
+ 'image' => WPSR_PUBLIC_URL . 'buttons/reddit-bt.gif',
182
  'params' => '',
183
  );
184
 
185
  $args = wp_parse_args($args, $defaults);
186
  extract($args, EXTR_SKIP);
187
 
188
+ $reddit_processed = "\n<!-- Start WP Socializer Plugin - Reddit Button -->\n";
189
 
190
  switch($output){
191
  // Display the ordinary button
192
  case 'button':
193
+ $reddit_processed .= '<script type="text/javascript">reddit_url = "' . $url . '";reddit_title = "' . $title . '";reddit_newwindow="1";</script><script type="text/javascript" src="http://www.reddit.com/static/button/button' . $type . '.js"></script>';
194
  break;
195
 
196
  // Display the Image format
197
  case 'image':
198
+ $reddit_processed .= '<a href="http://www.reddit.com/submit?url=' . urlencode($url) . '&amp;title=' . urlencode($title) . '" ' . $params . '><img src="' . $image . '" alt="Submit to Reddit" /></a>';
199
  break;
200
 
201
  // Display the Text format
202
  case 'text':
203
+ $reddit_processed .= '<a href="http://www.reddit.com/submit?url=' . urlencode($url) . '&amp;title=' . urlencode($title) . '" ' . $params . '>' . $text . '</a>';
204
  break;
205
  }
206
 
207
+ $reddit_processed .= "\n<!-- End WP Socializer Plugin - Reddit Button -->\n";
208
 
209
+ return $reddit_processed;
210
  }
211
 
212
+ function wpsr_reddit_bt($type){
213
 
214
  ## Start Output
215
+ $wpsr_reddit_bt_processed = wpsr_reddit(array(
216
  'output' => 'button',
217
  'type' => $type,
218
  ));
219
  ## End Output
220
 
221
+ return $wpsr_reddit_bt_processed;
222
  }
223
 
224
+ function wpsr_reddit_rss_bt(){
225
 
226
  ## Start Output
227
+ $wpsr_reddit_processed = wpsr_reddit(array(
228
  'output' => 'text',
229
  'params' => 'target="_blank"',
230
  ));
231
  ## End Output
232
 
233
+ return $wpsr_reddit_processed;
234
  }
235
 
236
+
237
+ // LinkedIn button
238
  function wpsr_linkedin_script(){
239
  // Return the script
240
  return "\n<!-- WP Socializer - LinkedIn Script -->\n".
includes/wpsr-retweet.php CHANGED
@@ -19,23 +19,6 @@ function wpsr_retweet_twitter_script(){
19
  "\n<!-- WP Socializer - End Twitter Script -->\n";
20
  }
21
 
22
- function wpsr_retweet_bt_used(){
23
-
24
- ## Get template data
25
- $wpsr_template1 = get_option('wpsr_template1_data');
26
- $wpsr_template2 = get_option('wpsr_template2_data');
27
-
28
- $wpsr_template1_content = $wpsr_template1['content'];
29
- $wpsr_template2_content = $wpsr_template2['content'];
30
- $is_retweetbt_used = strpos($wpsr_template1_content . $wpsr_template2_content, '{retweet-bt}');
31
-
32
- if ($is_retweetbt_used === false) {
33
- return 0;
34
- } else {
35
- return 1;
36
- }
37
- }
38
-
39
  function wpsr_retweet($args = ''){
40
  global $post;
41
 
@@ -120,25 +103,6 @@ function wpsr_retweet($args = ''){
120
  '}--></div>';
121
 
122
  break;
123
-
124
- // Retweet processing code
125
- case "retweet" :
126
-
127
- if($type == 'normal'){
128
- $type = "";
129
- }else{
130
- $type = "size = 'small'; ";
131
- }
132
-
133
- $retweet_processed .=
134
- '<script type="text/javascript">' . "\n" . "//<!--\n" .
135
- "url = '" . $url . "';" .
136
- "username = '" . $username . "';" .
137
- $type . "\n//-->" .
138
- '</script>' .
139
- '<script type="text/javascript" src="http://www.retweet.com/static/retweets.js"></script>';
140
-
141
- break;
142
  }
143
 
144
  break;
19
  "\n<!-- WP Socializer - End Twitter Script -->\n";
20
  }
21
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  function wpsr_retweet($args = ''){
23
  global $post;
24
 
103
  '}--></div>';
104
 
105
  break;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
  }
107
 
108
  break;
includes/wpsr-shortcodes.php CHANGED
@@ -58,13 +58,13 @@ add_shortcode('wpsr_digg', 'wpsr_digg_shortcode');
58
 
59
  ## Facebook Shortcode
60
  function wpsr_facebook_shortcode($atts){
61
- return wpsr_facebook($atts);
62
  }
63
  add_shortcode('wpsr_facebook', 'wpsr_facebook_shortcode');
64
 
65
  ## StumbleUpon Shortcode
66
  function wpsr_stumbleupon_shortcode($atts){
67
- return wpsr_stumbleupon($atts);
68
  }
69
  add_shortcode('wpsr_stumbleupon', 'wpsr_stumbleupon_shortcode');
70
 
@@ -79,4 +79,10 @@ function wpsr_linkedin_shortcode($atts){
79
  return wpsr_linkedin($atts) . wpsr_linkedin_script();
80
  }
81
  add_shortcode('wpsr_linkedin', 'wpsr_linkedin_shortcode');
 
 
 
 
 
 
82
  ?>
58
 
59
  ## Facebook Shortcode
60
  function wpsr_facebook_shortcode($atts){
61
+ return wpsr_facebook($atts) . wpsr_facebook_script();
62
  }
63
  add_shortcode('wpsr_facebook', 'wpsr_facebook_shortcode');
64
 
65
  ## StumbleUpon Shortcode
66
  function wpsr_stumbleupon_shortcode($atts){
67
+ return wpsr_stumbleupon($atts) . wpsr_stumbleupon_script();
68
  }
69
  add_shortcode('wpsr_stumbleupon', 'wpsr_stumbleupon_shortcode');
70
 
79
  return wpsr_linkedin($atts) . wpsr_linkedin_script();
80
  }
81
  add_shortcode('wpsr_linkedin', 'wpsr_linkedin_shortcode');
82
+
83
+ ## Pinterest Shortcode - since v2.4
84
+ function wpsr_pinterest_shortcode($atts){
85
+ return wpsr_pinterest($atts) . wpsr_pinterest_script();
86
+ }
87
+ add_shortcode('wpsr_pinterest', 'wpsr_pinterest_shortcode');
88
  ?>
includes/wpsr-socialbuttons.php CHANGED
@@ -167,19 +167,20 @@ function wpsr_socialbts_processlist($args = ''){
167
  $email = get_bloginfo('admin_email');
168
  $trUsername = (empty($wpsr_retweet['username'])) ? '' : '@' . $wpsr_retweet['username'];
169
  $sUrl = wpsr_get_shorturl($deUrl);
 
170
 
171
  $replace_with = array(
172
  $url, $title, $rss,
173
  $blogname, $excerpt, $deUrl,
174
  $deTitle, $deExcerpt, $email,
175
- $trUsername, $sUrl,
176
  );
177
 
178
  $to_be_replaced = array(
179
  '{url}', '{title}', '{rss-url}',
180
  '{blogname}', '{excerpt}', '{de-url}',
181
  '{de-title}', '{de-excerpt}', '{email}',
182
- '{twitter-username}', '{s-url}',
183
  );
184
 
185
  $srvcsSplit = explode(',', $services);
167
  $email = get_bloginfo('admin_email');
168
  $trUsername = (empty($wpsr_retweet['username'])) ? '' : '@' . $wpsr_retweet['username'];
169
  $sUrl = wpsr_get_shorturl($deUrl);
170
+ $image = urlencode($details['image']);
171
 
172
  $replace_with = array(
173
  $url, $title, $rss,
174
  $blogname, $excerpt, $deUrl,
175
  $deTitle, $deExcerpt, $email,
176
+ $trUsername, $sUrl, $image
177
  );
178
 
179
  $to_be_replaced = array(
180
  '{url}', '{title}', '{rss-url}',
181
  '{blogname}', '{excerpt}', '{de-url}',
182
  '{de-title}', '{de-excerpt}', '{email}',
183
+ '{twitter-username}', '{s-url}', '{image}'
184
  );
185
 
186
  $srvcsSplit = explode(',', $services);
languages/readme.html DELETED
@@ -1,42 +0,0 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
- <html>
3
- <head>
4
- <title>WP Socializer - Plugin - Language Translation</title>
5
- <style>
6
- body{
7
- font: 13px/2em Arial, Helvetica, sans-serif;
8
- background: #DDF1FF;
9
- }
10
- #wrap{
11
- margin: 0px auto;
12
- padding: 10px;
13
- width: 750px;
14
- background: #FFFFFF;
15
- border: 1px solid #0099FF;
16
- }
17
- h1, h2{
18
- font-weight: normal;
19
- border-bottom: 1px solid #E0E0E0;
20
- }
21
- .grey{
22
- color: #999999;
23
- }
24
- </style>
25
- </head>
26
- <body>
27
- <div id="wrap">
28
- <h1>WP Socializer - Plugin - Language Translation</h1>
29
- <h3>Credits</h3>
30
- <p>Spanish and Chinese Translation -By <a href="http://www.aakashweb.com/" rel="follow">Aakash Chakravarthy</a> </p>
31
- <p>PO and MO files were made with Poedit software. Translations were done with Google Translate and Microsoft Translate. </p>
32
- <h2>Contact Author </h2>
33
- <ul>
34
- <li>Website: <a href="http://www.aakashweb.com/" rel="follow">Aakash Web</a></li>
35
- <li>Support: <a href="http://www.aakashweb.com/forum/">Forum</a> </li>
36
- <li>Email: aakash.19493 AT gmail DOT com</li>
37
- <li>Twitter: <a href="http://twitter.com/vaakash">vaakash</a></li>
38
- </ul>
39
- <p>More Translations needed. Please submit a Translation in <a href="http://www.aakashweb.com/wordpress-plugins/wp-socializer/" rel="follow">this page</a>. </p>
40
- </div>
41
- </body>
42
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/wpsr-es_ES.mo DELETED
Binary file
languages/wpsr-es_ES.po DELETED
@@ -1,1026 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: WP Socializer\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2011-07-15 20:15+0530\n"
6
- "PO-Revision-Date: 2011-07-15 20:43+0530\n"
7
- "Last-Translator: Aakash Chakravarthy <aakash.19493@gmail.com>\n"
8
- "Language-Team: Aakash Chakravarthy\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: _;gettext;gettext_noop;__;_e\n"
13
- "X-Poedit-Basepath: .\n"
14
- "X-Poedit-SearchPath-0: ..\n"
15
-
16
- #: ../wp-socializer.php:38
17
- #: ../wp-socializer.php:45
18
- #: ../wp-socializer.php:52
19
- #: ../wp-socializer.php:60
20
- #: ../wp-socializer.php:76
21
- #: ../wp-socializer.php:90
22
- #: ../wp-socializer.php:97
23
- #: ../wp-socializer.php:113
24
- #: ../wp-socializer.php:120
25
- #: ../wp-socializer.php:137
26
- #: ../wp-socializer.php:175
27
- #: ../wp-socializer.php:192
28
- #: ../wp-socializer.php:209
29
- #: ../wp-socializer.php:217
30
- #: ../wp-socializer.php:224
31
- #: ../wp-socializer.php:231
32
- #: ../wp-socializer.php:239
33
- #: ../wp-socializer.php:247
34
- #: ../wp-socializer.php:256
35
- #: ../wp-socializer.php:287
36
- #: ../wp-socializer.php:295
37
- #: ../wp-socializer.php:303
38
- #: ../wp-socializer.php:312
39
- #: ../wp-socializer.php:333
40
- #: ../wp-socializer.php:347
41
- #: ../wp-socializer.php:357
42
- #: ../wp-socializer.php:364
43
- #: ../wp-socializer.php:380
44
- #: ../wp-socializer.php:397
45
- #: ../wp-socializer.php:411
46
- #: ../wp-socializer.php:425
47
- #: ../wp-socializer.php:433
48
- #: ../wp-socializer.php:479
49
- #: ../wp-socializer.php:486
50
- #: ../wp-socializer.php:493
51
- #: ../wp-socializer.php:500
52
- #: ../wp-socializer.php:517
53
- #: ../wp-socializer.php:524
54
- #: ../wp-socializer.php:532
55
- #: ../wp-socializer.php:547
56
- #: ../wp-socializer.php:555
57
- #: ../wp-socializer.php:564
58
- #: ../wp-socializer.php:572
59
- #: ../wp-socializer.php:589
60
- #: ../wp-socializer.php:597
61
- #: ../wp-socializer.php:629
62
- #: ../wp-socializer.php:654
63
- #: ../wp-socializer.php:668
64
- #: ../wp-socializer.php:682
65
- #: ../wp-socializer.php:689
66
- #: ../wp-socializer.php:696
67
- #: ../wp-socializer.php:721
68
- #: ../wp-socializer.php:743
69
- #: ../wp-socializer.php:770
70
- #: ../wp-socializer.php:779
71
- #: ../wp-socializer.php:786
72
- #: ../wp-socializer.php:793
73
- #: ../wp-socializer.php:812
74
- #: ../wp-socializer.php:819
75
- #: ../wp-socializer.php:854
76
- msgid "Share this on "
77
- msgstr "Comparte este artículo en"
78
-
79
- #: ../wp-socializer.php:68
80
- #: ../wp-socializer.php:129
81
- #: ../wp-socializer.php:168
82
- #: ../wp-socializer.php:279
83
- #: ../wp-socializer.php:507
84
- #: ../wp-socializer.php:661
85
- #: ../wp-socializer.php:703
86
- msgid "Post this on "
87
- msgstr "Publicar en este"
88
-
89
- #: ../wp-socializer.php:83
90
- #: ../wp-socializer.php:145
91
- #: ../wp-socializer.php:153
92
- #: ../wp-socializer.php:161
93
- #: ../wp-socializer.php:264
94
- #: ../wp-socializer.php:319
95
- #: ../wp-socializer.php:326
96
- #: ../wp-socializer.php:371
97
- #: ../wp-socializer.php:388
98
- #: ../wp-socializer.php:404
99
- #: ../wp-socializer.php:450
100
- #: ../wp-socializer.php:471
101
- #: ../wp-socializer.php:613
102
- #: ../wp-socializer.php:636
103
- #: ../wp-socializer.php:711
104
- #: ../wp-socializer.php:736
105
- #: ../wp-socializer.php:761
106
- #: ../wp-socializer.php:846
107
- msgid "Submit this to "
108
- msgstr "Enviar esto"
109
-
110
- #: ../wp-socializer.php:104
111
- msgid "Add this on "
112
- msgstr "Add this on "
113
-
114
- #: ../wp-socializer.php:182
115
- #: ../wp-socializer.php:418
116
- #: ../wp-socializer.php:440
117
- #: ../wp-socializer.php:457
118
- #: ../wp-socializer.php:539
119
- #: ../wp-socializer.php:622
120
- #: ../wp-socializer.php:675
121
- #: ../wp-socializer.php:728
122
- #: ../wp-socializer.php:829
123
- #: ../wp-socializer.php:838
124
- msgid "Add this to "
125
- msgstr "Agregue esto a"
126
-
127
- #: ../wp-socializer.php:199
128
- msgid "Email this "
129
- msgstr "enviar"
130
-
131
- #: ../wp-socializer.php:271
132
- #: ../wp-socializer.php:340
133
- msgid "Bookmark this on "
134
- msgstr "Marca esta en"
135
-
136
- #: ../wp-socializer.php:582
137
- msgid "Convert to "
138
- msgstr "convertir a"
139
-
140
- #: ../wp-socializer.php:605
141
- msgid "Print this article "
142
- msgstr "Imprimir este artículo"
143
-
144
- #: ../wp-socializer.php:644
145
- msgid "Subscribe to "
146
- msgstr "Suscríbete a"
147
-
148
- #: ../wp-socializer.php:751
149
- msgid "Tweet this !"
150
- msgstr "Tweet this !"
151
-
152
- #: ../wp-socializer.php:937
153
- msgid "<b>WP Socializer</b> plugin is intalled. Please adjust your settings"
154
- msgstr "Plugin de </b>WP Socializer</b> está instalado. Por favor ajuste la configuración"
155
-
156
- #: ../wp-socializer.php:937
157
- msgid "in this page"
158
- msgstr "en esta página"
159
-
160
- #: ../wp-socializer.php:947
161
- #: ../admin/wpsr-admin.php:752
162
- #: ../admin/wpsr-admin.php:859
163
- #: ../admin/wpsr-admin.php:1059
164
- #: ../admin/wpsr-admin.php:1461
165
- #: ../admin/wpsr-admin.php:1637
166
- msgid "Settings"
167
- msgstr "Configuración"
168
-
169
- #: ../wp-socializer.php:947
170
- #: ../admin/wpsr-admin.php:757
171
- #: ../admin/wpsr-admin.php:1565
172
- #, fuzzy
173
- msgid "Support"
174
- msgstr "Plugin de Apoyo"
175
-
176
- #: ../wp-socializer.php:1527
177
- msgid "AW Latest Updates"
178
- msgstr "AW Actualidad"
179
-
180
- #: ../wp-socializer.php:1538
181
- msgid "WP Socializer is <span style=\"color:red;\"><b>disabled</b></span>"
182
- msgstr "WP Socializer está <span style=\"color:red;\"><b>desactivado</b></span>"
183
-
184
- #: ../wp-socializer.php:1552
185
- #, fuzzy
186
- msgid "Edit the templates"
187
- msgstr "Deshabilitar plantilla 1"
188
-
189
- #: ../wp-socializer.php:1557
190
- msgid "Disable WP Socializer in this page"
191
- msgstr "Desactivar WP Socializer en esta página"
192
-
193
- #: ../wp-socializer.php:1597
194
- msgid "WP Socializer"
195
- msgstr "WP Socializer"
196
-
197
- #: ../wp-socializer.php:1598
198
- msgid "Insert WP Socializer buttons"
199
- msgstr "Insertar botones WP Socializer"
200
-
201
- #: ../admin/wpsr-admin-other.php:36
202
- msgid "In widgets and posts"
203
- msgstr "In widgets and posts"
204
-
205
- #: ../admin/wpsr-admin-other.php:37
206
- #: ../admin/wpsr-admin-other.php:91
207
- msgid "Note:"
208
- msgstr "Nota:"
209
-
210
- #: ../admin/wpsr-admin-other.php:37
211
- msgid "Inorder to use the buttons in <em>Widgets</em> and <em>Posts</em>, you need to use the below shortcodes."
212
- msgstr "Con el fin de utilizar los botones de \"Widgets\" & \"Posts\", es necesario utilizar los códigos cortos a continuación."
213
-
214
- #: ../admin/wpsr-admin-other.php:63
215
- msgid "These shortcodes have several parameters. You can use them to customize the buttons. View the parameters in this page."
216
- msgstr "Estos códigos cortos tienen varios parámetros. Se pueden utilizar para personalizar los botones. Ver los parámetros en esta página"
217
-
218
- #: ../admin/wpsr-admin-other.php:66
219
- msgid "You must use the above shortcodes in"
220
- msgstr "Debe utilizar el códigos cortos por encima de"
221
-
222
- #: ../admin/wpsr-admin-other.php:66
223
- msgid "plugin to insert the buttons in the widgets."
224
- msgstr "plug-in para insertar los botones en los widgets."
225
-
226
- #: ../admin/wpsr-admin-other.php:72
227
- msgid "HTML Javascript Adder is installed, Go to Widgets page and use the shortcodes in this widget"
228
- msgstr "HTML Javascript Adder está instalado, vaya a la página de Widgets y el uso de los códigos cortos en este widget"
229
-
230
- #: ../admin/wpsr-admin-other.php:75
231
- msgid "Upgrade HTML Javascript Adder plugin"
232
- msgstr "Actualiza HTML Javascript plugin de Adder"
233
-
234
- #: ../admin/wpsr-admin-other.php:76
235
- msgid "The current version ("
236
- msgstr "La versión actual ("
237
-
238
- #: ../admin/wpsr-admin-other.php:76
239
- msgid ") is not compatible with WP Socializer. It is recommended to upgrade"
240
- msgstr ") No es compatible con WP Socializer. Se recomienda actualizar"
241
-
242
- #: ../admin/wpsr-admin-other.php:79
243
- msgid "Install HTML Javascript Adder plugin"
244
- msgstr "Instalar plugin de HTML Javascript Adder"
245
-
246
- #: ../admin/wpsr-admin-other.php:86
247
- msgid "Inside Posts"
248
- msgstr "dentro de Posts"
249
-
250
- #: ../admin/wpsr-admin-other.php:87
251
- msgid "Inorder to use the buttons inside posts, you must use the above shortcodes in the post editor."
252
- msgstr "Con el fin de utilizar los botones dentro de los mensajes, debe utilizar el códigos cortos arriba en el editor de entradas."
253
-
254
- #: ../admin/wpsr-admin-other.php:91
255
- msgid "HTML Javascript Adder is a wordpress plugin for inserting HTML, Javascripts in widgets with more than 50,000 downloads. This is from the same author of this plugin. The latest version of HJA can insert WP Socializer buttons in widgets."
256
- msgstr "HTML Javascript Adder es un plugin de wordpress para insertar Javascript HTML, en los widgets con más de 50.000 descargas. Esto es del mismo autor de este plugin. La última versión de HJA puede insertar botones WP Socializer en widgets."
257
-
258
- #: ../admin/wpsr-admin.php:185
259
- msgid "Share and Enjoy"
260
- msgstr "Compartir y Disfrutar"
261
-
262
- #: ../admin/wpsr-admin.php:188
263
- msgid "Use Sharethis to share this post"
264
- msgstr "Use ShareThis para compartir este mensaje"
265
-
266
- #: ../admin/wpsr-admin.php:191
267
- msgid "Use Addhis to share this post"
268
- msgstr "Use Addhis compartir este posts"
269
-
270
- #: ../admin/wpsr-admin.php:508
271
- msgid "Updated successfully"
272
- msgstr "Actualizado el éxito"
273
-
274
- #: ../admin/wpsr-admin.php:512
275
- msgid "Values are set to defaults successfully"
276
- msgstr "Los valores se definen a los valores de éxito"
277
-
278
- #: ../admin/wpsr-admin.php:516
279
- msgid "Welcome to WP Socializer Admin page. <a href=\"http://\">Click here</a> to get started with WP Socializer"
280
- msgstr "Bienvenido a la página de administración de WP Socializer. <a href=\"http://www.aakashweb.com/?src=wpsr\">Haga clic aquí</a> para empezar con WP Socializer"
281
-
282
- #: ../admin/wpsr-admin.php:659
283
- msgid "Disabled"
284
- msgstr "Discapacitado"
285
-
286
- #: ../admin/wpsr-admin.php:673
287
- msgid "+1 this plugin"
288
- msgstr "Recomienda este plugin"
289
-
290
- #: ../admin/wpsr-admin.php:679
291
- #, fuzzy
292
- msgid "Like this plugin"
293
- msgstr "Promover este plugin"
294
-
295
- #: ../admin/wpsr-admin.php:686
296
- msgid "Donate"
297
- msgstr "Donar"
298
-
299
- #: ../admin/wpsr-admin.php:687
300
- msgid "and Support"
301
- msgstr "y soporte"
302
-
303
- #: ../admin/wpsr-admin.php:693
304
- msgid "Make your donation with Paypal"
305
- msgstr "Haga su donación con Paypal"
306
-
307
- #: ../admin/wpsr-admin.php:699
308
- msgid "Select your Donation amount:"
309
- msgstr "Seleccione el monto de su donación:"
310
-
311
- #: ../admin/wpsr-admin.php:721
312
- #, fuzzy
313
- msgid "Custom"
314
- msgstr "Personalizado 1"
315
-
316
- #: ../admin/wpsr-admin.php:731
317
- #: ../admin/wpsr-admin.php:1578
318
- msgid "Donate with PayPal!"
319
- msgstr "Donar con PayPal!"
320
-
321
- #: ../admin/wpsr-admin.php:756
322
- #: ../admin/wpsr-admin.php:1565
323
- #, fuzzy
324
- msgid "Documentation"
325
- msgstr "Plugin de Documentación"
326
-
327
- #: ../admin/wpsr-admin.php:758
328
- #: ../admin/wpsr-admin.php:1564
329
- msgid "Manual Placement"
330
- msgstr "Colocación manual de"
331
-
332
- #: ../admin/wpsr-admin.php:767
333
- msgid "Use the above code <a href=\"#tab-9\">here</a>, to insert the button"
334
- msgstr "Utilice el código anterior <a href=\"#tab-9\">aquí</a>, para insertar el botón"
335
-
336
- #: ../admin/wpsr-admin.php:781
337
- msgid "Select a template and click apply."
338
- msgstr "Seleccione un estilo y haga clic en Aplicar."
339
-
340
- #: ../admin/wpsr-admin.php:783
341
- msgid "Create a template"
342
- msgstr "Crear una plantilla"
343
-
344
- #: ../admin/wpsr-admin.php:783
345
- #, fuzzy
346
- msgid "Submit a template"
347
- msgstr "Deshabilitar plantilla 1"
348
-
349
- #: ../admin/wpsr-admin.php:791
350
- msgid "Social Buttons"
351
- msgstr "Social botones"
352
-
353
- #: ../admin/wpsr-admin.php:794
354
- msgid "Click the icon size to select and \"x\" button to remove selected. Click and drag to reorder selected sites"
355
- msgstr "Haga clic en el tamaño de los iconos para seleccionar y \"x \" para eliminar seleccionado. Haga clic y arrastre para reordenar los sitios seleccionados"
356
-
357
- #: ../admin/wpsr-admin.php:798
358
- msgid "Available buttons"
359
- msgstr "Botones disponibles"
360
-
361
- #: ../admin/wpsr-admin.php:798
362
- msgid "Filter buttons"
363
- msgstr "botones de filtro"
364
-
365
- #: ../admin/wpsr-admin.php:798
366
- msgid "Filter"
367
- msgstr "filtro"
368
-
369
- #: ../admin/wpsr-admin.php:826
370
- #: ../admin/wpsr-admin.php:841
371
- msgid "Selected buttons"
372
- msgstr "botones seleccionados"
373
-
374
- #: ../admin/wpsr-admin.php:863
375
- msgid "Open links in new tab/window"
376
- msgstr "Abrir enlaces en una nueva pestaña o ventana"
377
-
378
- #: ../admin/wpsr-admin.php:865
379
- #: ../admin/wpsr-admin.php:880
380
- #: ../admin/wpsr-admin.php:908
381
- #: ../admin/wpsr-admin.php:996
382
- #: ../admin/wpsr-admin.php:1069
383
- #: ../admin/wpsr-admin.php:1238
384
- #: ../admin/wpsr-admin.php:1287
385
- #: ../admin/wpsr-admin.php:1509
386
- #: ../admin/wpsr-admin.php:1526
387
- msgid "Yes"
388
- msgstr "Sí"
389
-
390
- #: ../admin/wpsr-admin.php:866
391
- #: ../admin/wpsr-admin.php:881
392
- #: ../admin/wpsr-admin.php:909
393
- #: ../admin/wpsr-admin.php:997
394
- #: ../admin/wpsr-admin.php:1070
395
- #: ../admin/wpsr-admin.php:1239
396
- #: ../admin/wpsr-admin.php:1288
397
- #: ../admin/wpsr-admin.php:1512
398
- #: ../admin/wpsr-admin.php:1525
399
- msgid "No"
400
- msgstr "En"
401
-
402
- #: ../admin/wpsr-admin.php:870
403
- msgid "Image on Hover effect"
404
- msgstr "La imagen en efecto Hover"
405
-
406
- #: ../admin/wpsr-admin.php:874
407
- msgid "No Effect"
408
- msgstr "Sin efecto"
409
-
410
- #: ../admin/wpsr-admin.php:878
411
- msgid "Show Label for buttons"
412
- msgstr "Mostrar la etiqueta de los botones"
413
-
414
- #: ../admin/wpsr-admin.php:885
415
- msgid "Show Icons in"
416
- msgstr "Show Icons in"
417
-
418
- #: ../admin/wpsr-admin.php:886
419
- msgid "Very very effective when labels are enabled (try it)"
420
- msgstr "Muy muy eficaz cuando las etiquetas están permitidas (probarlo)"
421
-
422
- #: ../admin/wpsr-admin.php:896
423
- msgid "Image folder"
424
- msgstr "Imagen carpeta"
425
-
426
- #: ../admin/wpsr-admin.php:897
427
- #: ../admin/wpsr-admin.php:932
428
- #: ../admin/wpsr-admin.php:940
429
- #: ../admin/wpsr-admin.php:992
430
- msgid "Leave blank to use default"
431
- msgstr "Deja en blanco para usar por defecto"
432
-
433
- #: ../admin/wpsr-admin.php:906
434
- msgid "Use Sprites"
435
- msgstr "Utilice Sprites"
436
-
437
- #: ../admin/wpsr-admin.php:926
438
- msgid "Services"
439
- msgstr "servicios"
440
-
441
- #: ../admin/wpsr-admin.php:960
442
- #: ../admin/wpsr-admin.php:1017
443
- #, fuzzy
444
- msgid "Buttons"
445
- msgstr "Botón"
446
-
447
- #: ../admin/wpsr-admin.php:974
448
- msgid "Optional button Settings"
449
- msgstr "Opcional en el botón Configuración"
450
-
451
- #: ../admin/wpsr-admin.php:979
452
- msgid "Add This Username"
453
- msgstr "Añadir este usuario"
454
-
455
- #: ../admin/wpsr-admin.php:983
456
- msgid "If available"
457
- msgstr "Si está disponible"
458
-
459
- #: ../admin/wpsr-admin.php:985
460
- #: ../admin/wpsr-admin.php:1102
461
- #: ../admin/wpsr-admin.php:1188
462
- msgid "Language"
463
- msgstr "Idioma"
464
-
465
- #: ../admin/wpsr-admin.php:991
466
- msgid "Brand Name"
467
- msgstr "Marca Nombre"
468
-
469
- #: ../admin/wpsr-admin.php:994
470
- msgid "Track Clickback"
471
- msgstr "pista Clickback"
472
-
473
- #: ../admin/wpsr-admin.php:1001
474
- msgid "Header Color"
475
- msgstr "Encabezado Color"
476
-
477
- #: ../admin/wpsr-admin.php:1003
478
- msgid "Header Background"
479
- msgstr "Encabezado Antecedentes"
480
-
481
- #: ../admin/wpsr-admin.php:1018
482
- #, fuzzy
483
- msgid "Button type"
484
- msgstr "Botón Estilo"
485
-
486
- #: ../admin/wpsr-admin.php:1019
487
- #, fuzzy
488
- msgid "Button Order"
489
- msgstr "Botón de Texto"
490
-
491
- #: ../admin/wpsr-admin.php:1020
492
- msgid "Reorder, remove or add social buttons"
493
- msgstr "Reordenar, eliminar o agregar botones sociales"
494
-
495
- #: ../admin/wpsr-admin.php:1064
496
- msgid "You can see you publisher key in this page. "
497
- msgstr "Puede que usted ve la clave del editor de esta página."
498
-
499
- #: ../admin/wpsr-admin.php:1064
500
- #: ../admin/wpsr-admin.php:1114
501
- msgid "Click here"
502
- msgstr "Haga clic aquí"
503
-
504
- #: ../admin/wpsr-admin.php:1081
505
- msgid "Post to Buzz button"
506
- msgstr "Poste en el botón Buzz"
507
-
508
- #: ../admin/wpsr-admin.php:1086
509
- #: ../admin/wpsr-admin.php:1278
510
- msgid "Style"
511
- msgstr "Estilo"
512
-
513
- #: ../admin/wpsr-admin.php:1088
514
- msgid "Show Button and counter"
515
- msgstr "Mostrar botón y la lucha contra"
516
-
517
- #: ../admin/wpsr-admin.php:1089
518
- msgid "Show Button only"
519
- msgstr "Mostrar sólo botón"
520
-
521
- #: ../admin/wpsr-admin.php:1090
522
- msgid "Show Link only"
523
- msgstr "Mostrar Vincular sólo"
524
-
525
- #: ../admin/wpsr-admin.php:1096
526
- msgid "Size"
527
- msgstr "Tamaño"
528
-
529
- #: ../admin/wpsr-admin.php:1096
530
- #: ../admin/wpsr-admin.php:1285
531
- msgid "Not for link"
532
- msgstr "No para el enlace"
533
-
534
- #: ../admin/wpsr-admin.php:1097
535
- msgid "Normal"
536
- msgstr "Normal"
537
-
538
- #: ../admin/wpsr-admin.php:1099
539
- msgid "Small"
540
- msgstr "Pequeño"
541
-
542
- #: ../admin/wpsr-admin.php:1108
543
- msgid "Follow on Buzz button"
544
- msgstr "Siga las Buz Buton"
545
-
546
- #: ../admin/wpsr-admin.php:1113
547
- msgid "Profile URL"
548
- msgstr "Perfil URL"
549
-
550
- #: ../admin/wpsr-admin.php:1114
551
- msgid "Don't know your profile URL?"
552
- msgstr "No sabe la URL del perfil?"
553
-
554
- #: ../admin/wpsr-admin.php:1117
555
- msgid "Button Text"
556
- msgstr "Botón de Texto"
557
-
558
- #: ../admin/wpsr-admin.php:1128
559
- msgid "General"
560
- msgstr "General"
561
-
562
- #: ../admin/wpsr-admin.php:1133
563
- msgid "Twitter Username"
564
- msgstr "Twitter Nombre de usuario"
565
-
566
- #: ../admin/wpsr-admin.php:1137
567
- msgid "Retweet Button Type"
568
- msgstr "Retweet botón Tipo"
569
-
570
- #: ../admin/wpsr-admin.php:1139
571
- msgid "Normal (Big)"
572
- msgstr "Normal (grande)"
573
-
574
- #: ../admin/wpsr-admin.php:1140
575
- #: ../admin/wpsr-admin.php:1213
576
- msgid "Compact"
577
- msgstr "Compacto"
578
-
579
- #: ../admin/wpsr-admin.php:1141
580
- msgid "No Count (only for Twitter's Official Button)"
581
- msgstr "No Count (sólo para Button Oficial de Twitter)"
582
-
583
- #: ../admin/wpsr-admin.php:1147
584
- msgid "Choose a service"
585
- msgstr "Elija un servicio"
586
-
587
- #: ../admin/wpsr-admin.php:1152
588
- msgid "Retweet Service"
589
- msgstr "Retweet Servicio"
590
-
591
- #: ../admin/wpsr-admin.php:1154
592
- msgid "Twitter's Official Button"
593
- msgstr "Botón Oficial de Twitter"
594
-
595
- #: ../admin/wpsr-admin.php:1163
596
- msgid "Select a theme for topsy"
597
- msgstr "Seleccione un tema de patas"
598
-
599
- #: ../admin/wpsr-admin.php:1182
600
- msgid "Recommend people"
601
- msgstr "recomiendo a la gente"
602
-
603
- #: ../admin/wpsr-admin.php:1184
604
- msgid "Twitter Username: Description (Optional)"
605
- msgstr "Nombre de usuario de Twitter: Descripción (Opcional)"
606
-
607
- #: ../admin/wpsr-admin.php:1205
608
- msgid "Digg Button"
609
- msgstr "Digg Button"
610
-
611
- #: ../admin/wpsr-admin.php:1209
612
- msgid "Digg Button type"
613
- msgstr "Digg Button tipo"
614
-
615
- #: ../admin/wpsr-admin.php:1211
616
- msgid "Medium"
617
- msgstr "Medio"
618
-
619
- #: ../admin/wpsr-admin.php:1212
620
- msgid "Wide"
621
- msgstr "Wide"
622
-
623
- #: ../admin/wpsr-admin.php:1214
624
- msgid "Icon"
625
- msgstr "Icono"
626
-
627
- #: ../admin/wpsr-admin.php:1224
628
- msgid "Like Button"
629
- msgstr "Al igual que Button"
630
-
631
- #: ../admin/wpsr-admin.php:1228
632
- msgid "Button Style"
633
- msgstr "Botón Estilo"
634
-
635
- #: ../admin/wpsr-admin.php:1230
636
- msgid "Standard"
637
- msgstr "Estándar"
638
-
639
- #: ../admin/wpsr-admin.php:1231
640
- msgid "Button count"
641
- msgstr "botón de contar"
642
-
643
- #: ../admin/wpsr-admin.php:1232
644
- msgid "Box count"
645
- msgstr "caja de contar"
646
-
647
- #: ../admin/wpsr-admin.php:1236
648
- msgid "Show Faces"
649
- msgstr "Mostrar Caras"
650
-
651
- #: ../admin/wpsr-admin.php:1243
652
- msgid "Width"
653
- msgstr "Ancho"
654
-
655
- #: ../admin/wpsr-admin.php:1244
656
- msgid "In pixels"
657
- msgstr "En píxeles"
658
-
659
- #: ../admin/wpsr-admin.php:1247
660
- msgid "Verb to Display"
661
- msgstr "Verbo mostrar"
662
-
663
- #: ../admin/wpsr-admin.php:1249
664
- msgid "Like"
665
- msgstr "Como"
666
-
667
- #: ../admin/wpsr-admin.php:1250
668
- msgid "Recommend"
669
- msgstr "Recomendar"
670
-
671
- #: ../admin/wpsr-admin.php:1254
672
- msgid "Font"
673
- msgstr "Fuente"
674
-
675
- #: ../admin/wpsr-admin.php:1265
676
- msgid "Color scheme"
677
- msgstr "Combinación de colores"
678
-
679
- #: ../admin/wpsr-admin.php:1267
680
- msgid "Light"
681
- msgstr "Luz"
682
-
683
- #: ../admin/wpsr-admin.php:1268
684
- msgid "Dark"
685
- msgstr "Oscuro"
686
-
687
- #: ../admin/wpsr-admin.php:1274
688
- msgid "Share Button"
689
- msgstr "Compartir Button"
690
-
691
- #: ../admin/wpsr-admin.php:1280
692
- msgid "Button"
693
- msgstr "Botón"
694
-
695
- #: ../admin/wpsr-admin.php:1282
696
- msgid "Link"
697
- msgstr "Enlace"
698
-
699
- #: ../admin/wpsr-admin.php:1285
700
- msgid "Show Counter"
701
- msgstr "Mostrar contra"
702
-
703
- #: ../admin/wpsr-admin.php:1291
704
- msgid "Above the button"
705
- msgstr "Por encima de la tecla"
706
-
707
- #: ../admin/wpsr-admin.php:1293
708
- msgid "Inline with the Button"
709
- msgstr "En línea con el botón"
710
-
711
- #: ../admin/wpsr-admin.php:1303
712
- msgid "Custom 1"
713
- msgstr "Personalizado 1"
714
-
715
- #: ../admin/wpsr-admin.php:1306
716
- #: ../admin/wpsr-admin.php:1312
717
- #, php-format
718
- msgid "Enter any share button code. Use %s for the page url and %s for page title"
719
- msgstr "Ingrese cualquier código del botón acción. Use %s para el URL de la página y %s para el título de la página"
720
-
721
- #: ../admin/wpsr-admin.php:1309
722
- msgid "Custom 2"
723
- msgstr "Personalizado 2"
724
-
725
- #: ../admin/wpsr-admin.php:1322
726
- msgid "Template 1"
727
- msgstr "Plantilla 1"
728
-
729
- #: ../admin/wpsr-admin.php:1323
730
- msgid "Template 2"
731
- msgstr "Plantilla 2"
732
-
733
- #: ../admin/wpsr-admin.php:1329
734
- #: ../admin/wpsr-admin.php:1394
735
- msgid "Use the menu below to insert the buttons into the template"
736
- msgstr "Utilice el siguiente menú para insertar los botones en la plantilla"
737
-
738
- #: ../admin/wpsr-admin.php:1330
739
- #: ../admin/wpsr-admin.php:1395
740
- msgid "All HTML/CSS tags can be used. The button codes can be wrapped with HTML tags for proper aligning."
741
- msgstr "Todas las etiquetas de HTML / CSS se puede utilizar. Los códigos de los botones se puede envolver con las etiquetas HTML para alinear adecuada."
742
-
743
- #: ../admin/wpsr-admin.php:1344
744
- #: ../admin/wpsr-admin.php:1409
745
- msgid "Automatically add paragraphs"
746
- msgstr "Añadir automáticamente los párrafos"
747
-
748
- #: ../admin/wpsr-admin.php:1349
749
- #: ../admin/wpsr-admin.php:1414
750
- msgid "Where to show these buttons ?"
751
- msgstr "Lugares de aparición de estos botones?"
752
-
753
- #: ../admin/wpsr-admin.php:1354
754
- #: ../admin/wpsr-admin.php:1419
755
- msgid "Show in front page"
756
- msgstr "Mostrar en la página principal"
757
-
758
- #: ../admin/wpsr-admin.php:1356
759
- #: ../admin/wpsr-admin.php:1421
760
- msgid "Show in individual posts"
761
- msgstr "Mostrar en puestos individuales"
762
-
763
- #: ../admin/wpsr-admin.php:1358
764
- #: ../admin/wpsr-admin.php:1423
765
- msgid "Show in pages"
766
- msgstr "Mostrar en las páginas"
767
-
768
- #: ../admin/wpsr-admin.php:1360
769
- #: ../admin/wpsr-admin.php:1425
770
- msgid "Show in archive pages"
771
- msgstr "Mostrar en el archivo de páginas"
772
-
773
- #: ../admin/wpsr-admin.php:1362
774
- #: ../admin/wpsr-admin.php:1427
775
- msgid "Show in Tag pages"
776
- msgstr "Mostrar etiqueta en las páginas"
777
-
778
- #: ../admin/wpsr-admin.php:1364
779
- #: ../admin/wpsr-admin.php:1429
780
- msgid "Show in date archives"
781
- msgstr "Mostrar la fecha de los archivos"
782
-
783
- #: ../admin/wpsr-admin.php:1366
784
- #: ../admin/wpsr-admin.php:1431
785
- msgid "Show in author pages"
786
- msgstr "Mostrar en las páginas de autor"
787
-
788
- #: ../admin/wpsr-admin.php:1368
789
- #: ../admin/wpsr-admin.php:1433
790
- msgid "Show in search pages"
791
- msgstr "Mostrar las páginas en busca"
792
-
793
- #: ../admin/wpsr-admin.php:1370
794
- #: ../admin/wpsr-admin.php:1435
795
- msgid "Show in Excerpt"
796
- msgstr "Mostrar en el Excerpt"
797
-
798
- #: ../admin/wpsr-admin.php:1372
799
- #: ../admin/wpsr-admin.php:1437
800
- msgid "Show in RSS feeds"
801
- msgstr "Mostrar en RSS"
802
-
803
- #: ../admin/wpsr-admin.php:1376
804
- #: ../admin/wpsr-admin.php:1440
805
- msgid "Position"
806
- msgstr "Posición"
807
-
808
- #: ../admin/wpsr-admin.php:1379
809
- #: ../admin/wpsr-admin.php:1442
810
- msgid "Above content"
811
- msgstr "Sobre el contenido"
812
-
813
- #: ../admin/wpsr-admin.php:1381
814
- #: ../admin/wpsr-admin.php:1444
815
- msgid "Below content"
816
- msgstr "A continuación el contenido"
817
-
818
- #: ../admin/wpsr-admin.php:1455
819
- #, fuzzy
820
- msgid "FAQ"
821
- msgstr "Preguntas frecuentes"
822
-
823
- #: ../admin/wpsr-admin.php:1455
824
- msgid "Why sometimes the buttons are not aligned properly in the page ?"
825
- msgstr "Por qué a veces los botones no se alinean correctamente en la página?"
826
-
827
- #: ../admin/wpsr-admin.php:1467
828
- msgid "URL"
829
- msgstr "URL"
830
-
831
- #: ../admin/wpsr-admin.php:1468
832
- msgid "Leave blank to use default Wordpress RSS feed."
833
- msgstr "Dejar en blanco para el uso por defecto de Wordpress feed RSS."
834
-
835
- #: ../admin/wpsr-admin.php:1468
836
- msgid "You can use Feedburner feed URL also"
837
- msgstr "Puede utilizar Feedburner URL del feed también"
838
-
839
- #: ../admin/wpsr-admin.php:1475
840
- msgid "Integration"
841
- msgstr "integración"
842
-
843
- #: ../admin/wpsr-admin.php:1479
844
- msgid "Username"
845
- msgstr "Username"
846
-
847
- #: ../admin/wpsr-admin.php:1491
848
- msgid "WP Socializer Settings"
849
- msgstr "WP Socializer Configuración "
850
-
851
- #: ../admin/wpsr-admin.php:1495
852
- msgid "Load button scripts in "
853
- msgstr "secuencias de comandos en el botón Cargar"
854
-
855
- #: ../admin/wpsr-admin.php:1497
856
- msgid "Header (recommended)"
857
- msgstr "Cabecera (recomendado)"
858
-
859
- #: ../admin/wpsr-admin.php:1498
860
- msgid "Footer"
861
- msgstr "Pie de página"
862
-
863
- #: ../admin/wpsr-admin.php:1502
864
- msgid "Load WP Socializer CSS"
865
- msgstr "Carga WP Socializer CSS"
866
-
867
- #: ../admin/wpsr-admin.php:1505
868
- #, fuzzy
869
- msgid "Note: templates, hover effects &amp; column will not work"
870
- msgstr "Nota: los efectos Hover y la columna no estará disponible"
871
-
872
- #: ../admin/wpsr-admin.php:1519
873
- msgid "Disable WP Socializer"
874
- msgstr "Inhabilitar WP Socializer"
875
-
876
- #: ../admin/wpsr-admin.php:1522
877
- msgid "Temporarily disable all WP-Socializer buttons "
878
- msgstr "Desactive temporalmente todos los WP-Socializer botones"
879
-
880
- #: ../admin/wpsr-admin.php:1523
881
- msgid "Disabling will stop displaying all buttons, templates"
882
- msgstr "Deshabilitar dejará de mostrarse todos los botones, las plantillas"
883
-
884
- #: ../admin/wpsr-admin.php:1533
885
- msgid "Update"
886
- msgstr "Actualización"
887
-
888
- #: ../admin/wpsr-admin.php:1534
889
- msgid "Reset all"
890
- msgstr "restablecer todos los"
891
-
892
- #: ../admin/wpsr-admin.php:1538
893
- msgid "Sure"
894
- msgstr "seguro"
895
-
896
- #: ../admin/wpsr-admin.php:1538
897
- msgid "Cancel"
898
- msgstr "cancelar"
899
-
900
- #: ../admin/wpsr-admin.php:1544
901
- msgid "a Aakash Web plugin"
902
- msgstr "un plugin Aakash Web"
903
-
904
- #: ../admin/wpsr-admin.php:1565
905
- msgid "Full Features"
906
- msgstr "Características completa"
907
-
908
- #: ../admin/wpsr-admin.php:1566
909
- msgid "Bug Report"
910
- msgstr "Reportar un error"
911
-
912
- #: ../admin/wpsr-admin.php:1566
913
- msgid "Video Demo & Tutorials"
914
- msgstr "Vídeo de demostración y tutoriales"
915
-
916
- #: ../admin/wpsr-admin.php:1569
917
- msgid "Share this plugin"
918
- msgstr "Compartir este plugin"
919
-
920
- #: ../admin/wpsr-admin.php:1576
921
- msgid "Support this plugin"
922
- msgstr "Apoya a este plugin"
923
-
924
- #: ../admin/wpsr-admin.php:1579
925
- msgid "Subscribe to Updates"
926
- msgstr "Suscribirse a las actualizaciones"
927
-
928
- #: ../admin/wpsr-admin.php:1583
929
- msgid "Start using WP Socializer"
930
- msgstr "Comience a utilizar Socializer WP"
931
-
932
- #: ../admin/wpsr-admin.php:1631
933
- msgid "Disable template 1"
934
- msgstr "Deshabilitar plantilla 1"
935
-
936
- #: ../admin/wpsr-admin.php:1634
937
- msgid "Disable template 2"
938
- msgstr "Deshabilitar plantilla 2"
939
-
940
- #: ../admin/wpsr-admin.php:1637
941
- msgid "Help"
942
- msgstr "Ayuda"
943
-
944
- #: ../includes/wpsr-addthis.php:123
945
- msgid "Share with Addthis"
946
- msgstr "Compartir con Addthis"
947
-
948
- #: ../includes/wpsr-digg.php:53
949
- msgid "Digg this"
950
- msgstr "Digg this"
951
-
952
- #: ../includes/wpsr-facebook.php:30
953
- msgid "Share on Facebook"
954
- msgstr "Compartir en Facebook"
955
-
956
- #: ../includes/wpsr-google.php:135
957
- msgid "Buzz this"
958
- msgstr "Buzz this"
959
-
960
- #: ../includes/wpsr-other.php:24
961
- msgid "Reddit this"
962
- msgstr "Reddit this"
963
-
964
- #: ../includes/wpsr-other.php:94
965
- msgid "Stumble this"
966
- msgstr "Stumble this"
967
-
968
- #: ../includes/wpsr-retweet.php:56
969
- msgid "Retweet this"
970
- msgstr "Retweet this"
971
-
972
- #~ msgid "Donate and support this plugin's future"
973
- #~ msgstr "Dona y apoyar este plugin futuro"
974
-
975
- #~ msgid "Request a feature"
976
- #~ msgstr "Solicitar una característica"
977
-
978
- #~ msgid "Author Website"
979
- #~ msgstr "Autor Web"
980
-
981
- #~ msgid "Follow the author"
982
- #~ msgstr "Siga el autor"
983
-
984
- #~ msgid "More plugins"
985
- #~ msgstr "Más plugins"
986
-
987
- #~ msgid "Reference"
988
- #~ msgstr "Referencia"
989
-
990
- #~ msgid "Template Functions"
991
- #~ msgstr "Funciones de Template"
992
-
993
- #~ msgid ""
994
- #~ "For using the 16px buttons, use the code %s in the placement template"
995
- #~ msgstr ""
996
- #~ "Para emplear el 16px botones, utilice el código %s en la colocación de "
997
- #~ "plantilla"
998
-
999
- #~ msgid ""
1000
- #~ "For using the 32px buttons, use the code %s in the placement template"
1001
- #~ msgstr ""
1002
- #~ "Para emplear el 32px botones, utilice el código %s en la colocación de "
1003
- #~ "plantilla"
1004
-
1005
- #~ msgid "Choose the Bookmarking or sharing button"
1006
- #~ msgstr "Seleccione el botón de marcadores o compartir"
1007
-
1008
- #~ msgid "comma-seperated"
1009
- #~ msgstr "coma seperated"
1010
-
1011
- #~ msgid "For using this button, use the code %s in the placement template"
1012
- #~ msgstr ""
1013
- #~ "Para usar este botón, utilice el código %s en la colocación de plantilla"
1014
-
1015
- #~ msgid "Large"
1016
- #~ msgstr "Grande"
1017
-
1018
- #~ msgid "For using this, use the code %s in the placement template"
1019
- #~ msgstr ""
1020
- #~ "Para utilizar esto, utilice el código %s en la colocación de plantilla"
1021
-
1022
- #~ msgid "Available button codes"
1023
- #~ msgstr "Disponible códigos botón"
1024
-
1025
- #~ msgid "Twitter"
1026
- #~ msgstr "Twitter"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/wpsr-zh_CN.mo DELETED
Binary file
languages/wpsr-zh_CN.po DELETED
@@ -1,1047 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: WP Socializer\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2011-07-15 20:43+0530\n"
6
- "PO-Revision-Date: 2011-07-15 20:52+0530\n"
7
- "Last-Translator: Aakash Chakravarthy <aakash.19493@gmail.com>\n"
8
- "Language-Team: Aakash Chakravarthy <aakash.19493@gmail.com>\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: _;gettext;gettext_noop;__;_e\n"
13
- "X-Poedit-Basepath: .\n"
14
- "X-Poedit-Language: Chinese\n"
15
- "X-Poedit-SearchPath-0: ..\n"
16
-
17
- #: ../wp-socializer.php:38
18
- #: ../wp-socializer.php:45
19
- #: ../wp-socializer.php:52
20
- #: ../wp-socializer.php:60
21
- #: ../wp-socializer.php:76
22
- #: ../wp-socializer.php:90
23
- #: ../wp-socializer.php:97
24
- #: ../wp-socializer.php:113
25
- #: ../wp-socializer.php:120
26
- #: ../wp-socializer.php:137
27
- #: ../wp-socializer.php:175
28
- #: ../wp-socializer.php:192
29
- #: ../wp-socializer.php:209
30
- #: ../wp-socializer.php:217
31
- #: ../wp-socializer.php:224
32
- #: ../wp-socializer.php:231
33
- #: ../wp-socializer.php:239
34
- #: ../wp-socializer.php:247
35
- #: ../wp-socializer.php:256
36
- #: ../wp-socializer.php:287
37
- #: ../wp-socializer.php:295
38
- #: ../wp-socializer.php:303
39
- #: ../wp-socializer.php:312
40
- #: ../wp-socializer.php:333
41
- #: ../wp-socializer.php:347
42
- #: ../wp-socializer.php:357
43
- #: ../wp-socializer.php:364
44
- #: ../wp-socializer.php:380
45
- #: ../wp-socializer.php:397
46
- #: ../wp-socializer.php:411
47
- #: ../wp-socializer.php:425
48
- #: ../wp-socializer.php:433
49
- #: ../wp-socializer.php:479
50
- #: ../wp-socializer.php:486
51
- #: ../wp-socializer.php:493
52
- #: ../wp-socializer.php:500
53
- #: ../wp-socializer.php:517
54
- #: ../wp-socializer.php:524
55
- #: ../wp-socializer.php:532
56
- #: ../wp-socializer.php:547
57
- #: ../wp-socializer.php:555
58
- #: ../wp-socializer.php:564
59
- #: ../wp-socializer.php:572
60
- #: ../wp-socializer.php:589
61
- #: ../wp-socializer.php:597
62
- #: ../wp-socializer.php:629
63
- #: ../wp-socializer.php:654
64
- #: ../wp-socializer.php:668
65
- #: ../wp-socializer.php:682
66
- #: ../wp-socializer.php:689
67
- #: ../wp-socializer.php:696
68
- #: ../wp-socializer.php:721
69
- #: ../wp-socializer.php:743
70
- #: ../wp-socializer.php:770
71
- #: ../wp-socializer.php:779
72
- #: ../wp-socializer.php:786
73
- #: ../wp-socializer.php:793
74
- #: ../wp-socializer.php:812
75
- #: ../wp-socializer.php:819
76
- #: ../wp-socializer.php:854
77
- #, fuzzy
78
- msgid "Share this on "
79
- msgstr "分享按钮"
80
-
81
- #: ../wp-socializer.php:68
82
- #: ../wp-socializer.php:129
83
- #: ../wp-socializer.php:168
84
- #: ../wp-socializer.php:279
85
- #: ../wp-socializer.php:507
86
- #: ../wp-socializer.php:661
87
- #: ../wp-socializer.php:703
88
- #, fuzzy
89
- msgid "Post this on "
90
- msgstr "位置"
91
-
92
- #: ../wp-socializer.php:83
93
- #: ../wp-socializer.php:145
94
- #: ../wp-socializer.php:153
95
- #: ../wp-socializer.php:161
96
- #: ../wp-socializer.php:264
97
- #: ../wp-socializer.php:319
98
- #: ../wp-socializer.php:326
99
- #: ../wp-socializer.php:371
100
- #: ../wp-socializer.php:388
101
- #: ../wp-socializer.php:404
102
- #: ../wp-socializer.php:450
103
- #: ../wp-socializer.php:471
104
- #: ../wp-socializer.php:613
105
- #: ../wp-socializer.php:636
106
- #: ../wp-socializer.php:711
107
- #: ../wp-socializer.php:736
108
- #: ../wp-socializer.php:761
109
- #: ../wp-socializer.php:846
110
- msgid "Submit this to "
111
- msgstr "提交此为"
112
-
113
- #: ../wp-socializer.php:104
114
- #, fuzzy
115
- msgid "Add this on "
116
- msgstr "Addthis 用户名"
117
-
118
- #: ../wp-socializer.php:182
119
- #: ../wp-socializer.php:418
120
- #: ../wp-socializer.php:440
121
- #: ../wp-socializer.php:457
122
- #: ../wp-socializer.php:539
123
- #: ../wp-socializer.php:622
124
- #: ../wp-socializer.php:675
125
- #: ../wp-socializer.php:728
126
- #: ../wp-socializer.php:829
127
- #: ../wp-socializer.php:838
128
- msgid "Add this to "
129
- msgstr "加入此为"
130
-
131
- #: ../wp-socializer.php:199
132
- msgid "Email this "
133
- msgstr "使用电子邮件发送此"
134
-
135
- #: ../wp-socializer.php:271
136
- #: ../wp-socializer.php:340
137
- msgid "Bookmark this on "
138
- msgstr "书签上"
139
-
140
- #: ../wp-socializer.php:582
141
- msgid "Convert to "
142
- msgstr "转换为"
143
-
144
- #: ../wp-socializer.php:605
145
- msgid "Print this article "
146
- msgstr "打印这篇文章"
147
-
148
- #: ../wp-socializer.php:644
149
- #, fuzzy
150
- msgid "Subscribe to "
151
- msgstr "订阅更新"
152
-
153
- #: ../wp-socializer.php:751
154
- msgid "Tweet this !"
155
- msgstr "鸣叫这!"
156
-
157
- #: ../wp-socializer.php:937
158
- msgid "<b>WP Socializer</b> plugin is intalled. Please adjust your settings"
159
- msgstr "<b>可湿性粉剂Socializer</b>插件安装。请调整您的设置"
160
-
161
- #: ../wp-socializer.php:937
162
- #, fuzzy
163
- msgid "in this page"
164
- msgstr "展的作者页"
165
-
166
- #: ../wp-socializer.php:947
167
- #: ../admin/wpsr-admin.php:752
168
- #: ../admin/wpsr-admin.php:859
169
- #: ../admin/wpsr-admin.php:1059
170
- #: ../admin/wpsr-admin.php:1461
171
- #: ../admin/wpsr-admin.php:1637
172
- msgid "Settings"
173
- msgstr "设置"
174
-
175
- #: ../wp-socializer.php:947
176
- #: ../admin/wpsr-admin.php:757
177
- #: ../admin/wpsr-admin.php:1565
178
- #, fuzzy
179
- msgid "Support"
180
- msgstr "插件支持"
181
-
182
- #: ../wp-socializer.php:1527
183
- msgid "AW Latest Updates"
184
- msgstr "AW最新更新"
185
-
186
- #: ../wp-socializer.php:1538
187
- msgid "WP Socializer is <span style=\"color:red;\"><b>disabled</b></span>"
188
- msgstr "WP Socializer是禁用"
189
-
190
- #: ../wp-socializer.php:1552
191
- #, fuzzy
192
- msgid "Edit the templates"
193
- msgstr "禁用模板1"
194
-
195
- #: ../wp-socializer.php:1557
196
- #, fuzzy
197
- msgid "Disable WP Socializer in this page"
198
- msgstr "禁用 WP Socializer"
199
-
200
- #: ../wp-socializer.php:1597
201
- #, fuzzy
202
- msgid "WP Socializer"
203
- msgstr "禁用 WP Socializer"
204
-
205
- #: ../wp-socializer.php:1598
206
- #, fuzzy
207
- msgid "Insert WP Socializer buttons"
208
- msgstr "WP Socializer 设置"
209
-
210
- #: ../admin/wpsr-admin-other.php:36
211
- msgid "In widgets and posts"
212
- msgstr "In widgets and posts"
213
-
214
- #: ../admin/wpsr-admin-other.php:37
215
- #: ../admin/wpsr-admin-other.php:91
216
- msgid "Note:"
217
- msgstr "注意:"
218
-
219
- #: ../admin/wpsr-admin-other.php:37
220
- msgid "Inorder to use the buttons in <em>Widgets</em> and <em>Posts</em>, you need to use the below shortcodes."
221
- msgstr "为了使用“部件”和“上岗”的按钮,你需要使用下面的简码。"
222
-
223
- #: ../admin/wpsr-admin-other.php:63
224
- msgid "These shortcodes have several parameters. You can use them to customize the buttons. View the parameters in this page."
225
- msgstr "这些简码有几个参数。您可以使用这些自定义的按钮。在此页面上的参数。"
226
-
227
- #: ../admin/wpsr-admin-other.php:66
228
- msgid "You must use the above shortcodes in"
229
- msgstr "您必须使用上述简码"
230
-
231
- #: ../admin/wpsr-admin-other.php:66
232
- msgid "plugin to insert the buttons in the widgets."
233
- msgstr "插件插入部件的按钮。"
234
-
235
- #: ../admin/wpsr-admin-other.php:72
236
- msgid "HTML Javascript Adder is installed, Go to Widgets page and use the shortcodes in this widget"
237
- msgstr "安装了HTML中的JavaScript加法器,转到小部件页,在这个小部件中使用的简码"
238
-
239
- #: ../admin/wpsr-admin-other.php:75
240
- msgid "Upgrade HTML Javascript Adder plugin"
241
- msgstr "升级HTML中的JavaScript加法器插件"
242
-
243
- #: ../admin/wpsr-admin-other.php:76
244
- msgid "The current version ("
245
- msgstr "当前版本("
246
-
247
- #: ../admin/wpsr-admin-other.php:76
248
- msgid ") is not compatible with WP Socializer. It is recommended to upgrade"
249
- msgstr ")不兼容可湿性粉剂Socializer。建议升级"
250
-
251
- #: ../admin/wpsr-admin-other.php:79
252
- msgid "Install HTML Javascript Adder plugin"
253
- msgstr "安装HTML中的JavaScript加法器插件"
254
-
255
- #: ../admin/wpsr-admin-other.php:86
256
- msgid "Inside Posts"
257
- msgstr "内文章"
258
-
259
- #: ../admin/wpsr-admin-other.php:87
260
- msgid "Inorder to use the buttons inside posts, you must use the above shortcodes in the post editor."
261
- msgstr "以使用内部职位的按钮,您必须使用在帖子编辑器上面的简码。"
262
-
263
- #: ../admin/wpsr-admin-other.php:91
264
- msgid "HTML Javascript Adder is a wordpress plugin for inserting HTML, Javascripts in widgets with more than 50,000 downloads. This is from the same author of this plugin. The latest version of HJA can insert WP Socializer buttons in widgets."
265
- msgstr "HTML中的JavaScript加法器是一个WordPress插件下载超过50,000次插入HTML,在部件的JavaScripts。这是这个插件的作者。 HJA的最新版本可以在部件插入WP Socializer按钮。"
266
-
267
- #: ../admin/wpsr-admin.php:185
268
- msgid "Share and Enjoy"
269
- msgstr "分享和欣赏"
270
-
271
- #: ../admin/wpsr-admin.php:188
272
- msgid "Use Sharethis to share this post"
273
- msgstr "使用Sharethis分享这篇文章"
274
-
275
- #: ../admin/wpsr-admin.php:191
276
- msgid "Use Addhis to share this post"
277
- msgstr "使用Addhis分享这篇文章"
278
-
279
- #: ../admin/wpsr-admin.php:508
280
- msgid "Updated successfully"
281
- msgstr "更新成功"
282
-
283
- #: ../admin/wpsr-admin.php:512
284
- msgid "Values are set to defaults successfully"
285
- msgstr "价值观是成功设置为默认值"
286
-
287
- #: ../admin/wpsr-admin.php:516
288
- msgid "Welcome to WP Socializer Admin page. <a href=\"http://\">Click here</a> to get started with WP Socializer"
289
- msgstr "欢迎WP Socializer管理页面。"
290
-
291
- #: ../admin/wpsr-admin.php:659
292
- msgid "Disabled"
293
- msgstr "残疾人士"
294
-
295
- #: ../admin/wpsr-admin.php:673
296
- #, fuzzy
297
- msgid "+1 this plugin"
298
- msgstr "支持此插件"
299
-
300
- #: ../admin/wpsr-admin.php:679
301
- #, fuzzy
302
- msgid "Like this plugin"
303
- msgstr "推动这个插件"
304
-
305
- #: ../admin/wpsr-admin.php:686
306
- msgid "Donate"
307
- msgstr "捐赠"
308
-
309
- #: ../admin/wpsr-admin.php:687
310
- #, fuzzy
311
- msgid "and Support"
312
- msgstr "插件支持"
313
-
314
- #: ../admin/wpsr-admin.php:693
315
- msgid "Make your donation with Paypal"
316
- msgstr "您的捐赠与贝宝"
317
-
318
- #: ../admin/wpsr-admin.php:699
319
- msgid "Select your Donation amount:"
320
- msgstr "选择你的捐款金额:"
321
-
322
- #: ../admin/wpsr-admin.php:721
323
- #, fuzzy
324
- msgid "Custom"
325
- msgstr "自定义1"
326
-
327
- #: ../admin/wpsr-admin.php:731
328
- #: ../admin/wpsr-admin.php:1578
329
- msgid "Donate with PayPal!"
330
- msgstr "使用PayPal捐款!"
331
-
332
- #: ../admin/wpsr-admin.php:756
333
- #: ../admin/wpsr-admin.php:1565
334
- #, fuzzy
335
- msgid "Documentation"
336
- msgstr "插件文件"
337
-
338
- #: ../admin/wpsr-admin.php:758
339
- #: ../admin/wpsr-admin.php:1564
340
- msgid "Manual Placement"
341
- msgstr "手动放置"
342
-
343
- #: ../admin/wpsr-admin.php:767
344
- msgid "Use the above code <a href=\"#tab-9\">here</a>, to insert the button"
345
- msgstr "使用上面的代码<a href=\"#tab-9\">这里</a>,插入按钮"
346
-
347
- #: ../admin/wpsr-admin.php:781
348
- msgid "Select a template and click apply."
349
- msgstr "选择一个模板,并单击应用。"
350
-
351
- #: ../admin/wpsr-admin.php:783
352
- #, fuzzy
353
- msgid "Create a template"
354
- msgstr "禁用模板1"
355
-
356
- #: ../admin/wpsr-admin.php:783
357
- #, fuzzy
358
- msgid "Submit a template"
359
- msgstr "禁用模板1"
360
-
361
- #: ../admin/wpsr-admin.php:791
362
- msgid "Social Buttons"
363
- msgstr "社会按钮"
364
-
365
- #: ../admin/wpsr-admin.php:794
366
- msgid "Click the icon size to select and \"x\" button to remove selected. Click and drag to reorder selected sites"
367
- msgstr "点击图标大小选择和 \"x\" 按钮可以删除选中。单击并拖动以重新排列选定地点"
368
-
369
- #: ../admin/wpsr-admin.php:798
370
- msgid "Available buttons"
371
- msgstr "可用按钮"
372
-
373
- #: ../admin/wpsr-admin.php:798
374
- #, fuzzy
375
- msgid "Filter buttons"
376
- msgstr "选择按钮"
377
-
378
- #: ../admin/wpsr-admin.php:798
379
- #, fuzzy
380
- msgid "Filter"
381
- msgstr "页脚"
382
-
383
- #: ../admin/wpsr-admin.php:826
384
- #: ../admin/wpsr-admin.php:841
385
- msgid "Selected buttons"
386
- msgstr "选择按钮"
387
-
388
- #: ../admin/wpsr-admin.php:863
389
- msgid "Open links in new tab/window"
390
- msgstr "在新标签中打开链接/窗口"
391
-
392
- #: ../admin/wpsr-admin.php:865
393
- #: ../admin/wpsr-admin.php:880
394
- #: ../admin/wpsr-admin.php:908
395
- #: ../admin/wpsr-admin.php:996
396
- #: ../admin/wpsr-admin.php:1069
397
- #: ../admin/wpsr-admin.php:1238
398
- #: ../admin/wpsr-admin.php:1287
399
- #: ../admin/wpsr-admin.php:1509
400
- #: ../admin/wpsr-admin.php:1526
401
- msgid "Yes"
402
- msgstr "对"
403
-
404
- #: ../admin/wpsr-admin.php:866
405
- #: ../admin/wpsr-admin.php:881
406
- #: ../admin/wpsr-admin.php:909
407
- #: ../admin/wpsr-admin.php:997
408
- #: ../admin/wpsr-admin.php:1070
409
- #: ../admin/wpsr-admin.php:1239
410
- #: ../admin/wpsr-admin.php:1288
411
- #: ../admin/wpsr-admin.php:1512
412
- #: ../admin/wpsr-admin.php:1525
413
- msgid "No"
414
- msgstr "没有"
415
-
416
- #: ../admin/wpsr-admin.php:870
417
- msgid "Image on Hover effect"
418
- msgstr "在悬停图像效果"
419
-
420
- #: ../admin/wpsr-admin.php:874
421
- msgid "No Effect"
422
- msgstr "没有影响"
423
-
424
- #: ../admin/wpsr-admin.php:878
425
- msgid "Show Label for buttons"
426
- msgstr "显示标签的按钮"
427
-
428
- #: ../admin/wpsr-admin.php:885
429
- msgid "Show Icons in"
430
- msgstr "在显示图标"
431
-
432
- #: ../admin/wpsr-admin.php:886
433
- msgid "Very very effective when labels are enabled (try it)"
434
- msgstr "非常非常有效的标签,当启用(尝试)"
435
-
436
- #: ../admin/wpsr-admin.php:896
437
- msgid "Image folder"
438
- msgstr "图像文件夹"
439
-
440
- #: ../admin/wpsr-admin.php:897
441
- #: ../admin/wpsr-admin.php:932
442
- #: ../admin/wpsr-admin.php:940
443
- #: ../admin/wpsr-admin.php:992
444
- msgid "Leave blank to use default"
445
- msgstr "给空白以使用预设"
446
-
447
- #: ../admin/wpsr-admin.php:906
448
- msgid "Use Sprites"
449
- msgstr "使用精灵"
450
-
451
- #: ../admin/wpsr-admin.php:926
452
- #, fuzzy
453
- msgid "Services"
454
- msgstr "定制服务"
455
-
456
- #: ../admin/wpsr-admin.php:960
457
- #: ../admin/wpsr-admin.php:1017
458
- #, fuzzy
459
- msgid "Buttons"
460
- msgstr "按键"
461
-
462
- #: ../admin/wpsr-admin.php:974
463
- msgid "Optional button Settings"
464
- msgstr "可选按钮设置"
465
-
466
- #: ../admin/wpsr-admin.php:979
467
- msgid "Add This Username"
468
- msgstr "Addthis 用户名"
469
-
470
- #: ../admin/wpsr-admin.php:983
471
- msgid "If available"
472
- msgstr "如果可用"
473
-
474
- #: ../admin/wpsr-admin.php:985
475
- #: ../admin/wpsr-admin.php:1102
476
- #: ../admin/wpsr-admin.php:1188
477
- msgid "Language"
478
- msgstr "语"
479
-
480
- #: ../admin/wpsr-admin.php:991
481
- msgid "Brand Name"
482
- msgstr "品牌名称"
483
-
484
- #: ../admin/wpsr-admin.php:994
485
- msgid "Track Clickback"
486
- msgstr "轨道点击返回"
487
-
488
- #: ../admin/wpsr-admin.php:1001
489
- msgid "Header Color"
490
- msgstr "标题颜色"
491
-
492
- #: ../admin/wpsr-admin.php:1003
493
- msgid "Header Background"
494
- msgstr "标题背景"
495
-
496
- #: ../admin/wpsr-admin.php:1018
497
- #, fuzzy
498
- msgid "Button type"
499
- msgstr "按钮样式"
500
-
501
- #: ../admin/wpsr-admin.php:1019
502
- #, fuzzy
503
- msgid "Button Order"
504
- msgstr "按钮文本"
505
-
506
- #: ../admin/wpsr-admin.php:1020
507
- msgid "Reorder, remove or add social buttons"
508
- msgstr "重新排序,删除或添加社会的按钮"
509
-
510
- #: ../admin/wpsr-admin.php:1064
511
- msgid "You can see you publisher key in this page. "
512
- msgstr "你可以看到你的出版商在此页的关键。"
513
-
514
- #: ../admin/wpsr-admin.php:1064
515
- #: ../admin/wpsr-admin.php:1114
516
- msgid "Click here"
517
- msgstr "点击这里"
518
-
519
- #: ../admin/wpsr-admin.php:1081
520
- msgid "Post to Buzz button"
521
- msgstr "邮政巴兹按钮"
522
-
523
- #: ../admin/wpsr-admin.php:1086
524
- #: ../admin/wpsr-admin.php:1278
525
- msgid "Style"
526
- msgstr "风格"
527
-
528
- #: ../admin/wpsr-admin.php:1088
529
- msgid "Show Button and counter"
530
- msgstr "显示按钮和反"
531
-
532
- #: ../admin/wpsr-admin.php:1089
533
- msgid "Show Button only"
534
- msgstr "只显示按钮"
535
-
536
- #: ../admin/wpsr-admin.php:1090
537
- msgid "Show Link only"
538
- msgstr "只显示链接"
539
-
540
- #: ../admin/wpsr-admin.php:1096
541
- msgid "Size"
542
- msgstr "大小"
543
-
544
- #: ../admin/wpsr-admin.php:1096
545
- #: ../admin/wpsr-admin.php:1285
546
- msgid "Not for link"
547
- msgstr "不为连结"
548
-
549
- #: ../admin/wpsr-admin.php:1097
550
- msgid "Normal"
551
- msgstr "正常"
552
-
553
- #: ../admin/wpsr-admin.php:1099
554
- msgid "Small"
555
- msgstr "小"
556
-
557
- #: ../admin/wpsr-admin.php:1108
558
- msgid "Follow on Buzz button"
559
- msgstr "关于口碑后续按钮"
560
-
561
- #: ../admin/wpsr-admin.php:1113
562
- msgid "Profile URL"
563
- msgstr "个人资料的网址"
564
-
565
- #: ../admin/wpsr-admin.php:1114
566
- msgid "Don't know your profile URL?"
567
- msgstr "不知道你的个人资料的网址?"
568
-
569
- #: ../admin/wpsr-admin.php:1117
570
- msgid "Button Text"
571
- msgstr "按钮文本"
572
-
573
- #: ../admin/wpsr-admin.php:1128
574
- msgid "General"
575
- msgstr "一般"
576
-
577
- #: ../admin/wpsr-admin.php:1133
578
- msgid "Twitter Username"
579
- msgstr "Twitter的用户名"
580
-
581
- #: ../admin/wpsr-admin.php:1137
582
- msgid "Retweet Button Type"
583
- msgstr "Retweet按钮类型"
584
-
585
- #: ../admin/wpsr-admin.php:1139
586
- msgid "Normal (Big)"
587
- msgstr "正常(大)"
588
-
589
- #: ../admin/wpsr-admin.php:1140
590
- #: ../admin/wpsr-admin.php:1213
591
- msgid "Compact"
592
- msgstr "紧凑"
593
-
594
- #: ../admin/wpsr-admin.php:1141
595
- msgid "No Count (only for Twitter's Official Button)"
596
- msgstr "没有计数(仅适用于Twitter的官方按钮)"
597
-
598
- #: ../admin/wpsr-admin.php:1147
599
- msgid "Choose a service"
600
- msgstr "选择服务"
601
-
602
- #: ../admin/wpsr-admin.php:1152
603
- msgid "Retweet Service"
604
- msgstr "Retweet服务"
605
-
606
- #: ../admin/wpsr-admin.php:1154
607
- msgid "Twitter's Official Button"
608
- msgstr "Twitter的官方按钮"
609
-
610
- #: ../admin/wpsr-admin.php:1163
611
- msgid "Select a theme for topsy"
612
- msgstr "选择一个主题Topsy"
613
-
614
- #: ../admin/wpsr-admin.php:1182
615
- #, fuzzy
616
- msgid "Recommend people"
617
- msgstr "建议"
618
-
619
- #: ../admin/wpsr-admin.php:1184
620
- msgid "Twitter Username: Description (Optional)"
621
- msgstr "Twitter用户名:描述(可选)"
622
-
623
- #: ../admin/wpsr-admin.php:1205
624
- msgid "Digg Button"
625
- msgstr "Digg的按钮"
626
-
627
- #: ../admin/wpsr-admin.php:1209
628
- msgid "Digg Button type"
629
- msgstr "Digg的按钮类型"
630
-
631
- #: ../admin/wpsr-admin.php:1211
632
- msgid "Medium"
633
- msgstr "中"
634
-
635
- #: ../admin/wpsr-admin.php:1212
636
- #, fuzzy
637
- msgid "Wide"
638
- msgstr "宽度"
639
-
640
- #: ../admin/wpsr-admin.php:1214
641
- msgid "Icon"
642
- msgstr "图标"
643
-
644
- #: ../admin/wpsr-admin.php:1224
645
- msgid "Like Button"
646
- msgstr "像巴顿"
647
-
648
- #: ../admin/wpsr-admin.php:1228
649
- msgid "Button Style"
650
- msgstr "按钮样式"
651
-
652
- #: ../admin/wpsr-admin.php:1230
653
- msgid "Standard"
654
- msgstr "标准"
655
-
656
- #: ../admin/wpsr-admin.php:1231
657
- #, fuzzy
658
- msgid "Button count"
659
- msgstr "巴顿和计数"
660
-
661
- #: ../admin/wpsr-admin.php:1232
662
- #, fuzzy
663
- msgid "Box count"
664
- msgstr "巴顿和计数"
665
-
666
- #: ../admin/wpsr-admin.php:1236
667
- msgid "Show Faces"
668
- msgstr "显示面"
669
-
670
- #: ../admin/wpsr-admin.php:1243
671
- msgid "Width"
672
- msgstr "宽度"
673
-
674
- #: ../admin/wpsr-admin.php:1244
675
- msgid "In pixels"
676
- msgstr "在像素"
677
-
678
- #: ../admin/wpsr-admin.php:1247
679
- msgid "Verb to Display"
680
- msgstr "动词,以显示"
681
-
682
- #: ../admin/wpsr-admin.php:1249
683
- msgid "Like"
684
- msgstr "喜欢"
685
-
686
- #: ../admin/wpsr-admin.php:1250
687
- msgid "Recommend"
688
- msgstr "建议"
689
-
690
- #: ../admin/wpsr-admin.php:1254
691
- msgid "Font"
692
- msgstr "字体"
693
-
694
- #: ../admin/wpsr-admin.php:1265
695
- msgid "Color scheme"
696
- msgstr "配色方案"
697
-
698
- #: ../admin/wpsr-admin.php:1267
699
- msgid "Light"
700
- msgstr "光"
701
-
702
- #: ../admin/wpsr-admin.php:1268
703
- msgid "Dark"
704
- msgstr "黑暗"
705
-
706
- #: ../admin/wpsr-admin.php:1274
707
- msgid "Share Button"
708
- msgstr "分享按钮"
709
-
710
- #: ../admin/wpsr-admin.php:1280
711
- msgid "Button"
712
- msgstr "按键"
713
-
714
- #: ../admin/wpsr-admin.php:1282
715
- msgid "Link"
716
- msgstr "链接"
717
-
718
- #: ../admin/wpsr-admin.php:1285
719
- msgid "Show Counter"
720
- msgstr "显示计数器"
721
-
722
- #: ../admin/wpsr-admin.php:1291
723
- msgid "Above the button"
724
- msgstr "上面的按钮"
725
-
726
- #: ../admin/wpsr-admin.php:1293
727
- msgid "Inline with the Button"
728
- msgstr "内联的按钮"
729
-
730
- #: ../admin/wpsr-admin.php:1303
731
- msgid "Custom 1"
732
- msgstr "自定义1"
733
-
734
- #: ../admin/wpsr-admin.php:1306
735
- #: ../admin/wpsr-admin.php:1312
736
- #, php-format
737
- msgid "Enter any share button code. Use %s for the page url and %s for page title"
738
- msgstr "输入任何代码共享按钮。%s使用的页面的URL和页面标题%s"
739
-
740
- #: ../admin/wpsr-admin.php:1309
741
- msgid "Custom 2"
742
- msgstr "自定义2"
743
-
744
- #: ../admin/wpsr-admin.php:1322
745
- msgid "Template 1"
746
- msgstr "模板1"
747
-
748
- #: ../admin/wpsr-admin.php:1323
749
- msgid "Template 2"
750
- msgstr "模板2"
751
-
752
- #: ../admin/wpsr-admin.php:1329
753
- #: ../admin/wpsr-admin.php:1394
754
- msgid "Use the menu below to insert the buttons into the template"
755
- msgstr "使用下面的菜单插入到模板中的按钮"
756
-
757
- #: ../admin/wpsr-admin.php:1330
758
- #: ../admin/wpsr-admin.php:1395
759
- msgid "All HTML/CSS tags can be used. The button codes can be wrapped with HTML tags for proper aligning."
760
- msgstr "可用于所有的HTML/ CSS标签。按键代码可以适当调整的HTML标签包裹。"
761
-
762
- #: ../admin/wpsr-admin.php:1344
763
- #: ../admin/wpsr-admin.php:1409
764
- msgid "Automatically add paragraphs"
765
- msgstr "自动添加段落"
766
-
767
- #: ../admin/wpsr-admin.php:1349
768
- #: ../admin/wpsr-admin.php:1414
769
- msgid "Where to show these buttons ?"
770
- msgstr "这些按钮在哪里显示?"
771
-
772
- #: ../admin/wpsr-admin.php:1354
773
- #: ../admin/wpsr-admin.php:1419
774
- msgid "Show in front page"
775
- msgstr "显示在头版"
776
-
777
- #: ../admin/wpsr-admin.php:1356
778
- #: ../admin/wpsr-admin.php:1421
779
- msgid "Show in individual posts"
780
- msgstr "显示在个别职位"
781
-
782
- #: ../admin/wpsr-admin.php:1358
783
- #: ../admin/wpsr-admin.php:1423
784
- msgid "Show in pages"
785
- msgstr "显示在网页"
786
-
787
- #: ../admin/wpsr-admin.php:1360
788
- #: ../admin/wpsr-admin.php:1425
789
- msgid "Show in archive pages"
790
- msgstr "在档案显示页"
791
-
792
- #: ../admin/wpsr-admin.php:1362
793
- #: ../admin/wpsr-admin.php:1427
794
- msgid "Show in Tag pages"
795
- msgstr "显示在标签页"
796
-
797
- #: ../admin/wpsr-admin.php:1364
798
- #: ../admin/wpsr-admin.php:1429
799
- msgid "Show in date archives"
800
- msgstr "日期显示档案"
801
-
802
- #: ../admin/wpsr-admin.php:1366
803
- #: ../admin/wpsr-admin.php:1431
804
- msgid "Show in author pages"
805
- msgstr "展的作者页"
806
-
807
- #: ../admin/wpsr-admin.php:1368
808
- #: ../admin/wpsr-admin.php:1433
809
- msgid "Show in search pages"
810
- msgstr "在搜索显示页面"
811
-
812
- #: ../admin/wpsr-admin.php:1370
813
- #: ../admin/wpsr-admin.php:1435
814
- msgid "Show in Excerpt"
815
- msgstr "展摘录"
816
-
817
- #: ../admin/wpsr-admin.php:1372
818
- #: ../admin/wpsr-admin.php:1437
819
- msgid "Show in RSS feeds"
820
- msgstr "在RSS显示供稿"
821
-
822
- #: ../admin/wpsr-admin.php:1376
823
- #: ../admin/wpsr-admin.php:1440
824
- msgid "Position"
825
- msgstr "位置"
826
-
827
- #: ../admin/wpsr-admin.php:1379
828
- #: ../admin/wpsr-admin.php:1442
829
- msgid "Above content"
830
- msgstr "以上内容"
831
-
832
- #: ../admin/wpsr-admin.php:1381
833
- #: ../admin/wpsr-admin.php:1444
834
- msgid "Below content"
835
- msgstr "以下内容"
836
-
837
- #: ../admin/wpsr-admin.php:1455
838
- #, fuzzy
839
- msgid "FAQ"
840
- msgstr "常见问题"
841
-
842
- #: ../admin/wpsr-admin.php:1455
843
- msgid "Why sometimes the buttons are not aligned properly in the page ?"
844
- msgstr "为什么有时没有正确对齐按钮在页面?"
845
-
846
- #: ../admin/wpsr-admin.php:1467
847
- msgid "URL"
848
- msgstr "URL"
849
-
850
- #: ../admin/wpsr-admin.php:1468
851
- #, fuzzy
852
- msgid "Leave blank to use default Wordpress RSS feed."
853
- msgstr "给空白以使用预设"
854
-
855
- #: ../admin/wpsr-admin.php:1468
856
- msgid "You can use Feedburner feed URL also"
857
- msgstr "您也可以使用Feedburner的供稿网址"
858
-
859
- #: ../admin/wpsr-admin.php:1475
860
- msgid "Integration"
861
- msgstr "集成"
862
-
863
- #: ../admin/wpsr-admin.php:1479
864
- #, fuzzy
865
- msgid "Username"
866
- msgstr "Twitter的用户名"
867
-
868
- #: ../admin/wpsr-admin.php:1491
869
- msgid "WP Socializer Settings"
870
- msgstr "WP Socializer 设置"
871
-
872
- #: ../admin/wpsr-admin.php:1495
873
- msgid "Load button scripts in "
874
- msgstr "Load按钮剧本"
875
-
876
- #: ../admin/wpsr-admin.php:1497
877
- msgid "Header (recommended)"
878
- msgstr "头(推荐)"
879
-
880
- #: ../admin/wpsr-admin.php:1498
881
- msgid "Footer"
882
- msgstr "页脚"
883
-
884
- #: ../admin/wpsr-admin.php:1502
885
- msgid "Load WP Socializer CSS"
886
- msgstr "负载 WP Socializer CSS"
887
-
888
- #: ../admin/wpsr-admin.php:1505
889
- #, fuzzy
890
- msgid "Note: templates, hover effects &amp; column will not work"
891
- msgstr "注:悬停效果和列将无法使用"
892
-
893
- #: ../admin/wpsr-admin.php:1519
894
- msgid "Disable WP Socializer"
895
- msgstr "禁用 WP Socializer"
896
-
897
- #: ../admin/wpsr-admin.php:1522
898
- msgid "Temporarily disable all WP-Socializer buttons "
899
- msgstr "按钮暂时关闭所有WP-Socializer"
900
-
901
- #: ../admin/wpsr-admin.php:1523
902
- msgid "Disabling will stop displaying all buttons, templates"
903
- msgstr "禁用所有按钮将停止显示,模板"
904
-
905
- #: ../admin/wpsr-admin.php:1533
906
- msgid "Update"
907
- msgstr "更新"
908
-
909
- #: ../admin/wpsr-admin.php:1534
910
- msgid "Reset all"
911
- msgstr "全部重设"
912
-
913
- #: ../admin/wpsr-admin.php:1538
914
- msgid "Sure"
915
- msgstr "确保"
916
-
917
- #: ../admin/wpsr-admin.php:1538
918
- msgid "Cancel"
919
- msgstr "取消"
920
-
921
- #: ../admin/wpsr-admin.php:1544
922
- #, fuzzy
923
- msgid "a Aakash Web plugin"
924
- msgstr "这是一个aakashweb.com插件"
925
-
926
- #: ../admin/wpsr-admin.php:1565
927
- msgid "Full Features"
928
- msgstr "全功能"
929
-
930
- #: ../admin/wpsr-admin.php:1566
931
- #, fuzzy
932
- msgid "Bug Report"
933
- msgstr "错误报告"
934
-
935
- #: ../admin/wpsr-admin.php:1566
936
- msgid "Video Demo & Tutorials"
937
- msgstr "视频演示及教程"
938
-
939
- #: ../admin/wpsr-admin.php:1569
940
- #, fuzzy
941
- msgid "Share this plugin"
942
- msgstr "支持此插件"
943
-
944
- #: ../admin/wpsr-admin.php:1576
945
- msgid "Support this plugin"
946
- msgstr "支持此插件"
947
-
948
- #: ../admin/wpsr-admin.php:1579
949
- msgid "Subscribe to Updates"
950
- msgstr "订阅更新"
951
-
952
- #: ../admin/wpsr-admin.php:1583
953
- #, fuzzy
954
- msgid "Start using WP Socializer"
955
- msgstr "禁用 WP Socializer"
956
-
957
- #: ../admin/wpsr-admin.php:1631
958
- msgid "Disable template 1"
959
- msgstr "禁用模板1"
960
-
961
- #: ../admin/wpsr-admin.php:1634
962
- msgid "Disable template 2"
963
- msgstr "禁用模板2"
964
-
965
- #: ../admin/wpsr-admin.php:1637
966
- msgid "Help"
967
- msgstr "帮助"
968
-
969
- #: ../includes/wpsr-addthis.php:123
970
- msgid "Share with Addthis"
971
- msgstr "占与Addthis个"
972
-
973
- #: ../includes/wpsr-digg.php:53
974
- #, fuzzy
975
- msgid "Digg this"
976
- msgstr "Digg的按钮"
977
-
978
- #: ../includes/wpsr-facebook.php:30
979
- msgid "Share on Facebook"
980
- msgstr "分享到Facebook"
981
-
982
- #: ../includes/wpsr-google.php:135
983
- msgid "Buzz this"
984
- msgstr "Buzz this"
985
-
986
- #: ../includes/wpsr-other.php:24
987
- msgid "Reddit this"
988
- msgstr "Reddit this"
989
-
990
- #: ../includes/wpsr-other.php:94
991
- msgid "Stumble this"
992
- msgstr "Stumble this"
993
-
994
- #: ../includes/wpsr-retweet.php:56
995
- #, fuzzy
996
- msgid "Retweet this"
997
- msgstr "Retweet服务"
998
-
999
- #~ msgid "Donate and support this plugin's future"
1000
- #~ msgstr "捐赠和支持这个插件的未来"
1001
-
1002
- #~ msgid "Request a feature"
1003
- #~ msgstr "要求一个功能"
1004
-
1005
- #~ msgid "Author Website"
1006
- #~ msgstr "作者网站"
1007
-
1008
- #~ msgid "Follow the author"
1009
- #~ msgstr "按照作者"
1010
-
1011
- #~ msgid "More plugins"
1012
- #~ msgstr "更多的插件"
1013
-
1014
- #~ msgid "Reference"
1015
- #~ msgstr "参考"
1016
-
1017
- #~ msgid "Template Functions"
1018
- #~ msgstr "模板功能"
1019
-
1020
- #~ msgid ""
1021
- #~ "For using the 16px buttons, use the code %s in the placement template"
1022
- #~ msgstr "对于使用16px按钮,使用该模板放置的代码%s"
1023
-
1024
- #~ msgid ""
1025
- #~ "For using the 32px buttons, use the code %s in the placement template"
1026
- #~ msgstr "对于使用32px按钮,使用该模板放置的代码%s"
1027
-
1028
- #~ msgid "Choose the Bookmarking or sharing button"
1029
- #~ msgstr "选择书签或共享按钮"
1030
-
1031
- #~ msgid "comma-seperated"
1032
- #~ msgstr "逗号分隔的"
1033
-
1034
- #~ msgid "For using this button, use the code %s in the placement template"
1035
- #~ msgstr "使用此按钮,请在模板放置代码%s"
1036
-
1037
- #~ msgid "Large"
1038
- #~ msgstr "大"
1039
-
1040
- #~ msgid "For using this, use the code %s in the placement template"
1041
- #~ msgstr "对于使用,使用中的配售代码模板%s"
1042
-
1043
- #~ msgid "Available button codes"
1044
- #~ msgstr "可用按钮的代码"
1045
-
1046
- #~ msgid "Twitter"
1047
- #~ msgstr "Twitter"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
public/buttons/buzz-bt.png DELETED
Binary file
public/css/images/dark-bg.png ADDED
Binary file
public/css/images/grey-bg.png ADDED
Binary file
public/css/images/grey-toggle.png ADDED
Binary file
public/css/wp-socializer-buttons-css.css CHANGED
@@ -78,6 +78,16 @@
78
  }
79
 
80
  /** Templates **/
 
 
 
 
 
 
 
 
 
 
81
  .floatleft{
82
  float:left !important;
83
  }
@@ -116,6 +126,143 @@
116
  .buttons-wrap{
117
  padding: 10px 0px !important;
118
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
119
  /* Clearfix */
120
  .clearfix:after {
121
  visibility: hidden;
78
  }
79
 
80
  /** Templates **/
81
+ .wp-socializer-buttons{
82
+ margin: 0px 0px 10px !important;
83
+ padding: 0px !important;
84
+ }
85
+ .wp-socializer-buttons .wpsr-btn{
86
+ margin: 0px;
87
+ padding: 0px;
88
+ float: left;
89
+ margin-right: 10px;
90
+ }
91
  .floatleft{
92
  float:left !important;
93
  }
126
  .buttons-wrap{
127
  padding: 10px 0px !important;
128
  }
129
+
130
+ /* Floating share bar */
131
+ .wpsr-floatbar-float_left{
132
+ position: absolute;
133
+ border: 1px solid;
134
+ border-color: #ccc;
135
+ background-color: #fff;
136
+ padding: 0px 5px 0px 6px !important;
137
+ width: 60px;
138
+ margin: 0px 0px 0px 0px !important;
139
+ z-index: 9999;
140
+ -moz-border-radius: 10px;
141
+ -webkit-border-radius: 10px;
142
+ border-radius: 10px;
143
+ -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
144
+ -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
145
+ box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
146
+ text-align: center;
147
+ }
148
+ .wpsr-floatbar-float_left .wpsr_floatbt{
149
+ margin: 10px 0px;
150
+ padding: 0px;
151
+ }
152
+ .wpsr-floatbar-bottom_fixed{
153
+ position: fixed;
154
+ border: 1px solid;
155
+ border-color: #ccc;
156
+ background-color: #fff;
157
+ background-image: url(images/grey-bg.png);
158
+ background-repeat: repeat-x;
159
+ background-position: 0px -30px;
160
+ bottom: -1px;
161
+ width: 900px;
162
+ z-index: 9999;
163
+ padding: 0px 0px 0px 15px;
164
+ -moz-border-radius-topleft: 10px;
165
+ -moz-border-radius-topright: 10px;
166
+ -moz-border-radius-bottomright: 0px;
167
+ -moz-border-radius-bottomleft: 0px;
168
+ -webkit-border-radius: 10px 10px 0px 0px;
169
+ border-radius: 10px 10px 0px 0px;
170
+ -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
171
+ -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
172
+ box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
173
+ left: 0px;
174
+ right: 0px;
175
+ margin: 0 auto;
176
+ height: 35px;
177
+ }
178
+ .wpsr-floatbar-bottom_fixed .wpsr_floatbt{
179
+ float: left;
180
+ margin-right: 10px;
181
+ border-right: 1px solid;
182
+ border-color: #ccc;
183
+ padding: 8px 5px 0px 0px;
184
+ text-align: center;
185
+ height: 35px;
186
+ }
187
+
188
+ /* Floating bar themes */
189
+ .wpsr-floatbar-bottom_fixed.wpsr-floatbar-dark{
190
+ border-color: #333;
191
+ background-color: #333;
192
+ background-image: url(images/dark-bg.png);
193
+ background-position: 0px 0px;
194
+ -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
195
+ -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
196
+ box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
197
+ }
198
+ .wpsr-floatbar-float_left.wpsr-floatbar-dark{
199
+ border-color: #333;
200
+ background-color: #333;
201
+ }
202
+ .wpsr-floatbar-dark .wpsr_floatbt{
203
+ border-color: #333;
204
+ }
205
+ .wpsr-floatbar-dark .wpsr_floatbt a{
206
+ color: white !important;
207
+ }
208
+
209
+ /* Link back */
210
+ .wpsr-floatbar-float_left .wpsr-linkback{
211
+ margin: 15px 0 0 0;
212
+ position: absolute;
213
+ }
214
+ .wpsr-floatbar-float_left .wpsr-linkback a{
215
+ font-size: 8px;
216
+ color: #ccc;
217
+ text-decoration: none;
218
+ opacity: 0.05;
219
+ -webkit-transition: opacity .8s linear;
220
+ display: block;
221
+ margin: 0px;
222
+ padding: 0px;
223
+ }
224
+ .wpsr-floatbar-float_left .wpsr-linkback a:hover{
225
+ opacity: 1;
226
+ }
227
+ .wpsr-floatbar-float_left .wpsr_linkaw{
228
+ margin: -5px 0 0 0 !important;
229
+ }
230
+ .wpsr-floatbar-bottom_fixed .wpsr-linkback{
231
+ margin: 6px 0 0 0;
232
+ position: absolute;
233
+ bottom: -70px;
234
+ }
235
+ .wpsr-floatbar-bottom_fixed .wpsr-linkback a{
236
+ font-size: 8px;
237
+ color: #ccc;
238
+ text-decoration: none;
239
+ opacity: 0.05;
240
+ -webkit-transition: opacity .8s linear;
241
+ display: block;
242
+ margin: 0px;
243
+ padding: 0px;
244
+ }
245
+
246
+ /* Hide btn */
247
+ .wpsr_hidebt{
248
+ background: url(images/grey-toggle.png) no-repeat center center;
249
+ float: right;
250
+ height: 35px;
251
+ width: 35px;
252
+ cursor: pointer;
253
+ }
254
+ .wpsr_hidebt:hover{
255
+ opacity: 0.5;
256
+ }
257
+
258
+ /* Misc */
259
+ .wpsr-floatbar-float_left .wpsr_floatbt .fb-like{
260
+ width: 50px !important;
261
+ }
262
+ .wpsr_floatbt .wp-socializer-single{
263
+ margin: 0px;
264
+ }
265
+
266
  /* Clearfix */
267
  .clearfix:after {
268
  visibility: hidden;
public/js/wp-socializer-floating-bar-js.js ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2012 Aakash Chakravarthy - www.aakashweb.com
3
+ * Created for WP Socializer - Wordpress Plugin
4
+ */
5
+
6
+ jQuery(document).ready(function(){
7
+ var $floatbar = jQuery(".wpsr-floatbar-float_left");
8
+ var $anchor = jQuery('.wpsr_floatbts_anchor');
9
+
10
+ // Position the left float bar to the anchor
11
+ var wpsr_position_floatbar = function(){
12
+ anchorOffset = jQuery('.wpsr_floatbts_anchor').offset();
13
+ $floatbar.css({
14
+ position: "absolute",
15
+ top: anchorOffset.top + "px",
16
+ left: (anchorOffset.left - $floatbar.outerWidth() - 25)
17
+ });
18
+ }
19
+
20
+ // On window scroll
21
+ if(jQuery(".wpsr-floatbar-movable").length > 0){
22
+ jQuery(window).scroll(function(){
23
+ var b = jQuery(window).scrollTop();
24
+ var d = anchorOffset.top;
25
+ var c = $floatbar;
26
+ if(b>d-30){
27
+ c.css({position:"fixed", top: "30px"});
28
+ }else{
29
+ if(b<=d){
30
+ c.css({position:"absolute", top: anchorOffset.top + "px",});
31
+ }
32
+ }
33
+ });
34
+ }
35
+
36
+ // On Window resize
37
+ jQuery(window).resize(function(){
38
+ wpsr_position_floatbar();
39
+ });
40
+
41
+ wpsr_position_floatbar();
42
+
43
+ // Hiding the bar
44
+ var shareBarWidth = jQuery('.wpsr-floatbar-bottom_fixed').width();
45
+
46
+ var hideShareBar = function(){
47
+ var $this = jQuery('.wpsr_hidebt');
48
+ $this.siblings().fadeOut('slow', function(){
49
+ $this.parent().animate({
50
+ width: '20px'
51
+ }).attr('data-hidden', 1);
52
+ });
53
+ };
54
+
55
+ var showShareBar = function(){
56
+ var $this = jQuery('.wpsr_hidebt');
57
+ $this.parent().animate({
58
+ width: shareBarWidth
59
+ }, function(){
60
+ $this.siblings().fadeIn('slow');
61
+ }).attr('data-hidden', 0);
62
+
63
+ };
64
+
65
+ jQuery('.wpsr_hidebt').click(function(){
66
+ if(jQuery(this).parent().attr('data-hidden') == 1){
67
+ showShareBar();
68
+ }else{
69
+ hideShareBar();
70
+ }
71
+ });
72
+
73
+ });
public/social-icons/16/Thumbs.db ADDED
Binary file
public/social-icons/16/googlebuzz.png DELETED
Binary file
public/social-icons/16/googleplus.png ADDED
Binary file
public/social-icons/16/oknotizie.png ADDED
Binary file
public/social-icons/16/pinterest.png ADDED
Binary file
public/social-icons/16/stumbleupon.png CHANGED
Binary file
public/social-icons/32/Thumbs.db ADDED
Binary file
public/social-icons/32/googlebuzz.png DELETED
Binary file
public/social-icons/32/googleplus.png ADDED
Binary file
public/social-icons/32/oknotizie.png ADDED
Binary file
public/social-icons/32/pinterest.png ADDED
Binary file
public/social-icons/32/stumbleupon.png CHANGED
Binary file
public/social-icons/wp-socializer-sprite-16px.png CHANGED
Binary file
public/social-icons/wp-socializer-sprite-32px.png CHANGED
Binary file
readme.txt CHANGED
@@ -5,72 +5,65 @@ Plugin URI: http://www.aakashweb.com/wordpress-plugins/wp-socializer/
5
  Tags: social, social bookmarking, bookmarks, bookmarking, bookmarks menu, share, sharing, search, rss, post, posts, plugin, seo, page, pages, google, excerpt, content, bookmark, button, technorati, e-mail, email, gmail, Facebook, twitter, retweet, myspace, diigo, delicious, digg, buzz, linkedin, google buzz, yahoo, reddit, dzone, Sphinn, addthis, template, socializer, sociable, wp, wordpress, sexy bookmarks
6
  Donate Link: http://bit.ly/wpsrDonate
7
  Requires at least: 2.8
8
- Tested up to: 3.3.1
9
- Stable tag: 2.3
10
 
11
- All in one plugin for inserting Social bookmarking buttons(105), Retweet, Google+1, Facebook, LinkedIn, Addthis, Sharethis buttons in a WordPress site
12
 
13
  == Description ==
14
 
15
- WP Socializer is a advanced and powerful plugin for adding social bookmarking buttons, Retweet buttons, Google +1 buttons, LinkedIn buttons, Digg buttons, Addthis buttons, Facebook buttons anywhere in a WordPress site from posts to Widgets.
16
 
17
- Facebook like box, Google + badge can also be added to the sidebar with full custtomization.
18
- A ultimate replacement to many plugins, being a all in one.
19
 
20
- [youtube="http://www.youtube.com/v/6AXCt13MXcU"]
 
 
 
 
21
 
22
- = Features =
23
 
24
- WP Socializer allows to insert 8 different types of social and sharing buttons. Those features are explained below. These buttons can be used either seperately or together.
25
 
26
- = New features in v2.3 =
27
 
28
- * Facebook like box widget added.
29
- * Google + badge widget added.
30
- * LinkedIn buttons are added.
31
- * And [more](changelog) features.
32
-
33
- = What buttons can be inserted ? =
34
-
35
- * 105 Social bookmarking buttons with both 16px and 32px button sizes.
36
- * Addthis and Sharethis buttons of all type.
37
- * Google +1, Facebook like buttons.
38
- * All Retweet, Digg buttons and LinkedIn buttons.
39
- * StumbleUpon, Reddit and Google Buzz buttons.
40
-
41
- = Where the button can be placed ? =
42
-
43
- * Above and below posts or both using the admin page.
44
- * In widgets using shortcodes and [HTML Javascript Adder](http://wordpress.org/extend/plugins/html-javascript-adder/) plugin.
45
- * Inside posts using shortcodes.
46
- * In theme files using template functions.
47
-
48
- = Other features =
49
-
50
- * Template based system for adding all buttons at once.
51
- * Inbuilt beautiful templates available for easy usage.
52
- * Easy and responsive administration page.
53
- * Automatic adjustments of buttons in RSS feeds.
54
- * Custom buttons and icons can be used.
55
- * Avaialble in 2 languages (Spanish and Chinese).
56
-
57
- = Resources =
58
- * [Full Documentation](http://www.aakashweb.com/wordpress-plugins/wp-socializer/)
59
- * [FAQs](http://www.aakashweb.com/faqs/wordpress-plugins/wp-socializer/)
60
- * [Screenshots](http://www.aakashweb.com/wordpress-plugins/wp-socializer/#screenshots-tab)
61
- * [Support](http://www.aakashweb.com/forum/)
62
- * [Request a Feature](http://www.aakashweb.com/wordpress-plugins/wp-socializer/#respond)
63
- * [Add a testimonial](http://www.aakashweb.com/wordpress-plugins/wp-socializer/#respond)
64
- * [Donate](http://bit.ly/wpsrDonate)
65
-
66
- = Using WP Socializer =
67
- [youtube="http://www.youtube.com/v/0G-joyseg7U"]
68
 
69
  == Installation ==
70
 
71
  1. Upload `wp-socializer` to the `/wp-content/plugins/` directory
72
  1. Activate the plugin through the `Plugins` menu in WordPress
73
- 1. Go to Settings -> WP Socializer to open the WP Socializer Admin Page.
74
  1. Customize the settings.
75
  1. Use the corresponding button code in the placement template.
76
  1. That's all. Enjoy !
@@ -81,18 +74,43 @@ WP Socializer allows to insert 8 different types of social and sharing buttons.
81
 
82
  Frequently Asked Questions can be seen [here](http://www.aakashweb.com/faqs/wordpress-plugins/wp-socializer/).
83
 
 
 
 
 
 
84
  == Screenshots ==
85
 
86
- 1. Complete WP Socializer, social bookmarking icons overview.
87
- 2. Overview of the posts, showing where and how the buttons can be placed.
88
- 3. Admin Interface overview.
89
- 4. Facebook like box and Google + page badge included in a sidebar using inbuilt widgets.
90
- 5. Widget for including Facebook like box and Google + page bage.
 
 
 
 
 
 
91
 
92
  [More Screenshots](http://www.aakashweb.com/wordpress-plugins/wp-socializer/#screenshots)
93
 
94
  == Changelog ==
95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  = 2.3 =
97
  * Facebook like box, Google + badge widget is included.
98
  * LinkedIn buttons are added.
@@ -132,10 +150,9 @@ Frequently Asked Questions can be seen [here](http://www.aakashweb.com/faqs/word
132
 
133
  == Upgrade Notice ==
134
 
135
- Automatic optimaztion will be made for Upgrading from version 1 to 2.
136
 
137
  == Credits ==
138
 
139
  * Full interface and coding by [Aakash Chakravarthy](http://www.aakashweb.com/)
140
- * Social buttons list taken from sociable plugin.
141
- * German and Chinese translation were made with Google Translate and Microsoft Translate by [Aakash Chakravarthy](http://www.aakashweb.com/).
5
  Tags: social, social bookmarking, bookmarks, bookmarking, bookmarks menu, share, sharing, search, rss, post, posts, plugin, seo, page, pages, google, excerpt, content, bookmark, button, technorati, e-mail, email, gmail, Facebook, twitter, retweet, myspace, diigo, delicious, digg, buzz, linkedin, google buzz, yahoo, reddit, dzone, Sphinn, addthis, template, socializer, sociable, wp, wordpress, sexy bookmarks
6
  Donate Link: http://bit.ly/wpsrDonate
7
  Requires at least: 2.8
8
+ Tested up to: 3.3.x
9
+ Stable tag: 2.4
10
 
11
+ Super Cool Plugin for inserting all kinds of Social Bookmarking & Sharing buttons. Has customizable Floating Share Bar, Widgets, Shortcodes also.
12
 
13
  == Description ==
14
 
15
+ WP Socializer is an advanced plugin for inserting all kinds of Social bookmarking & sharing buttons. It has super cool features to insert the buttons into posts, sidebar. It also has Floating sharebar.
16
 
17
+ = Notable features =
 
18
 
19
+ * Insert all kinds of social buttons in posts & pages.
20
+ * **Floating share bar** (both horizontal & vertical)
21
+ * Has Shortcodes for all buttons.
22
+ * Widgets for inserting FB like box & G+ badges in sidebar.
23
+ * Template functions are available for advanced placements.
24
 
25
+ [youtube="http://www.youtube.com/v/1uimAE8rFYE"]
26
 
27
+ = Buttons available =
28
 
29
+ Using WP Socializer, you can insert all these buttons into your site. These buttons can be inserted easily in any desired way. There is no fixed way as other plugins do.
30
 
31
+ * *107* Social bookmarking buttons (in both 16px and 32px)
32
+ * All kinds of Addthis buttons.
33
+ * All kinds of Sharethis buttons.
34
+ * Facebook like buttons.
35
+ * Google +1 buttons.
36
+ * Pinterest buttons.
37
+ * 3 Kinds of retweet buttons.
38
+ * ... and all kinds of Digg, LinkedIn, Reddit & StumbleUpon buttons
39
+
40
+ = Screenshots =
41
+
42
+ Check out the screenshots of the plugin to get the idea of how the plugin looks and works.
43
+
44
+ [**Plugin screenshots**](http://www.aakashweb.com/wordpress-plugins/wp-socializer/#screenshots)
45
+
46
+ = More features =
47
+
48
+ The social buttons can be inserted above or below posts easily. There are no fixed placements. There is a template feature, which allows to insert the buttons in **any** desired way.
49
+
50
+ Automatic adjustments are made to display the buttons in feeds. Custom buttons can also be added. Bit.ly integration is also available. Button scripts are optimized for site performance.
51
+
52
+ Exclude the social buttons in specific pages. Insert the social buttons easily in Widgets using the [HTML Javascript Plugin](http://www.aakashweb.com/wordpress-plugins/html-javascript-adder/ "A plugin for adding advanced html, text widgets in the sidebar").
53
+
54
+ = Reference links =
55
+ For more information on the plugin, you can use the below links.
56
+
57
+ [**Homepage**](http://www.aakashweb.com/wordpress-plugins/wp-socializer/) - [**Support Forum**](http://www.aakashweb.com/forum/) - [**Donate**](http://bit.ly/wpsrDonate "If you like this plugin, then just a make a small donation for this plugins's hard work.")
58
+
59
+ * [Template function reference](http://www.aakashweb.com/docs/wp-socializer-docs/function-reference/).
60
+ * [Manual placement](http://www.aakashweb.com/docs/wp-socializer-docs/manual-placement/).
 
 
 
 
 
 
 
 
 
 
61
 
62
  == Installation ==
63
 
64
  1. Upload `wp-socializer` to the `/wp-content/plugins/` directory
65
  1. Activate the plugin through the `Plugins` menu in WordPress
66
+ 1. Go to the WP Socializer Admin Page.
67
  1. Customize the settings.
68
  1. Use the corresponding button code in the placement template.
69
  1. That's all. Enjoy !
74
 
75
  Frequently Asked Questions can be seen [here](http://www.aakashweb.com/faqs/wordpress-plugins/wp-socializer/).
76
 
77
+ For custom placement in theme files and posts, check out the following documentations
78
+
79
+ * [Template function reference](http://www.aakashweb.com/docs/wp-socializer-docs/function-reference/).
80
+ * [Manual placement](http://www.aakashweb.com/docs/wp-socializer-docs/manual-placement/).
81
+
82
  == Screenshots ==
83
 
84
+ 1. A post showing Social bookmarking and sharing buttons added with WP Socializer plugin.
85
+ 2. Another example showing the buttons in action.
86
+ 3. Addthis and Sharethis buttons inserted in a post.
87
+ 4. A Floating Share Bar created using WP Socializer in action.
88
+ 5. A dark theme of the floating share bar.
89
+ 6. The horizontal mode of the floating share bar.
90
+ 7. The dark theme of the share bar.
91
+ 8. The admin UI showing the buttons inserted into the posts.
92
+ 9. The social bookmarking buttons selection page.
93
+ 10. The floating share bar settings page.
94
+ 11. Facebook like and Google+ widgets added using the WP Socializer plugin.
95
 
96
  [More Screenshots](http://www.aakashweb.com/wordpress-plugins/wp-socializer/#screenshots)
97
 
98
  == Changelog ==
99
 
100
+ = 2.4 =
101
+ * Admin UI is completely changed as per users request.
102
+ * Floating share buttons are added.
103
+ * Added a new social bookmarking buttons: Google+, Pinterest & OkNotizie
104
+ * Pinterest button automatically recognizes the first image in the post.
105
+ * Send button is included in Facebook.
106
+ * Embed codes are updated for Facebook and StumbleUpon.
107
+ * Removed Google Buzz completely.
108
+ * Removed the "Retweet" (the unofficial button offered by retweet.com) service.
109
+ * Two old inbuilt templates are removed and two new templates are added.
110
+ * Lots and lots of bugs are fixed.
111
+ * Email button problem is fixed.
112
+ * Old translations (German & Chinese) are removed.
113
+
114
  = 2.3 =
115
  * Facebook like box, Google + badge widget is included.
116
  * LinkedIn buttons are added.
150
 
151
  == Upgrade Notice ==
152
 
153
+ Version 2.4 is a recommended upgrade to get all the latest social bookmarking and sharing buttons avaialble in the Internet. Various bugs are fixed and the admin UI is completely changed for easy use.
154
 
155
  == Credits ==
156
 
157
  * Full interface and coding by [Aakash Chakravarthy](http://www.aakashweb.com/)
158
+ * Social buttons list taken from the old sociable plugin and updates are added by the author.
 
screenshot-1.png CHANGED
Binary file
screenshot-10.png ADDED
Binary file
screenshot-11.png ADDED
Binary file
screenshot-2.png CHANGED
Binary file
screenshot-3.png CHANGED
Binary file
screenshot-4.png CHANGED
Binary file
screenshot-5.png CHANGED
Binary file
screenshot-6.png ADDED
Binary file
screenshot-7.png ADDED
Binary file
screenshot-8.png ADDED
Binary file
screenshot-9.png ADDED
Binary file
wp-socializer.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php
2
  /*
3
  Plugin Name: WP Socializer
4
- Version: 2.3
5
  Plugin URI: http://www.aakashweb.com/
6
- Description: WP Socializer is an advanced and powerful plugin for adding bookmarking buttons like social buttons, Facebook like, Google +1, Addthis, Digg, Twitter retweet buttons in posts and excerpts. Facebook like box and Google+ page badge can also be added in the sidebars using Widgets.
7
  Author: Aakash Chakravarthy
8
  Author URI: http://www.aakashweb.com/
9
  */
@@ -14,7 +14,7 @@ if(!defined('WP_CONTENT_URL')) {
14
  $wpsr_url = WP_CONTENT_URL . '/plugins/' . plugin_basename(dirname(__FILE__)) . '/';
15
  }
16
 
17
- define('WPSR_VERSION', '2.3');
18
  define('WPSR_AUTHOR', 'Aakash Chakravarthy');
19
  define('WPSR_URL', $wpsr_url);
20
  define('WPSR_PUBLIC_URL', WPSR_URL . 'public/');
@@ -198,7 +198,7 @@ $wpsr_socialsites_list = array(
198
  'name' => 'Email',
199
  'titleText' => __('Email this ', 'wpsr') . '',
200
  'icon' => 'email.png',
201
- 'url' => 'mailto:{email}?subject={de-title}&amp;body={de-excerpt} - {de-url}',
202
  'support32px' => 1,
203
  ),
204
 
@@ -274,13 +274,22 @@ $wpsr_socialsites_list = array(
274
  'support32px' => 1,
275
  ),
276
 
 
 
 
 
 
 
 
 
 
277
  'googlebuzz' => array(
278
  'name' => 'Google Buzz',
279
  'titleText' => __('Post this on ', 'wpsr') . 'Google Buzz',
280
  'icon' => 'googlebuzz.png',
281
  'url' => 'http://www.google.com/buzz/post?url={url}',
282
  'support32px' => 1,
283
- ),
284
 
285
  'googlereader' => array(
286
  'name' => 'Google Reader',
@@ -567,6 +576,14 @@ $wpsr_socialsites_list = array(
567
 
568
  // O
569
 
 
 
 
 
 
 
 
 
570
  'orkut' => array(
571
  'name' => 'Orkut',
572
  'titleText' => __('Share this on ', 'wpsr') . 'Orkut',
@@ -599,7 +616,15 @@ $wpsr_socialsites_list = array(
599
  'url' => 'http://ping.fm/ref/?link={url}&amp;title={title}&amp;body={excerpt}',
600
  'support32px' => 1,
601
  ),
602
-
 
 
 
 
 
 
 
 
603
  'posterous' => array(
604
  'name' => 'Posterous',
605
  'titleText' => __('Share this on ', 'wpsr') . 'Posterous',
@@ -873,15 +898,12 @@ $wpsr_button_code_list = array(
873
  "{sharethis-regular}", "{sharethis-regular2}", "{sharethis-bt}",
874
  "{sharethis-classic}", "{plusone-small}", "{plusone-medium}",
875
  "{plusone-standard}", "{plusone-tall}", "{retweet-bt}",
876
- "{digg-bt}", "{facebook-like}", "{facebook-share}",
877
  "{reddit-1}", "{reddit-2}", "{reddit-3}",
878
  "{stumbleupon-1}", "{stumbleupon-2}", "{stumbleupon-3}",
879
  "{stumbleupon-5}", "{linkedin-standard}", "{linkedin-right}",
880
- "{linkedin-top}", "{custom-1}", "{custom-2}"
881
- );
882
-
883
- $wpsr_addthis_lang_array = array(
884
- 'en'=>'English', 'ar'=>'Arabic', 'zh'=>'Chinese', 'cs'=>'Czech', 'da'=>'Danish', 'nl'=>'Dutch','fa'=>'Farsi', 'fi'=>'Finnish', 'fr'=>'French', 'ga'=>'Gaelic', 'de'=>'German', 'el'=>'Greek', 'he'=>'Hebrew', 'hi'=>'Hindi', 'it'=>'Italian', 'ja'=>'Japanese', 'ko'=>'Korean', 'lv'=>'Latvian', 'lt'=>'Lithuanian', 'no'=>'Norwegian', 'pl'=>'Polish', 'pt'=>'Portugese', 'ro'=>'Romanian', 'ru'=>'Russian', 'sk'=>'Slovakian', 'sl'=>'Slovenian', 'es'=>'Spanish', 'sv'=>'Swedish', 'th'=>'Thai', 'ur'=>'Urdu', 'cy'=>'Welsh', 'vi'=>'Vietnamese'
885
  );
886
 
887
  $wpsr_shortcodes_list = array(
@@ -895,21 +917,87 @@ $wpsr_shortcodes_list = array(
895
  'StumbleUpon' => '[wpsr_stumbleupon]',
896
  'Reddit' => '[wpsr_reddit]',
897
  'LinkedIn' => '[wpsr_linkedin]',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
898
  );
899
 
900
  ## Initializations
901
  function wpsr_init(){
 
 
 
 
 
 
 
 
 
 
 
 
902
  // Include the plugin translations
903
  load_plugin_textdomain('wpsr', false, dirname(plugin_basename( __FILE__ )) . '/languages');
904
  }
905
- add_action('init','wpsr_init');
906
 
907
  ## Include WP Socializer Processer files
908
  require_once('admin/wpsr-admin.php');
909
  require_once('admin/wpsr-admin-other.php');
 
910
  require_once('includes/wpsr-addthis.php');
911
  require_once('includes/wpsr-sharethis.php');
912
- require_once('includes/wpsr-google.php'); // Since v2
913
  require_once('includes/wpsr-retweet.php');
914
  require_once('includes/wpsr-digg.php');
915
  require_once('includes/wpsr-facebook.php');
@@ -918,8 +1006,9 @@ require_once('includes/wpsr-other.php');
918
  require_once('includes/wpsr-custom.php');
919
  require_once('includes/wpsr-shortcodes.php');
920
  require_once('includes/wpsr-widgets.php'); // Since v2.3
 
921
 
922
- ## General functions
923
  function strpos_arr($haystack, $needle) {
924
  if(!is_array($needle)) $needle = array($needle);
925
  foreach($needle as $what) {
@@ -939,9 +1028,20 @@ function wpsr_is_active(){
939
 
940
  ## wpsr plugin activate
941
  function wpsr_plugin_activate(){
 
 
 
 
 
942
  update_option("wpsr_active", 1);
 
 
 
 
 
 
943
  }
944
- register_deactivation_hook(__FILE__, 'wpsr_plugin_activate');
945
 
946
  ## wpsr plugin deactivate
947
  function wpsr_plugin_deactivate(){
@@ -969,6 +1069,14 @@ function wpsr_plugin_actions($links, $file){
969
  }
970
  add_filter('plugin_action_links', 'wpsr_plugin_actions', 10, 2);
971
 
 
 
 
 
 
 
 
 
972
  /**
973
  * One function for displaying the buttons in theme files
974
  * Use wp_socializer(the button code or template name) in the theme files to print the
@@ -992,10 +1100,6 @@ function wp_socializer($to_display, $params=""){
992
  return wpsr_sharethis($params);
993
  break;
994
 
995
- case 'plusone' :
996
- return wpsr_plusone_bt($params);
997
- break;
998
-
999
  case 'retweet' :
1000
  return wpsr_retweet($params);
1001
  break;
@@ -1024,6 +1128,10 @@ function wp_socializer($to_display, $params=""){
1024
  return wpsr_linkedin($params);
1025
  break;
1026
 
 
 
 
 
1027
  case 'custom-1' :
1028
  return wpsr_custom_bt('custom1');
1029
  break;
@@ -1048,7 +1156,7 @@ function wp_socializer($to_display, $params=""){
1048
  *
1049
  * Uses super variables to get the page url outside loop and wp_title()
1050
  * to get the page title.
1051
- */
1052
 
1053
  function wpsr_get_post_details(){
1054
  // Get the global variables
@@ -1058,6 +1166,8 @@ function wpsr_get_post_details(){
1058
  $permalink_inside_loop = get_permalink($post->ID);
1059
  $title_inside_loop = str_replace('+', '%20', get_the_title($post->ID));
1060
  $excerpt_inside_loop = strip_tags(strip_shortcodes($post->post_excerpt));
 
 
1061
  // If excerpt is null
1062
  if($excerpt_inside_loop == ''){
1063
  $excerpt_inside_loop = substr(strip_tags(strip_shortcodes($post->post_content)), 0, 250);
@@ -1067,6 +1177,7 @@ function wpsr_get_post_details(){
1067
  $permalink_outside_loop = (!empty($_SERVER['HTTPS'])) ? "https://" . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'] : "http://" . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
1068
  $title_outside_loop = str_replace('+', '%20', wp_title('', 0));
1069
  $excerpt_outside_loop = $title_outside_loop;
 
1070
  // If title is null
1071
  if($title_outside_loop == ''){
1072
  $title_outside_loop = str_replace('+', '%20', get_bloginfo('name'));
@@ -1076,14 +1187,16 @@ function wpsr_get_post_details(){
1076
  $details = array(
1077
  'permalink' => $permalink_inside_loop,
1078
  'title' => trim($title_inside_loop),
1079
- 'excerpt' => $excerpt_inside_loop
 
1080
  );
1081
 
1082
  }else{
1083
  $details = array(
1084
  'permalink' => $permalink_outside_loop,
1085
  'title' => trim($title_outside_loop),
1086
- 'excerpt' => $excerpt_outside_loop
 
1087
  );
1088
  }
1089
 
@@ -1091,378 +1204,213 @@ function wpsr_get_post_details(){
1091
 
1092
  }
1093
 
1094
- function wpsr_process_template($the_template){
1095
-
1096
- // Get the global variables
1097
- global $wpsr_button_code_list;
1098
-
1099
- // Get the processed button codes
1100
- $wpsr_social_bts_16px = wpsr_socialbts_template('16px');
1101
- $wpsr_social_bts_32px = wpsr_socialbts_template('32px');
1102
-
1103
- $wpsr_addthis_bt = wpsr_addthis_bt('button');
1104
- $wpsr_addthis_tb16px = wpsr_addthis_bt('toolbar', '16px');
1105
- $wpsr_addthis_tb32px = wpsr_addthis_bt('toolbar', '32px');
1106
- $wpsr_addthis_sc = wpsr_addthis_bt('sharecount');
1107
-
1108
- $wpsr_sharethis_vcount = wpsr_sharethis_bt('vcount');
1109
- $wpsr_sharethis_hcount = wpsr_sharethis_bt('hcount');
1110
- $wpsr_sharethis_large = wpsr_sharethis_bt('large');
1111
- $wpsr_sharethis_regular = wpsr_sharethis_bt('regular');
1112
- $wpsr_sharethis_regular2 = wpsr_sharethis_bt('regular2');
1113
- $wpsr_sharethis_buttons = wpsr_sharethis_bt('buttons');
1114
- $wpsr_sharethis_classic = wpsr_sharethis_bt('classic');
1115
-
1116
- $wpsr_pone_small = wpsr_plusone_bt('small');
1117
- $wpsr_pone_medium = wpsr_plusone_bt('medium');
1118
- $wpsr_pone_standard = wpsr_plusone_bt('standard');
1119
- $wpsr_pone_tall = wpsr_plusone_bt('tall');
1120
-
1121
- $wpsr_retweet_bt = wpsr_retweet_bt();
1122
- $wpsr_digg_bt = wpsr_digg_bt();
1123
- $wpsr_facebook_like = wpsr_facebook_bt('like');
1124
- $wpsr_facebook_share = wpsr_facebook_bt('share');
1125
-
1126
- $wpsr_reddit_bts = array('', wpsr_reddit_bt('1'), wpsr_reddit_bt('2'), wpsr_reddit_bt('3'));
1127
- $wpsr_stumbleupon_bts = array('', wpsr_stumbleupon_bt('1'), wpsr_stumbleupon_bt('2'), wpsr_stumbleupon_bt('3'), wpsr_stumbleupon_bt('5'));
1128
-
1129
- $wpsr_linkedin_standard = wpsr_linkedin_bt('standard');
1130
- $wpsr_linkedin_right = wpsr_linkedin_bt('right');
1131
- $wpsr_linkedin_top = wpsr_linkedin_bt('top');
1132
-
1133
- $wpsr_custom1 = wpsr_custom_bt('custom1');
1134
- $wpsr_custom2 = wpsr_custom_bt('custom2');
1135
-
1136
- $wpsr_button_processed_list = array(
1137
- $wpsr_social_bts_16px, $wpsr_social_bts_32px, $wpsr_addthis_bt,
1138
- $wpsr_addthis_tb16px, $wpsr_addthis_tb32px, $wpsr_addthis_sc,
1139
- $wpsr_sharethis_vcount, $wpsr_sharethis_hcount, $wpsr_sharethis_large,
1140
- $wpsr_sharethis_regular, $wpsr_sharethis_regular2, $wpsr_sharethis_buttons,
1141
- $wpsr_sharethis_classic, $wpsr_pone_small, $wpsr_pone_medium,
1142
- $wpsr_pone_standard, $wpsr_pone_tall, $wpsr_retweet_bt,
1143
- $wpsr_digg_bt, $wpsr_facebook_like, $wpsr_facebook_share,
1144
- $wpsr_reddit_bts[1], $wpsr_reddit_bts[2], $wpsr_reddit_bts[3],
1145
- $wpsr_stumbleupon_bts[1], $wpsr_stumbleupon_bts[2], $wpsr_stumbleupon_bts[3],
1146
- $wpsr_stumbleupon_bts[4], $wpsr_linkedin_standard, $wpsr_linkedin_right,
1147
- $wpsr_linkedin_top, $wpsr_custom1, $wpsr_custom2
1148
  );
1149
 
1150
- // RSS Buttons v2.1
1151
- $wpsr_social_bts_16px_rss = wpsr_socialbts_rss('16px');
1152
- $wpsr_social_bts_32px_rss = wpsr_socialbts_rss('32px');
1153
- $wpsr_addthis_rss = wpsr_addthis_rss_bt();
1154
- $wpsr_sharethis_rss = wpsr_sharethis_rss_bt();
1155
- $wpsr_pone_rss = wpsr_plusone_rss_bt();
1156
- $wpsr_retweet_rss = wpsr_retweet_rss_bt();
1157
- $wpsr_digg_rss = wpsr_digg_rss_bt();
1158
- $wpsr_facebook_rss = wpsr_facebook_rss_bt();
1159
- $wpsr_reddit_rss = wpsr_reddit_rss_bt();
1160
- $wpsr_stumbleupon_rss = wpsr_stumbleupon_rss_bt();
1161
- $wpsr_linkedin_rss = wpsr_linkedin_rss_bt();
1162
-
1163
- $wpsr_button_processed_list_rss = array(
1164
- $wpsr_social_bts_16px_rss, $wpsr_social_bts_32px_rss, $wpsr_addthis_rss,
1165
- $wpsr_addthis_rss, $wpsr_addthis_rss, $wpsr_addthis_rss,
1166
- $wpsr_sharethis_rss, $wpsr_sharethis_rss, $wpsr_sharethis_rss,
1167
- $wpsr_sharethis_rss, $wpsr_sharethis_rss, $wpsr_sharethis_rss,
1168
- $wpsr_sharethis_rss, $wpsr_pone_rss, $wpsr_pone_rss,
1169
- $wpsr_pone_rss, $wpsr_pone_rss, $wpsr_retweet_rss,
1170
- $wpsr_digg_rss, $wpsr_facebook_rss, $wpsr_facebook_rss,
1171
- $wpsr_reddit_rss, $wpsr_reddit_rss, $wpsr_reddit_rss,
1172
- $wpsr_stumbleupon_rss, $wpsr_stumbleupon_rss, $wpsr_stumbleupon_rss,
1173
- $wpsr_stumbleupon_rss, $wpsr_linkedin_rss, $wpsr_linkedin_rss,
1174
- $wpsr_linkedin_rss, $wpsr_custom1, $wpsr_custom2
1175
- );
1176
-
1177
- // Get the placement options | Template 1&2
1178
- $wpsr_template1 = get_option('wpsr_template1_data');
1179
- $wpsr_template2 = get_option('wpsr_template2_data');
1180
 
1181
- $wpsr_template1_content = ($wpsr_template1['addp'] == 1) ? wpautop($wpsr_template1['content']) : $wpsr_template1['content'];
1182
- $wpsr_template2_content = ($wpsr_template2['addp'] == 1) ? wpautop($wpsr_template2['content']) : $wpsr_template2['content'];
1183
-
1184
- switch($the_template){
1185
- case 'template1' :
1186
- $wpsr_template1_processed = str_replace($wpsr_button_code_list, $wpsr_button_processed_list, $wpsr_template1_content);
1187
- return $wpsr_template1_processed;
1188
-
1189
- case 'template2' :
1190
- $wpsr_template2_processed = str_replace($wpsr_button_code_list, $wpsr_button_processed_list, $wpsr_template2_content);
1191
- return $wpsr_template2_processed;
1192
-
1193
- case 'rss1' :
1194
- $wpsr_template1_content = strip_tags($wpsr_template1_content, '<h1><h2><h3><h4><h5><h6>');
1195
- $wpsr_rss1_processed = str_replace($wpsr_button_code_list, $wpsr_button_processed_list_rss, $wpsr_template1_content);
1196
- return $wpsr_rss1_processed;
1197
-
1198
- case 'rss2' :
1199
- $wpsr_template2_content = strip_tags($wpsr_template2_content, '<h1><h2><h3><h4><h5><h6>');
1200
- $wpsr_rss2_processed = str_replace($wpsr_button_code_list, $wpsr_button_processed_list_rss, $wpsr_template2_content);
1201
- return $wpsr_rss2_processed;
1202
  }
1203
  }
1204
 
1205
- ## Print the output of template1
1206
- function wpsr_output_template1($content = ''){
1207
 
1208
  // Get the global variables
1209
- global $post;
1210
-
1211
- // Get the placement options
1212
- $wpsr_template1 = get_option('wpsr_template1_data');
1213
-
1214
- $wpsr_template1_inhome = $wpsr_template1['inhome'];
1215
- $wpsr_template1_insingle = $wpsr_template1['insingle'];
1216
- $wpsr_template1_inpage = $wpsr_template1['inpage'];
1217
- $wpsr_template1_incategory = $wpsr_template1['incategory'];
1218
- $wpsr_template1_intag = $wpsr_template1['intag'];
1219
- $wpsr_template1_indate = $wpsr_template1['indate'];
1220
- $wpsr_template1_inauthor = $wpsr_template1['inauthor'];
1221
- $wpsr_template1_insearch = $wpsr_template1['insearch'];
1222
- $wpsr_template1_infeed = $wpsr_template1['infeed'];
1223
- $wpsr_template1_abvcontent = $wpsr_template1['abvcontent'];
1224
- $wpsr_template1_blwcontent = $wpsr_template1['blwcontent'];
1225
-
1226
- // Check page conditionals
1227
- if (is_home() == 1 && $wpsr_template1_inhome == 1){
1228
- $wpsr_template1_processed = wpsr_process_template('template1');
1229
-
1230
- }elseif (is_single() == 1 && $wpsr_template1_insingle == 1){
1231
- $wpsr_template1_processed = wpsr_process_template('template1');
1232
-
1233
- }elseif (is_page() == 1 && $wpsr_template1_inpage == 1){
1234
- $wpsr_template1_processed = wpsr_process_template('template1');
1235
-
1236
- }elseif (is_category() == 1 && $wpsr_template1_incategory == 1){
1237
- $wpsr_template1_processed = wpsr_process_template('template1');
1238
-
1239
- }elseif (is_tag() == 1 && $wpsr_template1_intag == 1){
1240
- $wpsr_template1_processed = wpsr_process_template('template1');
1241
-
1242
- }elseif (is_date() == 1 && $wpsr_template1_indate == 1){
1243
- $wpsr_template1_processed = wpsr_process_template('template1');
1244
-
1245
- }elseif (is_author() == 1 && $wpsr_template1_inauthor == 1){
1246
- $wpsr_template1_processed = wpsr_process_template('template1');
1247
-
1248
- }elseif(is_search() == 1 && $wpsr_template1_insearch == 1){
1249
- $wpsr_template1_processed = wpsr_process_template('template1');
1250
-
1251
- }elseif(is_feed() == 1 && $wpsr_template1_infeed == 1){
1252
- $wpsr_template1_processed = $wpsr_template1_processed;
1253
-
1254
- }else{
1255
- $wpsr_template1_processed = '' ;
1256
- }
1257
-
1258
- /**
1259
- * If the output is given by the_excerpt() function
1260
- * and if the excerpt is empty generate the custom excerpt from the content
1261
- *
1262
- * Used to remove the widget/button text printed along with the content
1263
- */
1264
-
1265
- /* BUG in v1.0
1266
- if(defined('IS_EXCERPT') && IS_EXCERPT ){
1267
- if(empty($post->post_excerpt)){
1268
- $content = substr(strip_tags(strip_shortcodes($post->post_content), '<p>'),0,250);
1269
- }
1270
- }
1271
- */
1272
-
1273
- // Check whether displaying template1 in the post is enabled
1274
- if (get_post_meta($post->ID,'_wpsr-disable-template1', true) != 1){
1275
-
1276
- // Check position conditionals
1277
- if($wpsr_template1_abvcontent == 1 && $wpsr_template1_blwcontent == 1){
1278
- return $wpsr_template1_processed . $content . $wpsr_template1_processed;
1279
-
1280
- }elseif($wpsr_template1_abvcontent == 1){
1281
- return $wpsr_template1_processed . $content;
1282
-
1283
- }elseif($wpsr_template1_blwcontent == 1){
1284
- return $content . $wpsr_template1_processed;
1285
-
1286
- }else{
1287
- return $content;
1288
- }
1289
-
1290
- }else{
1291
- return $content;
1292
- }
1293
 
1294
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
1295
 
1296
- function wpsr_output_rss1($content = ''){
1297
- // Get the global variables
1298
- global $post;
1299
-
1300
- $wpsr_template1 = get_option('wpsr_template1_data');
1301
-
1302
- $wpsr_template1_infeed = $wpsr_template1['infeed'];
1303
- $wpsr_template1_abvcontent = $wpsr_template1['abvcontent'];
1304
- $wpsr_template1_blwcontent = $wpsr_template1['blwcontent'];
 
 
 
 
1305
 
1306
- $wpsr_rss1_processed = wpsr_process_template('rss1');
 
1307
 
1308
- if (get_post_meta($post->ID,'_wpsr-disable-template1', true) != 1){
1309
- // Check position conditionals
1310
- if($wpsr_template1_abvcontent == 1 && $wpsr_template1_blwcontent == 1){
1311
- return $wpsr_rss1_processed . $content . $wpsr_template1_processed;
1312
-
1313
- }elseif($wpsr_template1_abvcontent == 1){
1314
- return $wpsr_rss1_processed . $content;
1315
-
1316
- }elseif($wpsr_template1_blwcontent == 1){
1317
- return $content . $wpsr_rss1_processed;
1318
 
1319
- }else{
1320
- return $content;
1321
- }
1322
-
1323
- }else{
1324
- return $content;
1325
- }
1326
  }
1327
 
1328
- ## Print the output of template2
1329
- function wpsr_output_template2($content = ''){
1330
-
1331
- // Get the global variables
1332
- global $post;
1333
 
1334
- // Get the placement options
1335
- $wpsr_template2 = get_option('wpsr_template2_data');
1336
-
1337
- $wpsr_template2_inhome = $wpsr_template2['inhome'];
1338
- $wpsr_template2_insingle = $wpsr_template2['insingle'];
1339
- $wpsr_template2_inpage = $wpsr_template2['inpage'];
1340
- $wpsr_template2_incategory = $wpsr_template2['incategory'];
1341
- $wpsr_template2_intag = $wpsr_template2['intag'];
1342
- $wpsr_template2_indate = $wpsr_template2['indate'];
1343
- $wpsr_template2_inauthor = $wpsr_template2['inauthor'];
1344
- $wpsr_template2_insearch = $wpsr_template2['insearch'];
1345
- $wpsr_template2_infeed = $wpsr_template2['infeed'];
1346
- $wpsr_template2_abvcontent = $wpsr_template2['abvcontent'];
1347
- $wpsr_template2_blwcontent = $wpsr_template2['blwcontent'];
1348
-
1349
- // Check page conditionals
1350
- if (is_home() == 1 && $wpsr_template2_inhome == 1){
1351
- $wpsr_template2_processed = wpsr_process_template('template2');
1352
-
1353
- }elseif (is_single() == 1 && $wpsr_template2_insingle == 1){
1354
- $wpsr_template2_processed = wpsr_process_template('template2');
1355
-
1356
- }elseif (is_page() == 1 && $wpsr_template2_inpage == 1){
1357
- $wpsr_template2_processed = wpsr_process_template('template2');
1358
-
1359
- }elseif (is_category() == 1 && $wpsr_template2_incategory == 1){
1360
- $wpsr_template2_processed = wpsr_process_template('template2');
1361
 
1362
- }elseif (is_tag() == 1 && $wpsr_template2_intag == 1){
1363
- $wpsr_template2_processed = wpsr_process_template('template2');
1364
-
1365
- }elseif (is_date() == 1 && $wpsr_template2_indate == 1){
1366
- $wpsr_template2_processed = wpsr_process_template('template2');
1367
-
1368
- }elseif (is_author() == 1 && $wpsr_template2_inauthor == 1){
1369
- $wpsr_template2_processed = wpsr_process_template('template2');
1370
 
1371
- }elseif(is_search() == 1 && $wpsr_template2_insearch == 1){
1372
- $wpsr_template2_processed = wpsr_process_template('template2');
 
 
 
 
 
 
1373
 
1374
- }elseif(is_feed() == 1 && $wpsr_template2_infeed == 1){
1375
- $wpsr_template2_processed = $wpsr_template2_processed;
1376
 
1377
- }else{
1378
- $wpsr_template2_processed = '' ;
1379
- }
1380
-
1381
- // Check whether displaying template2 in the post is enabled
1382
- if (get_post_meta($post->ID,'_wpsr-disable-template2', true) != 1){
1383
-
1384
- // Check position conditionals
1385
- if($wpsr_template2_abvcontent == 1 && $wpsr_template2_blwcontent == 1){
1386
- return $wpsr_template2_processed . $content . $wpsr_template2_processed;
1387
 
1388
- }elseif($wpsr_template2_abvcontent == 1){
1389
- return $wpsr_template2_processed . $content;
1390
-
1391
- }elseif($wpsr_template2_blwcontent == 1){
1392
- return $content . $wpsr_template2_processed;
1393
-
1394
- }else{
1395
- return $content;
1396
- }
1397
-
1398
- }else{
1399
- return $content;
1400
- }
1401
-
1402
- }
1403
-
1404
- function wpsr_output_rss2($content = ''){
1405
- // Get the global variables
1406
- global $post;
1407
-
1408
- $wpsr_template2 = get_option('wpsr_template2_data');
1409
-
1410
- $wpsr_template2_infeed = $wpsr_template2['infeed'];
1411
- $wpsr_template2_abvcontent = $wpsr_template2['abvcontent'];
1412
- $wpsr_template2_blwcontent = $wpsr_template2['blwcontent'];
1413
-
1414
- $wpsr_rss2_processed = wpsr_process_template('rss2');
1415
-
1416
- if (get_post_meta($post->ID,'_wpsr-disable-template2', true) != 1){
1417
- // Check position conditionals
1418
- if($wpsr_template2_abvcontent == 1 && $wpsr_template2_blwcontent == 1){
1419
- return $wpsr_rss2_processed . $content . $wpsr_template2_processed;
1420
 
1421
- }elseif($wpsr_template2_abvcontent == 1){
1422
- return $wpsr_rss2_processed . $content;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1423
 
1424
- }elseif($wpsr_template2_blwcontent == 1){
1425
- return $content . $wpsr_rss2_processed;
1426
 
1427
- }else{
1428
- return $content;
1429
- }
1430
-
1431
- }else{
1432
- return $content;
1433
  }
1434
- }
1435
 
1436
  ## Add required filters and check whether WP Socializer is disabled
1437
  $wpsr_settings = get_option('wpsr_settings_data');
1438
 
1439
  if(!$wpsr_settings['disablewpsr']){
1440
- // Filters
1441
- add_filter('the_content', 'wpsr_output_template1');
1442
- add_filter('the_content', 'wpsr_output_template2');
 
1443
 
1444
- $wpsr_template1 = get_option('wpsr_template1_data');
1445
- $wpsr_template2 = get_option('wpsr_template2_data');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1446
 
1447
- // Check whether to print in excerpts
1448
- if($wpsr_template1['inexcerpt']){
1449
- add_filter('the_excerpt', 'wpsr_output_template1');
 
1450
  }
1451
 
1452
- if($wpsr_template2['inexcerpt']){
1453
- add_filter('the_excerpt', 'wpsr_output_template2');
1454
- }
1455
 
1456
- // For RSS
1457
- if($wpsr_template1['infeed']){
1458
- add_filter('the_content_feed', 'wpsr_output_rss1');
1459
- add_filter('the_excerpt_rss', 'wpsr_output_rss1');
 
 
1460
  }
1461
 
1462
- if($wpsr_template2['infeed']){
1463
- add_filter('the_content_feed', 'wpsr_output_rss2');
1464
- add_filter('the_excerpt_rss', 'wpsr_output_rss2');
1465
- }
1466
  }
1467
 
1468
  ## Add the button scripts to the header
@@ -1480,40 +1428,42 @@ function wpsr_scripts_adder(){
1480
  $wpsr_retweet = get_option('wpsr_retweet_data');
1481
  $wpsr_retweet_service = $wpsr_retweet['service'];
1482
 
1483
- if(wpsr_retweet_bt_used() == 1 && $wpsr_retweet_service == 'topsy'){
1484
  echo wpsr_retweet_topsy_script();
1485
  }
1486
 
1487
- if(wpsr_retweet_bt_used() == 1 && $wpsr_retweet_service == 'twitter'){
1488
  echo wpsr_retweet_twitter_script();
1489
  }
1490
 
1491
- if(wpsr_digg_bt_used() == 1){
 
 
 
 
1492
  echo wpsr_digg_script();
1493
  }
1494
 
1495
- if(wpsr_addthis_is_used() == 1){
1496
  echo wpsr_addthis_script();
1497
  }
1498
 
1499
- if(wpsr_sharethis_is_used() == 1){
1500
  echo wpsr_sharethis_script();
1501
  }
1502
 
1503
- if(wpsr_plusone_bt_used() == 1){
1504
  echo wpsr_plusone_script();
1505
  }
1506
- if(wpsr_linkedin_bt_used() == 1){
 
1507
  echo wpsr_linkedin_script();
1508
  }
1509
- }
1510
-
1511
- if(!$wpsr_settings['disablewpsr']){
1512
- if($wpsr_settings['scriptsplace'] == 'header'){
1513
- add_action('wp_head', 'wpsr_scripts_adder');
1514
- }else{
1515
- add_action('wp_footer', 'wpsr_scripts_adder');
1516
  }
 
1517
  }
1518
 
1519
  ## Add the misc/small scripts to the footer
@@ -1521,8 +1471,21 @@ function wpsr_footer(){
1521
  if(wpsr_addtofavorites_bt_used()){
1522
  wpsr_addtofavorites_script();
1523
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1524
  }
1525
- add_action('wp_footer', 'wpsr_footer');
1526
 
1527
  ## Add notification to the dashboard right now
1528
  function wpsr_dashboard_rightnow(){
@@ -1535,6 +1498,7 @@ function wpsr_dashboard_rightnow(){
1535
  }
1536
  add_action('rightnow_end','wpsr_dashboard_rightnow');
1537
 
 
1538
  function wpsr_adminbar() {
1539
  global $wp_admin_bar, $wpdb, $post;
1540
  if ( !is_super_admin() || !is_admin_bar_showing()){
@@ -1544,7 +1508,7 @@ function wpsr_adminbar() {
1544
  $adminPage = get_option('home') . '/wp-admin/admin.php?page=wp_socializer'; // Broken link fix v2.1
1545
 
1546
  $wp_admin_bar->add_menu( array( 'id' => 'wpsr_adminbar_menu', 'title' => 'WP Socializer', 'href' => $adminPage));
1547
- $wp_admin_bar->add_menu( array( 'parent' => 'wpsr_adminbar_menu', 'title' => __('Edit the templates', 'wpsr'), 'href' => $adminPage . '#tab-9'));
1548
 
1549
  if(is_single() || is_page()){
1550
  $current_object = get_queried_object();
@@ -1580,7 +1544,7 @@ function wpsr_register_wpsrbutton_tinymce($buttons) {
1580
  }
1581
 
1582
  function wpsr_add_wpsrbutton_tinymce($plugin_array) {
1583
- $plugin_array['wpsrbutton'] = WPSR_ADMIN_URL . 'tinymce/editor_plugin.js';
1584
  return $plugin_array;
1585
  }
1586
 
1
  <?php
2
  /*
3
  Plugin Name: WP Socializer
4
+ Version: 2.4
5
  Plugin URI: http://www.aakashweb.com/
6
+ Description: WP Socializer is an advanced plugin for inserting all kinds of Social bookmarking & sharing buttons. It has super cool features to insert the buttons into posts, sidebar. It also has Floating sharebar. <a href="http://youtu.be/1uimAE8rFYE" target="_blank">Check out the demo video</a>.
7
  Author: Aakash Chakravarthy
8
  Author URI: http://www.aakashweb.com/
9
  */
14
  $wpsr_url = WP_CONTENT_URL . '/plugins/' . plugin_basename(dirname(__FILE__)) . '/';
15
  }
16
 
17
+ define('WPSR_VERSION', '2.4');
18
  define('WPSR_AUTHOR', 'Aakash Chakravarthy');
19
  define('WPSR_URL', $wpsr_url);
20
  define('WPSR_PUBLIC_URL', WPSR_URL . 'public/');
198
  'name' => 'Email',
199
  'titleText' => __('Email this ', 'wpsr') . '',
200
  'icon' => 'email.png',
201
+ 'url' => 'mailto:subject={de-title}&amp;body={de-excerpt} - {de-url}', // Removed "to" in v2.4
202
  'support32px' => 1,
203
  ),
204
 
274
  'support32px' => 1,
275
  ),
276
 
277
+ 'googleplus' => array(
278
+ 'name' => 'Google Plus',
279
+ 'titleText' => __('Share this on ', 'wpsr') . 'Google Plus',
280
+ 'icon' => 'googleplus.png',
281
+ 'url' => 'https://plus.google.com/share?url={url}',
282
+ 'support32px' => 1,
283
+ ), // Added version 2.4 - 13-2-2012
284
+
285
+ /*
286
  'googlebuzz' => array(
287
  'name' => 'Google Buzz',
288
  'titleText' => __('Post this on ', 'wpsr') . 'Google Buzz',
289
  'icon' => 'googlebuzz.png',
290
  'url' => 'http://www.google.com/buzz/post?url={url}',
291
  'support32px' => 1,
292
+ ),*/
293
 
294
  'googlereader' => array(
295
  'name' => 'Google Reader',
576
 
577
  // O
578
 
579
+ 'oknotizie' => array(
580
+ 'name' => 'OkNotizie',
581
+ 'titleText' => __('Share this on ', 'wpsr') . 'OkNotizie',
582
+ 'icon' => 'oknotizie.png',
583
+ 'url' => 'http://oknotizie.virgilio.it/post.html.php?url={url}&amp;title={title}',
584
+ 'support32px' => 1,
585
+ ), // Added version 2.4 - 13-12-2012
586
+
587
  'orkut' => array(
588
  'name' => 'Orkut',
589
  'titleText' => __('Share this on ', 'wpsr') . 'Orkut',
616
  'url' => 'http://ping.fm/ref/?link={url}&amp;title={title}&amp;body={excerpt}',
617
  'support32px' => 1,
618
  ),
619
+
620
+ 'pinterest' => array(
621
+ 'name' => 'Pinterest',
622
+ 'titleText' => __('Submit this to ', 'wpsr') . 'Pinterest',
623
+ 'icon' => 'pinterest.png',
624
+ 'url' => 'http://www.pinterest.com/pin/create/button/?url={url}&media={image}&description={excerpt}',
625
+ 'support32px' => 1,
626
+ ),// Added version 2.4 - 13-2-2012
627
+
628
  'posterous' => array(
629
  'name' => 'Posterous',
630
  'titleText' => __('Share this on ', 'wpsr') . 'Posterous',
898
  "{sharethis-regular}", "{sharethis-regular2}", "{sharethis-bt}",
899
  "{sharethis-classic}", "{plusone-small}", "{plusone-medium}",
900
  "{plusone-standard}", "{plusone-tall}", "{retweet-bt}",
901
+ "{digg-bt}", "{facebook-like}", "{facebook-send}",
902
  "{reddit-1}", "{reddit-2}", "{reddit-3}",
903
  "{stumbleupon-1}", "{stumbleupon-2}", "{stumbleupon-3}",
904
  "{stumbleupon-5}", "{linkedin-standard}", "{linkedin-right}",
905
+ "{linkedin-top}", "{pinterest-nocount}", "{pinterest-horizontal}",
906
+ "{pinterest-vertical}", "{custom-1}", "{custom-2}"
 
 
 
907
  );
908
 
909
  $wpsr_shortcodes_list = array(
917
  'StumbleUpon' => '[wpsr_stumbleupon]',
918
  'Reddit' => '[wpsr_reddit]',
919
  'LinkedIn' => '[wpsr_linkedin]',
920
+ 'Pinterest' => '[wpsr_pinterest]'
921
+ );
922
+
923
+ $wpsr_default_templates = array(
924
+ 1 => array( 'name' => 'Template 1' ),
925
+ 2 => array( 'name' => 'Template 2' )
926
+ );
927
+
928
+ $wpsr_floating_bar_bts = array(
929
+ 'Retweet' => array(
930
+ 'float_left' => '[wpsr_retweet service="twitter" type="normal"]',
931
+ 'bottom_fixed' => '[wpsr_retweet service="twitter"]',
932
+ ),
933
+ 'Google +1' => array(
934
+ 'float_left' => '[wpsr_plusone type="tall"]',
935
+ 'bottom_fixed' => '[wpsr_plusone type="medium"]',
936
+ ),
937
+ 'Digg' => array(
938
+ 'float_left' => '[wpsr_digg type="DiggMedium"]',
939
+ 'bottom_fixed' => '[wpsr_digg type="DiggCompact"]',
940
+ ),
941
+ 'Facebook' => array(
942
+ 'float_left' => '[wpsr_facebook style="box_count"]',
943
+ 'bottom_fixed' => '[wpsr_facebook style="button_count"]',
944
+ ),
945
+ 'StumbleUpon' => array(
946
+ 'float_left' => '[wpsr_stumbleupon type="5"]',
947
+ 'bottom_fixed' => '[wpsr_stumbleupon type="1"]',
948
+ ),
949
+ 'Reddit' => array(
950
+ 'float_left' => '[wpsr_reddit type="2"]',
951
+ 'bottom_fixed' => '[wpsr_reddit type="1"]',
952
+ ),
953
+ 'LinkedIn' => array(
954
+ 'float_left' => '[wpsr_linkedin type="top"]',
955
+ 'bottom_fixed' => '[wpsr_linkedin type="right"]',
956
+ ),
957
+ 'Pinterest' => array(
958
+ 'float_left' => '[wpsr_pinterest type="vertical"]',
959
+ 'bottom_fixed' => '[wpsr_pinterest type="horizontal"]',
960
+ ),
961
+ 'Email' => array(
962
+ 'float_left' => '[wpsr_socialbts output="singles" type="32px" services="email" sprites=0 effect=none]',
963
+ 'bottom_fixed' => '[wpsr_socialbts output="singles" services="email" label=1 sprites=0 effect=none]'
964
+ ),
965
+ 'Print' => array(
966
+ 'float_left' => '[wpsr_socialbts output="singles" type="32px" services="print" sprites=0 effect=none]',
967
+ 'bottom_fixed' => '[wpsr_socialbts output="singles" services="print" label=1 sprites=0 effect=none]'
968
+ )
969
+ );
970
+
971
+ $wpsr_addthis_lang_array = array(
972
+ 'en'=>'English', 'ar'=>'Arabic', 'zh'=>'Chinese', 'cs'=>'Czech', 'da'=>'Danish', 'nl'=>'Dutch','fa'=>'Farsi', 'fi'=>'Finnish', 'fr'=>'French', 'ga'=>'Gaelic', 'de'=>'German', 'el'=>'Greek', 'he'=>'Hebrew', 'hi'=>'Hindi', 'it'=>'Italian', 'ja'=>'Japanese', 'ko'=>'Korean', 'lv'=>'Latvian', 'lt'=>'Lithuanian', 'no'=>'Norwegian', 'pl'=>'Polish', 'pt'=>'Portugese', 'ro'=>'Romanian', 'ru'=>'Russian', 'sk'=>'Slovakian', 'sl'=>'Slovenian', 'es'=>'Spanish', 'sv'=>'Swedish', 'th'=>'Thai', 'ur'=>'Urdu', 'cy'=>'Welsh', 'vi'=>'Vietnamese'
973
  );
974
 
975
  ## Initializations
976
  function wpsr_init(){
977
+ global $wpsr_default_templates;
978
+ $user_template = get_option('wpsr_templates');
979
+
980
+ if(empty($user_template)){
981
+ update_option('wpsr_templates', $wpsr_default_templates);
982
+ }else{
983
+ $merged_array = $wpsr_default_templates + $user_template;
984
+ if($user_template != $merged_array){
985
+ update_option('wpsr_templates', $merged_array);
986
+ }
987
+ }
988
+
989
  // Include the plugin translations
990
  load_plugin_textdomain('wpsr', false, dirname(plugin_basename( __FILE__ )) . '/languages');
991
  }
992
+ add_action('admin_init','wpsr_init');
993
 
994
  ## Include WP Socializer Processer files
995
  require_once('admin/wpsr-admin.php');
996
  require_once('admin/wpsr-admin-other.php');
997
+ require_once('admin/wpsr-admin-floating-bar.php');
998
  require_once('includes/wpsr-addthis.php');
999
  require_once('includes/wpsr-sharethis.php');
1000
+ require_once('includes/wpsr-google.php'); // Since v2.0
1001
  require_once('includes/wpsr-retweet.php');
1002
  require_once('includes/wpsr-digg.php');
1003
  require_once('includes/wpsr-facebook.php');
1006
  require_once('includes/wpsr-custom.php');
1007
  require_once('includes/wpsr-shortcodes.php');
1008
  require_once('includes/wpsr-widgets.php'); // Since v2.3
1009
+ require_once('includes/wpsr-floatingbar.php'); // Since v2.4
1010
 
1011
+ ## General function
1012
  function strpos_arr($haystack, $needle) {
1013
  if(!is_array($needle)) $needle = array($needle);
1014
  foreach($needle as $what) {
1028
 
1029
  ## wpsr plugin activate
1030
  function wpsr_plugin_activate(){
1031
+ // Set the defaults to the first time users
1032
+ $active = get_option('wpsr_active');
1033
+ if($active == ''){
1034
+ wpsr_reset_values();
1035
+ }
1036
  update_option("wpsr_active", 1);
1037
+
1038
+ // Set the defaults to the Floating share bar
1039
+ $floatbts = get_option('wpsr_template_floating_bar_data');
1040
+ if($floatbts == ''){
1041
+ wpsr_floatbts_reset_values();
1042
+ }
1043
  }
1044
+ register_activation_hook(__FILE__, 'wpsr_plugin_activate');
1045
 
1046
  ## wpsr plugin deactivate
1047
  function wpsr_plugin_deactivate(){
1069
  }
1070
  add_filter('plugin_action_links', 'wpsr_plugin_actions', 10, 2);
1071
 
1072
+ ## Include the required scripts and styles
1073
+ if( !is_admin()){
1074
+ // jQuery
1075
+ wp_deregister_script('jquery');
1076
+ wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"), false, '1.3.2');
1077
+ wp_enqueue_script('jquery');
1078
+ }
1079
+
1080
  /**
1081
  * One function for displaying the buttons in theme files
1082
  * Use wp_socializer(the button code or template name) in the theme files to print the
1100
  return wpsr_sharethis($params);
1101
  break;
1102
 
 
 
 
 
1103
  case 'retweet' :
1104
  return wpsr_retweet($params);
1105
  break;
1128
  return wpsr_linkedin($params);
1129
  break;
1130
 
1131
+ case 'pinterest':
1132
+ return wpsr_pinterest($params);
1133
+ break;
1134
+
1135
  case 'custom-1' :
1136
  return wpsr_custom_bt('custom1');
1137
  break;
1156
  *
1157
  * Uses super variables to get the page url outside loop and wp_title()
1158
  * to get the page title.
1159
+ **/
1160
 
1161
  function wpsr_get_post_details(){
1162
  // Get the global variables
1166
  $permalink_inside_loop = get_permalink($post->ID);
1167
  $title_inside_loop = str_replace('+', '%20', get_the_title($post->ID));
1168
  $excerpt_inside_loop = strip_tags(strip_shortcodes($post->post_excerpt));
1169
+ $image_inside_loop = wpsr_get_first_image($post->ID);
1170
+
1171
  // If excerpt is null
1172
  if($excerpt_inside_loop == ''){
1173
  $excerpt_inside_loop = substr(strip_tags(strip_shortcodes($post->post_content)), 0, 250);
1177
  $permalink_outside_loop = (!empty($_SERVER['HTTPS'])) ? "https://" . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'] : "http://" . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
1178
  $title_outside_loop = str_replace('+', '%20', wp_title('', 0));
1179
  $excerpt_outside_loop = $title_outside_loop;
1180
+
1181
  // If title is null
1182
  if($title_outside_loop == ''){
1183
  $title_outside_loop = str_replace('+', '%20', get_bloginfo('name'));
1187
  $details = array(
1188
  'permalink' => $permalink_inside_loop,
1189
  'title' => trim($title_inside_loop),
1190
+ 'excerpt' => $excerpt_inside_loop,
1191
+ 'image' => $image_inside_loop
1192
  );
1193
 
1194
  }else{
1195
  $details = array(
1196
  'permalink' => $permalink_outside_loop,
1197
  'title' => trim($title_outside_loop),
1198
+ 'excerpt' => $excerpt_outside_loop,
1199
+ 'image' => ''
1200
  );
1201
  }
1202
 
1204
 
1205
  }
1206
 
1207
+ // Get the first image of the post
1208
+ function wpsr_get_first_image($postID){
1209
+ $args = array(
1210
+ 'numberposts' => 1,
1211
+ 'order'=> 'ASC',
1212
+ 'post_mime_type' => 'image',
1213
+ 'post_parent' => $postID,
1214
+ 'post_status' => null,
1215
+ 'post_type' => 'attachment'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1216
  );
1217
 
1218
+ $attachments = get_children( $args );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1219
 
1220
+ if ($attachments){
1221
+ foreach($attachments as $attachment){
1222
+ return $attachment->guid;
1223
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1224
  }
1225
  }
1226
 
1227
+ function wpsr_process_template($no, $rss = 0){
 
1228
 
1229
  // Get the global variables
1230
+ global $wpsr_button_code_list;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1231
 
1232
+ $wpsr_button_processed_list = array(
1233
+ wpsr_socialbts_template('16px'), wpsr_socialbts_template('32px'), wpsr_addthis_bt('button'),
1234
+ wpsr_addthis_bt('toolbar', '16px'), wpsr_addthis_bt('toolbar', '32px'), wpsr_addthis_bt('sharecount'),
1235
+ wpsr_sharethis_bt('vcount'), wpsr_sharethis_bt('hcount'), wpsr_sharethis_bt('large'),
1236
+ wpsr_sharethis_bt('regular'), wpsr_sharethis_bt('regular2'), wpsr_sharethis_bt('buttons'),
1237
+ wpsr_sharethis_bt('classic'), wpsr_plusone_bt('small'), wpsr_plusone_bt('medium'),
1238
+ wpsr_plusone_bt('standard'), wpsr_plusone_bt('tall'), wpsr_retweet_bt(),
1239
+ wpsr_digg_bt(), wpsr_facebook_bt('like'), wpsr_facebook_bt('send'),
1240
+ wpsr_reddit_bt('1'), wpsr_reddit_bt('2'), wpsr_reddit_bt('3'),
1241
+ wpsr_stumbleupon_bt('1'), wpsr_stumbleupon_bt('2'), wpsr_stumbleupon_bt('3'),
1242
+ wpsr_stumbleupon_bt('5'), wpsr_linkedin_bt('standard'), wpsr_linkedin_bt('right'),
1243
+ wpsr_linkedin_bt('top'), wpsr_pinterest_bt('nocount'), wpsr_pinterest_bt('horizontal'),
1244
+ wpsr_pinterest_bt('vertical'), wpsr_custom_bt('custom1'), wpsr_custom_bt('custom2')
1245
+ );
1246
 
1247
+ $wpsr_button_processed_list_rss = array(
1248
+ wpsr_socialbts_rss('16px'), wpsr_socialbts_rss('32px'), wpsr_addthis_rss_bt(),
1249
+ wpsr_addthis_rss_bt(), wpsr_addthis_rss_bt(), wpsr_addthis_rss_bt(),
1250
+ wpsr_sharethis_rss_bt(), wpsr_sharethis_rss_bt(), wpsr_sharethis_rss_bt(),
1251
+ wpsr_sharethis_rss_bt(), wpsr_sharethis_rss_bt(), wpsr_sharethis_rss_bt(),
1252
+ wpsr_sharethis_rss_bt(), wpsr_plusone_rss_bt(), wpsr_plusone_rss_bt(),
1253
+ wpsr_plusone_rss_bt(), wpsr_plusone_rss_bt(), wpsr_retweet_rss_bt(),
1254
+ wpsr_digg_rss_bt(), wpsr_facebook_rss_bt(), wpsr_facebook_rss_bt(),
1255
+ wpsr_reddit_rss_bt(), wpsr_reddit_rss_bt(), wpsr_reddit_rss_bt(),
1256
+ wpsr_stumbleupon_rss_bt(), wpsr_stumbleupon_rss_bt(), wpsr_stumbleupon_rss_bt(),
1257
+ wpsr_stumbleupon_rss_bt(), wpsr_linkedin_rss_bt(), wpsr_linkedin_rss_bt(),
1258
+ wpsr_linkedin_rss_bt(), wpsr_custom_bt('custom1'), wpsr_custom_bt('custom2')
1259
+ );
1260
 
1261
+ // Get the template data
1262
+ $wpsr_template[$no] = get_option('wpsr_template' . $no . '_data');
1263
 
1264
+ if(!$rss)
1265
+ $wpsr_template_processed = str_replace($wpsr_button_code_list, $wpsr_button_processed_list, do_shortcode($wpsr_template[$no]['content']));
1266
+ else
1267
+ $wpsr_template_processed = str_replace($wpsr_button_code_list, $wpsr_button_processed_list_rss, $wpsr_template[$no]['content']);
 
 
 
 
 
 
1268
 
1269
+ return $wpsr_template_processed;
 
 
 
 
 
 
1270
  }
1271
 
1272
+ // Class to insert the template below the content and the excerpt
1273
+ class WPSR_Template_Output{
1274
+ protected $callType;
 
 
1275
 
1276
+ function WPSR_Template_Output($type){
1277
+ $this->callType = $type;
1278
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1279
 
1280
+ function output($content = ''){
1281
+
1282
+ // Get the global variables
1283
+ global $post;
1284
+ $tempContent = $content;
 
 
 
1285
 
1286
+ // Check whether the call from "the_excerpt" or the "get_the_excerpt" function
1287
+ $excerpt = 0;
1288
+ $call = debug_backtrace();
1289
+ foreach($call as $val){
1290
+ if($val['function'] == 'the_excerpt' || $val['function'] == 'get_the_excerpt'){
1291
+ $excerpt = 1;
1292
+ }
1293
+ }
1294
 
1295
+ $templates = get_option('wpsr_templates');
 
1296
 
1297
+ // Loop through all the templates
1298
+ foreach($templates as $k => $v){
1299
+ $wpsr_template[$k] = get_option('wpsr_template' . $k . '_data');
 
 
 
 
 
 
 
1300
 
1301
+ if(($this->callType == 'content' && $excerpt !== 1) || ($this->callType == 'excerpt' && $wpsr_template[$k]['inexcerpt'] == 1)){
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1302
 
1303
+ // Check page conditionals
1304
+ if (is_home() == 1 && $wpsr_template[$k]['inhome'] == 1){
1305
+ $flag = 1;
1306
+
1307
+ }elseif (is_single() == 1 && $wpsr_template[$k]['insingle'] == 1){
1308
+ $flag = 1;
1309
+
1310
+ }elseif (is_page() == 1 && $wpsr_template[$k]['inpage'] == 1){
1311
+ $flag = 1;
1312
+
1313
+ }elseif (is_category() == 1 && $wpsr_template[$k]['incategory'] == 1){
1314
+ $flag = 1;
1315
+
1316
+ }elseif (is_tag() == 1 && $wpsr_template[$k]['intag'] == 1){
1317
+ $flag = 1;
1318
+
1319
+ }elseif (is_date() == 1 && $wpsr_template[$k]['indate'] == 1){
1320
+ $flag = 1;
1321
+
1322
+ }elseif (is_author() == 1 && $wpsr_template[$k]['inauthor'] == 1){
1323
+ $flag = 1;
1324
+
1325
+ }elseif(is_search() == 1 && $wpsr_template[$k]['insearch'] == 1){
1326
+ $flag = 1;
1327
+
1328
+ }elseif(is_feed() == 1 && $wpsr_template[$k]['infeed'] == 1){
1329
+ $flag = 2;
1330
+
1331
+ }else{
1332
+ $flag = 0;
1333
+ }
1334
+
1335
+ // Check for page conditionals
1336
+ if($flag == 1){
1337
+ $wpsr_template_processed = wpsr_process_template($k);
1338
+ }elseif($flag == 2){
1339
+ $wpsr_template_processed = wpsr_process_template($k, 1);
1340
+ }elseif($flag == 0){
1341
+ $wpsr_template_processed = '';
1342
+ }
1343
+
1344
+ // Check whether displaying template1 in the post is enabled
1345
+ if (get_post_meta($post->ID,'_wpsr-disable-template' . $k, true) != 1){
1346
+
1347
+ // Check position conditionals
1348
+ if($wpsr_template[$k]['abvcontent'] == 1 && $wpsr_template[$k]['blwcontent'] == 1){
1349
+ $tempContent = $wpsr_template_processed . $tempContent . $wpsr_template_processed;
1350
+
1351
+ }elseif($wpsr_template[$k]['abvcontent'] == 1){
1352
+ $tempContent = $wpsr_template_processed . $tempContent;
1353
+
1354
+ }elseif($wpsr_template[$k]['blwcontent'] == 1){
1355
+ $tempContent = $tempContent . $wpsr_template_processed;
1356
+
1357
+ }
1358
+ }
1359
+
1360
+ }//if
1361
 
1362
+ }//foreach
 
1363
 
1364
+ return $tempContent;
 
 
 
 
 
1365
  }
1366
+ };
1367
 
1368
  ## Add required filters and check whether WP Socializer is disabled
1369
  $wpsr_settings = get_option('wpsr_settings_data');
1370
 
1371
  if(!$wpsr_settings['disablewpsr']){
1372
+
1373
+ // Create dummy objects to hold the call type
1374
+ $wpsr_content_op = new WPSR_Template_Output('content');
1375
+ $wpsr_excerpt_op = new WPSR_Template_Output('excerpt');
1376
 
1377
+ // Filters
1378
+ add_filter('the_content', array($wpsr_content_op, 'output'));
1379
+ add_filter('the_excerpt', array($wpsr_excerpt_op, 'output'));
1380
+
1381
+ }
1382
+
1383
+ ## Checks whether the button is used in any of the templates
1384
+ function wpsr_button_used($name){
1385
+ $temp_data = '';
1386
+ $button_codes = array(
1387
+ 'facebook' => array('{facebook-like}', '{facebook-send}', '[wpsr_facebook'),
1388
+ 'retweet' => array('{retweet-bt}', '[wpsr_retweet'),
1389
+ 'digg' => array('{digg-bt}', '[wpsr_digg'),
1390
+ 'addthis' => array("{addthis-bt}", "{addthis-tb-16px}", "{addthis-tb-32px}", "{addthis-sc}"),
1391
+ 'sharethis' => array("{sharethis-large}", "{sharethis-hcount}", "{sharethis-vcount}", "{sharethis-regular}", "{sharethis-regular2}", "{sharethis-bt}", "{sharethis-classic}"),
1392
+ 'plusone' => array('{plusone-small}', '{plusone-medium}', '{plusone-standard}', '{plusone-tall}', '[wpsr_plusone'),
1393
+ 'linkedin' => array('{linkedin-standard}', '{linkedin-right}', '{linkedin-top}', '[wpsr_linkedin'),
1394
+ 'stumbleupon' => array('{stumbleupon-1}', '{stumbleupon-2}', '{stumbleupon-3}', '{stumbleupon-5}', '[wpsr_stumbleupon'),
1395
+ 'pinterest' => array('{pinterest-nocount}', '{pinterest-horizontal}', '{pinterest-vertical}', '[wpsr_pinterest')
1396
+ );
1397
 
1398
+ $templates = get_option('wpsr_templates');
1399
+ foreach($templates as $k => $v){
1400
+ $wpsr_template[$k] = get_option('wpsr_template' . $k . '_data');
1401
+ $temp_data .= $wpsr_template[$k]['content'];
1402
  }
1403
 
1404
+ $temp_data .= wpsr_process_floatingbts();
 
 
1405
 
1406
+ $is_bt_used = strpos_arr($temp_data, $button_codes[$name]);
1407
+
1408
+ if ($is_bt_used === false) {
1409
+ return 0;
1410
+ } else {
1411
+ return 1;
1412
  }
1413
 
 
 
 
 
1414
  }
1415
 
1416
  ## Add the button scripts to the header
1428
  $wpsr_retweet = get_option('wpsr_retweet_data');
1429
  $wpsr_retweet_service = $wpsr_retweet['service'];
1430
 
1431
+ if(wpsr_button_used('retweet') == 1 && $wpsr_retweet_service == 'topsy'){
1432
  echo wpsr_retweet_topsy_script();
1433
  }
1434
 
1435
+ if(wpsr_button_used('retweet') == 1 && $wpsr_retweet_service == 'twitter'){
1436
  echo wpsr_retweet_twitter_script();
1437
  }
1438
 
1439
+ if(wpsr_button_used('facebook') == 1){
1440
+ echo wpsr_facebook_script();
1441
+ } // Since v2.4
1442
+
1443
+ if(wpsr_button_used('digg') == 1){
1444
  echo wpsr_digg_script();
1445
  }
1446
 
1447
+ if(wpsr_button_used('addthis') == 1){
1448
  echo wpsr_addthis_script();
1449
  }
1450
 
1451
+ if(wpsr_button_used('sharethis') == 1){
1452
  echo wpsr_sharethis_script();
1453
  }
1454
 
1455
+ if(wpsr_button_used('plusone') == 1){
1456
  echo wpsr_plusone_script();
1457
  }
1458
+
1459
+ if(wpsr_button_used('linkedin') == 1){
1460
  echo wpsr_linkedin_script();
1461
  }
1462
+
1463
+ if(wpsr_button_used('stumbleupon') == 1){
1464
+ echo wpsr_stumbleupon_script();
 
 
 
 
1465
  }
1466
+
1467
  }
1468
 
1469
  ## Add the misc/small scripts to the footer
1471
  if(wpsr_addtofavorites_bt_used()){
1472
  wpsr_addtofavorites_script();
1473
  }
1474
+
1475
+ if(wpsr_button_used('pinterest') == 1){
1476
+ echo wpsr_pinterest_script();
1477
+ }
1478
+ }
1479
+
1480
+ if(!$wpsr_settings['disablewpsr']){
1481
+ if($wpsr_settings['scriptsplace'] == 'header'){
1482
+ add_action('wp_head', 'wpsr_scripts_adder');
1483
+ }else{
1484
+ add_action('wp_footer', 'wpsr_scripts_adder');
1485
+ }
1486
+
1487
+ add_action('wp_footer', 'wpsr_footer');
1488
  }
 
1489
 
1490
  ## Add notification to the dashboard right now
1491
  function wpsr_dashboard_rightnow(){
1498
  }
1499
  add_action('rightnow_end','wpsr_dashboard_rightnow');
1500
 
1501
+ ## Add the "WP Socializer" menu to the admin bar.
1502
  function wpsr_adminbar() {
1503
  global $wp_admin_bar, $wpdb, $post;
1504
  if ( !is_super_admin() || !is_admin_bar_showing()){
1508
  $adminPage = get_option('home') . '/wp-admin/admin.php?page=wp_socializer'; // Broken link fix v2.1
1509
 
1510
  $wp_admin_bar->add_menu( array( 'id' => 'wpsr_adminbar_menu', 'title' => 'WP Socializer', 'href' => $adminPage));
1511
+ $wp_admin_bar->add_menu( array( 'parent' => 'wpsr_adminbar_menu', 'title' => __('Edit the templates', 'wpsr'), 'href' => $adminPage . '#tab-3'));
1512
 
1513
  if(is_single() || is_page()){
1514
  $current_object = get_queried_object();
1544
  }
1545
 
1546
  function wpsr_add_wpsrbutton_tinymce($plugin_array) {
1547
+ $plugin_array['wpsrbutton'] = WPSR_ADMIN_URL . 'js/tinymce/editor_plugin.js';
1548
  return $plugin_array;
1549
  }
1550