Social Media Widget - Version 1.2

Version Description

Download this release

Release Info

Developer brianfreytag
Plugin Icon 128x128 Social Media Widget
Version 1.2
Comparing to
See all releases

Code changes from version 1.1.2 to 1.2

Files changed (55) hide show
  1. images/cutout/16/buzz.png +0 -0
  2. images/cutout/16/digg.png +0 -0
  3. images/cutout/16/email.png +0 -0
  4. images/cutout/16/facebook.png +0 -0
  5. images/cutout/16/linkedin.png +0 -0
  6. images/cutout/16/myspace.png +0 -0
  7. images/cutout/16/orkut.png +0 -0
  8. images/cutout/16/reddit.png +0 -0
  9. images/cutout/16/rss.png +0 -0
  10. images/cutout/16/twitter.png +0 -0
  11. images/cutout/16/youtube.png +0 -0
  12. images/cutout/32/buzz.png +0 -0
  13. images/cutout/32/digg.png +0 -0
  14. images/cutout/32/email.png +0 -0
  15. images/cutout/32/facebook.png +0 -0
  16. images/cutout/32/linkedin.png +0 -0
  17. images/cutout/32/myspace.png +0 -0
  18. images/cutout/32/orkut.png +0 -0
  19. images/cutout/32/reddit.png +0 -0
  20. images/cutout/32/rss.png +0 -0
  21. images/cutout/32/twitter.png +0 -0
  22. images/cutout/32/youtube.png +0 -0
  23. images/cutout/64/buzz.png +0 -0
  24. images/cutout/64/digg.png +0 -0
  25. images/cutout/64/email.png +0 -0
  26. images/cutout/64/facebook.png +0 -0
  27. images/cutout/64/linkedin.png +0 -0
  28. images/cutout/64/myspace.png +0 -0
  29. images/cutout/64/orkut.png +0 -0
  30. images/cutout/64/reddit.png +0 -0
  31. images/cutout/64/rss.png +0 -0
  32. images/cutout/64/twitter.png +0 -0
  33. images/cutout/64/youtube.png +0 -0
  34. images/cutout/readme.txt +3 -0
  35. images/default/16/orkut.png +0 -0
  36. images/default/32/buzz.png +0 -0
  37. images/default/32/digg.png +0 -0
  38. images/default/32/email.png +0 -0
  39. images/default/32/facebook.png +0 -0
  40. images/default/32/linkedin.png +0 -0
  41. images/default/32/myspace.png +0 -0
  42. images/default/32/orkut.png +0 -0
  43. images/default/32/reddit.png +0 -0
  44. images/default/32/rss.png +0 -0
  45. images/default/32/twitter.png +0 -0
  46. images/default/32/youtube.png +0 -0
  47. images/default/64/orkut.png +0 -0
  48. images/heart/16/orkut.png +0 -0
  49. images/heart/32/orkut.png +0 -0
  50. images/heart/64/orkut.png +0 -0
  51. images/sketch/16/orkut.png +0 -0
  52. images/sketch/32/orkut.png +0 -0
  53. images/sketch/64/orkut.png +0 -0
  54. readme.txt +11 -2
  55. social-widget.php +38 -21
images/cutout/16/buzz.png ADDED
Binary file
images/cutout/16/digg.png ADDED
Binary file
images/cutout/16/email.png ADDED
Binary file
images/cutout/16/facebook.png ADDED
Binary file
images/cutout/16/linkedin.png ADDED
Binary file
images/cutout/16/myspace.png ADDED
Binary file
images/cutout/16/orkut.png ADDED
Binary file
images/cutout/16/reddit.png ADDED
Binary file
images/cutout/16/rss.png ADDED
Binary file
images/cutout/16/twitter.png ADDED
Binary file
images/cutout/16/youtube.png ADDED
Binary file
images/cutout/32/buzz.png ADDED
Binary file
images/cutout/32/digg.png ADDED
Binary file
images/cutout/32/email.png ADDED
Binary file
images/cutout/32/facebook.png ADDED
Binary file
images/cutout/32/linkedin.png ADDED
Binary file
images/cutout/32/myspace.png ADDED
Binary file
images/cutout/32/orkut.png ADDED
Binary file
images/cutout/32/reddit.png ADDED
Binary file
images/cutout/32/rss.png ADDED
Binary file
images/cutout/32/twitter.png ADDED
Binary file
images/cutout/32/youtube.png ADDED
Binary file
images/cutout/64/buzz.png ADDED
Binary file
images/cutout/64/digg.png ADDED
Binary file
images/cutout/64/email.png ADDED
Binary file
images/cutout/64/facebook.png ADDED
Binary file
images/cutout/64/linkedin.png ADDED
Binary file
images/cutout/64/myspace.png ADDED
Binary file
images/cutout/64/orkut.png ADDED
Binary file
images/cutout/64/reddit.png ADDED
Binary file
images/cutout/64/rss.png ADDED
Binary file
images/cutout/64/twitter.png ADDED
Binary file
images/cutout/64/youtube.png ADDED
Binary file
images/cutout/readme.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ Credits For This Icon Set Go To:
2
+
3
+ Icontexto Inside Icons at: http://www.iconspedia.com/pack/icontexto-inside-2222/
images/default/16/orkut.png ADDED
Binary file
images/default/32/buzz.png CHANGED
Binary file
images/default/32/digg.png CHANGED
Binary file
images/default/32/email.png CHANGED
Binary file
images/default/32/facebook.png CHANGED
Binary file
images/default/32/linkedin.png CHANGED
Binary file
images/default/32/myspace.png CHANGED
Binary file
images/default/32/orkut.png ADDED
Binary file
images/default/32/reddit.png CHANGED
Binary file
images/default/32/rss.png CHANGED
Binary file
images/default/32/twitter.png CHANGED
Binary file
images/default/32/youtube.png CHANGED
Binary file
images/default/64/orkut.png ADDED
Binary file
images/heart/16/orkut.png ADDED
Binary file
images/heart/32/orkut.png ADDED
Binary file
images/heart/64/orkut.png ADDED
Binary file
images/sketch/16/orkut.png ADDED
Binary file
images/sketch/32/orkut.png ADDED
Binary file
images/sketch/64/orkut.png ADDED
Binary file
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Brian Freytag
3
  Tags: social media, twitter, facebook, myspace, digg, email
4
  Requires at least: 2.9.1
5
  Tested up to: 3.0 beta 2
6
- Stable tag: 1.1.2
7
 
8
  == Description ==
9
 
@@ -15,6 +15,7 @@ The Social Media Widget is a simple sidebar widget that allows users to input th
15
  * Facebook
16
  * Twitter
17
  * MySpace
 
18
  * LinkedIn
19
  * YouTube
20
  * Digg
@@ -28,10 +29,11 @@ The Social Media Widget is a simple sidebar widget that allows users to input th
28
  * 32x32
29
  * 64x64
30
 
31
- * Ability to select from 3 different icon packages:
32
  * Web 2.0 (Default) - Icons from various artists at: http://www.iconspedia.com/
33
  * Sketch - Handycons by Janko At Warp Speed at: http://www.jankoatwarpspeed.com/post/2008/10/20/handycons-a-free-hand-drawn-social-media-icon-set.aspx
34
  * Heart - Heart v2 by The Design Superhero at: http://thedesignsuperhero.com/2009/03/heart-v2-free-social-iconset-in-heart-shape/
 
35
 
36
  * Ability to choose starting icon opacity from 50% opacity to 100% opacity
37
  note: on hover, icons are 100% opaque
@@ -52,6 +54,13 @@ Follow the steps below to install the plugin.
52
  For help, you can send an e-mail to brifreytag_at_gmail.com or get ahold of me via twitter at @brianfreytag
53
 
54
  == Changelog ==
 
 
 
 
 
 
 
55
  1.1.2 - Fixed an issue with LinkedIn icons not appearing
56
 
57
  1.1.1 - Fixed an issue with some users plugin.php breaking at line 339.
3
  Tags: social media, twitter, facebook, myspace, digg, email
4
  Requires at least: 2.9.1
5
  Tested up to: 3.0 beta 2
6
+ Stable tag: 1.2
7
 
8
  == Description ==
9
 
15
  * Facebook
16
  * Twitter
17
  * MySpace
18
+ * Orkut
19
  * LinkedIn
20
  * YouTube
21
  * Digg
29
  * 32x32
30
  * 64x64
31
 
32
+ * Ability to select from 4 different icon packages:
33
  * Web 2.0 (Default) - Icons from various artists at: http://www.iconspedia.com/
34
  * Sketch - Handycons by Janko At Warp Speed at: http://www.jankoatwarpspeed.com/post/2008/10/20/handycons-a-free-hand-drawn-social-media-icon-set.aspx
35
  * Heart - Heart v2 by The Design Superhero at: http://thedesignsuperhero.com/2009/03/heart-v2-free-social-iconset-in-heart-shape/
36
+ * Cutout - Icontexto Inside Icons at: http://www.iconspedia.com/pack/icontexto-inside-2222/
37
 
38
  * Ability to choose starting icon opacity from 50% opacity to 100% opacity
39
  note: on hover, icons are 100% opaque
54
  For help, you can send an e-mail to brifreytag_at_gmail.com or get ahold of me via twitter at @brianfreytag
55
 
56
  == Changelog ==
57
+ 1.2 -
58
+ * Fixed issue with RSS URL being reset after save in the widget control panel (did not affect functionality, but caused confusion)
59
+ * Added support for Orkut
60
+ * Added Cutout icon pack
61
+ * Changed default image alt and title tags to Widget title (i.e. if widget title is Follow Me, Facebook alt/title tags are "Follow Me on Facebook." If it is Follow Us, alt/title is "Follow Us on Facebook)
62
+ * Cleaned up image location code from the WP_CONTENT_URL to the WP_PLUGIN_URL function to attempt to correct some file location issues with Windows servers.
63
+
64
  1.1.2 - Fixed an issue with LinkedIn icons not appearing
65
 
66
  1.1.1 - Fixed an issue with some users plugin.php breaking at line 339.
social-widget.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Social Media Widget
4
  * Plugin URI: http://www.idontlikethisgame.com/updates/social-media-widget/
5
  * Description: Place social media icons on your Sidebar by inputting URLs to your profiles!
6
- * Version: 1.1.2
7
  * Author: Brian Freytag
8
  * Author URL: http://www.idontlikethisgame.com
9
  **/
@@ -49,6 +49,7 @@ class Social_Widget extends WP_Widget {
49
  $facebook = $instance['facebook'];
50
  $twitter = $instance['twitter'];
51
  $myspace = $instance['myspace'];
 
52
  $linkedin = $instance['linkedin'];
53
  $youtube = $instance['youtube'];
54
  $digg = $instance['digg'];
@@ -85,77 +86,85 @@ class Social_Widget extends WP_Widget {
85
 
86
  // Facebook
87
  if ( $facebook != '') {
88
- ?> <a href="<?php echo $facebook; ?>" target="_blank"> <img class="subscribes" src="<?php echo WP_CONTENT_URL.'/plugins/'.plugin_basename(dirname(__FILE__)).'/'; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/facebook.png" alt="Follow us on Facebook!" title="Follow us on Facebook!" style="filter: alpha(opacity=<?php echo $icon_ie;?>); opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;"/></a> <?php
89
  } else {
90
  echo ''; //If no URL inputed
91
  }
92
 
93
  // Twitter
94
  if ( $twitter != '' ) {
95
- ?> <a href="<?php echo $twitter; ?>" target="_blank"><img class="subscribes" src="<?php echo WP_CONTENT_URL.'/plugins/'.plugin_basename(dirname(__FILE__)).'/'; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/twitter.png" alt="Follow us on Twitter!"
96
- title="Follow us on Twitter!" style="filter: alpha(opacity=<?php echo $icon_ie;?>); opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a> <?php
97
  } else {
98
  echo ''; //If no URL inputed
99
  }
100
 
101
  // MySpace
102
  if ( $myspace != '' ) {
103
- ?> <a href="<?php echo $myspace; ?>" target="_blank"><img class="subscribes" src="<?php echo WP_CONTENT_URL.'/plugins/'.plugin_basename(dirname(__FILE__)).'/'; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/myspace.png" alt="Follow us on Twitter!"
104
- title="Follow us on MySpace!" style="filter: alpha(opacity=<?php echo $icon_ie;?>); opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a> <?php
 
 
 
 
 
 
 
 
105
  } else {
106
  echo ''; //If no URL inputed
107
  }
108
 
109
  // LinkedIN
110
  if ( $linkedin != '' ) {
111
- ?> <a href="<?php echo $linkedin; ?>" target="_blank"><img class="subscribes" src="<?php echo WP_CONTENT_URL.'/plugins/'.plugin_basename(dirname(__FILE__)).'/'; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/linkedin.png" alt="Follow us on LinkedIn!"
112
- title="Follow us on LinkedIn!" style="filter: alpha(opacity=<?php echo $icon_ie;?>); opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a> <?php
113
  } else {
114
  echo ''; //If no URL inputed
115
  }
116
 
117
  // YouTube
118
  if ( $youtube != '' ) {
119
- ?> <a href="<?php echo $youtube; ?>" target="_blank"><img class="subscribes" src="<?php echo WP_CONTENT_URL.'/plugins/'.plugin_basename(dirname(__FILE__)).'/'; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/youtube.png" alt="Follow us on YouTube!"
120
- title="Follow us on YouTube!" style="filter: alpha(opacity=<?php echo $icon_ie;?>); opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a> <?php
121
  } else {
122
  echo ''; //If No URL Inputed
123
  }
124
 
125
  // Digg
126
  if ( $digg != '' ) {
127
- ?> <a href="<?php echo $digg; ?>" target="_blank"><img class="subscribes" src="<?php echo WP_CONTENT_URL.'/plugins/'.plugin_basename(dirname(__FILE__)).'/'; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/digg.png" alt="Follow us on Digg!"
128
- title="Follow us on Digg!" style="filter: alpha(opacity=<?php echo $icon_ie;?>); opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a> <?php
129
  } else {
130
  echo ''; //If no URL Inputed
131
  }
132
 
133
  // Reddit
134
  if ( $reddit != '' ) {
135
- ?> <a href="<?php echo $reddit; ?>" target="_blank"><img class="subscribes" src="<?php echo WP_CONTENT_URL.'/plugins/'.plugin_basename(dirname(__FILE__)).'/'; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/reddit.png" alt="Follow us on Reddit!"
136
- title="Follow us on Reddit!" style="filter: alpha(opacity=<?php echo $icon_ie;?>); opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a> <?php
137
  } else {
138
  echo ''; //If no URL Inputed
139
  }
140
 
141
  // Google Buzz
142
  if ( $buzz != '' ) {
143
- ?> <a href="<?php echo $buzz; ?>" target="_blank"><img class="subscribes" src="<?php echo WP_CONTENT_URL.'/plugins/'.plugin_basename(dirname(__FILE__)).'/'; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/buzz.png" alt="Follow us on Buzz!"
144
- title="Follow us on Buzz!" style="filter: alpha(opacity=<?php echo $icon_ie;?>); opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a> <?php
145
  } else {
146
  echo ''; //If no URL Inputed
147
  }
148
 
149
  // RSS
150
  if ( $rss != '') {
151
- ?> <a href="<?php echo $rss; ?>"><img class="subscribes" src="<?php echo WP_CONTENT_URL.'/plugins/'.plugin_basename(dirname(__FILE__)).'/'; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/rss.png" alt="Subscribe to our RSS Feeds!" title="Subscribe to our RSS Feeds!" style="filter: alpha(opacity=<?php echo $icon_ie;?>); opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a> <?php
152
  } else {
153
  echo '';// If no URL Inputed
154
  }
155
 
156
  // E-mail Subscription -- If Newsletter or Mailing List available
157
  if ( $subscribe != '' ) {
158
- ?> <a href="<?php echo $subscribe; ?>"><img class="subscribes" src="<?php echo WP_CONTENT_URL.'/plugins/'.plugin_basename(dirname(__FILE__)).'/'; ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/email.png" alt="Join our Mailing List!" title="Join Our Mailing List!" style="filter: alpha(opacity=<?php echo $icon_ie;?>); opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a><?php
159
  } else {
160
  echo ''; // If no URL Inputed
161
  }
@@ -173,6 +182,7 @@ class Social_Widget extends WP_Widget {
173
  $instance['facebook'] = strip_tags( $new_instance['facebook'] );
174
  $instance['twitter'] = strip_tags( $new_instance['twitter'] );
175
  $instance['myspace'] = strip_tags( $new_instance['myspace'] );
 
176
  $instance['linkedin'] = strip_tags( $new_instance['linkedin'] );
177
  $instance['youtube'] = strip_tags( $new_instance['youtube'] );
178
  $instance['digg'] = strip_tags( $new_instance['digg'] );
@@ -195,18 +205,18 @@ class Social_Widget extends WP_Widget {
195
  function form( $instance ) {
196
 
197
  /* Set up some default widget settings. */
198
- $rss_url = bloginfo(rss2_url);
199
  $defaults = array(
200
  'title' => __('Follow Us!', 'test'),
201
  'facebook' => __('http://www.facebook.com/your_name', 'test'),
202
  'twitter' => __('http://www.twitter.com/yourname', 'test'),
203
  'myspace' => __('http://www.myspace.com/yourname', 'test'),
 
204
  'linkedin' => __('http://www.linkedin.com/in/yourname', 'test'),
205
  'youtube' => __('http://www.youtube.com/user/yourname', 'test'),
206
  'digg' => __('http://www.digg.com/users/yourname', 'test'),
207
  'reddit' => __('http://www.reddit.com/user/yourname', 'test'),
208
  'buzz' => __('http://www.google.com/profiles/yourname#buzz', 'test'),
209
- 'buzz' => __($rss_url, 'test'),
210
  'icon_size' => 'default',
211
  'icon_pack' => 'default',
212
  'icon_opacity' => 'default');
@@ -239,6 +249,12 @@ class Social_Widget extends WP_Widget {
239
  <label for="<?php echo $this->get_field_id( 'myspace' ); ?>"><?php _e('MySpace URL:', 'test'); ?></label>
240
  <input id="<?php echo $this->get_field_id( 'myspace' ); ?>" name="<?php echo $this->get_field_name( 'myspace' ); ?>" value="<?php echo $instance['myspace']; ?>" style="width:85%;" />
241
  </p>
 
 
 
 
 
 
242
 
243
  <!-- LinkedIn URL: Text Input -->
244
  <p>
@@ -273,7 +289,7 @@ class Social_Widget extends WP_Widget {
273
  <!-- RSS URL: Text Input -->
274
  <p>
275
  <label for="<?php echo $this->get_field_id( 'rss_url' ); ?>"><?php _e('RSS URL:', 'test'); ?></label>
276
- <input id="<?php echo $this->get_field_id( 'rss_url' ); ?>" name="<?php echo $this->get_field_name( 'rss_url' ); ?>" value="" style="width:85%;" />
277
  </p>
278
 
279
 
@@ -297,6 +313,7 @@ class Social_Widget extends WP_Widget {
297
  <p>
298
  <label for="<?php echo $this->get_field_id( 'icon_pack' ); ?>"><?php _e('Icon Pack', 'test'); ?></label>
299
  <select id="<?php echo $this->get_field_id( 'icon_pack' ); ?>" name="<?php echo $this->get_field_name( 'icon_pack' ); ?>">
 
300
  <option value="heart" <?php if($instance['icon_pack'] == 'heart') { echo 'selected'; } ?>>Heart Icons</option>
301
  <option value="default" <?php if($instance['icon_pack'] == 'default') { echo 'selected'; } ?>>Default Icons (Web2.0)</option>
302
  <option value="sketch" <?php if($instance['icon_pack'] == 'sketch') { echo 'selected'; } ?>>Sketch Icons</option>
3
  * Plugin Name: Social Media Widget
4
  * Plugin URI: http://www.idontlikethisgame.com/updates/social-media-widget/
5
  * Description: Place social media icons on your Sidebar by inputting URLs to your profiles!
6
+ * Version: 1.2
7
  * Author: Brian Freytag
8
  * Author URL: http://www.idontlikethisgame.com
9
  **/
49
  $facebook = $instance['facebook'];
50
  $twitter = $instance['twitter'];
51
  $myspace = $instance['myspace'];
52
+ $orkut = $instance['orkut'];
53
  $linkedin = $instance['linkedin'];
54
  $youtube = $instance['youtube'];
55
  $digg = $instance['digg'];
86
 
87
  // Facebook
88
  if ( $facebook != '') {
89
+ ?> <a href="<?php echo $facebook; ?>" target="_blank"> <img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/facebook.png" alt="<?php echo $title; ?> on Facebook" title="<?php echo $title; ?> on Facebook" style="filter: alpha(opacity=<?php echo $icon_ie;?>); opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;"/></a> <?php
90
  } else {
91
  echo ''; //If no URL inputed
92
  }
93
 
94
  // Twitter
95
  if ( $twitter != '' ) {
96
+ ?> <a href="<?php echo $twitter; ?>" target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/twitter.png" alt="<?php echo $title; ?> on Twitter"
97
+ title="<?php echo $title; ?> on Twitter" style="filter: alpha(opacity=<?php echo $icon_ie;?>); opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a> <?php
98
  } else {
99
  echo ''; //If no URL inputed
100
  }
101
 
102
  // MySpace
103
  if ( $myspace != '' ) {
104
+ ?> <a href="<?php echo $myspace; ?>" target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/myspace.png" alt="<?php echo $title; ?> on MySpace"
105
+ title="<?php echo $title; ?> on MySpace" style="filter: alpha(opacity=<?php echo $icon_ie;?>); opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a> <?php
106
+ } else {
107
+ echo ''; //If no URL inputed
108
+ }
109
+
110
+ // Orkut
111
+ if ( $myspace != '' ) {
112
+ ?> <a href="<?php echo $orkut; ?>" target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/orkut.png" alt="<?php echo $title; ?> on Orkut"
113
+ title="<?php echo $title; ?> on Orkut" style="filter: alpha(opacity=<?php echo $icon_ie;?>); opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a> <?php
114
  } else {
115
  echo ''; //If no URL inputed
116
  }
117
 
118
  // LinkedIN
119
  if ( $linkedin != '' ) {
120
+ ?> <a href="<?php echo $linkedin; ?>" target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/linkedin.png" alt="<?php echo $title; ?> on LinkedIn"
121
+ title="<?php echo $title; ?> on LinkedIn" style="filter: alpha(opacity=<?php echo $icon_ie;?>); opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a> <?php
122
  } else {
123
  echo ''; //If no URL inputed
124
  }
125
 
126
  // YouTube
127
  if ( $youtube != '' ) {
128
+ ?> <a href="<?php echo $youtube; ?>" target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/youtube.png" alt="<?php echo $title; ?> on YouTube"
129
+ title="<?php echo $title; ?> on YouTube" style="filter: alpha(opacity=<?php echo $icon_ie;?>); opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a> <?php
130
  } else {
131
  echo ''; //If No URL Inputed
132
  }
133
 
134
  // Digg
135
  if ( $digg != '' ) {
136
+ ?> <a href="<?php echo $digg; ?>" target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/digg.png" alt="<?php echo $title; ?> on Digg"
137
+ title="<?php echo $title; ?> on Digg" style="filter: alpha(opacity=<?php echo $icon_ie;?>); opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a> <?php
138
  } else {
139
  echo ''; //If no URL Inputed
140
  }
141
 
142
  // Reddit
143
  if ( $reddit != '' ) {
144
+ ?> <a href="<?php echo $reddit; ?>" target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/reddit.png" alt="<?php echo $title; ?> on Reddit"
145
+ title="<?php echo $title; ?> on Reddit" style="filter: alpha(opacity=<?php echo $icon_ie;?>); opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a> <?php
146
  } else {
147
  echo ''; //If no URL Inputed
148
  }
149
 
150
  // Google Buzz
151
  if ( $buzz != '' ) {
152
+ ?> <a href="<?php echo $buzz; ?>" target="_blank"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/buzz.png" alt="<?php echo $title; ?> on Buzz"
153
+ title="<?php echo $title; ?> on Buzz" style="filter: alpha(opacity=<?php echo $icon_ie;?>); opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a> <?php
154
  } else {
155
  echo ''; //If no URL Inputed
156
  }
157
 
158
  // RSS
159
  if ( $rss != '') {
160
+ ?> <a href="<?php echo $rss; ?>"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/rss.png" alt="Subscribe to our RSS Feeds" title="Subscribe to our RSS Feeds" style="filter: alpha(opacity=<?php echo $icon_ie;?>); opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a> <?php
161
  } else {
162
  echo '';// If no URL Inputed
163
  }
164
 
165
  // E-mail Subscription -- If Newsletter or Mailing List available
166
  if ( $subscribe != '' ) {
167
+ ?> <a href="<?php echo $subscribe; ?>"><img class="subscribes" src="<?php echo WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)); ?>images/<?php echo $icon_pack.'/'.$icon_size; ?>/email.png" alt="Join our Mailing List" title="Join Our Mailing List" style="filter: alpha(opacity=<?php echo $icon_ie;?>); opacity: <?php echo $icon_opacity;?>; -moz-opacity: <?php echo $icon_opacity;?>;" /></a><?php
168
  } else {
169
  echo ''; // If no URL Inputed
170
  }
182
  $instance['facebook'] = strip_tags( $new_instance['facebook'] );
183
  $instance['twitter'] = strip_tags( $new_instance['twitter'] );
184
  $instance['myspace'] = strip_tags( $new_instance['myspace'] );
185
+ $instance['orkut'] = strip_tags( $new_instance['orkut'] );
186
  $instance['linkedin'] = strip_tags( $new_instance['linkedin'] );
187
  $instance['youtube'] = strip_tags( $new_instance['youtube'] );
188
  $instance['digg'] = strip_tags( $new_instance['digg'] );
205
  function form( $instance ) {
206
 
207
  /* Set up some default widget settings. */
 
208
  $defaults = array(
209
  'title' => __('Follow Us!', 'test'),
210
  'facebook' => __('http://www.facebook.com/your_name', 'test'),
211
  'twitter' => __('http://www.twitter.com/yourname', 'test'),
212
  'myspace' => __('http://www.myspace.com/yourname', 'test'),
213
+ 'orkut' => __('http://www.orkut.com/Main#Profile?uid=youruid', 'test'),
214
  'linkedin' => __('http://www.linkedin.com/in/yourname', 'test'),
215
  'youtube' => __('http://www.youtube.com/user/yourname', 'test'),
216
  'digg' => __('http://www.digg.com/users/yourname', 'test'),
217
  'reddit' => __('http://www.reddit.com/user/yourname', 'test'),
218
  'buzz' => __('http://www.google.com/profiles/yourname#buzz', 'test'),
219
+ 'rss_url' => __('http://www.yoursite.com/feed', 'test'),
220
  'icon_size' => 'default',
221
  'icon_pack' => 'default',
222
  'icon_opacity' => 'default');
249
  <label for="<?php echo $this->get_field_id( 'myspace' ); ?>"><?php _e('MySpace URL:', 'test'); ?></label>
250
  <input id="<?php echo $this->get_field_id( 'myspace' ); ?>" name="<?php echo $this->get_field_name( 'myspace' ); ?>" value="<?php echo $instance['myspace']; ?>" style="width:85%;" />
251
  </p>
252
+
253
+ <!-- Orkut URL: Text Input -->
254
+ <p>
255
+ <label for="<?php echo $this->get_field_id( 'orkut' ); ?>"><?php _e('Orkut URL:', 'test'); ?></label>
256
+ <input id="<?php echo $this->get_field_id( 'orkut' ); ?>" name="<?php echo $this->get_field_name( 'orkut' ); ?>" value="<?php echo $instance['orkut']; ?>" style="width:85%;" />
257
+ </p>
258
 
259
  <!-- LinkedIn URL: Text Input -->
260
  <p>
289
  <!-- RSS URL: Text Input -->
290
  <p>
291
  <label for="<?php echo $this->get_field_id( 'rss_url' ); ?>"><?php _e('RSS URL:', 'test'); ?></label>
292
+ <input id="<?php echo $this->get_field_id( 'rss_url' ); ?>" name="<?php echo $this->get_field_name( 'rss_url' ); ?>" value="<?php echo $instance['rss_url']; ?>" style="width:85%;" />
293
  </p>
294
 
295
 
313
  <p>
314
  <label for="<?php echo $this->get_field_id( 'icon_pack' ); ?>"><?php _e('Icon Pack', 'test'); ?></label>
315
  <select id="<?php echo $this->get_field_id( 'icon_pack' ); ?>" name="<?php echo $this->get_field_name( 'icon_pack' ); ?>">
316
+ <option value="cutout" <?php if($instance['icon_pack'] == 'cutout') { echo 'selected'; } ?>>Cutout Icons</option>
317
  <option value="heart" <?php if($instance['icon_pack'] == 'heart') { echo 'selected'; } ?>>Heart Icons</option>
318
  <option value="default" <?php if($instance['icon_pack'] == 'default') { echo 'selected'; } ?>>Default Icons (Web2.0)</option>
319
  <option value="sketch" <?php if($instance['icon_pack'] == 'sketch') { echo 'selected'; } ?>>Sketch Icons</option>