WordPress Share Buttons Plugin – AddThis - Version 1.5.5

Version Description

Download this release

Release Info

Developer _mjk_
Plugin Icon 128x128 WordPress Share Buttons Plugin – AddThis
Version 1.5.5
Comparing to
See all releases

Code changes from version 1.5.4 to 1.5.5

Files changed (1) hide show
  1. addthis_social_widget.php +6 -6
addthis_social_widget.php CHANGED
@@ -2,7 +2,7 @@
2
  /* vim: set expandtab tabstop=4 shiftwidth=4: */
3
  /*
4
  * +--------------------------------------------------------------------------+
5
- * | Copyright (c) 2008 Add This, LLC |
6
  * +--------------------------------------------------------------------------+
7
  * | This program is free software; you can redistribute it and/or modify |
8
  * | it under the terms of the GNU General Public License as published by |
@@ -27,7 +27,7 @@ else return;
27
  * Plugin Name: AddThis Social Bookmarking Widget
28
  * Plugin URI: http://www.addthis.com
29
  * Description: Help your visitor promote your site! The AddThis Social Bookmarking Widget allows any visitor to bookmark your site easily with many popular services. Sign up for an AddThis.com account to see how your visitors are sharing your content--which services they're using for sharing, which content is shared the most, and more. It's all free--even the pretty charts and graphs.
30
- * Version: 1.5.4
31
  *
32
  * Author: The AddThis Team
33
  * Author URI: http://www.addthis.com
@@ -150,14 +150,14 @@ function addthis_social_widget($content, $sidebar = false)
150
  $content .= '<script type="text/javascript">' . (isset($pub) ? "\nvar addthis_pub = '$pub';\n" : "\n") . ($addthis_settings['customization']) . "\n</script>\n";
151
  }
152
  $content .= <<<EOF
153
- <div class="addthis_container"><a href="http://www.addthis.com/bookmark.php?v=20" onmouseover="return addthis_open(this, '', '$link', '$title')" onmouseout="addthis_close()" onclick="return addthis_sendto()">
154
  EOF;
155
- $content .= addthis_get_button_img() . '</a><script type="text/javascript" src="http://s7.addthis.com/js/200/addthis_widget.js"></script></div>';
156
  }
157
  else
158
  {
159
  $content .= <<<EOF
160
- <div class="addthis_container"><a href="http://www.addthis.com/bookmark.php?v=20" onclick="window.open('http://www.addthis.com/bookmark.php?v=20&pub=$pub&amp;url=$link&amp;title=$title', 'addthis', 'scrollbars=yes,menubar=no,width=620,height=520,resizable=yes,toolbar=no,location=no,status=no'); return false;" title="Bookmark using any bookmark manager!" target="_blank">
161
  EOF;
162
  $content .= addthis_get_button_img() . '</a></div>';
163
  }
@@ -197,7 +197,7 @@ function addthis_get_button_img()
197
  $btnWidth = $btnRecord['w'];
198
  $btnHeight = $btnRecord['h'];
199
  return <<<EOF
200
- <img src="$btnUrl" width="$btnWidth" height="$btnHeight" border="0" alt="Bookmark and Share"/>
201
  EOF;
202
  }
203
 
2
  /* vim: set expandtab tabstop=4 shiftwidth=4: */
3
  /*
4
  * +--------------------------------------------------------------------------+
5
+ * | Copyright (c) 2008-2009 Add This, LLC |
6
  * +--------------------------------------------------------------------------+
7
  * | This program is free software; you can redistribute it and/or modify |
8
  * | it under the terms of the GNU General Public License as published by |
27
  * Plugin Name: AddThis Social Bookmarking Widget
28
  * Plugin URI: http://www.addthis.com
29
  * Description: Help your visitor promote your site! The AddThis Social Bookmarking Widget allows any visitor to bookmark your site easily with many popular services. Sign up for an AddThis.com account to see how your visitors are sharing your content--which services they're using for sharing, which content is shared the most, and more. It's all free--even the pretty charts and graphs.
30
+ * Version: 1.5.5
31
  *
32
  * Author: The AddThis Team
33
  * Author URI: http://www.addthis.com
150
  $content .= '<script type="text/javascript">' . (isset($pub) ? "\nvar addthis_pub = '$pub';\n" : "\n") . ($addthis_settings['customization']) . "\n</script>\n";
151
  }
152
  $content .= <<<EOF
153
+ <div class="addthis_container"><a href="http://www.addthis.com/bookmark.php?v=250" onmouseover="return addthis_open(this, '', '$link', '$title')" onmouseout="addthis_close()" onclick="return addthis_sendto()">
154
  EOF;
155
+ $content .= addthis_get_button_img() . '</a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js"></script></div>';
156
  }
157
  else
158
  {
159
  $content .= <<<EOF
160
+ <div class="addthis_container"><a href="http://www.addthis.com/bookmark.php?v=250" onclick="window.open('http://www.addthis.com/bookmark.php?v=250&pub=$pub&amp;url=$link&amp;title=$title', 'addthis', 'scrollbars=yes,menubar=no,width=620,height=520,resizable=yes,toolbar=no,location=no,status=no'); return false;" title="Bookmark using any bookmark manager!" target="_blank">
161
  EOF;
162
  $content .= addthis_get_button_img() . '</a></div>';
163
  }
197
  $btnWidth = $btnRecord['w'];
198
  $btnHeight = $btnRecord['h'];
199
  return <<<EOF
200
+ <img src="$btnUrl" width="$btnWidth" height="$btnHeight" style="border:0" alt="Bookmark and Share"/>
201
  EOF;
202
  }
203