Cleaner category count display

git-svn-id: https://develop.svn.wordpress.org/trunk@3728 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2006-04-19 09:26:56 +00:00
parent 76efdcaadb
commit 0ed4e00fb2
2 changed files with 17 additions and 13 deletions

View File

@@ -664,10 +664,13 @@ function cat_rows($parent = 0, $level = 0, $categories = 0) {
$edit = '';
$class = ('alternate' == $class) ? '' : 'alternate';
$category->category_count = number_format( $category->category_count );
$category->link_count = number_format( $category->link_count );
echo "<tr id='cat-$category->cat_ID' class='$class'><th scope='row'>$category->cat_ID</th><td>$pad $category->cat_name</td>
<td>$category->category_description</td>
<td>$category->category_count</td>
<td>$category->link_count</td>
<td align='center'>$category->category_count</td>
<td align='center'>$category->link_count</td>
<td>$edit</td>
</tr>";
cat_rows($category->cat_ID, $level +1, $categories);