Changeset 21318
- Timestamp:
- 07/24/2012 06:31:03 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/theme-install.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/theme-install.php
r21143 r21318 59 59 <input type="hidden" name="tab" value="search" /> 60 60 <?php if ( $type_selector ) : ?> 61 <label class="screen-reader-text" for="typeselector"><?php _e("Type of search"); ?></label> 61 62 <select name="type" id="typeselector"> 62 63 <option value="term" <?php selected('term', $type) ?>><?php _e('Keyword'); ?></option> … … 64 65 <option value="tag" <?php selected('tag', $type) ?>><?php _ex('Tag', 'Theme Installer'); ?></option> 65 66 </select> 67 <label class="screen-reader-text" for="s"><?php printf( __("Search by %s"), ( $type == 'term' ? __( 'keyword' ) : $type ) ); ?></label> 68 <?php else : ?> 69 <label class="screen-reader-text" for="s"><?php _e("Search by keyword"); ?></label> 66 70 <?php endif; ?> 67 <input type="search" name="s" size="30" value="<?php echo esc_attr($term) ?>" autofocus="autofocus" />71 <input type="search" name="s" id="s" size="30" value="<?php echo esc_attr($term) ?>" autofocus="autofocus" /> 68 72 <?php submit_button( __( 'Search' ), 'button', 'search', false ); ?> 69 73 </form>
Note: See TracChangeset
for help on using the changeset viewer.