Index: service_links.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/service_links/service_links.module,v
retrieving revision 1.18.2.1
diff -u -r1.18.2.1 service_links.module
--- service_links.module	25 Feb 2007 21:52:08 -0000	1.18.2.1
+++ service_links.module	15 Mar 2007 00:21:19 -0000
@@ -108,6 +108,12 @@
     '#return_value' => 1,
     '#default_value' => variable_get('service_links_show_yahoo', 0),
   );
+  $form['what_links_to_show']['service_links_show_facebook'] = array(
+    '#type' => 'checkbox',
+    '#title' => t('Show Facebook link'),
+    '#return_value' => 1,
+    '#default_value' => variable_get('service_links_show_facebook', 0),
+  );
 
   $form['what_links2_to_show'] = array(
     '#type' => 'fieldset',
@@ -331,6 +337,9 @@
   if (variable_get('service_links_show_yahoo', 0)) {
     $links['service_links_yahoo'] = theme('service_links_build_link', t('Yahoo'), "http://myweb2.search.yahoo.com/myresults/bookmarklet?u=$url&t=$title", t('Bookmark this post on Yahoo.'), 'yahoo.png', $nodelink);
   }
+  if (variable_get('service_links_show_facebook', 0)) {
+    $links[] = theme('service_links_build_link', t('Facebook'), "http://www.facebook.com/sharer.php?u=$url&t=$title", t('Share on Facebook.'), 'facebook.gif', $nodelink);
+  }
   if (variable_get('service_links_show_technorati', 0)) {
     $links['service_links_technorati'] = theme('service_links_build_link', t('Technorati'), "http://technorati.com/cosmos/search.html?url=$url", t('Search Technorati for links to this post.'), 'technorati.png', $nodelink);
   }
