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:
azaozz 2009-05-05 18:57:43 +00:00
parent e631b2d341
commit 12924135ce
13 changed files with 338 additions and 336 deletions

View File

@ -416,6 +416,7 @@ ul.categorychecklist li {
#saving {
display: inline;
vertical-align: middle;
}
.submit input,

View File

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -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(),

View File

@ -1,323 +1,324 @@
<?php
if ( !defined('ABSPATH') )
exit;
/**
* @ignore
*/
function __() {}
/**
* @ignore
*/
function _c() {}
/**
* @ignore
*/
function _x() {}
/**
* @ignore
*/
function add_filter() {}
/**
* @ignore
*/
function attr() {}
/**
* @ignore
*/
function attribute_escape() {}
/**
* @ignore
*/
function apply_filters() {}
/**
* @ignore
*/
function get_option() {}
/**
* @ignore
*/
function is_lighttpd_before_150() {}
/**
* @ignore
*/
function add_action() {}
/**
* @ignore
*/
function do_action_ref_array() {}
/**
* @ignore
*/
function get_bloginfo() {}
/**
* @ignore
*/
function is_admin() {return true;}
/**
* @ignore
*/
function site_url() {}
/**
* @ignore
*/
function admin_url() {}
/**
* @ignore
*/
function wp_guess_url() {}
require(ABSPATH . '/wp-includes/script-loader.php');
require(ABSPATH . '/wp-includes/version.php');
/**
* Retrieve list of all cacheable WP files
*
* Array format: file, version (optional), bool (whether to use src and set ignoreQuery)
*/
$wp_scripts = new WP_Scripts();
wp_default_scripts($wp_scripts);
$wp_styles = new WP_Styles();
wp_default_styles($wp_styles);
function &get_manifest(&$man_ver) {
global $wp_scripts, $wp_styles, $wp_version;
$files = array();
foreach ( $wp_scripts->registered as $script ) {
if ( empty($script->src) ) continue;
$ver = empty($script->ver) ? $wp_version : $script->ver;
if ( 'editor' == $script->handle ) $mce_ver = $script->ver;
$src = str_replace( array( '/wp-admin/', '/wp-includes/' ), array( '', '../wp-includes/' ), $script->src );
$files[] = array($src, $ver);
$man_ver .= $ver;
}
foreach ( $wp_styles->registered as $style ) {
if ( empty($style->src) ) continue;
$ver = empty($style->ver) ? $wp_version : $style->ver;
$src = str_replace( array( '/wp-admin/', '/wp-includes/' ), array( '', '../wp-includes/' ), $style->src );
if ( 'colors' == $style->handle ) $src = 'css/colors-classic.css';
$files[] = array($src, $ver);
$man_ver .= $ver;
if ( isset($style->extra['rtl']) && $style->extra['rtl'] ) {
if ( is_bool( $style->extra['rtl'] ) )
$rtl_href = str_replace( '.css', '-rtl.css', $src );
else
$rtl_href = str_replace( array( '/wp-admin/', '/wp-includes/' ), array( '', '../wp-includes/' ), $style->extra['rtl'] );
$files[] = array($rtl_href, $ver);
$man_ver .= $ver;
}
}
$images = array(
array('images/align-center.png'),
array('images/align-left.png'),
array('images/align-none.png'),
array('images/align-right.png'),
array('images/archive-link.png'),
array('images/blue-grad.png'),
array('images/browse-happy.gif'),
array('images/bubble_bg.gif'),
array('images/bubble_bg-rtl.gif'),
array('images/button-grad.png'),
array('images/button-grad-active.png'),
array('images/comment-grey-bubble.png'),
array('images/date-button.gif'),
array('images/ed-bg.gif'),
array('images/fade-butt.png'),
array('images/fav.png'),
array('images/fav-arrow.gif'),
array('images/fav-arrow-rtl.gif'),
array('images/fav-top.png'),
array('images/generic.png'),
array('images/gray-grad.png'),
array('images/icons32.png'),
array('images/icons32-vs.png'),
array('images/list.png'),
array('images/list-vs.png'),
array('images/wpspin.gif'),
array('images/logo.gif'),
array('images/logo-ghost.png'),
array('images/logo-login.gif'),
array('images/media-button-image.gif'),
array('images/media-button-music.gif'),
array('images/media-button-other.gif'),
array('images/media-button-video.gif'),
array('images/menu.png'),
array('images/menu-vs.png'),
array('images/menu-arrows.gif'),
array('images/menu-bits.gif'),
array('images/menu-bits-rtl.gif'),
array('images/menu-dark.gif'),
array('images/menu-dark-rtl.gif'),
array('images/no.png'),
array('images/required.gif'),
array('images/resize.gif'),
array('images/screen-options-left.gif'),
array('images/screen-options-right.gif'),
array('images/screen-options-right-up.gif'),
array('images/se.png'),
array('images/star.gif'),
array('images/toggle-arrow.gif'),
array('images/toggle-arrow-rtl.gif'),
array('images/white-grad.png'),
array('images/white-grad-active.png'),
array('images/wordpress-logo.png'),
array('images/wp-logo.gif'),
array('images/xit.gif'),
array('images/yes.png'),
array('../wp-includes/images/crystal/archive.png'),
array('../wp-includes/images/crystal/audio.png'),
array('../wp-includes/images/crystal/code.png'),
array('../wp-includes/images/crystal/default.png'),
array('../wp-includes/images/crystal/document.png'),
array('../wp-includes/images/crystal/interactive.png'),
array('../wp-includes/images/crystal/text.png'),
array('../wp-includes/images/crystal/video.png'),
array('../wp-includes/images/crystal/spreadsheet.png'),
array('../wp-includes/images/rss.png'),
array('../wp-includes/js/thickbox/loadingAnimation.gif'),
array('../wp-includes/js/thickbox/tb-close.png'),
);
$files = array_merge($files, $images);
if ( @is_file('../wp-includes/js/tinymce/tiny_mce.js') ) :
$mce = array(
array('../wp-includes/js/tinymce/wp-tinymce.php', $mce_ver, true),
array('../wp-includes/js/tinymce/tiny_mce.js', $mce_ver, true),
array('../wp-includes/js/tinymce/langs/wp-langs-en.js', $mce_ver, true),
array('../wp-includes/js/tinymce/utils/mctabs.js', $mce_ver, true),
array('../wp-includes/js/tinymce/utils/validate.js', $mce_ver, true),
array('../wp-includes/js/tinymce/utils/form_utils.js', $mce_ver, true),
array('../wp-includes/js/tinymce/utils/editable_selects.js', $mce_ver, true),
array('../wp-includes/js/tinymce/tiny_mce_popup.js', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/editor_template.js', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/source_editor.htm', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/anchor.htm', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/image.htm', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/link.htm', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/color_picker.htm', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/charmap.htm', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/js/color_picker.js', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/js/charmap.js', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/js/image.js', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/js/link.js', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/js/source_editor.js', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/js/anchor.js', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/ui.css', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/dialog.css', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/autosave/editor_plugin.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/fullscreen/editor_plugin.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/fullscreen/fullscreen.htm', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/inlinepopups/editor_plugin.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/inlinepopups/template.htm', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/media/editor_plugin.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/media/js/media.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/media/media.htm', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/media/css/content.css', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/media/css/media.css', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/paste/editor_plugin.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/paste/js/pasteword.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/paste/js/pastetext.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/paste/pasteword.htm', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/paste/blank.htm', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/paste/pastetext.htm', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/safari/editor_plugin.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/spellchecker/editor_plugin.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/spellchecker/css/content.css', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/tabfocus/editor_plugin.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/wordpress/editor_plugin.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/wordpress/css/content.css', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/wpeditimage/editimage.html', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/wpeditimage/js/editimage.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/wpeditimage/css/editimage.css', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/wpeditimage/css/editimage-rtl.css', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/wpgallery/editor_plugin.js', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/img/icons.gif'),
array('../wp-includes/js/tinymce/themes/advanced/img/colorpicker.jpg'),
array('../wp-includes/js/tinymce/themes/advanced/img/fm.gif'),
array('../wp-includes/js/tinymce/themes/advanced/img/gotmoxie.png'),
array('../wp-includes/js/tinymce/themes/advanced/img/sflogo.png'),
array('../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/butt2.png'),
array('../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/fade-butt.png'),
array('../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/tabs.gif'),
array('../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/down_arrow.gif'),
array('../wp-includes/js/tinymce/themes/advanced/skins/default/img/progress.gif'),
array('../wp-includes/js/tinymce/themes/advanced/skins/default/img/menu_check.gif'),
array('../wp-includes/js/tinymce/themes/advanced/skins/default/img/menu_arrow.gif'),
array('../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/drag.gif'),
array('../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif'),
array('../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif'),
array('../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif'),
array('../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif'),
array('../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/button.gif'),
array('../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif'),
array('../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif'),
array('../wp-includes/js/tinymce/plugins/media/img/flash.gif'),
array('../wp-includes/js/tinymce/plugins/media/img/flv_player.swf'),
array('../wp-includes/js/tinymce/plugins/media/img/quicktime.gif'),
array('../wp-includes/js/tinymce/plugins/media/img/realmedia.gif'),
array('../wp-includes/js/tinymce/plugins/media/img/shockwave.gif'),
array('../wp-includes/js/tinymce/plugins/media/img/windowsmedia.gif'),
array('../wp-includes/js/tinymce/plugins/media/img/trans.gif'),
array('../wp-includes/js/tinymce/plugins/spellchecker/img/wline.gif'),
array('../wp-includes/js/tinymce/plugins/wordpress/img/more.gif'),
array('../wp-includes/js/tinymce/plugins/wordpress/img/more_bug.gif'),
array('../wp-includes/js/tinymce/plugins/wordpress/img/page.gif'),
array('../wp-includes/js/tinymce/plugins/wordpress/img/page_bug.gif'),
array('../wp-includes/js/tinymce/plugins/wordpress/img/toolbars.gif'),
array('../wp-includes/js/tinymce/plugins/wordpress/img/help.gif'),
array('../wp-includes/js/tinymce/plugins/wordpress/img/image.gif'),
array('../wp-includes/js/tinymce/plugins/wordpress/img/media.gif'),
array('../wp-includes/js/tinymce/plugins/wordpress/img/video.gif'),
array('../wp-includes/js/tinymce/plugins/wordpress/img/audio.gif'),
array('../wp-includes/js/tinymce/plugins/wpeditimage/img/image.png'),
array('../wp-includes/js/tinymce/plugins/wpeditimage/img/delete.png'),
array('../wp-includes/js/tinymce/plugins/wpgallery/img/delete.png'),
array('../wp-includes/js/tinymce/plugins/wpgallery/img/edit.png'),
array('../wp-includes/js/tinymce/plugins/wpgallery/img/gallery.png')
);
$files = array_merge($files, $mce);
endif;
return $files;
}
<?php
if ( !defined('ABSPATH') )
exit;
/**
* @ignore
*/
function __() {}
/**
* @ignore
*/
function _c() {}
/**
* @ignore
*/
function _x() {}
/**
* @ignore
*/
function add_filter() {}
/**
* @ignore
*/
function attr() {}
/**
* @ignore
*/
function attribute_escape() {}
/**
* @ignore
*/
function apply_filters() {}
/**
* @ignore
*/
function get_option() {}
/**
* @ignore
*/
function is_lighttpd_before_150() {}
/**
* @ignore
*/
function add_action() {}
/**
* @ignore
*/
function do_action_ref_array() {}
/**
* @ignore
*/
function get_bloginfo() {}
/**
* @ignore
*/
function is_admin() {return true;}
/**
* @ignore
*/
function site_url() {}
/**
* @ignore
*/
function admin_url() {}
/**
* @ignore
*/
function wp_guess_url() {}
require(ABSPATH . '/wp-includes/script-loader.php');
require(ABSPATH . '/wp-includes/version.php');
/**
* Retrieve list of all cacheable WP files
*
* Array format: file, version (optional), bool (whether to use src and set ignoreQuery)
*/
$wp_scripts = new WP_Scripts();
wp_default_scripts($wp_scripts);
$wp_styles = new WP_Styles();
wp_default_styles($wp_styles);
function &get_manifest(&$man_ver) {
global $wp_scripts, $wp_styles, $wp_version;
$files = array();
foreach ( $wp_scripts->registered as $script ) {
if ( empty($script->src) ) continue;
$ver = empty($script->ver) ? $wp_version : $script->ver;
if ( 'editor' == $script->handle ) $mce_ver = $script->ver;
$src = str_replace( array( '/wp-admin/', '/wp-includes/' ), array( '', '../wp-includes/' ), $script->src );
$files[] = array($src, $ver);
$man_ver .= $ver;
}
foreach ( $wp_styles->registered as $style ) {
if ( empty($style->src) ) continue;
$ver = empty($style->ver) ? $wp_version : $style->ver;
$src = str_replace( array( '/wp-admin/', '/wp-includes/' ), array( '', '../wp-includes/' ), $style->src );
if ( 'colors' == $style->handle ) $src = 'css/colors-classic.css';
$files[] = array($src, $ver);
$man_ver .= $ver;
if ( isset($style->extra['rtl']) && $style->extra['rtl'] ) {
if ( is_bool( $style->extra['rtl'] ) )
$rtl_href = str_replace( '.css', '-rtl.css', $src );
else
$rtl_href = str_replace( array( '/wp-admin/', '/wp-includes/' ), array( '', '../wp-includes/' ), $style->extra['rtl'] );
$files[] = array($rtl_href, $ver);
$man_ver .= $ver;
}
}
$images = array(
array('images/align-center.png'),
array('images/align-left.png'),
array('images/align-none.png'),
array('images/align-right.png'),
array('images/archive-link.png'),
array('images/blue-grad.png'),
array('images/browse-happy.gif'),
array('images/bubble_bg.gif'),
array('images/bubble_bg-rtl.gif'),
array('images/button-grad.png'),
array('images/button-grad-active.png'),
array('images/comment-grey-bubble.png'),
array('images/date-button.gif'),
array('images/ed-bg.gif'),
array('images/fade-butt.png'),
array('images/fav.png'),
array('images/fav-arrow.gif'),
array('images/fav-arrow-rtl.gif'),
array('images/fav-top.png'),
array('images/generic.png'),
array('images/gray-grad.png'),
array('images/icons32.png'),
array('images/icons32-vs.png'),
array('images/list.png'),
array('images/list-vs.png'),
array('images/wpspin_light.gif'),
array('images/wpspin_dark.gif'),
array('images/logo.gif'),
array('images/logo-ghost.png'),
array('images/logo-login.gif'),
array('images/media-button-image.gif'),
array('images/media-button-music.gif'),
array('images/media-button-other.gif'),
array('images/media-button-video.gif'),
array('images/menu.png'),
array('images/menu-vs.png'),
array('images/menu-arrows.gif'),
array('images/menu-bits.gif'),
array('images/menu-bits-rtl.gif'),
array('images/menu-dark.gif'),
array('images/menu-dark-rtl.gif'),
array('images/no.png'),
array('images/required.gif'),
array('images/resize.gif'),
array('images/screen-options-left.gif'),
array('images/screen-options-right.gif'),
array('images/screen-options-right-up.gif'),
array('images/se.png'),
array('images/star.gif'),
array('images/toggle-arrow.gif'),
array('images/toggle-arrow-rtl.gif'),
array('images/white-grad.png'),
array('images/white-grad-active.png'),
array('images/wordpress-logo.png'),
array('images/wp-logo.gif'),
array('images/xit.gif'),
array('images/yes.png'),
array('../wp-includes/images/crystal/archive.png'),
array('../wp-includes/images/crystal/audio.png'),
array('../wp-includes/images/crystal/code.png'),
array('../wp-includes/images/crystal/default.png'),
array('../wp-includes/images/crystal/document.png'),
array('../wp-includes/images/crystal/interactive.png'),
array('../wp-includes/images/crystal/text.png'),
array('../wp-includes/images/crystal/video.png'),
array('../wp-includes/images/crystal/spreadsheet.png'),
array('../wp-includes/images/rss.png'),
array('../wp-includes/js/thickbox/loadingAnimation.gif'),
array('../wp-includes/js/thickbox/tb-close.png'),
);
$files = array_merge($files, $images);
if ( @is_file('../wp-includes/js/tinymce/tiny_mce.js') ) :
$mce = array(
array('../wp-includes/js/tinymce/wp-tinymce.php', $mce_ver, true),
array('../wp-includes/js/tinymce/tiny_mce.js', $mce_ver, true),
array('../wp-includes/js/tinymce/langs/wp-langs-en.js', $mce_ver, true),
array('../wp-includes/js/tinymce/utils/mctabs.js', $mce_ver, true),
array('../wp-includes/js/tinymce/utils/validate.js', $mce_ver, true),
array('../wp-includes/js/tinymce/utils/form_utils.js', $mce_ver, true),
array('../wp-includes/js/tinymce/utils/editable_selects.js', $mce_ver, true),
array('../wp-includes/js/tinymce/tiny_mce_popup.js', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/editor_template.js', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/source_editor.htm', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/anchor.htm', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/image.htm', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/link.htm', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/color_picker.htm', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/charmap.htm', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/js/color_picker.js', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/js/charmap.js', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/js/image.js', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/js/link.js', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/js/source_editor.js', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/js/anchor.js', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/ui.css', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/dialog.css', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/autosave/editor_plugin.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/fullscreen/editor_plugin.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/fullscreen/fullscreen.htm', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/inlinepopups/editor_plugin.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/inlinepopups/template.htm', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/media/editor_plugin.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/media/js/media.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/media/media.htm', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/media/css/content.css', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/media/css/media.css', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/paste/editor_plugin.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/paste/js/pasteword.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/paste/js/pastetext.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/paste/pasteword.htm', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/paste/blank.htm', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/paste/pastetext.htm', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/safari/editor_plugin.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/spellchecker/editor_plugin.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/spellchecker/css/content.css', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/tabfocus/editor_plugin.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/wordpress/editor_plugin.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/wordpress/css/content.css', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/wpeditimage/editor_plugin.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/wpeditimage/editimage.html', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/wpeditimage/js/editimage.js', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/wpeditimage/css/editimage.css', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/wpeditimage/css/editimage-rtl.css', $mce_ver, true),
array('../wp-includes/js/tinymce/plugins/wpgallery/editor_plugin.js', $mce_ver, true),
array('../wp-includes/js/tinymce/themes/advanced/img/icons.gif'),
array('../wp-includes/js/tinymce/themes/advanced/img/colorpicker.jpg'),
array('../wp-includes/js/tinymce/themes/advanced/img/fm.gif'),
array('../wp-includes/js/tinymce/themes/advanced/img/gotmoxie.png'),
array('../wp-includes/js/tinymce/themes/advanced/img/sflogo.png'),
array('../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/butt2.png'),
array('../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/fade-butt.png'),
array('../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/tabs.gif'),
array('../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/down_arrow.gif'),
array('../wp-includes/js/tinymce/themes/advanced/skins/default/img/progress.gif'),
array('../wp-includes/js/tinymce/themes/advanced/skins/default/img/menu_check.gif'),
array('../wp-includes/js/tinymce/themes/advanced/skins/default/img/menu_arrow.gif'),
array('../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/drag.gif'),
array('../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif'),
array('../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif'),
array('../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif'),
array('../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif'),
array('../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/button.gif'),
array('../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif'),
array('../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif'),
array('../wp-includes/js/tinymce/plugins/media/img/flash.gif'),
array('../wp-includes/js/tinymce/plugins/media/img/flv_player.swf'),
array('../wp-includes/js/tinymce/plugins/media/img/quicktime.gif'),
array('../wp-includes/js/tinymce/plugins/media/img/realmedia.gif'),
array('../wp-includes/js/tinymce/plugins/media/img/shockwave.gif'),
array('../wp-includes/js/tinymce/plugins/media/img/windowsmedia.gif'),
array('../wp-includes/js/tinymce/plugins/media/img/trans.gif'),
array('../wp-includes/js/tinymce/plugins/spellchecker/img/wline.gif'),
array('../wp-includes/js/tinymce/plugins/wordpress/img/more.gif'),
array('../wp-includes/js/tinymce/plugins/wordpress/img/more_bug.gif'),
array('../wp-includes/js/tinymce/plugins/wordpress/img/page.gif'),
array('../wp-includes/js/tinymce/plugins/wordpress/img/page_bug.gif'),
array('../wp-includes/js/tinymce/plugins/wordpress/img/toolbars.gif'),
array('../wp-includes/js/tinymce/plugins/wordpress/img/help.gif'),
array('../wp-includes/js/tinymce/plugins/wordpress/img/image.gif'),
array('../wp-includes/js/tinymce/plugins/wordpress/img/media.gif'),
array('../wp-includes/js/tinymce/plugins/wordpress/img/video.gif'),
array('../wp-includes/js/tinymce/plugins/wordpress/img/audio.gif'),
array('../wp-includes/js/tinymce/plugins/wpeditimage/img/image.png'),
array('../wp-includes/js/tinymce/plugins/wpeditimage/img/delete.png'),
array('../wp-includes/js/tinymce/plugins/wpgallery/img/delete.png'),
array('../wp-includes/js/tinymce/plugins/wpgallery/img/edit.png'),
array('../wp-includes/js/tinymce/plugins/wpgallery/img/gallery.png')
);
$files = array_merge($files, $mce);
endif;
return $files;
}

View File

@ -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;

View File

@ -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>

View File

@ -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() ) {

View File

@ -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()});

View File

@ -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>

View File

@ -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