Index: links.php
===================================================================
--- links.php	(revision 2526)
+++ links.php	(working copy)
@@ -235,7 +235,7 @@
         }
 
         $alt = " alt='$name'";
-            
+
         $target = $row->link_target;
         if ('' != $target) {
             $target = " target='$target'";
@@ -530,10 +530,11 @@
 	if (!isset($direction)) $direction = '';
 	// Fetch the link category data as an array of hashesa
 	$cats = $wpdb->get_results("
-		SELECT DISTINCT link_category, cat_name, show_images, 
-			show_description, show_rating, show_updated, sort_order, 
-			sort_desc, list_limit
-		FROM `$wpdb->links` 
+		SELECT DISTINCT link_category, cat_name, show_images,
+			show_description, show_rating, show_updated, sort_order,
+			sort_desc, list_limit, text_before_link, text_after_link,
+			text_after_all
+		FROM `$wpdb->links`
 		LEFT JOIN `$wpdb->linkcategories` ON (link_category = cat_id)
 		WHERE link_visible =  'Y'
 			AND list_limit <> 0
@@ -551,7 +552,7 @@
 			echo '	<li id="linkcat-' . $cat['link_category'] . '"><h2>' . $cat['cat_name'] . "</h2>\n\t<ul>\n";
 			// Call get_links() with all the appropriate params
 			get_links($cat['link_category'],
-				'<li>',"</li>","\n",
+				$cat['text_before_link'],$cat['text_after_all'],$cat['text_after_link'],
 				bool_from_yn($cat['show_images']),
 				$orderby,
 				bool_from_yn($cat['show_description']),
