X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/8ab4a4532479e8db471032b51042ec8c4716d091..3194d1bb103c2d8db4f44feeced5e58ee2756658:/wp-admin/theme-install.php diff --git a/wp-admin/theme-install.php b/wp-admin/theme-install.php index 56c20b58..289f3954 100644 --- a/wp-admin/theme-install.php +++ b/wp-admin/theme-install.php @@ -51,6 +51,8 @@ wp_localize_script( 'theme', '_wpThemeSettings', array( 'error' => __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.' ), 'themesFound' => __( 'Number of Themes found: %d' ), 'noThemesFound' => __( 'No themes found. Try a different search.' ), + 'collapseSidebar' => __( 'Collapse Sidebar' ), + 'expandSidebar' => __( 'Expand Sidebar' ), ), 'installedThemes' => array_keys( $installed_themes ), ) ); @@ -102,7 +104,7 @@ include(ABSPATH . 'wp-admin/admin-header.php'); ?>
-

__( 'Upload Theme' ) ) ); if ( ! empty( $tabs['upload'] ) && current_user_can( 'upload_themes' ) ) { - echo ' ' . __( 'Upload Theme' ) . ''; - echo ' ' . _x( 'Browse', 'themes' ) . ''; + echo ' ' . __( 'Upload Theme' ) . ''; + echo ' ' . _x( 'Browse', 'themes' ) . ''; } - ?>

+ ?>
+

+
@@ -135,12 +139,27 @@ include(ABSPATH . 'wp-admin/admin-header.php');
  • +
  • +
    + +

    + +

    + + + +

    +
    +
    @@ -149,17 +168,17 @@ include(ABSPATH . 'wp-admin/admin-header.php'); $features ) { - echo '
    '; + echo '
    '; $feature_name = esc_html( $feature_name ); - echo '

    ' . $feature_name . '

    '; - echo '
      '; + echo '' . $feature_name . ''; + echo '
      '; foreach ( $features as $feature => $feature_name ) { $feature = esc_attr( $feature ); - echo '
    1. '; - echo '
    2. '; + echo ' '; + echo '
      '; } - echo '
    '; echo '
    '; + echo ''; } ?>
    @@ -169,6 +188,7 @@ include(ABSPATH . 'wp-admin/admin-header.php');
    +

    @@ -237,18 +257,12 @@ if ( $tab ) {
    <# if ( data.rating ) { #> -
    - - - - - - {{ data.num_ratings }} +
    + {{{ data.stars }}} + ({{ data.num_ratings }})
    <# } else { #> -
    - -
    + <# } #>
    {{{ data.description }}}
    @@ -256,10 +270,10 @@ if ( $tab ) {