mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Add wpspin_light and wpspin_dark spinners
git-svn-id: http://svn.automattic.com/wordpress/trunk@11203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e631b2d341
commit
12924135ce
@ -416,6 +416,7 @@ ul.categorychecklist li {
|
||||
|
||||
#saving {
|
||||
display: inline;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.submit input,
|
||||
|
@ -472,7 +472,7 @@ function post_comment_meta_box($post) {
|
||||
</tr></thead>
|
||||
<tbody id="the-comment-list" class="list:comment"></tbody>
|
||||
</table>
|
||||
<p class="hide-if-no-js"><a href="#commentstatusdiv" id="show-comments" onclick="commentsBox.get(<?php echo $total; ?>);return false;"><?php _e('Show comments'); ?></a> <img class="waiting" style="display:none;" src="images/wpspin.gif" alt="" /></p>
|
||||
<p class="hide-if-no-js"><a href="#commentstatusdiv" id="show-comments" onclick="commentsBox.get(<?php echo $total; ?>);return false;"><?php _e('Show comments'); ?></a> <img class="waiting" style="display:none;" src="images/wpspin_light.gif" alt="" /></p>
|
||||
<?php
|
||||
$hidden = get_hidden_meta_boxes('post');
|
||||
if ( ! in_array('commentsdiv', $hidden) ) { ?>
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 2.2 KiB |
BIN
wp-admin/images/wpspin_dark.gif
Normal file
BIN
wp-admin/images/wpspin_dark.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
BIN
wp-admin/images/wpspin_light.gif
Normal file
BIN
wp-admin/images/wpspin_light.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
@ -963,7 +963,7 @@ class LJ_API_Import {
|
||||
if ( next_counter <= 0 ) {
|
||||
if ( jQuery( '#<?php echo $id ?>' ).length ) {
|
||||
jQuery( "#<?php echo $id ?> input[type='submit']" ).hide();
|
||||
str = '<?php _e( "Continuing" ) ?> <img src="images/wpspin.gif" alt="" id="processing" align="top" />';
|
||||
str = '<?php _e( "Continuing" ) ?> <img src="images/wpspin_light.gif" alt="" id="processing" align="top" />';
|
||||
jQuery( '#<?php echo $msg ?>' ).html( str );
|
||||
jQuery( '#<?php echo $id ?>' ).submit();
|
||||
return;
|
||||
@ -992,7 +992,7 @@ class LJ_API_Import {
|
||||
if ( jQuery( '#<?php echo $id ?>' ).length ) {
|
||||
jQuery( "#<?php echo $id ?> input[type='submit']" ).hide();
|
||||
jQuery.ajaxSetup({'timeout':3600000});
|
||||
str = '<?php _e( "Processing next batch." ) ?> <img src="images/wpspin.gif" alt="" id="processing" align="top" />';
|
||||
str = '<?php _e( "Processing next batch." ) ?> <img src="images/wpspin_light.gif" alt="" id="processing" align="top" />';
|
||||
jQuery( '#<?php echo $msg ?>' ).html( str );
|
||||
jQuery('#ljapi-status').load(ajaxurl, {'action':'lj-importer',
|
||||
'step':jQuery('#step').val(),
|
||||
|
@ -157,7 +157,8 @@ function &get_manifest(&$man_ver) {
|
||||
array('images/icons32-vs.png'),
|
||||
array('images/list.png'),
|
||||
array('images/list-vs.png'),
|
||||
array('images/wpspin.gif'),
|
||||
array('images/wpspin_light.gif'),
|
||||
array('images/wpspin_dark.gif'),
|
||||
array('images/logo.gif'),
|
||||
array('images/logo-ghost.png'),
|
||||
array('images/logo-login.gif'),
|
||||
|
@ -1514,7 +1514,7 @@ var addExtImage = {
|
||||
t.resetImageData();
|
||||
return false;
|
||||
}
|
||||
document.getElementById('status_img').src = 'images/wpspin.gif';
|
||||
document.getElementById('status_img').src = 'images/wpspin_light.gif';
|
||||
t.preloadImg = new Image();
|
||||
t.preloadImg.onload = t.updateImageData;
|
||||
t.preloadImg.onerror = t.resetImageData;
|
||||
|
@ -265,7 +265,7 @@ function inline_edit_term_row($type) {
|
||||
<a accesskey="c" href="#inline-edit" title="<?php _e('Cancel'); ?>" class="cancel button-secondary alignleft"><?php _e('Cancel'); ?></a>
|
||||
<?php $update_text = ( $is_tag ) ? __( 'Update Tag' ) : __( 'Update Category' ); ?>
|
||||
<a accesskey="s" href="#inline-edit" title="<?php echo attr( $update_text ); ?>" class="save button-primary alignright"><?php echo $update_text; ?></a>
|
||||
<img class="waiting" style="display:none;" src="images/wpspin.gif" alt="" />
|
||||
<img class="waiting" style="display:none;" src="images/wpspin_light.gif" alt="" />
|
||||
<span class="error" style="display:none;"></span>
|
||||
<?php wp_nonce_field( 'taxinlineeditnonce', '_inline_edit', false ); ?>
|
||||
<br class="clear" />
|
||||
@ -1258,7 +1258,7 @@ function inline_edit_row( $type ) {
|
||||
$update_text = ( $is_page ) ? __( 'Update Page' ) : __( 'Update Post' );
|
||||
?>
|
||||
<a accesskey="s" href="#inline-edit" title="<?php _e('Update'); ?>" class="button-primary save alignright"><?php echo attr( $update_text ); ?></a>
|
||||
<img class="waiting" style="display:none;" src="images/wpspin.gif" alt="" />
|
||||
<img class="waiting" style="display:none;" src="images/wpspin_light.gif" alt="" />
|
||||
<?php } else {
|
||||
$update_text = ( $is_page ) ? __( 'Update Pages' ) : __( 'Update Posts' );
|
||||
?>
|
||||
@ -2293,7 +2293,7 @@ function wp_comment_reply($position = '1', $checkbox = false, $mode = 'single',
|
||||
<a href="#comments-form" class="save button-primary alignright" tabindex="104">
|
||||
<span id="savebtn" style="display:none;"><?php _e('Update Comment'); ?></span>
|
||||
<span id="replybtn" style="display:none;"><?php _e('Submit Reply'); ?></span></a>
|
||||
<img class="waiting" style="display:none;" src="images/wpspin.gif" alt="" />
|
||||
<img class="waiting" style="display:none;" src="images/wpspin_light.gif" alt="" />
|
||||
<span class="error" style="display:none;"></span>
|
||||
<br class="clear" />
|
||||
</p>
|
||||
|
@ -23,7 +23,7 @@ jQuery(document).ready( function($) {
|
||||
quickPressLoad = function() {
|
||||
var act = $('#quickpost-action'), t;
|
||||
t = $('#quick-press').submit( function() {
|
||||
$('#dashboard_quick_press h3').append( '<img src="images/wpspin.gif" style="margin: 0 6px 0 0; vertical-align: middle" />' );
|
||||
$('#dashboard_quick_press h3').append( '<img src="images/wpspin_light.gif" style="margin: 0 6px 0 0; vertical-align: middle" />' );
|
||||
$('#quick-press .submit input[type="submit"], #quick-press .submit input[type="reset"]').attr('disabled','disabled');
|
||||
|
||||
if ( 'post' == act.val() ) {
|
||||
|
@ -1 +1 @@
|
||||
jQuery(document).ready(function(c){var a,b,d;a=["dashboard_incoming_links","dashboard_primary","dashboard_secondary","dashboard_plugins"];b=function(){c.each(a,function(){var f=jQuery("#"+this+":visible div.inside").find(".widget-loading");if(f.size()){f.parent().load("index-extra.php?jax="+this)}})};b();postboxes.add_postbox_toggles("dashboard",{onShow:b});d=function(){var e=c("#quickpost-action"),f;f=c("#quick-press").submit(function(){c("#dashboard_quick_press h3").append('<img src="images/wpspin.gif" style="margin: 0 6px 0 0; vertical-align: middle" />');c('#quick-press .submit input[type="submit"], #quick-press .submit input[type="reset"]').attr("disabled","disabled");if("post"==e.val()){e.val("post-quickpress-publish")}c("#dashboard_quick_press div.inside").load(f.attr("action"),f.serializeArray(),function(){c("#dashboard_quick_press h3 img").remove();c('#quick-press .submit input[type="submit"], #quick-press .submit input[type="reset"]').attr("disabled","");c("#dashboard_quick_press ul").find("li").each(function(){c("#dashboard_recent_drafts ul").prepend(this)}).end().remove();tb_init("a.thickbox");d()});return false});c("#publish").click(function(){e.val("post-quickpress-publish")})};d()});
|
||||
jQuery(document).ready(function(c){var a,b,d;a=["dashboard_incoming_links","dashboard_primary","dashboard_secondary","dashboard_plugins"];b=function(){c.each(a,function(){var f=jQuery("#"+this+":visible div.inside").find(".widget-loading");if(f.size()){f.parent().load("index-extra.php?jax="+this)}})};b();postboxes.add_postbox_toggles("dashboard",{onShow:b});d=function(){var e=c("#quickpost-action"),f;f=c("#quick-press").submit(function(){c("#dashboard_quick_press h3").append('<img src="images/wpspin_light.gif" style="margin: 0 6px 0 0; vertical-align: middle" />');c('#quick-press .submit input[type="submit"], #quick-press .submit input[type="reset"]').attr("disabled","disabled");if("post"==e.val()){e.val("post-quickpress-publish")}c("#dashboard_quick_press div.inside").load(f.attr("action"),f.serializeArray(),function(){c("#dashboard_quick_press h3 img").remove();c('#quick-press .submit input[type="submit"], #quick-press .submit input[type="reset"]').attr("disabled","");c("#dashboard_quick_press ul").find("li").each(function(){c("#dashboard_recent_drafts ul").prepend(this)}).end().remove();tb_init("a.thickbox");d()});return false});c("#publish").click(function(){e.val("post-quickpress-publish")})};d()});
|
@ -402,7 +402,7 @@ var ajaxurl = '<?php echo admin_url('admin-ajax.php'); ?>';
|
||||
return false;
|
||||
break;
|
||||
case 'photo' :
|
||||
jQuery('#extra_fields').before('<p id="waiting"><img src="images/wpspin.gif" alt="" /> <?php echo js_escape( __( 'Loading...' ) ); ?></p>');
|
||||
jQuery('#extra_fields').before('<p id="waiting"><img src="images/wpspin_light.gif" alt="" /> <?php echo js_escape( __( 'Loading...' ) ); ?></p>');
|
||||
jQuery.ajax({
|
||||
type: "GET",
|
||||
cache : false,
|
||||
@ -463,7 +463,7 @@ var ajaxurl = '<?php echo admin_url('admin-ajax.php'); ?>';
|
||||
<?php } else { ?>
|
||||
<br /><br /><input class="button-primary" type="submit" name="review" value="<?php _ea('Submit for Review') ?>" id="review" />
|
||||
<?php } ?>
|
||||
<img src="images/wpspin.gif" alt="" id="saving" style="display:none;" />
|
||||
<img src="images/wpspin_light.gif" alt="" id="saving" style="display:none;" />
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -357,7 +357,7 @@ require_once( 'admin-header.php' ); ?>
|
||||
<div class="sidebar-name">
|
||||
<div class="sidebar-name-arrow"><br /></div>
|
||||
<h3><?php _e('Inactive Widgets'); ?>
|
||||
<span><img src="images/wpspin.gif" class="ajax-feedback" title="" alt="" /></span></h3></div>
|
||||
<span><img src="images/wpspin_light.gif" class="ajax-feedback" title="" alt="" /></span></h3></div>
|
||||
<div class="widget-holder inactive">
|
||||
<p class="description"><?php _e('Drag widgets here to remove them from the sidebar but keep their settings.'); ?></p>
|
||||
<?php wp_list_widget_controls('wp_inactive_widgets'); ?>
|
||||
@ -379,7 +379,7 @@ foreach ( $wp_registered_sidebars as $sidebar => $registered_sidebar ) {
|
||||
<div class="sidebar-name">
|
||||
<div class="sidebar-name-arrow"><br /></div>
|
||||
<h3><?php echo wp_specialchars( $registered_sidebar['name'] ); ?>
|
||||
<span><img src="images/wpspin.gif" class="ajax-feedback" title="" alt="" /></span></h3></div>
|
||||
<span><img src="images/wpspin_dark.gif" class="ajax-feedback" title="" alt="" /></span></h3></div>
|
||||
<?php wp_list_widget_controls( $sidebar ); // Show the control forms for each of the widgets in this sidebar ?>
|
||||
</div>
|
||||
<?php
|
||||
|
Loading…
Reference in New Issue
Block a user