X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/af50974463450c98503e763a7836a50e260461a9..53f4633144ed68c8b8fb5861f992b5489894a940:/wp-admin/themes.php diff --git a/wp-admin/themes.php b/wp-admin/themes.php index bf265b8f..5c007df7 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -47,7 +47,8 @@ if ( current_user_can( 'switch_themes' ) ) { '' . - '

' . __( 'The current theme is displayed highlighted as the first theme.' ) . '

'; + '

' . __( 'The current theme is displayed highlighted as the first theme.' ) . '

' . + '

' . __( 'The search for installed themes will search for terms in their name, description, author, or tag.' ) . ' ' . __( 'The search results will be updated as you type.' ) . '

'; get_current_screen()->add_help_tab( array( 'id' => 'overview', @@ -87,7 +88,7 @@ if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) get_current_screen()->set_help_sidebar( '

' . __( 'For more information:' ) . '

' . - '

' . __( 'Documentation on Using Themes' ) . '

' . + '

' . __( 'Documentation on Using Themes' ) . '

' . '

' . __( 'Support Forums' ) . '

' ); @@ -107,9 +108,11 @@ wp_localize_script( 'theme', '_wpThemeSettings', array( 'adminUrl' => parse_url( admin_url(), PHP_URL_PATH ), ), 'l10n' => array( - 'addNew' => __( 'Add New Theme' ), - 'search' => __( 'Search Installed Themes' ), + 'addNew' => __( 'Add New Theme' ), + 'search' => __( 'Search Installed Themes' ), 'searchPlaceholder' => __( 'Search installed themes...' ), // placeholder (no ellipsis) + 'themesFound' => __( 'Number of Themes found: %d' ), + 'noThemesFound' => __( 'No themes found. Try a different search.' ), ), ) ); @@ -121,23 +124,23 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>
-

+

- + -

+ -

+

-

Visit site' ), home_url( '/' ) ); ?>

+

Visit site' ), home_url( '/' ) ); ?>

-

Visit site' ), home_url( '/' ) ); ?>

Visit site' ), home_url( '/' ) ); ?>

-

+

-

+

+ Active: %s' ), $theme['name'] ); + ?> +

@@ -237,7 +245,6 @@ foreach ( $themes as $theme ) : - @@ -272,7 +279,7 @@ $can_delete = current_user_can( 'delete_themes' ); - + @@ -320,7 +327,12 @@ $can_delete = current_user_can( 'delete_themes' );
<# if ( data.active ) { #> -

{{{ data.name }}}

+

+ Active: %s' ), '{{{ data.name }}}' ); + ?> +

<# } else { #>

{{{ data.name }}}

<# } #> @@ -334,7 +346,6 @@ $can_delete = current_user_can( 'delete_themes' ); <# } else { #> - <# } #> @@ -350,7 +361,7 @@ $can_delete = current_user_can( 'delete_themes' );
- +
@@ -365,7 +376,7 @@ $can_delete = current_user_can( 'delete_themes' ); <# if ( data.active ) { #> <# } #> -

{{{ data.name }}}

+

{{{ data.name }}}

<# if ( data.hasUpdate ) { #> @@ -396,7 +407,6 @@ $can_delete = current_user_can( 'delete_themes' ); <# } #> -
<# if ( ! data.active && data.actions['delete'] ) { #>