Add wpspin_light and wpspin_dark spinners
git-svn-id: https://develop.svn.wordpress.org/trunk@11203 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0423851d49
commit
8788a2520e
|
@ -416,6 +416,7 @@ ul.categorychecklist li {
|
||||||
|
|
||||||
#saving {
|
#saving {
|
||||||
display: inline;
|
display: inline;
|
||||||
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.submit input,
|
.submit input,
|
||||||
|
|
|
@ -472,7 +472,7 @@ function post_comment_meta_box($post) {
|
||||||
</tr></thead>
|
</tr></thead>
|
||||||
<tbody id="the-comment-list" class="list:comment"></tbody>
|
<tbody id="the-comment-list" class="list:comment"></tbody>
|
||||||
</table>
|
</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
|
<?php
|
||||||
$hidden = get_hidden_meta_boxes('post');
|
$hidden = get_hidden_meta_boxes('post');
|
||||||
if ( ! in_array('commentsdiv', $hidden) ) { ?>
|
if ( ! in_array('commentsdiv', $hidden) ) { ?>
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 2.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
|
@ -963,7 +963,7 @@ class LJ_API_Import {
|
||||||
if ( next_counter <= 0 ) {
|
if ( next_counter <= 0 ) {
|
||||||
if ( jQuery( '#<?php echo $id ?>' ).length ) {
|
if ( jQuery( '#<?php echo $id ?>' ).length ) {
|
||||||
jQuery( "#<?php echo $id ?> input[type='submit']" ).hide();
|
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 $msg ?>' ).html( str );
|
||||||
jQuery( '#<?php echo $id ?>' ).submit();
|
jQuery( '#<?php echo $id ?>' ).submit();
|
||||||
return;
|
return;
|
||||||
|
@ -992,7 +992,7 @@ class LJ_API_Import {
|
||||||
if ( jQuery( '#<?php echo $id ?>' ).length ) {
|
if ( jQuery( '#<?php echo $id ?>' ).length ) {
|
||||||
jQuery( "#<?php echo $id ?> input[type='submit']" ).hide();
|
jQuery( "#<?php echo $id ?> input[type='submit']" ).hide();
|
||||||
jQuery.ajaxSetup({'timeout':3600000});
|
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( '#<?php echo $msg ?>' ).html( str );
|
||||||
jQuery('#ljapi-status').load(ajaxurl, {'action':'lj-importer',
|
jQuery('#ljapi-status').load(ajaxurl, {'action':'lj-importer',
|
||||||
'step':jQuery('#step').val(),
|
'step':jQuery('#step').val(),
|
||||||
|
|
|
@ -157,7 +157,8 @@ function &get_manifest(&$man_ver) {
|
||||||
array('images/icons32-vs.png'),
|
array('images/icons32-vs.png'),
|
||||||
array('images/list.png'),
|
array('images/list.png'),
|
||||||
array('images/list-vs.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.gif'),
|
||||||
array('images/logo-ghost.png'),
|
array('images/logo-ghost.png'),
|
||||||
array('images/logo-login.gif'),
|
array('images/logo-login.gif'),
|
||||||
|
|
|
@ -1514,7 +1514,7 @@ var addExtImage = {
|
||||||
t.resetImageData();
|
t.resetImageData();
|
||||||
return false;
|
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 = new Image();
|
||||||
t.preloadImg.onload = t.updateImageData;
|
t.preloadImg.onload = t.updateImageData;
|
||||||
t.preloadImg.onerror = t.resetImageData;
|
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>
|
<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' ); ?>
|
<?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>
|
<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>
|
<span class="error" style="display:none;"></span>
|
||||||
<?php wp_nonce_field( 'taxinlineeditnonce', '_inline_edit', false ); ?>
|
<?php wp_nonce_field( 'taxinlineeditnonce', '_inline_edit', false ); ?>
|
||||||
<br class="clear" />
|
<br class="clear" />
|
||||||
|
@ -1258,7 +1258,7 @@ function inline_edit_row( $type ) {
|
||||||
$update_text = ( $is_page ) ? __( 'Update Page' ) : __( 'Update Post' );
|
$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>
|
<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 {
|
<?php } else {
|
||||||
$update_text = ( $is_page ) ? __( 'Update Pages' ) : __( 'Update Posts' );
|
$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">
|
<a href="#comments-form" class="save button-primary alignright" tabindex="104">
|
||||||
<span id="savebtn" style="display:none;"><?php _e('Update Comment'); ?></span>
|
<span id="savebtn" style="display:none;"><?php _e('Update Comment'); ?></span>
|
||||||
<span id="replybtn" style="display:none;"><?php _e('Submit Reply'); ?></span></a>
|
<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>
|
<span class="error" style="display:none;"></span>
|
||||||
<br class="clear" />
|
<br class="clear" />
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -23,7 +23,7 @@ jQuery(document).ready( function($) {
|
||||||
quickPressLoad = function() {
|
quickPressLoad = function() {
|
||||||
var act = $('#quickpost-action'), t;
|
var act = $('#quickpost-action'), t;
|
||||||
t = $('#quick-press').submit( function() {
|
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');
|
$('#quick-press .submit input[type="submit"], #quick-press .submit input[type="reset"]').attr('disabled','disabled');
|
||||||
|
|
||||||
if ( 'post' == act.val() ) {
|
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;
|
return false;
|
||||||
break;
|
break;
|
||||||
case 'photo' :
|
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({
|
jQuery.ajax({
|
||||||
type: "GET",
|
type: "GET",
|
||||||
cache : false,
|
cache : false,
|
||||||
|
@ -463,7 +463,7 @@ var ajaxurl = '<?php echo admin_url('admin-ajax.php'); ?>';
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<br /><br /><input class="button-primary" type="submit" name="review" value="<?php _ea('Submit for Review') ?>" id="review" />
|
<br /><br /><input class="button-primary" type="submit" name="review" value="<?php _ea('Submit for Review') ?>" id="review" />
|
||||||
<?php } ?>
|
<?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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -357,7 +357,7 @@ require_once( 'admin-header.php' ); ?>
|
||||||
<div class="sidebar-name">
|
<div class="sidebar-name">
|
||||||
<div class="sidebar-name-arrow"><br /></div>
|
<div class="sidebar-name-arrow"><br /></div>
|
||||||
<h3><?php _e('Inactive Widgets'); ?>
|
<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">
|
<div class="widget-holder inactive">
|
||||||
<p class="description"><?php _e('Drag widgets here to remove them from the sidebar but keep their settings.'); ?></p>
|
<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'); ?>
|
<?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">
|
||||||
<div class="sidebar-name-arrow"><br /></div>
|
<div class="sidebar-name-arrow"><br /></div>
|
||||||
<h3><?php echo wp_specialchars( $registered_sidebar['name'] ); ?>
|
<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 ?>
|
<?php wp_list_widget_controls( $sidebar ); // Show the control forms for each of the widgets in this sidebar ?>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in New Issue