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 {