Changeset 5892

Show
Ignore:
Timestamp:
08/17/07 10:33:52 (1 year ago)
Author:
matt
Message:

First pass at upgrade notification for core, see #1476. Also includes some minor footer styling changes.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/admin-footer.php

    r5470 r5892  
    11 
    22<div id="footer"> 
    3 <p class="logo"><a href="http://wordpress.org/" id="wordpress-logo"><img src="images/wordpress-logo.png" alt="WordPress" /></a></p> 
    4 <p class="docs"><?php _e('<a href="http://codex.wordpress.org/">Documentation</a>'); ?> &#8212; <?php _e('<a href="http://wordpress.org/support/">Support Forums</a>'); ?><br /> 
    5 <?php printf( __('Version %s'), get_bloginfo('version') ); ?></p> 
     3<p><?php  
     4 
     5$upgrade = apply_filters( 'update_footer', '' ); 
     6printf( __( 'Thank you for creating with <a href="%s">WordPress</a> | <a href="%s">Documentation</a> | <a href="%s">Feedback</a> %s' ), 'http://wordpress.org/', 'http://codex.wordpress.org/', 'http://wordpress.org/support/forum/4', $upgrade )  
     7 
     8?></p> 
    69</div> 
    710<?php do_action('admin_footer', ''); ?> 
  • trunk/wp-admin/admin-header.php

    r5883 r5892  
    4343?> 
    4444</head> 
    45 <body
     45<body class="wp-admin <?php echo apply_filters( 'admin_body_class', '' ); ?>"
    4646<div id="wphead"> 
    4747<h1><?php bloginfo('name'); ?> <span id="viewsite">(<a href="<?php echo get_option('home') . '/'; ?>"><?php _e('View site &raquo;') ?></a>)</span></h1> 
  • trunk/wp-admin/includes/admin.php

    r5566 r5892  
    1313require_once(ABSPATH . 'wp-admin/includes/theme.php'); 
    1414require_once(ABSPATH . 'wp-admin/includes/user.php'); 
     15require_once(ABSPATH . 'wp-admin/includes/update.php'); 
    1516 
    1617require_once(ABSPATH . WPINC . '/registration.php'); 
  • trunk/wp-admin/wp-admin.css

    r5883 r5892  
    176176} 
    177177 
    178 img, #footer a
     178img
    179179    border: 0; 
    180180} 
     
    654654#footer { 
    655655    clear: both; 
    656     text-align: center; 
    657     width: 500px; 
    658     margin: auto; 
    659     height: 100px; 
    660 
    661  
    662 #footer .docs { 
    663     padding-top: 19px; 
    664     line-height: 160%; 
    665 
    666  
    667 #footer .docs a { 
    668     text-decoration: underline; 
    669 
    670 #footer .logo { 
    671     float: left; 
    672     margin: 0; 
    673     padding: 0; 
     656    height: 35px; 
     657    padding-left: 40px; 
     658    margin: 15px 5%; 
     659    background: url('images/logo-ghost.png') no-repeat top left; 
     660
     661 
     662#footer p { 
     663    margin: 0; 
     664    padding: 5px 0; 
    674665} 
    675666 
     
    13391330    text-decoration:underline; 
    13401331} 
     1332 
     1333#update-nag { 
     1334    width: 100%; 
     1335    position: absolute; 
     1336    top: 0; 
     1337    left: 0; 
     1338    background: #fff; 
     1339    border-bottom: 2px solid #911; 
     1340    text-align: center; 
     1341    font-size: 11px; 
     1342    height: 18px; 
     1343} 
     1344 
     1345.nagtime { 
     1346    padding-top: 15px; 
     1347} 
     1348 
     1349.nagtime #user_info { 
     1350    top: 17px ; 
     1351} 
  • trunk/wp-settings.php

    r5890 r5892  
    194194require (ABSPATH . WPINC . '/script-loader.php'); 
    195195require (ABSPATH . WPINC . '/taxonomy.php'); 
     196require (ABSPATH . WPINC . '/update.php'); 
    196197require (ABSPATH . WPINC . '/canonical.php'); 
    197198