WordPress.org

Make WordPress Core

Changeset 17735


Ignore:
Timestamp:
04/28/11 08:59:42 (3 years ago)
Author:
nacin
Message:

Move files in inc/theme-options up one level. see #17198.

Location:
trunk/wp-content/themes/twentyeleven
Files:
1 deleted
1 edited
4 copied

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/functions.php

    r17729 r17735  
    8989     * Load up our theme options page 
    9090     */ 
    91     require( dirname( __FILE__ ) . '/inc/theme-options/theme-options.php' ); 
     91    require( dirname( __FILE__ ) . '/inc/theme-options.php' ); 
    9292 
    9393    /** 
  • trunk/wp-content/themes/twentyeleven/inc/theme-options.php

    r17734 r17735  
    2222        return; 
    2323 
    24     wp_enqueue_style(  'twentyeleven-theme-options', get_template_directory_uri() . '/inc/theme-options/theme-options.css', '', '0.1' ); 
    25     wp_enqueue_script( 'twentyeleven-theme-options', get_template_directory_uri() . '/inc/theme-options/theme-options.js' ); 
     24    wp_enqueue_style(  'twentyeleven-theme-options', get_template_directory_uri() . '/inc/theme-options.css', '', '0.1' ); 
     25    wp_enqueue_script( 'twentyeleven-theme-options', get_template_directory_uri() . '/inc/theme-options.js' ); 
    2626    wp_enqueue_style( 'farbtastic' ); 
    2727    wp_enqueue_script( 'farbtastic' ); 
     
    8484            'value' => 'light', 
    8585            'label' => __( 'Light', 'twentyeleven' ), 
    86             'thumbnail' => get_template_directory_uri() . '/inc/theme-options/images/light.png', 
     86            'thumbnail' => get_template_directory_uri() . '/inc/images/light.png', 
    8787        ), 
    8888        'dark' => array( 
    8989            'value' => 'dark', 
    9090            'label' => __( 'Dark', 'twentyeleven' ), 
    91             'thumbnail' => get_template_directory_uri() . '/inc/theme-options/images/dark.png', 
     91            'thumbnail' => get_template_directory_uri() . '/inc/images/dark.png', 
    9292        ), 
    9393    ); 
     
    106106            'value' => 'content-sidebar', 
    107107            'label' => __( 'Content on left', 'twentyeleven' ), 
    108             'thumbnail' => get_template_directory_uri() . '/inc/theme-options/images/content-sidebar.png', 
     108            'thumbnail' => get_template_directory_uri() . '/inc/images/content-sidebar.png', 
    109109        ), 
    110110        'sidebar-content' => array( 
    111111            'value' => 'sidebar-content', 
    112112            'label' => __( 'Content on right', 'twentyeleven' ), 
    113             'thumbnail' => get_template_directory_uri() . '/inc/theme-options/images/sidebar-content.png', 
     113            'thumbnail' => get_template_directory_uri() . '/inc/images/sidebar-content.png', 
    114114        ), 
    115115        'content' => array( 
    116116            'value' => 'content', 
    117117            'label' => __( 'One-column, no Sidebar', 'twentyeleven' ), 
    118             'thumbnail' => get_template_directory_uri() . '/inc/theme-options/images/content.png', 
     118            'thumbnail' => get_template_directory_uri() . '/inc/images/content.png', 
    119119        ), 
    120120    ); 
Note: See TracChangeset for help on using the changeset viewer.