Changeset 11232 for trunk/wp-admin/includes/plugin-install.php
- Timestamp:
- 05/07/2009 10:18:12 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/plugin-install.php
r11204 r11232 157 157 $term = isset($_REQUEST['s']) ? stripslashes( $_REQUEST['s'] ) : ''; 158 158 159 ?><form id="search-plugins" method="post" action="<?php echo admin_url('plugin-install.php?tab=search') ?>">159 ?><form id="search-plugins" method="post" action="<?php echo admin_url('plugin-install.php?tab=search'); ?>"> 160 160 <select name="type" id="typeselector"> 161 <option value="term"<?php selected('term', $type) ?>><?php _e('Term') ?></option>162 <option value="author"<?php selected('author', $type) ?>><?php _e('Author') ?></option>163 <option value="tag"<?php selected('tag', $type) ?>><?php _x('Tag', 'Plugin Installer')?></option>161 <option value="term"<?php selected('term', $type) ?>><?php _e('Term'); ?></option> 162 <option value="author"<?php selected('author', $type) ?>><?php _e('Author'); ?></option> 163 <option value="tag"<?php selected('tag', $type) ?>><?php echo _x('Tag', 'Plugin Installer'); ?></option> 164 164 </select> 165 165 <input type="text" name="s" value="<?php echo esc_attr($term) ?>" /> 166 166 <label class="invisible" for="plugin-search-input"><?php _e('Search Plugins'); ?></label> 167 <input type="submit" id="plugin-search-input" name="search" value="<?php esc_attr_e('Search Plugins') ?>" class="button" />167 <input type="submit" id="plugin-search-input" name="search" value="<?php esc_attr_e('Search Plugins'); ?>" class="button" /> 168 168 </form><?php 169 169 }
Note: See TracChangeset
for help on using the changeset viewer.