Index: sites/all/modules/addthis/addthis.module
===================================================================
--- sites/all/modules/addthis/addthis.module (revision 36100)
+++ sites/all/modules/addthis/addthis.module (working copy)
@@ -107,14 +107,14 @@
if ($_addthis_counter == 1) {
drupal_add_css((drupal_get_path('module', 'addthis') .'/addthis.css'));
drupal_add_js(sprintf('
- addthis_pub = \'%s\';
- addthis_logo = \'%s\';
- addthis_logo_background = \'%s\';
- addthis_logo_color = \'%s\';
- addthis_brand = \'%s\';
- addthis_options = \'%s\';
- addthis_disable_flash = \'%s\';
- ',
+ addthis_pub = \'%s\';
+ addthis_logo = \'%s\';
+ addthis_logo_background = \'%s\';
+ addthis_logo_color = \'%s\';
+ addthis_brand = \'%s\';
+ addthis_options = \'%s\';
+ addthis_disable_flash = \'%s\';
+ ',
addslashes(variable_get('addthis_username', 'my-username')),
addslashes(variable_get('addthis_logo', 'http://www.addthis.com/images/yourlogo.png')),
addslashes(variable_get('addthis_logo_background', 'EFEFFF')),
@@ -152,8 +152,8 @@
onclick="return addthis_sendto()">
',
- $teaser ? url('node/'. $node->nid, array('absolute' => 1) ) : '[URL]',
- $teaser ? addslashes($node->title) : '[TITLE]',
+ $node ? url('node/'. $node->nid, array('absolute' => 1) ) : '[URL]',
+ $node ? addslashes($node->title) : '[TITLE]',
$_SERVER['HTTPS'] == 'on' ? addslashes(variable_get('addthis_image_secure', 'https://secure.addthis.com/button1-share.gif')) : addslashes(variable_get('addthis_image', 'http://s9.addthis.com/button1-share.gif')),
addslashes(variable_get('addthis_image_width', '125')),
addslashes(variable_get('addthis_image_height', '16')),