Changes in trunk/wp-admin/themes.php [18248:17364]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/themes.php
r18248 r17364 41 41 $help .= '<p>' . __('You can see your active theme at the top of the screen. Below are the other themes you have installed that are not currently in use. You can see what your site would look like with one of these themes by clicking the Preview link. To change themes, click the Activate link.') . '</p>'; 42 42 if ( current_user_can('install_themes') ) 43 $help .= '<p>' . sprintf(__('If you would like to see more themes to choose from, click on the “Install Themes” tab and you will be able to browse or search for additional themes from the <a href="%s" target="_blank">WordPress.org Theme Directory</a>. Themes in the WordPress.org Theme Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they’re free!'), 'http://wordpress.org/extend/themes/') . '</p>';43 $help .= '<p>' . sprintf(__('If you would like to see more themes to choose from, click on the “Install Themes” tab and you will be able to browse or search for additional themes from the <a href="%s" target="_blank">WordPress.org Theme Directory</a>. Themes in the WordPress.org Theme Directory are designed and developed by third parties, and are licensed under the GNU General Public License, version 2, just like WordPress. Oh, and they’re free!'), 'http://wordpress.org/extend/themes/') . '</p>'; 44 44 45 45 $help .= '<p><strong>' . __('For more information:') . '</strong></p>'; … … 72 72 <div class="wrap"><?php 73 73 screen_icon(); 74 if ( ! is_multisite() && current_user_can( 'install_themes') ) : ?>74 if ( !is_multisite() ) : ?> 75 75 <h2 class="nav-tab-wrapper"> 76 <a href="themes.php" class="nav-tab nav-tab-active"><?php echo esc_html( $title ); ?></a><a href="<?php echo admin_url( 'theme-install.php'); ?>" class="nav-tab"><?php echo esc_html_x('Install Themes', 'theme'); ?></a> 77 <?php else : ?> 78 <h2><?php echo esc_html( $title ); ?> 76 <a href="themes.php" class="nav-tab nav-tab-active"><?php echo esc_html( $title ); ?></a> 77 <?php if ( current_user_can('install_themes') ) : ?> 78 <a href="<?php echo admin_url( 'theme-install.php'); ?>" class="nav-tab"><?php echo esc_html_x('Install Themes', 'theme'); ?></a> 79 <?php endif; 80 else : ?> 81 <h2> 82 <?php echo esc_html( $title ); ?> 79 83 <?php endif; ?> 80 84 </h2> … … 144 148 145 149 <p class="search-box"> 146 <label class="screen-reader-text" for="theme-search-input"><?php _e('Search InstalledThemes'); ?>:</label>150 <label class="screen-reader-text" for="theme-search-input"><?php _e('Search Themes'); ?>:</label> 147 151 <input type="text" id="theme-search-input" name="s" value="<?php _admin_search_query(); ?>" /> 148 <?php submit_button( __( 'Search Installed Themes' ), 'button', false, false, array( 'id' => 'search-submit' )); ?>152 <?php submit_button( __( 'Search Themes' ), 'button', 'submit', false ); ?> 149 153 <a id="filter-click" href="?filter=1"><?php _e( 'Feature Filter' ); ?></a> 150 154 </p> … … 181 185 182 186 <div class="feature-container"> 183 <?php submit_button( __( 'Apply Filters' ), 'button-secondary submitter', false, false, array( 'style' => 'margin-left: 120px', 'id' => 'filter-submit' ) ); ?>187 <?php submit_button( __( 'Apply Filters' ), 'button-secondary submitter', 'submit', false, array( 'style' => 'margin-left: 120px' ) ); ?> 184 188 185 189 <small><a id="mini-filter-click" href="<?php echo esc_url( remove_query_arg( array('filter', 'features', 'submit') ) ); ?>"><?php _e( 'Close filters' )?></a></small> … … 210 214 <table id="broken-themes"> 211 215 <tr> 212 <th><?php _e x('Name', 'theme name'); ?></th>216 <th><?php _e('Name'); ?></th> 213 217 <th><?php _e('Description'); ?></th> 214 218 </tr>
Note: See TracChangeset
for help on using the changeset viewer.