Index: send.module
===================================================================
--- send.module	(.../vendor/drupal-contrib/modules/send/DRUPAL-5--1-x/send)	(revision 30)
+++ send.module	(.../practicalweb/trunk/public_html/sites/default/modules/send)	(revision 30)
@@ -127,17 +127,21 @@
         $linktext = variable_get("{$m}_{$node->type}_linktext", '');
       }
       if ($linktext) {
-        $links[$m] = array(
-          'title' => t($linktext),
-          'href'  => "send/{$m}/{$node->nid}",
-          'attributes' =>  array("class" => 'send-link send-'.$m)
-        );
+      	$links[$m] = theme('send_format_link', $linktext, $m, $node);
       }
     }
   }
   return $links;
 }
 
+function theme_send_format_link($linktext, $modulename, $node){
+	   return array(
+          'title' => t($linktext),
+          'href'  => "send/{$modulename}/{$node->nid}",
+          'attributes' =>  array("class" => 'send-link send-'.$modulename)
+        );
+}
+
 /* Implementation of hooks for the views module
  */
 function send_views_tables() {
