From 768c5f8c1b0eb8ceb64eceea755df705fa468ba4 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Wed, 2 Feb 2005 10:36:59 +0000 Subject: [PATCH] Tweaks to the dashboard planet display git-svn-id: https://develop.svn.wordpress.org/trunk@2201 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 852602ea48..83155a9258 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 58c3d5343a..492b7c6eb5 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;