From 7c7d6b6b145875a798e622dde6f59af03bbade4f Mon Sep 17 00:00:00 2001
From: Erik Youngren <artanis.00@gmail.com>
Date: Tue, 23 Dec 2008 00:31:20 -0800
Subject: [PATCH] Related Tag Count per skxxl311 request.

---
 ext/tag_list/theme.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ext/tag_list/theme.php b/ext/tag_list/theme.php
index 578b6873..d8cbd8bd 100644
--- a/ext/tag_list/theme.php
+++ b/ext/tag_list/theme.php
@@ -48,6 +48,9 @@ class TagListTheme extends Themelet {
 			}
 			$link = $this->tag_link($row['tag']);
 			$html .= " <a class='tag_name' href='$link'>$h_tag_no_underscores</a>";
+			if($config->get_bool("tag_list_numbers")) {
+				$html .= " <span class='tag_count'>$count</span>";
+			}
 		}
 
 		$page->add_block(new Block("Related", $html, "left"));