From 24036be9358cb9579b5098d3162334ce2122d8eb Mon Sep 17 00:00:00 2001 From: saxmatt Date: Wed, 2 Feb 2005 10:36:59 +0000 Subject: [PATCH] Tweaks to the dashboard planet display git-svn-id: http://svn.automattic.com/wordpress/trunk@2201 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/index.php | 8 ++++++-- wp-admin/wp-admin.css | 20 ++++++++++++++++++++ 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/wp-admin/index.php b/wp-admin/index.php index 852602ea4..83155a925 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -88,7 +88,7 @@ if (0 < $numcats) $numcats = number_format($numcats); $rss = @fetch_rss('http://feedster.com/links.php?url='. trailingslashit(get_option('home')) .'&type=rss&limit=6'); if ( isset($rss->items) && 0 != count($rss->items) ) { ?> -
+ get_results("SELECT ID, post_title FROM $wpdb->posts WHERE post_status = 'draft' AND post_author = $user_ID"); if ($drafts) { diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css index 58c3d5343..492b7c6eb 100644 --- a/wp-admin/wp-admin.css +++ b/wp-admin/wp-admin.css @@ -13,6 +13,26 @@ a.delete:hover { color: #fff; } +#planetnews ul { + list-style: none; + margin: 0; + padding: 0; +} + +#planetnews li { + width: 16%; + margin: 1% 2%; + float: left; +} + +#planetnews li a { + display: block; + padding: .5em; + background: #ddd; + height: 6em; + overflow: hidden; +} + a.edit, a.delete, a.edit:hover, a.delete:hover { border-bottom: none; display: block;