diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-07-29 15:51:02 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-07-29 15:51:02 +0000 |
| commit | a9b926f6b44bae04c654116e52c72301ac07a290 (patch) | |
| tree | 75688b784ba78a0f64a7059422cd064d71a75d81 | |
| parent | 923f4aaf4fcf6374db5097a2ebed0d970a08f1f5 (diff) | |
Fix message on second feed.
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@104 7be80a69-a1ef-0310-a953-fb0f7c49ff36
| -rw-r--r-- | wp-inst/wp-admin/index.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/wp-inst/wp-admin/index.php b/wp-inst/wp-admin/index.php index d7a7620..80c01bb 100644 --- a/wp-inst/wp-admin/index.php +++ b/wp-inst/wp-admin/index.php @@ -135,14 +135,15 @@ if ( isset($rss->items) && 0 != count($rss->items) ) { <?php if( get_site_option( 'customizefeed2' ) == 0 ) { $rss = @fetch_rss(get_site_option( 'dashboardfeed2' )); + $custom = true; } else { $rss = @fetch_rss('http://wordpress.org/development/feed/'); + $custom = false; } -$rss = @fetch_rss('http://planet.wordpress.org/feed/'); if ( isset($rss->items) && 0 != count($rss->items) ) { ?> <div id="planetnews"> -<h3><?php _e('Other WordPress News'); ?> <a href="http://planet.wordpress.org/"><?php _e('more'); ?> »</a></h3> +<h3><?php if( $custom == false ) { _e('Other WordPress News'); ?> <a href="http://planet.wordpress.org/"><?php _e('more'); ?> »</a><?php } else { ?>Your Custom Feed<?php } ?> </h3> <ul> <?php $rss->items = array_slice($rss->items, 0, 20); |
