Changeset 11152
- Timestamp:
- 05/01/2009 09:52:34 PM (17 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 3 edited
-
edit-form-advanced.php (modified) (2 diffs)
-
includes/media.php (modified) (1 diff)
-
includes/plugin-install.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r11150 r11152 270 270 */ 271 271 function post_tags_meta_box($post, $box) { 272 $tax_name = substr($box['id'], 8);272 $tax_name = attr(substr($box['id'], 8)); 273 273 $taxonomy = get_taxonomy($tax_name); 274 274 $helps = isset($taxonomy->helps) ? attr($taxonomy->helps) : __('Separate tags with commas.'); … … 276 276 <div class="tagsdiv" id="<?php echo $tax_name; ?>"> 277 277 <p class="jaxtag"> 278 <label class="hidden" for="new tag"><?php _e( $box['title'] ); ?></label>278 <label class="hidden" for="new-tag-<?php echo $tax_name; ?>"><?php echo $box['title']; ?></label> 279 279 <input type="hidden" name="<?php echo "tax_input[$tax_name]"; ?>" class="the-tags" id="tax-input[<?php echo $tax_name; ?>]" value="<?php echo attr(get_terms_to_edit( $post->ID, $tax_name )); ?>" /> 280 280 281 281 <span class="ajaxtag"> 282 <input type="text" name="newtag[<?php echo $tax_name; ?>]" class="newtag form-input-tip" size="16" autocomplete="off" value="<?php _ea('Add new tag'); ?>" />282 <input type="text" id="new-tag-<?php echo $tax_name; ?>" name="newtag[<?php echo $tax_name; ?>]" class="newtag form-input-tip" size="16" autocomplete="off" value="<?php _ea('Add new tag'); ?>" /> 283 283 <input type="button" class="button tagadd" value="<?php _ea('Add'); ?>" tabindex="3" /> 284 284 </span></p> -
trunk/wp-admin/includes/media.php
r11150 r11152 1351 1351 <?php do_action('pre-html-upload-ui'); ?> 1352 1352 <p id="async-upload-wrap"> 1353 <input type="file" name="async-upload" id="async-upload" /> <input type="submit" class="button" name="html-upload" value="<?php echo attr(__('Upload')); ?>" /> <a href="#" onclick="return top.tb_remove();"><?php _e('Cancel'); ?></a> 1353 <label class="hidden" for="async-upload"><?php _e('Upload'); ?></label> 1354 <input type="file" name="async-upload" id="async-upload" /> <input type="submit" class="button" name="html-upload" value="<?php _ea('Upload'); ?>" /> <a href="#" onclick="return top.tb_remove();"><?php _e('Cancel'); ?></a> 1354 1355 </p> 1355 1356 <div class="clear"></div> -
trunk/wp-admin/includes/plugin-install.php
r11109 r11152 164 164 </select> 165 165 <input type="text" name="s" value="<?php echo attr($term) ?>" /> 166 <input type="submit" name="search" value="<?php echo attr(__('Search')) ?>" class="button" /> 166 <label class="hidden" for="plugin-search-input"><?php _e('Search Plugins'); ?></label> 167 <input type="submit" id="plugin-search-input" name="search" value="<?php _ea('Search Plugins') ?>" class="button" /> 167 168 </form><?php 168 169 } … … 211 212 <form method="post" enctype="multipart/form-data" action="<?php echo admin_url('update.php?action=upload-plugin') ?>"> 212 213 <?php wp_nonce_field( 'plugin-upload') ?> 213 <input type="file" name="pluginzip" /> 214 <label class="hidden" for="pluginzip"><?php _e('Plugin zip file'); ?></label> 215 <input type="file" id="pluginzip" name="pluginzip" /> 214 216 <input type="submit" class="button" value="<?php _e('Install Now') ?>" /> 215 217 </form>
Note: See TracChangeset
for help on using the changeset viewer.