diff --git a/wp-admin/categories.php b/wp-admin/categories.php index dcc003905..31e8a1f9d 100644 --- a/wp-admin/categories.php +++ b/wp-admin/categories.php @@ -127,26 +127,41 @@ default: die("You have no right to edit the categories for this blog.
Ask for a promotion to your blog admin. :)"); } ?> - +

Current Categories

- - - - - + + + + get_results("SELECT * FROM $tablecategories ORDER BY cat_name"); foreach ($categories as $category) { $count = $wpdb->get_var("SELECT COUNT(post_id) FROM $tablepost2cat WHERE category_id = $category->cat_ID"); - $bgcolor = ('#eeeeee' == $bgcolor) ? '' : '#eeeeee'; - echo " + $bgcolor = ('#eee' == $bgcolor) ? 'none' : '#eee'; + echo " - + "; } ?> @@ -157,7 +172,7 @@ default:

Add New Category

-

Category name:
+

Name:

Description:

Category NameDescription# PostsEditDeleteNameDescription# PostsAction
$category->cat_name
$category->cat_name $category->category_description $countEditcat_name\' and all its posts will go to the default category.\\n \'OK\' to delete, \'Cancel\' to stop.')\">DeleteEditcat_name\' and all its posts will go to the default category.\\n \'OK\' to delete, \'Cancel\' to stop.')\" class='delete'>Delete