mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
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:
parent
66dfd6f478
commit
a15cb1971e
@ -16,12 +16,9 @@
|
|||||||
<p><?php
|
<p><?php
|
||||||
do_action('in_admin_footer', '');
|
do_action('in_admin_footer', '');
|
||||||
$upgrade = apply_filters( 'update_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;
|
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>';
|
||||||
|
?>
|
||||||
$quick_edit_help = array( 'edit.php', 'edit-pages.php', 'edit-comments.php', 'edit-tags.php', 'categories.php', 'edit-link-categories.php' );
|
</p>
|
||||||
if ( in_array($pagenow, $quick_edit_help) )
|
|
||||||
echo '<br />' . __('Hint: double-click on a row to open Quick Edit.');
|
|
||||||
?></p>
|
|
||||||
</div>
|
</div>
|
||||||
<?php do_action('admin_footer', ''); ?>
|
<?php do_action('admin_footer', ''); ?>
|
||||||
<script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
|
<script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
|
||||||
|
@ -421,7 +421,7 @@ input.readonly {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#footer {
|
#footer {
|
||||||
background: url(../images/logo-ghost.png) #464646 no-repeat 20px 10px;
|
background: #464646;
|
||||||
color: #999;
|
color: #999;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,18 +21,18 @@ function core_update_footer( $msg = '' ) {
|
|||||||
|
|
||||||
switch ( $cur->response ) {
|
switch ( $cur->response ) {
|
||||||
case 'development' :
|
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;
|
break;
|
||||||
|
|
||||||
case 'upgrade' :
|
case 'upgrade' :
|
||||||
if ( current_user_can('manage_options') ) {
|
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;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case 'latest' :
|
case 'latest' :
|
||||||
default :
|
default :
|
||||||
return sprintf( '| '.__( 'Version %s' ), $GLOBALS['wp_version'] );
|
return sprintf( __( 'Version %s' ), $GLOBALS['wp_version'] );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -952,16 +952,26 @@ html, body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#footer {
|
#footer {
|
||||||
|
font: 12px Georgia, "Times New Roman", Times, serif;
|
||||||
clear: both;
|
clear: both;
|
||||||
font-size: 12px;
|
height: 45px;
|
||||||
height: 75px;
|
margin-top: -45px;
|
||||||
margin-top: -75px;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#footer #footer-thankyou, #footer #footer-upgrade {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer #footer-upgrade {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 12px;
|
||||||
|
right: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
#footer p {
|
#footer p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 17px 0 7px 60px;
|
padding: 17px 0 7px 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer p a {
|
#footer p a {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user