WordPress.org

Make WordPress Core

Changeset 11150


Ignore:
Timestamp:
05/01/09 19:43:22 (5 years ago)
Author:
azaozz
Message:

Add wpspin.gif and replace all spinners

Location:
trunk/wp-admin
Files:
1 added
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r11149 r11150  
    478478</tbody> 
    479479</table> 
    480 <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/loading.gif" alt="" /></p> 
     480<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> 
    481481<?php 
    482482    $hidden = get_hidden_meta_boxes('post'); 
  • trunk/wp-admin/import/livejournal.php

    r11109 r11150  
    964964                    if ( jQuery( '#<?php echo $id ?>' ).length ) { 
    965965                        jQuery( "#<?php echo $id ?> input[type='submit']" ).hide(); 
    966                         str = '<?php _e( "Continuing" ) ?> <img src="images/loading-publish.gif" alt="" id="processing" align="top" />'; 
     966                        str = '<?php _e( "Continuing" ) ?> <img src="images/wpspin.gif" alt="" id="processing" align="top" />'; 
    967967                        jQuery( '#<?php echo $msg ?>' ).html( str ); 
    968968                        jQuery( '#<?php echo $id ?>' ).submit(); 
     
    993993                        jQuery( "#<?php echo $id ?> input[type='submit']" ).hide(); 
    994994                        jQuery.ajaxSetup({'timeout':3600000}); 
    995                         str = '<?php _e( "Processing next batch." ) ?> <img src="images/loading-publish.gif" alt="" id="processing" align="top" />'; 
     995                        str = '<?php _e( "Processing next batch." ) ?> <img src="images/wpspin.gif" alt="" id="processing" align="top" />'; 
    996996                        jQuery( '#<?php echo $msg ?>' ).html( str ); 
    997997                        jQuery('#ljapi-status').load(ajaxurl, {'action':'lj-importer', 
  • trunk/wp-admin/includes/manifest.php

    r11109 r11150  
    153153        array('images/list.png'), 
    154154        array('images/list-vs.png'), 
    155         array('images/loading.gif'), 
    156         array('images/loading-publish.gif'), 
     155        array('images/wpspin.gif'), 
    157156        array('images/logo.gif'), 
    158157        array('images/logo-ghost.png'), 
  • trunk/wp-admin/includes/media.php

    r11109 r11150  
    15101510            return false; 
    15111511        } 
    1512         document.getElementById('status_img').src = 'images/loading.gif'; 
     1512        document.getElementById('status_img').src = 'images/wpspin.gif'; 
    15131513        t.preloadImg = new Image(); 
    15141514        t.preloadImg.onload = t.updateImageData; 
  • trunk/wp-admin/includes/template.php

    r11144 r11150  
    266266        <?php $update_text = ( $is_tag ) ? __( 'Update Tag' ) : __( 'Update Category' ); ?> 
    267267        <a accesskey="s" href="#inline-edit" title="<?php echo attr( $update_text ); ?>" class="save button-primary alignright"><?php echo $update_text; ?></a> 
    268         <img class="waiting" style="display:none;" src="images/loading.gif" alt="" /> 
     268        <img class="waiting" style="display:none;" src="images/wpspin.gif" alt="" /> 
    269269        <span class="error" style="display:none;"></span> 
    270270        <?php wp_nonce_field( 'taxinlineeditnonce', '_inline_edit', false ); ?> 
     
    12581258            ?> 
    12591259            <a accesskey="s" href="#inline-edit" title="<?php _e('Update'); ?>" class="button-primary save alignright"><?php echo attr( $update_text ); ?></a> 
    1260             <img class="waiting" style="display:none;" src="images/loading.gif" alt="" /> 
     1260            <img class="waiting" style="display:none;" src="images/wpspin.gif" alt="" /> 
    12611261        <?php } else { 
    12621262            $update_text = ( $is_page ) ? __( 'Update Pages' ) : __( 'Update Posts' ); 
     
    22932293    <span id="savebtn" style="display:none;"><?php _e('Update Comment'); ?></span> 
    22942294    <span id="replybtn" style="display:none;"><?php _e('Submit Reply'); ?></span></a> 
    2295     <img class="waiting" style="display:none;" src="images/loading.gif" alt="" /> 
     2295    <img class="waiting" style="display:none;" src="images/wpspin.gif" alt="" /> 
    22962296    <span class="error" style="display:none;"></span> 
    22972297    <br class="clear" /> 
  • trunk/wp-admin/js/dashboard.dev.js

    r10479 r11150  
    2424        var act = $('#quickpost-action'), t; 
    2525        t = $('#quick-press').submit( function() { 
    26             $('#dashboard_quick_press h3').append( '<img src="images/loading.gif" style="margin: 0 6px 0 0; vertical-align: middle" />' ); 
     26            $('#dashboard_quick_press h3').append( '<img src="images/wpspin.gif" style="margin: 0 6px 0 0; vertical-align: middle" />' ); 
    2727            $('#quick-press .submit input[type="submit"], #quick-press .submit input[type="reset"]').attr('disabled','disabled'); 
    2828 
  • trunk/wp-admin/js/dashboard.js

    r10479 r11150  
    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/loading.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()}); 
     1jQuery(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()}); 
  • trunk/wp-admin/press-this.php

    r11110 r11150  
    401401                break; 
    402402            case 'photo' : 
    403                 jQuery('#extra_fields').before('<p id="waiting"><img src="images/loading.gif" alt="" /> <?php echo js_escape( __( 'Loading...' ) ); ?></p>'); 
     403                jQuery('#extra_fields').before('<p id="waiting"><img src="images/wpspin.gif" alt="" /> <?php echo js_escape( __( 'Loading...' ) ); ?></p>'); 
    404404                jQuery.ajax({ 
    405405                    type: "GET", 
     
    462462                            <br /><br /><input class="button-primary" type="submit" name="review" value="<?php _ea('Submit for Review') ?>" id="review" /> 
    463463                        <?php } ?> 
    464                         <img src="images/loading-publish.gif" alt="" id="saving" style="display:none;" /> 
     464                        <img src="images/wpspin.gif" alt="" id="saving" style="display:none;" /> 
    465465                    </p> 
    466466                </div> 
  • trunk/wp-admin/widgets.php

    r11133 r11150  
    344344    <div id="wp_inactive_widgets" class="widgets-holder-wrap"> 
    345345        <h3 class="sidebar-name"><?php _e('Inactive Widgets'); ?> 
    346         <span><img src="images/loading-publish.gif" class="ajax-feedback" title="" alt="" /></span></h3> 
     346        <span><img src="images/wpspin.gif" class="ajax-feedback" title="" alt="" /></span></h3> 
    347347        <p class="description"><?php _e('Drag widgets here to remove them from the web site but keep their settings.'); ?></p> 
    348348        <?php wp_list_widget_controls('wp_inactive_widgets'); ?> 
     
    360360    <div id="<?php echo attr( $sidebar ); ?>" class="widgets-holder-wrap"> 
    361361    <h3 class="sidebar-name"><?php echo wp_specialchars( $registered_sidebar['name'] ); ?> 
    362     <span><img src="images/loading-publish.gif" class="ajax-feedback" title="" alt="" /></span></h3> 
     362    <span><img src="images/wpspin.gif" class="ajax-feedback" title="" alt="" /></span></h3> 
    363363    <?php wp_list_widget_controls( $sidebar, $i ); // Show the control forms for each of the widgets in this sidebar ?> 
    364364    </div> 
Note: See TracChangeset for help on using the changeset viewer.