--- biblio_theme.inc.orig	2008-11-28 11:30:54.000000000 +0100
+++ biblio_theme.inc	2008-11-28 11:33:14.000000000 +0100
@@ -214,6 +214,8 @@
     )
   );
   $tagged_link = theme('biblio_tagged_link', $base, $node);
+  $xml_link = theme('biblio_xml_link', $base, $node);
+  $bibtex_link = theme('biblio_bibtex_link', $base, $node);
   if ($node->biblio_keywords) {
     $node->biblio_keywords = _biblio_keyword_links($node->biblio_keywords, $base);
   }
@@ -296,8 +298,7 @@
     ), array(
       'data' => '&nbsp;&nbsp;'
     ), array(
-      'data' => $tagged_link .' '.      l(t("XML"
-    ), "$base/export/xml/$node->nid") .' '.    l(t("BibTex"), "$base/export/bibtex/$node->nid")));
+	     'data' => $tagged_link .' '. $xml_link .' '.$bibtex_link )); 
   }
   $output = '<div id="biblio-node">';
   $output .= $node->biblio_coins;
@@ -439,26 +440,26 @@
   return $output;
 }
 function theme_biblio_bibtex_link($base, $node = NULL) {
-  $output = '';
+  $output = '<span hovertip="bibtexExp">';
   if (module_exists('hovertip')) {
     $output .= '<span id="bibtexExp-'. $node->nid .'">Bibtex</span> ';
     require_once drupal_get_path('module', 'biblio') .'/biblio.import.export.inc';
     $output .= '<div target="bibtexExp-'. $node->nid .'" class="clicktip"><h1>BibTex</h1>'. nl2br(biblio_bibtex_export($node)) .'</div>';
   }
   else {
-    $output .= l(t("BibTex"), "$base/export/bibtex/$node->nid");
+    $output .= l(t("BibTex"), "$base/export/bibtex/$node->nid") .'</span>';
   }
   return $output;
 }
 function theme_biblio_xml_link($base, $node = NULL) {
-  $output = '';
+  $output = '<span hovertip="xmlExp">';
   if (module_exists('hovertip')) {
     $output .= '<span id="xmlExp-'. $node->nid .'">XML</span> ';
     require_once drupal_get_path('module', 'biblio') .'/biblio.import.export.inc';
     $output .= '<div target="xmlExp-'. $node->nid .'" class="clicktip"><h1>XML</h1>'. nl2br(htmlentities(biblio_endnote_XML_export($node, 7))) .'</div>';
   }
   else {
-    $output .= l(t("xml"), "$base/export/xml/$node->nid");
+    $output .= l(t("xml"), "$base/export/xml/$node->nid") .'</span>';
   }
   return $output;
 }
