From d409315d8c9b7619bb6423a1d1fa39c5602bb87f Mon Sep 17 00:00:00 2001 From: azaozz Date: Fri, 1 May 2009 19:43:22 +0000 Subject: [PATCH] Add wpspin.gif and replace all spinners git-svn-id: http://svn.automattic.com/wordpress/trunk@11150 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-form-advanced.php | 2 +- wp-admin/images/wpspin.gif | Bin 0 -> 2285 bytes wp-admin/import/livejournal.php | 4 ++-- wp-admin/includes/manifest.php | 3 +-- wp-admin/includes/media.php | 2 +- wp-admin/includes/template.php | 6 +++--- wp-admin/js/dashboard.dev.js | 2 +- wp-admin/js/dashboard.js | 2 +- wp-admin/press-this.php | 4 ++-- wp-admin/widgets.php | 4 ++-- 10 files changed, 14 insertions(+), 15 deletions(-) create mode 100644 wp-admin/images/wpspin.gif diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 0d9d56336..f1f0a8589 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -477,7 +477,7 @@ function post_comment_meta_box($post) { -

+

diff --git a/wp-admin/images/wpspin.gif b/wp-admin/images/wpspin.gif new file mode 100644 index 0000000000000000000000000000000000000000..80fc8088ffbde78ca2748696be5bb110ba2b3383 GIT binary patch literal 2285 zcmcJQYfu&E8OL{F-LSZqvrBe;*y1{`A&JBEu~BQdDZ(PT2y+Gw22H2siCza;I4+C6+eU;Eo< zKfk~IKhN{7!)4FdT4KX&*nJFp^5n^nF~0xt`xU;8@xZDFR#|-U;ENcGi;MH~^Ai>y z#~2+Q9gMv(`eIMtpH>J2Is<`#&*FHD!&V(WT)x78@dWJufbnE?Zg#;=b9-L)rsvZW zaq9@<-^8k?FoJk)8*dd*cJ^L&xC7r4~pzi$qSy`%f~3}Uh-2%;$Y+h$B84Tl7koa-Gsghy+jgO=YvZ7pP9U)D>0H$a4kcpkrl<8t9;|1iO+hJVSZp*c7 zir&^eSG6^;S>~c;sW!XX{_}?AV)+?vq&t$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0bfI@(n)QFn*_m1KfxZHU@#U;`I`YMQZ&}!PI%Q b2MS{oq9p4+BuxOXIG4r1MFawt>5KmZnZuPO literal 0 HcmV?d00001 diff --git a/wp-admin/import/livejournal.php b/wp-admin/import/livejournal.php index 78fdfb9a9..7ca14eea6 100644 --- a/wp-admin/import/livejournal.php +++ b/wp-admin/import/livejournal.php @@ -963,7 +963,7 @@ class LJ_API_Import { if ( next_counter <= 0 ) { if ( jQuery( '#' ).length ) { jQuery( "# input[type='submit']" ).hide(); - str = ' '; + str = ' '; jQuery( '#' ).html( str ); jQuery( '#' ).submit(); return; @@ -992,7 +992,7 @@ class LJ_API_Import { if ( jQuery( '#' ).length ) { jQuery( "# input[type='submit']" ).hide(); jQuery.ajaxSetup({'timeout':3600000}); - str = ' '; + str = ' '; jQuery( '#' ).html( str ); jQuery('#ljapi-status').load(ajaxurl, {'action':'lj-importer', 'step':jQuery('#step').val(), diff --git a/wp-admin/includes/manifest.php b/wp-admin/includes/manifest.php index c96ea0365..df173faea 100644 --- a/wp-admin/includes/manifest.php +++ b/wp-admin/includes/manifest.php @@ -152,8 +152,7 @@ function &get_manifest(&$man_ver) { array('images/icons32-vs.png'), array('images/list.png'), array('images/list-vs.png'), - array('images/loading.gif'), - array('images/loading-publish.gif'), + array('images/wpspin.gif'), array('images/logo.gif'), array('images/logo-ghost.png'), array('images/logo-login.gif'), diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index 4c3356231..ba1c27918 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -1509,7 +1509,7 @@ var addExtImage = { t.resetImageData(); return false; } - document.getElementById('status_img').src = 'images/loading.gif'; + document.getElementById('status_img').src = 'images/wpspin.gif'; t.preloadImg = new Image(); t.preloadImg.onload = t.updateImageData; t.preloadImg.onerror = t.resetImageData; diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 7efacad2a..2bfa80a9a 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -265,7 +265,7 @@ function inline_edit_term_row($type) { - +
@@ -1257,7 +1257,7 @@ function inline_edit_row( $type ) { $update_text = ( $is_page ) ? __( 'Update Page' ) : __( 'Update Post' ); ?> - + @@ -2292,7 +2292,7 @@ function wp_comment_reply($position = '1', $checkbox = false, $mode = 'single', - +

diff --git a/wp-admin/js/dashboard.dev.js b/wp-admin/js/dashboard.dev.js index 035ae5c9f..e8773c3e8 100644 --- a/wp-admin/js/dashboard.dev.js +++ b/wp-admin/js/dashboard.dev.js @@ -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( '' ); + $('#dashboard_quick_press h3').append( '' ); $('#quick-press .submit input[type="submit"], #quick-press .submit input[type="reset"]').attr('disabled','disabled'); if ( 'post' == act.val() ) { diff --git a/wp-admin/js/dashboard.js b/wp-admin/js/dashboard.js index 1e3df70b6..d40b9fb98 100644 --- a/wp-admin/js/dashboard.js +++ b/wp-admin/js/dashboard.js @@ -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('');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()}); \ No newline at end of file +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('');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()}); \ No newline at end of file diff --git a/wp-admin/press-this.php b/wp-admin/press-this.php index 24481cb53..6f3b2ec5a 100644 --- a/wp-admin/press-this.php +++ b/wp-admin/press-this.php @@ -400,7 +400,7 @@ var ajaxurl = ''; return false; break; case 'photo' : - jQuery('#extra_fields').before('

'); + jQuery('#extra_fields').before('

'); jQuery.ajax({ type: "GET", cache : false, @@ -461,7 +461,7 @@ var ajaxurl = '';

- +

diff --git a/wp-admin/widgets.php b/wp-admin/widgets.php index 1d8cebf2e..959da5d49 100644 --- a/wp-admin/widgets.php +++ b/wp-admin/widgets.php @@ -343,7 +343,7 @@ require_once( 'admin-header.php' ); ?>
+


@@ -359,7 +359,7 @@ foreach ( $wp_registered_sidebars as $sidebar => $registered_sidebar ) { continue; ?>
+