Ticket #21325: theme-install.diff
File theme-install.diff, 1.3 KB (added by , 13 years ago) |
---|
-
theme-install.php
58 58 <form id="search-themes" method="get" action=""> 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> 63 64 <option value="author" <?php selected('author', $type) ?>><?php _e('Author'); ?></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> 70 74 <?php