Changeset 8948
- Timestamp:
- 09/22/2008 03:27:48 AM (18 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 8 edited
-
categories.php (modified) (4 diffs)
-
edit-link-categories.php (modified) (4 diffs)
-
edit-pages.php (modified) (7 diffs)
-
edit-tags.php (modified) (4 diffs)
-
edit.php (modified) (7 diffs)
-
link-manager.php (modified) (5 diffs)
-
upload.php (modified) (5 diffs)
-
users.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/categories.php
r8944 r8948 134 134 135 135 <div class="wrap"> 136 <form id="posts-filter" action="" method="get"> 137 136 137 <form id="adv-settings" action="" method="get"> 138 138 <div id="show-settings"><a href="#edit_settings" id="show-settings-link" class="hide-if-no-js"><?php _e('Advanced Options') ?></a> 139 139 <a href="#edit_settings" id="hide-settings-link" class="hide-if-js hide-if-no-js"><?php _e('Hide Options') ?></a></div> … … 146 146 <br class="clear" /> 147 147 </div></div> 148 </div> 148 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?> 149 </div></form> 149 150 150 151 <h2><?php printf( current_user_can('manage_categories') ? __('Categories (<a href="%s">Add New</a>)') : __('Manage Tags'), '#addcat' ); ?></h2> … … 152 153 <br class="clear" /> 153 154 155 <form id="posts-filter" action="" method="get"> 154 156 <div class="tablenav"> 155 157 … … 199 201 </table> 200 202 201 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?>202 203 203 </form> 204 204 -
trunk/wp-admin/edit-link-categories.php
r8944 r8948 75 75 <div class="wrap"> 76 76 77 <form id="posts-filter" action="" method="get"> 78 77 <form id="adv-settings" action="" method="get"> 79 78 <div id="show-settings"><a href="#edit_settings" id="show-settings-link" class="hide-if-no-js"><?php _e('Advanced Options') ?></a> 80 79 <a href="#edit_settings" id="hide-settings-link" class="hide-if-js hide-if-no-js"><?php _e('Hide Options') ?></a></div> … … 87 86 <br class="clear" /> 88 87 </div></div> 89 </div> 88 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?> 89 </div></form> 90 90 91 91 <h2><?php printf( current_user_can('manage_categories') ? __('Link Categories (<a href="%s">Add New</a>)') : __('Manage Tags'), '#addcat' ); ?></h2> … … 93 93 <br class="clear" /> 94 94 95 <form id="posts-filter" action="" method="get"> 95 96 <div class="tablenav"> 96 97 … … 156 157 </table> 157 158 158 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?>159 160 159 </form> 161 160 -
trunk/wp-admin/edit-pages.php
r8943 r8948 11 11 12 12 // Handle bulk deletes 13 if ( isset($_GET['action']) && isset($_GET[' delete']) ) {13 if ( isset($_GET['action']) && isset($_GET['post']) && isset($_GET['doaction']) ) { 14 14 check_admin_referer('bulk-pages'); 15 15 if ( $_GET['action'] == 'delete' ) { 16 foreach( (array) $_GET[' delete'] as $post_id_del ) {16 foreach( (array) $_GET['post'] as $post_id_del ) { 17 17 $post_del = & get_post($post_id_del); 18 18 … … 87 87 88 88 <div class="wrap"> 89 <form id="posts-filter" action="" method="get"> 90 89 <form id="adv-settings" action="" method="get"> 91 90 <div id="show-settings"><a href="#edit_settings" id="show-settings-link" class="hide-if-no-js"><?php _e('Advanced Options') ?></a> 92 91 <a href="#edit_settings" id="hide-settings-link" class="hide-if-js hide-if-no-js"><?php _e('Hide Options') ?></a></div> … … 99 98 <br class="clear" /> 100 99 </div></div> 101 </div> 100 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?> 101 </div></form> 102 102 103 103 <h2><?php … … 112 112 ?></h2> 113 113 114 <form id="posts-filter" action="" method="get"> 114 115 <ul class="subsubsub"> 115 116 <?php … … 140 141 <?php if ( isset($_GET['post_status'] ) ) : ?> 141 142 <input type="hidden" name="post_status" value="<?php echo attribute_escape($_GET['post_status']) ?>" /> 142 <?php 143 endif; 143 <?php endif; 144 144 145 if ( isset($_GET['posted']) && $_GET['posted'] ) : $_GET['posted'] = (int) $_GET['posted']; ?> 145 146 <div id="message" class="updated fade"><p><strong><?php _e('Your page has been saved.'); ?></strong> <a href="<?php echo get_permalink( $_GET['posted'] ); ?>"><?php _e('View page'); ?></a> | <a href="<?php echo get_edit_post_link( $_GET['posted'] ); ?>"><?php _e('Edit page'); ?></a></p></div> … … 171 172 <div class="alignleft"> 172 173 <select name="action"> 173 <option value=" " selected><?php _e('Actions'); ?></option>174 <option value="-1" selected><?php _e('Actions'); ?></option> 174 175 <option value="edit"><?php _e('Edit'); ?></option> 175 176 <option value="delete"><?php _e('Delete'); ?></option> … … 201 202 </tbody> 202 203 </table> 203 204 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?>205 206 204 </form> 207 205 -
trunk/wp-admin/edit-tags.php
r8944 r8948 141 141 <div class="wrap"> 142 142 143 <form id="posts-filter" action="" method="get"> 144 143 <form id="adv-settings" action="" method="get"> 145 144 <div id="show-settings"><a href="#edit_settings" id="show-settings-link" class="hide-if-no-js"><?php _e('Advanced Options') ?></a> 146 145 <a href="#edit_settings" id="hide-settings-link" class="hide-if-js hide-if-no-js"><?php _e('Hide Options') ?></a></div> … … 153 152 <br class="clear" /> 154 153 </div></div> 155 </div> 154 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?> 155 </div></form> 156 156 157 157 <h2><?php printf( current_user_can('manage_categories') ? __('Tags (<a href="%s">Add New</a>)') : __('Manage Tags'), '#addtag' ); ?></h2> … … 159 159 <br class="clear" /> 160 160 161 <form id="posts-filter" action="" method="get"> 161 162 <div class="tablenav"> 162 163 … … 208 209 </tbody> 209 210 </table> 210 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?> 211 211 212 </form> 212 213 -
trunk/wp-admin/edit.php
r8943 r8948 11 11 12 12 // Handle bulk actions 13 if ( !empty($_GET['action']) && $_GET['action'] != 'Actions') {13 if ( isset($_GET['action']) && $_GET['action'] != -1 && isset($_GET['doaction']) ) { 14 14 switch ( $_GET['action'] ) { 15 15 case 'delete': … … 82 82 <div class="wrap"> 83 83 84 <form id="posts-filter" action="" method="get"> 85 84 <form id="adv-settings" action="" method="get"> 86 85 <div id="show-settings"><a href="#edit_settings" id="show-settings-link" class="hide-if-no-js"><?php _e('Advanced Options') ?></a> 87 86 <a href="#edit_settings" id="hide-settings-link" class="hide-if-js hide-if-no-js"><?php _e('Hide Options') ?></a></div> … … 94 93 <br class="clear" /> 95 94 </div></div> 96 </div> 95 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?> 96 </div></form> 97 97 98 98 <h2><?php … … 127 127 ?></h2> 128 128 129 <form id="posts-filter" action="" method="get"> 129 130 <ul class="subsubsub"> 130 131 <?php … … 154 155 <?php if ( isset($_GET['post_status'] ) ) : ?> 155 156 <input type="hidden" name="post_status" value="<?php echo attribute_escape($_GET['post_status']) ?>" /> 156 <?php 157 endif; 157 <?php endif; 158 158 159 159 if ( isset($_GET['posted']) && $_GET['posted'] ) : $_GET['posted'] = (int) $_GET['posted']; ?> … … 186 186 <div class="alignleft"> 187 187 <select name="action"> 188 <option value=" " selected="selected"><?php _e('Actions'); ?></option>188 <option value="-1" selected="selected"><?php _e('Actions'); ?></option> 189 189 <option value="edit"><?php _e('Edit'); ?></option> 190 190 <option value="delete"><?php _e('Delete'); ?></option> … … 241 241 242 242 <?php include( 'edit-post-rows.php' ); ?> 243 244 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?>245 243 246 244 </form> -
trunk/wp-admin/link-manager.php
r8923 r8948 11 11 12 12 // Handle bulk deletes 13 if ( isset($_GET['action']) && isset($_GET['linkcheck']) ) {13 if ( isset($_GET['action']) && isset($_GET['linkcheck']) && isset($_GET['doaction']) ) { 14 14 check_admin_referer('bulk-bookmarks'); 15 15 … … 95 95 <div class="wrap"> 96 96 97 <form id="links-filter" action="" method="get"> 98 97 <form id="adv-settings" action="" method="get"> 99 98 <div id="show-settings"><a href="#edit_settings" id="show-settings-link" class="hide-if-no-js"><?php _e('Advanced Options') ?></a> 100 99 <a href="#edit_settings" id="hide-settings-link" class="hide-if-js hide-if-no-js"><?php _e('Hide Options') ?></a></div> … … 107 106 <br class="clear" /> 108 107 </div></div> 109 </div> 108 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?> 109 </div></form> 110 110 111 111 <h2><?php printf( __('Links (<a href="%s">Add New</a>)' ), 'link-add.php' ); ?></h2> … … 113 113 <br class="clear" /> 114 114 115 <form id="posts-filter" action="" method="get"> 115 116 <div class="tablenav"> 116 117 … … 257 258 <p><?php _e('No links found.') ?></p> 258 259 <?php } ?> 259 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?> 260 260 261 </form> 261 262 -
trunk/wp-admin/upload.php
r8944 r8948 63 63 $_GET['detached'] = 1; 64 64 65 } elseif ( isset($_GET['action']) && isset($_GET['media']) ) {65 } elseif ( isset($_GET['action']) && isset($_GET['media']) && isset($_GET['doaction']) ) { 66 66 check_admin_referer('bulk-media'); 67 67 if ( $_GET['action'] == 'delete' ) { … … 148 148 <div class="wrap"> 149 149 150 <form id="posts-filter" action="" method="get"> 151 150 <form id="adv-settings" action="" method="get"> 152 151 <div id="show-settings"><a href="#edit_settings" id="show-settings-link" class="hide-if-no-js"><?php _e('Advanced Options') ?></a> 153 152 <a href="#edit_settings" id="hide-settings-link" class="hide-if-js hide-if-no-js"><?php _e('Hide Options') ?></a></div> … … 160 159 <br class="clear" /> 161 160 </div></div> 162 </div> 161 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?> 162 </div></form> 163 163 164 164 <h2><?php … … 195 195 ?></h2> 196 196 197 <form id="posts-filter" action="" method="get"> 197 198 <ul class="subsubsub"> 198 199 <?php … … 318 319 319 320 <br class="clear" /> 320 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?>321 321 322 322 <?php if ( isset($orphans) ) { ?> -
trunk/wp-admin/users.php
r8937 r8948 263 263 <div class="wrap"> 264 264 265 <form id="adv-settings" action="" method="get"> 265 266 <div id="show-settings"><a href="#edit_settings" id="show-settings-link" class="hide-if-no-js"><?php _e('Advanced Options') ?></a> 266 267 <a href="#edit_settings" id="hide-settings-link" class="hide-if-js hide-if-no-js"><?php _e('Hide Options') ?></a></div> … … 273 274 <br class="clear" /> 274 275 </div></div> 275 </div> 276 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?> 277 </div></form> 276 278 277 279 <form id="posts-filter" action="" method="get"> … … 391 393 392 394 <?php endif; ?> 393 <?php wp_nonce_field( 'hiddencolumns', 'hiddencolumnsnonce', false ); ?> 395 394 396 </form> 395 397 </div>
Note: See TracChangeset
for help on using the changeset viewer.