Index: comment-template.php
===================================================================
--- comment-template.php	(revision 6006)
+++ comment-template.php	(working copy)
@@ -207,18 +207,23 @@
 	return apply_filters('get_comment_type', $comment->comment_type);
 }
 
-function comment_type($commenttxt = 'Comment', $trackbacktxt = 'Trackback', $pingbacktxt = 'Pingback') {
+function comment_type($commenttxt = 'Comment', $trackbacktxt = 'Trackback', $pingbacktxt = 'Pingback', $display = true) {
 	$type = get_comment_type();
 	switch( $type ) {
 		case 'trackback' :
-			echo $trackbacktxt;
+			$typetxt = $trackbacktxt;
 			break;
 		case 'pingback' :
-			echo $pingbacktxt;
+			$typetxt = $pingbacktxt;
 			break;
 		default :
-			echo $commenttxt;
+			$typetxt = $commenttxt;
 	}
+	if($display) {
+		echo $typetxt;
+	} else {
+		return $typetxt;
+	}
 }
 
 function get_trackback_url() {
@@ -369,4 +374,4 @@
 	echo '</a>';
 }
 
-?>
+?>
\ No newline at end of file
