[wp-cvs] wordpress/wp-admin index.php, 1.15, 1.16 upgrade-schema.php, 1.20, 1.21 wp-admin.css, 1.82, 1.83

Matthew Mullenweg saxmatt at users.sourceforge.net
Tue Feb 1 09:52:38 GMT 2005


Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14461/wp-admin

Modified Files:
	index.php upgrade-schema.php wp-admin.css 
Log Message:
Dashboard and option tweaks

Index: wp-admin.css
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/wp-admin.css,v
retrieving revision 1.82
retrieving revision 1.83
diff -C2 -d -r1.82 -r1.83
*** wp-admin.css	6 Jan 2005 09:52:11 -0000	1.82
--- wp-admin.css	1 Feb 2005 09:52:36 -0000	1.83
***************
*** 506,510 ****
  	border-bottom: 1px solid #ccc;
  	font-size: 16px;
! 	margin: 1em 0;
  }
  
--- 506,515 ----
  	border-bottom: 1px solid #ccc;
  	font-size: 16px;
! 	margin: 1em 0 0;
! }
! 
! #zeitgeist h3 cite {
! 	font-size: 12px;
! 	font-style: normal;
  }
  

Index: upgrade-schema.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/upgrade-schema.php,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** upgrade-schema.php	31 Jan 2005 06:38:11 -0000	1.20
--- upgrade-schema.php	1 Feb 2005 09:52:36 -0000	1.21
***************
*** 73,77 ****
    option_can_override enum('Y','N') NOT NULL default 'Y',
    option_type int(11) NOT NULL default '1',
!   option_value text NOT NULL,
    option_width int(11) NOT NULL default '20',
    option_height int(11) NOT NULL default '8',
--- 73,77 ----
    option_can_override enum('Y','N') NOT NULL default 'Y',
    option_type int(11) NOT NULL default '1',
!   option_value longtext NOT NULL,
    option_width int(11) NOT NULL default '20',
    option_height int(11) NOT NULL default '8',

Index: index.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/index.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** index.php	15 Jan 2005 00:56:42 -0000	1.15
--- index.php	1 Feb 2005 09:52:36 -0000	1.16
***************
*** 85,88 ****
--- 85,105 ----
  </div>
  
+ <?php
+ $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) ) {
+ ?>
+ <div>
+ <h3><?php _e('Incoming Links'); ?> <cite><a href="http://feedster.com/links.php?url=<?php echo trailingslashit(get_option('home')); ?>"><?php _e('More'); ?> &raquo;</a></cite></h3>
+ <ul>
+ <?php
+ $rss->items = array_slice($rss->items, 0, 6);
+ foreach ($rss->items as $item ) {
+ ?>
+ 	<li><a href="<?php echo wp_filter_kses($item['link']); ?>"><?php echo wp_specialchars($item['title']); ?></a></li>
+ <?php } ?>
+ </ul>
+ </div>
+ <?php } ?>
+ 
  </div>
  
***************
*** 95,102 ****
  <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> &#8212; <?php echo human_time_diff( strtotime($item['pubdate'], time() ) ); ?> <?php _e('ago'); ?></h4>
  <p><?php echo $item['description']; ?></p>
  <?php
--- 112,119 ----
  <h3>WordPress Development Blog</h3>
  <?php
! $rss->items = array_slice($rss->items, 0, 3);
  foreach ($rss->items as $item ) {
  ?>
! <h4><a href='<?php echo wp_filter_kses($item['link']); ?>'><?php echo wp_specialchars($item['title']); ?></a> &#8212; <?php echo human_time_diff( strtotime($item['pubdate'], time() ) ); ?> <?php _e('ago'); ?></h4>
  <p><?php echo $item['description']; ?></p>
  <?php
***************
*** 104,107 ****
--- 121,145 ----
  }
  ?>
+ 
+ <?php
+ $rss = @fetch_rss('http://planet.wordpress.org/feed/');
+ //var_dump($rss);
+ if ( $rss ) {
+ ?>
+ <h3><?php _e('Other WordPress News'); ?> <a href="http://planet.wordpress.org/"><?php _e('more'); ?> &raquo;</a></h3>
+ <ul>
+ <?php
+ $rss->items = array_slice($rss->items, 0, 20);
+ foreach ($rss->items as $item ) {
+ ?>
+ <li><a href='<?php echo wp_filter_kses($item['link']); ?>'><?php echo wp_specialchars($item['title']); ?></a></li>
+ <?php
+ 	}
+ ?>
+ </ul>
+ <?php
+ }
+ ?>
+ 
  <br clear="all" />
  </div>



More information about the cvs mailing list