Implement admin footer with margin, not height, so that people can add stuff to it.

git-svn-id: http://svn.automattic.com/wordpress/trunk@9393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2008-10-29 03:51:16 +00:00
parent 6631641b54
commit fd24df7b4a
4 changed files with 6 additions and 13 deletions

View File

@ -14,7 +14,7 @@
<div id="footer">
<p><?php
do_action('in_admin_footer', '');
do_action( 'in_admin_footer' );
$upgrade = apply_filters( 'update_footer', '' );
echo '<span id="footer-thankyou">' . __('Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.').'</span> | '.__('<a href="http://codex.wordpress.org/">Documentation</a>').' | '.__('<a href="http://wordpress.org/support/forum/4">Feedback</a>').' <span id="footer-upgrade">'.$upgrade . '</span>';
?>
@ -23,4 +23,4 @@ echo '<span id="footer-thankyou">' . __('Thank you for creating with <a href="ht
<?php do_action('admin_footer', ''); ?>
<script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
</body>
</html>
</html>

View File

@ -443,7 +443,7 @@ input.readonly {
color: #777;
}
#footer {
#footer, #footer-upgrade {
background: #464646;
color: #999;
}

View File

@ -1094,13 +1094,6 @@ html, body {
#footer {
word-spacing: .3em;
font-size: 11px;
height: 45px;
margin-top: -45px;
}
#in-footer {
padding: 15px 0 0 15px;
float: left;
}
#footer #footer-thankyou, #footer #footer-upgrade {
@ -1117,7 +1110,7 @@ html, body {
#footer p {
margin: 0;
padding: 15px 0 0 15px;
padding: 15px;
}
#footer p a {

View File

@ -308,14 +308,14 @@ function wp_default_styles( &$styles ) {
$rtl_styles = array( 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'press-this-ie' );
$styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20081024' );
$styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20081028' );
$styles->add_data( 'wp-admin', 'rtl', '/wp-admin/rtl.css' );
$styles->add( 'ie', '/wp-admin/css/ie.css' );
$styles->add_data( 'ie', 'conditional', 'gte IE 6' );
$styles->add( 'colors', true ); // Register "meta" stylesheet for admin colors
$styles->add( 'colors-fresh', '/wp-admin/css/colors-fresh.css', array(), '20081023'); // for login.php. Is there a better way?
$styles->add( 'colors-fresh', '/wp-admin/css/colors-fresh.css', array(), '20081028'); // for login.php. Is there a better way?
$styles->add_data( 'colors-fresh', 'rtl', true );
$styles->add( 'global', '/wp-admin/css/global.css', array(), '20081013' );