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:
@@ -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>
|
||||
@@ -443,7 +443,7 @@ input.readonly {
|
||||
color: #777;
|
||||
}
|
||||
|
||||
#footer {
|
||||
#footer, #footer-upgrade {
|
||||
background: #464646;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user