Make WordPress Core


Ignore:
Timestamp:
04/11/2009 02:37:24 PM (16 years ago)
Author:
azaozz
Message:

Widgets page, first run, see #9511

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r10884 r10912  
    331331        $scripts->add_data( 'media-upload', 'group', 1 );
    332332
    333         $scripts->add( 'admin-widgets', "/wp-admin/js/widgets$suffix.js", array( 'interface' ), '20090106' );
    334         $scripts->localize( 'admin-widgets', 'widgetsL10n', array(
    335             'add' => __('Add'),
    336             'edit' => __('Edit'),
    337             'cancel' => __('Cancel'),
    338             'lameReminder' => __('Remember to click the "Save Changes" button at the bottom of the Current Widgets column after you\'re all done!'),
    339             'lamerReminder' => __("You're about to leave without having saved your changes!"),
    340             'l10n_print_after' => 'try{convertEntities(widgetsL10n);}catch(e){};'
    341         ));
     333        $scripts->add( 'admin-widgets', "/wp-admin/js/widgets$suffix.js", array( 'jquery-ui-sortable', 'jquery-ui-draggable' ), '20090411' );
     334        $scripts->add_data( 'admin-widgets', 'group', 1 );
    342335
    343336        $scripts->add( 'word-count', "/wp-admin/js/word-count$suffix.js", array( 'jquery' ), '20090102' );
     
    426419    $rtl_styles = array( 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'plugin-install', 'farbtastic' );
    427420
    428     $styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20090405' );
     421    $styles->add( 'wp-admin', '/wp-admin/wp-admin.css', array(), '20090411' );
    429422    $styles->add_data( 'wp-admin', 'rtl', '/wp-admin/rtl.css' );
    430423
    431     $styles->add( 'ie', '/wp-admin/css/ie.css', array(), '20090407' );
     424    $styles->add( 'ie', '/wp-admin/css/ie.css', array(), '20090411' );
    432425    $styles->add_data( 'ie', 'conditional', 'lte IE 7' );
    433426
    434     $styles->add( 'colors', true, array(), '20090405' ); // Register "meta" stylesheet for admin colors
     427    $styles->add( 'colors', true, array(), '20090411' ); // Register "meta" stylesheet for admin colors
    435428    $styles->add( 'colors-fresh', '/wp-admin/css/colors-fresh.css', array(), '20081210'); // for login.php.  Is there a better way?
    436429    $styles->add_data( 'colors-fresh', 'rtl', true );
     
    438431    $styles->add_data( 'colors-classic', 'rtl', true );
    439432
    440     $styles->add( 'global', '/wp-admin/css/global.css', array(), '20090407' );
     433    $styles->add( 'global', '/wp-admin/css/global.css', array(), '20090411' );
    441434    $styles->add( 'media', '/wp-admin/css/media.css', array(), '20090325' );
    442     $styles->add( 'widgets', '/wp-admin/css/widgets.css', array(), '20081210' );
     435    $styles->add( 'widgets', '/wp-admin/css/widgets.css', array(), '20090411' );
    443436    $styles->add( 'dashboard', '/wp-admin/css/dashboard.css', array(), '20090305' );
    444437    $styles->add( 'install', '/wp-admin/css/install.css', array(), '20081210' );
Note: See TracChangeset for help on using the changeset viewer.