WordPress.org

Make WordPress Core

Changeset 6606


Ignore:
Timestamp:
01/14/08 03:16:56 (6 years ago)
Author:
matt
Message:

Have footer stay at the bottom even on short pages in long windows. Hat tip: DD32.

Location:
trunk/wp-admin
Files:
4 edited

Legend:

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

    r6026 r6606  
    1  
     1</div><!-- wpcontent --> 
     2</div><!-- wpwrap --> 
    23<div id="footer"> 
    34<p><?php 
    4  
     5do_action('in_admin_footer', ''); 
    56$upgrade = apply_filters( 'update_footer', '' ); 
    67echo __('Thank you for creating with <a href="http://wordpress.org/">WordPress</a>').' | '.__('<a href="http://codex.wordpress.org/">Documentation</a>').' | '.__('<a href="http://wordpress.org/support/forum/4">Feedback</a>').' '.$upgrade; 
    7  
    88?></p> 
    99</div> 
  • trunk/wp-admin/admin-header.php

    r6588 r6606  
    3737</head> 
    3838<body class="wp-admin <?php echo apply_filters( 'admin_body_class', '' ); ?>"> 
     39<div id="wpwrap"> 
     40<div id="wpcontent"> 
    3941<div id="wphead"> 
    4042<h1><?php bloginfo('name'); ?> <span id="viewsite"><a href="<?php echo get_option('home') . '/'; ?>"><?php _e('Visit Site') ?></a></span></h1> 
  • trunk/wp-admin/includes/template.php

    r6597 r6606  
    665665    $getit = __( 'WordPress recommends a better browser' ); 
    666666    echo ' 
    667         <p id="bh" style="text-align: center;"><a href="http://browsehappy.com/" title="'.$getit.'"><img src="images/browse-happy.gif" alt="Browse Happy" /></a></p> 
     667        <p id="bh" style="float: right"><a href="http://browsehappy.com/" title="'.$getit.'"><img src="images/browse-happy.gif" alt="Browse Happy" /></a></p> 
    668668        '; 
    669669} 
    670670 
    671671if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false) 
    672     add_action( 'admin_footer', 'browse_happy' ); 
     672    add_action( 'in_admin_footer', 'browse_happy' ); 
    673673 
    674674function the_attachment_links( $id = false ) { 
  • trunk/wp-admin/wp-admin.css

    r6605 r6606  
    972972/* Admin Footer */ 
    973973 
     974html, body { 
     975    height:100%; 
     976} 
     977#wpwrap {  
     978    position: relative;  
     979    min-height: 100%; 
     980} 
     981#wpcontent{ 
     982    padding-bottom: 65px; 
     983} 
    974984#footer { 
    975985    clear: both; 
     
    979989    background: #464646 url('images/logo-ghost.png') no-repeat 20px 10px; 
    980990    color: #999; 
     991    position: relative;  
     992    margin-top: -75px;  
    981993} 
    982994 
     
    13061318.ui-tabs-hide { display: none; } 
    13071319.form-input-tip { color: #999; } 
     1320 
Note: See TracChangeset for help on using the changeset viewer.