diff -cB addthis.clean/addthis.admin.inc addthis/addthis.admin.inc
*** addthis.clean/addthis.admin.inc 2009-04-26 21:45:28.000000000 +0100
--- addthis/addthis.admin.inc 2009-04-26 21:49:49.000000000 +0100
***************
*** 137,141 ****
'#default_value' => variable_get('addthis_disable_flash', '0'),
'#description' => t('AddThis.com uses Flash cookies by default to provide more accurate tracking information. Some people consider this a privacy concern and Flash cookies can be replaced with normal ones by checking this checkbox.'),
);
return system_settings_form($form);
! }
\ No newline at end of file
--- 137,151 ----
'#default_value' => variable_get('addthis_disable_flash', '0'),
'#description' => t('AddThis.com uses Flash cookies by default to provide more accurate tracking information. Some people consider this a privacy concern and Flash cookies can be replaced with normal ones by checking this checkbox.'),
);
+ $form['addthis_widget_settings']['addthis_widget_version'] = array(
+ '#type' => 'select',
+ '#title' => t('Widget Version'),
+ '#default_value' => variable_get('addthis_widget_version', '152'),
+ '#options' => array(
+ 152 => t('152 - Uses a popup window for the more option'),
+ 200 => t('200 - Adds lightbox support for the more option')
+ ),
+ '#description' => t('The version of the addthis widget to use.'),
+ );
return system_settings_form($form);
! }
diff -cB addthis.clean/addthis.module addthis/addthis.module
*** addthis.clean/addthis.module 2009-04-26 21:45:28.000000000 +0100
--- addthis/addthis.module 2009-04-26 21:48:00.000000000 +0100
***************
*** 150,156 ****
onmouseover="return addthis_open(this, \'\', \'%s\', \'%s\')"
onmouseout="addthis_close()"
onclick="return addthis_sendto()">
!
',
$teaser ? url('node/'. $node->nid, array('absolute' => 1) ) : '[URL]',
$teaser ? addslashes($node->title) : '[TITLE]',
--- 150,156 ----
onmouseover="return addthis_open(this, \'\', \'%s\', \'%s\')"
onmouseout="addthis_close()"
onclick="return addthis_sendto()">
!
',
$teaser ? url('node/'. $node->nid, array('absolute' => 1) ) : '[URL]',
$teaser ? addslashes($node->title) : '[TITLE]',