Changeset 29597
- Timestamp:
- 08/25/2014 04:02:43 PM (10 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/list-tables.css
r29587 r29597 1384 1384 } 1385 1385 1386 .no-plugin-results { 1387 color: #999; 1388 font-size: 18px; 1389 font-style: normal; 1390 margin: 0; 1391 padding: 100px 0 0; 1392 text-align: center; 1393 } 1394 1386 1395 /* ms */ 1387 1396 /* Background Color for Site Status */ -
trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php
r29594 r29597 122 122 } 123 123 124 add_action( 'install_plugins_table_header', 'install_search_form', 10, 0 );125 124 break; 126 125 … … 196 195 $message = __( 'No plugins match your request.' ); 197 196 } 198 echo '<div class=" wp-filter-no-results">' . $message . '</div>';197 echo '<div class="no-plugin-results">' . $message . '</div>'; 199 198 } 200 199 … … 204 203 $display_tabs = array(); 205 204 foreach ( (array) $tabs as $action => $text ) { 206 $class = 'wp-filter-link'; 207 $class .= ( $action == $tab ) ? ' current' : ''; 205 $class = ( $action == $tab ) ? ' current' : ''; 208 206 $href = self_admin_url('plugin-install.php?tab=' . $action); 209 207 $display_tabs['plugin-install-'.$action] = "<a href='$href' class='$class'>$text</a>"; … … 224 222 ?> 225 223 <div class="wp-filter"> 226 <ul class=" wp-filter-links">224 <ul class="filter-links"> 227 225 <?php 228 226 if ( ! empty( $views ) ) { … … 235 233 </ul> 236 234 237 <?php install_search_form( false); ?>235 <?php install_search_form( isset( $views['plugin-install-search'] ) ); ?> 238 236 </div> 239 237 <?php -
trunk/src/wp-admin/includes/plugin-install.php
r29574 r29597 165 165 $term = isset($_REQUEST['s']) ? wp_unslash( $_REQUEST['s'] ) : ''; 166 166 $input_attrs = ''; 167 $button_type = 'button ';167 $button_type = 'button screen-reader-text'; 168 168 169 169 // assume no $type_selector means it's a simplified search form 170 170 if ( ! $type_selector ) { 171 171 $input_attrs = 'class="wp-filter-search" placeholder="' . esc_attr__( 'Search Plugins' ) . '" '; 172 $button_type .= ' screen-reader-text'; 173 } 174 175 ?><form class="search-plugins" method="get" action=""> 172 } 173 174 ?><form class="search-form search-plugins" method="get" action=""> 176 175 <input type="hidden" name="tab" value="search" /> 177 176 <?php if ( $type_selector ) : ?>
Note: See TracChangeset
for help on using the changeset viewer.