--- ../wordpress/wp-admin/users.php	Sun Dec 26 17:01:18 2004
+++ users.php	Thu Jan 27 02:18:45 2005
@@ -179,6 +179,7 @@
 	<th><?php _e('Website') ?></th>
 	<th><?php _e('Level') ?></th>
 	<th><?php _e('Posts') ?></th>
+	<th><?php _e('Drafts') ?></th>
 	<th>&nbsp;</th>
 	</tr>
 	<?php
@@ -197,6 +198,7 @@
 		$style = ('class="alternate"' == $style) ? '' : 'class="alternate"';
 		$numposts = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = $user->ID and post_status = 'publish'");
 		if (0 < $numposts) $numposts = "<a href='edit.php?author=$user_data->ID' title='" . __('View posts') . "'>$numposts</a>";
+		$numdrafts = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = $user->ID AND post_status = 'draft'");
 		echo "
 <tr $style>
 	<td align='center'>$user_data->ID</td>
@@ -211,6 +213,7 @@
 	if (($user_level >= 2) and ($user_level > ($user_data->user_level + 1)))
 		echo " <a href=\"users.php?action=promote&amp;id=".$user_data->ID."&amp;prom=up\">+</a> ";
 	echo "</td><td align='right'>$numposts</td>";
+	echo "<td align='right'>$numdrafts</td>";
 	echo '<td>';
 	if (($user_level >= 2) and ($user_level > $user_data->user_level))
 		echo "<a href='user-edit.php?user_id=$user_data->ID' class='edit'>".__('Edit')."</a>";
