Changeset 6727
- Timestamp:
- 02/05/2008 07:45:40 AM (17 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-tags.php
r6726 r6727 68 68 69 69 wp_enqueue_script( 'admin-tags' ); 70 wp_enqueue_script('admin-forms'); 71 70 72 require_once ('admin-header.php'); 71 73 … … 82 84 83 85 <div class="wrap"> 86 87 <form id="tags-filter" action="" method="get"> 84 88 <?php if ( current_user_can('manage_categories') ) : ?> 85 89 <h2><?php printf(__('Tags (<a href="%s">add new</a>)'), '#addtag') ?> </h2> … … 87 91 <h2><?php _e('Tags') ?> </h2> 88 92 <?php endif; ?> 93 <p id="tag-search"> 94 <input type="text" id="tag-search-input" name="s" value="<?php echo attribute_escape( stripslashes( $_GET[ 's' ]) ); ?>" /> 95 <input type="submit" value="<?php _e( 'Search Tags' ); ?>" /> 96 </p> 97 </form> 89 98 90 <form name="searchform" id="searchform" action="" method="get">91 <input type="text" name="s" id="s" value="<?php echo attribute_escape( stripslashes( $_GET[ 's' ]) ); ?>" size="17" />92 <input type="submit" id="post-query-submit" value="<?php _e('Search Tags'); ?>" class="button" />93 </form>94 99 <br style="clear:both;" /> 95 100 96 101 <form name="deletetags" id="deletetags" action="" method="post"> 102 <?php wp_nonce_field('bulk-tags'); ?> 97 103 <table class="widefat"> 98 104 <thead> 99 105 <tr> 106 <th scope="col" style="text-align: center"><input type="checkbox" onclick="checkAll(document.getElementById('deletetags'));" /></th> 100 107 <th scope="col" style="text-align: center"><?php _e('ID') ?></th> 101 108 <th scope="col"><?php _e('Name') ?></th> … … 116 123 </tbody> 117 124 </table> 125 </form> 118 126 <?php 119 127 -
trunk/wp-admin/includes/template.php
r6726 r6727 243 243 $out = ''; 244 244 $out .= '<tr id="tag-' . $tag->term_id . '"' . $class . '>'; 245 $out .= '<td style="text-align: center"> <input type="checkbox" name="delete_tags[]" value="' . $tag->term_id . '" /></td>'; 245 246 $out .= '<th scope="row">' . $tag->term_id . '</th>'; 246 247 -
trunk/wp-admin/wp-admin.css
r6713 r6727 1390 1390 } 1391 1391 1392 /* pasitioning etc. */ 1393 form#tags-filter { 1394 position: relative; 1395 } 1396 1397 p#tag-search { 1398 position: absolute; 1399 right: 0; 1400 top: 0; 1401 margin: 0; 1402 } 1403 1404 1392 1405 /* Global classes */ 1393 1406 .wp-hidden-children .wp-hidden-child { display: none; }
Note: See TracChangeset
for help on using the changeset viewer.