Ticket #18900: 18900-header-bg.3.1.diff
File 18900-header-bg.3.1.diff, 2.4 KB (added by , 12 years ago) |
---|
-
wp-admin/includes/media.php
2142 2142 2143 2143 <div class="wp_attachment_image" id="media-head-<?php echo $attachment_id; ?>"> 2144 2144 <p><img class="thumbnail" src="<?php echo $thumb_url[0]; ?>" style="max-width:100%" width="<?php echo $thumb_url[1]; ?>" alt="" /></p> 2145 <p ><?php echo $image_edit_button; ?></p>2145 <p class="hide-if-no-js"><?php echo $image_edit_button; ?></p> 2146 2146 </div> 2147 2147 <div style="display:none" class="image-editor" id="image-editor-<?php echo $attachment_id; ?>"></div> 2148 2148 -
wp-admin/custom-header.php
538 538 $image_library_url = remove_query_arg( 'TB_iframe', $image_library_url ); 539 539 $image_library_url = add_query_arg( array( 'context' => 'custom-header', 'TB_iframe' => 1 ), $image_library_url ); 540 540 ?> 541 <p >541 <p class="hide-if-no-js"> 542 542 <label for="choose-from-library-link"><?php _e( 'Or choose an image from your media library:' ); ?></label><br /> 543 543 <a id="choose-from-library-link" class="button thickbox" href="<?php echo esc_url( $image_library_url ); ?>"><?php _e( 'Choose Image' ); ?></a> 544 544 </p> 545 <p class="hide-if-js"> 546 <strong><?php _e( 'You need Javascript to choose an image from the Media Library.' ); ?></strong> 547 </p> 545 548 </form> 546 549 </td> 547 550 </tr> -
wp-admin/custom-background.php
267 267 $image_library_url = remove_query_arg( 'TB_iframe', $image_library_url ); 268 268 $image_library_url = add_query_arg( array( 'context' => 'custom-background', 'TB_iframe' => 1 ), $image_library_url ); 269 269 ?> 270 <p >270 <p class="hide-if-no-js"> 271 271 <label for="choose-from-library-link"><?php _e( 'Or choose an image from your media library:' ); ?></label><br /> 272 272 <a id="choose-from-library-link" class="button thickbox" href="<?php echo esc_url( $image_library_url ); ?>"><?php _e( 'Choose Image' ); ?></a> 273 273 </p> 274 <p class="hide-if-js"> 275 <strong><?php _e( 'You need Javascript to choose an image from the Media Library.' ); ?></strong> 276 </p> 274 277 </form> 275 278 </td> 276 279 </tr>