WordPress.org

Make WordPress Core

Changeset 11203


Ignore:
Timestamp:
05/05/09 18:57:43 (5 years ago)
Author:
azaozz
Message:

Add wpspin_light and wpspin_dark spinners

Location:
trunk/wp-admin
Files:
2 added
1 deleted
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/press-this.css

    r10855 r11203  
    417417#saving { 
    418418    display: inline; 
     419    vertical-align: middle; 
    419420} 
    420421 
  • trunk/wp-admin/edit-form-advanced.php

    r11183 r11203  
    473473<tbody id="the-comment-list" class="list:comment"></tbody> 
    474474</table> 
    475 <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> 
     475<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> 
    476476<?php 
    477477    $hidden = get_hidden_meta_boxes('post'); 
  • trunk/wp-admin/import/livejournal.php

    r11190 r11203  
    964964                    if ( jQuery( '#<?php echo $id ?>' ).length ) { 
    965965                        jQuery( "#<?php echo $id ?> input[type='submit']" ).hide(); 
    966                         str = '<?php _e( "Continuing" ) ?> <img src="images/wpspin.gif" alt="" id="processing" align="top" />'; 
     966                        str = '<?php _e( "Continuing" ) ?> <img src="images/wpspin_light.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/wpspin.gif" alt="" id="processing" align="top" />'; 
     995                        str = '<?php _e( "Processing next batch." ) ?> <img src="images/wpspin_light.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

    • Property svn:eol-style set to native
    r11179 r11203  
    158158        array('images/list.png'), 
    159159        array('images/list-vs.png'), 
    160         array('images/wpspin.gif'), 
     160        array('images/wpspin_light.gif'), 
     161        array('images/wpspin_dark.gif'), 
    161162        array('images/logo.gif'), 
    162163        array('images/logo-ghost.png'), 
  • trunk/wp-admin/includes/media.php

    r11198 r11203  
    15151515            return false; 
    15161516        } 
    1517         document.getElementById('status_img').src = 'images/wpspin.gif'; 
     1517        document.getElementById('status_img').src = 'images/wpspin_light.gif'; 
    15181518        t.preloadImg = new Image(); 
    15191519        t.preloadImg.onload = t.updateImageData; 
  • trunk/wp-admin/includes/template.php

    r11196 r11203  
    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/wpspin.gif" alt="" /> 
     268        <img class="waiting" style="display:none;" src="images/wpspin_light.gif" alt="" /> 
    269269        <span class="error" style="display:none;"></span> 
    270270        <?php wp_nonce_field( 'taxinlineeditnonce', '_inline_edit', false ); ?> 
     
    12591259            ?> 
    12601260            <a accesskey="s" href="#inline-edit" title="<?php _e('Update'); ?>" class="button-primary save alignright"><?php echo attr( $update_text ); ?></a> 
    1261             <img class="waiting" style="display:none;" src="images/wpspin.gif" alt="" /> 
     1261            <img class="waiting" style="display:none;" src="images/wpspin_light.gif" alt="" /> 
    12621262        <?php } else { 
    12631263            $update_text = ( $is_page ) ? __( 'Update Pages' ) : __( 'Update Posts' ); 
     
    22942294    <span id="savebtn" style="display:none;"><?php _e('Update Comment'); ?></span> 
    22952295    <span id="replybtn" style="display:none;"><?php _e('Submit Reply'); ?></span></a> 
    2296     <img class="waiting" style="display:none;" src="images/wpspin.gif" alt="" /> 
     2296    <img class="waiting" style="display:none;" src="images/wpspin_light.gif" alt="" /> 
    22972297    <span class="error" style="display:none;"></span> 
    22982298    <br class="clear" /> 
  • trunk/wp-admin/js/dashboard.dev.js

    r11150 r11203  
    2424        var act = $('#quickpost-action'), t; 
    2525        t = $('#quick-press').submit( function() { 
    26             $('#dashboard_quick_press h3').append( '<img src="images/wpspin.gif" style="margin: 0 6px 0 0; vertical-align: middle" />' ); 
     26            $('#dashboard_quick_press h3').append( '<img src="images/wpspin_light.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

    r11150 r11203  
    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()}); 
     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_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()}); 
  • trunk/wp-admin/press-this.php

    r11180 r11203  
    403403                break; 
    404404            case 'photo' : 
    405                 jQuery('#extra_fields').before('<p id="waiting"><img src="images/wpspin.gif" alt="" /> <?php echo js_escape( __( 'Loading...' ) ); ?></p>'); 
     405                jQuery('#extra_fields').before('<p id="waiting"><img src="images/wpspin_light.gif" alt="" /> <?php echo js_escape( __( 'Loading...' ) ); ?></p>'); 
    406406                jQuery.ajax({ 
    407407                    type: "GET", 
     
    464464                            <br /><br /><input class="button-primary" type="submit" name="review" value="<?php _ea('Submit for Review') ?>" id="review" /> 
    465465                        <?php } ?> 
    466                         <img src="images/wpspin.gif" alt="" id="saving" style="display:none;" /> 
     466                        <img src="images/wpspin_light.gif" alt="" id="saving" style="display:none;" /> 
    467467                    </p> 
    468468                </div> 
  • trunk/wp-admin/widgets.php

    r11166 r11203  
    358358        <div class="sidebar-name-arrow"><br /></div> 
    359359        <h3><?php _e('Inactive Widgets'); ?> 
    360         <span><img src="images/wpspin.gif" class="ajax-feedback" title="" alt="" /></span></h3></div> 
     360        <span><img src="images/wpspin_light.gif" class="ajax-feedback" title="" alt="" /></span></h3></div> 
    361361        <div class="widget-holder inactive"> 
    362362        <p class="description"><?php _e('Drag widgets here to remove them from the sidebar but keep their settings.'); ?></p> 
     
    380380    <div class="sidebar-name-arrow"><br /></div> 
    381381    <h3><?php echo wp_specialchars( $registered_sidebar['name'] ); ?> 
    382     <span><img src="images/wpspin.gif" class="ajax-feedback" title="" alt="" /></span></h3></div> 
     382    <span><img src="images/wpspin_dark.gif" class="ajax-feedback" title="" alt="" /></span></h3></div> 
    383383    <?php wp_list_widget_controls( $sidebar ); // Show the control forms for each of the widgets in this sidebar ?> 
    384384    </div> 
Note: See TracChangeset for help on using the changeset viewer.