New footer style, first draft

git-svn-id: http://svn.automattic.com/wordpress/trunk@9269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2008-10-21 22:27:41 +00:00
parent 66dfd6f478
commit a15cb1971e
4 changed files with 21 additions and 14 deletions

View File

@ -16,12 +16,9 @@
<p><?php
do_action('in_admin_footer', '');
$upgrade = apply_filters( 'update_footer', '' );
echo __('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;
$quick_edit_help = array( 'edit.php', 'edit-pages.php', 'edit-comments.php', 'edit-tags.php', 'categories.php', 'edit-link-categories.php' );
if ( in_array($pagenow, $quick_edit_help) )
echo '<br />' . __('Hint: double-click on a row to open Quick Edit.');
?></p>
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>';
?>
</p>
</div>
<?php do_action('admin_footer', ''); ?>
<script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>

View File

@ -421,7 +421,7 @@ input.readonly {
}
#footer {
background: url(../images/logo-ghost.png) #464646 no-repeat 20px 10px;
background: #464646;
color: #999;
}

View File

@ -21,18 +21,18 @@ function core_update_footer( $msg = '' ) {
switch ( $cur->response ) {
case 'development' :
return sprintf( '| '.__( 'You are using a development version (%1$s). Cool! Please <a href="%2$s">stay updated</a>.' ), $GLOBALS['wp_version'], 'update.php?action=upgrade-core');
return sprintf( __( 'You are using a development version (%1$s). Cool! Please <a href="%2$s">stay updated</a>.' ), $GLOBALS['wp_version'], 'update.php?action=upgrade-core');
break;
case 'upgrade' :
if ( current_user_can('manage_options') ) {
return sprintf( '| <strong>'.__( '<a href="%1$s">Get Version %2$s</a>' ).'</strong>', wp_nonce_url('update.php?action=upgrade-core', 'upgrade-core'), $cur->current);
return sprintf( '<strong>'.__( '<a href="%1$s">Get Version %2$s</a>' ).'</strong>', wp_nonce_url('update.php?action=upgrade-core', 'upgrade-core'), $cur->current);
break;
}
case 'latest' :
default :
return sprintf( '| '.__( 'Version %s' ), $GLOBALS['wp_version'] );
return sprintf( __( 'Version %s' ), $GLOBALS['wp_version'] );
break;
}
}

View File

@ -952,16 +952,26 @@ html, body {
}
#footer {
font: 12px Georgia, "Times New Roman", Times, serif;
clear: both;
font-size: 12px;
height: 75px;
margin-top: -75px;
height: 45px;
margin-top: -45px;
position: relative;
}
#footer #footer-thankyou, #footer #footer-upgrade {
font-style: italic;
}
#footer #footer-upgrade {
position: absolute;
bottom: 12px;
right: 15px;
}
#footer p {
margin: 0;
padding: 17px 0 7px 60px;
padding: 17px 0 7px 15px;
}
#footer p a {