[wp-cvs]
wordpress/wp-admin index.php, 1.11, 1.12 wp-admin.css, 1.78, 1.79
Matthew Mullenweg
saxmatt at users.sourceforge.net
Sun Dec 19 02:30:41 UTC 2004
- Previous message: [wp-cvs] wordpress/wp-admin edit-form-advanced.php, 1.47,
1.48 wp-admin.css, 1.77, 1.78
- Next message: [wp-cvs] wordpress/wp-includes class-snoopy.php, NONE,
1.1 rss-functions.php, NONE, 1.1 functions.php, 1.225,
1.226 version.php, 1.21, 1.22
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29977/wp-admin
Modified Files:
index.php wp-admin.css
Log Message:
New aggregation code (hat tip: Chris Davis/Jesuit), tweaked style, fixed login updater, new dashboard.
Index: wp-admin.css
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/wp-admin.css,v
retrieving revision 1.78
retrieving revision 1.79
diff -C2 -d -r1.78 -r1.79
*** wp-admin.css 19 Dec 2004 00:26:32 -0000 1.78
--- wp-admin.css 19 Dec 2004 02:30:38 -0000 1.79
***************
*** 6,9 ****
--- 6,10 ----
padding: 1em;
border: 1px solid #69c;
+ margin-left: 1em;
}
Index: index.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/index.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** index.php 19 Dec 2004 00:10:09 -0000 1.11
--- index.php 19 Dec 2004 02:30:38 -0000 1.12
***************
*** 3,6 ****
--- 3,7 ----
$title = __('Dashboard');
require_once('admin-header.php');
+ require_once (ABSPATH . WPINC . '/rss-functions.php');
$today = current_time('mysql');
***************
*** 14,18 ****
?>
<div>
! <h3><?php _e('Posts'); ?></h3>
<ul>
<?php
--- 15,19 ----
?>
<div>
! <h3><?php _e('Posts'); ?> <a href="edit.php" title="<?php _e('More posts...'); ?>">»</a></h3>
<ul>
<?php
***************
*** 50,54 ****
?>
<div>
! <h3><?php _e('Comments'); ?></h3>
<ul>
<?php
--- 51,55 ----
?>
<div>
! <h3><?php _e('Comments'); ?> <a href="edit-comments.php" title="<?php _e('More comments...'); ?>">»</a></h3>
<ul>
<?php
***************
*** 63,67 ****
if ( $numcomments = $wpdb->get_var("SELECT COUNT(*) FROM $tablecomments WHERE comment_approved = '0'") ) :
?>
! <p><a href="moderation.php"><?php echo sprintf(__('There are comments in moderation (%s)'), number_format($numcomments) ); ?> »</a></p>
<?php endif; ?>
</div>
--- 64,68 ----
if ( $numcomments = $wpdb->get_var("SELECT COUNT(*) FROM $tablecomments WHERE comment_approved = '0'") ) :
?>
! <p><strong><a href="moderation.php"><?php echo sprintf(__('There are comments in moderation (%s)'), number_format($numcomments) ); ?> »</a></strong></p>
<?php endif; ?>
</div>
***************
*** 86,103 ****
</div>
! <h2><?php _e('Dashboard'); ?></h2>
<br clear="all" />
</div>
! <div class="wrap">
! <p>
! <strong>
! <?php _e('Your Drafts:') ?>
! </strong>
! <br />
! <?php
! get_currentuserinfo();
! $drafts = $wpdb->get_results("SELECT ID, post_title FROM $tableposts WHERE post_status = 'draft' AND post_author = $user_ID");
if ($drafts) {
! ?>
<?php
$i = 0;
--- 87,116 ----
</div>
! <h2><?php _e('Dashboard'); ?></h2>
! <p><?php _e('Below is the latest news from the official WordPress development blog, click on a title to read the full entry.'); ?></p>
! <?php
! $rss = @fetch_rss('http://wordpress.org/development/feed/');
! if ( $rss ) {
! ?>
! <h3>WordPress Development Blog</h3>
! <?php
! $rss->items = array_slice($rss->items, 0, 4);
! foreach ($rss->items as $item ) {
! ?>
! <h4><a href='<?php echo $item['link']; ?>'><?php echo wp_specialchars($item['title']); ?></a></h4>
! <p><?php echo $item['description']; ?></p>
! <?php
! }
! }
! ?>
<br clear="all" />
</div>
! <?php
! $drafts = $wpdb->get_results("SELECT ID, post_title FROM $wpdb->posts WHERE post_status = 'draft' AND post_author = $user_ID");
if ($drafts) {
! ?>
! <div class="wrap">
!
! <p><strong><?php _e('Your Drafts:') ?></strong>
<?php
$i = 0;
***************
*** 108,120 ****
if ($draft->post_title == '')
$draft->post_title = sprintf(__('Post #%s'), $draft->ID);
! echo "<a href='post.php?action=edit&post=$draft->ID' title='" . __('Edit this draft') . "'>$draft->post_title</a>";
++$i;
}
! }else{
! echo ('No Entries found.');
! }
! ?>
! </p>
! </div>
<?php
require('./admin-footer.php');
--- 121,131 ----
if ($draft->post_title == '')
$draft->post_title = sprintf(__('Post #%s'), $draft->ID);
! echo "<a href='post.php?action=edit&post=$draft->ID' title='" . __('Edit this draft') . "'>$draft->post_title</a>";
++$i;
}
! ?>
! .</p>
! </div>
! <?php } ?>
<?php
require('./admin-footer.php');
- Previous message: [wp-cvs] wordpress/wp-admin edit-form-advanced.php, 1.47,
1.48 wp-admin.css, 1.77, 1.78
- Next message: [wp-cvs] wordpress/wp-includes class-snoopy.php, NONE,
1.1 rss-functions.php, NONE, 1.1 functions.php, 1.225,
1.226 version.php, 1.21, 1.22
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cvs
mailing list