Ticket #12343: 12343-custom-header-style.patch
File 12343-custom-header-style.patch, 2.0 KB (added by , 15 years ago) |
---|
-
wp-admin/custom-header.php
404 404 endif; 405 405 ?> 406 406 <div class="wrap"> 407 <h2><?php _e('Upload New Header Image'); ?></h2><p><?php _e('Here you can upload a custom header image to be shown at the top of your blog instead of the default one. On the next screen you will be able to crop the image.'); ?></p> 408 <p><?php printf(__('Images of exactly <strong>%1$d x %2$d pixels</strong> will be used as-is.'), HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT); ?></p> 407 <h2><?php _e('Upload New Header Image'); ?></h2><p><?php _e('Here you can upload a custom header image to be shown at the top of your blog instead of the default one. On the next screen you will be able to crop the image.'); ?> <?php printf(__('Images of exactly <strong>%1$d x %2$d pixels</strong> will be used as-is.'), HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT); ?></p> 409 408 410 <form enctype="multipart/form-data" id="uploadForm" method="POST" action="<?php echo esc_attr(add_query_arg('step', 2)) ?>" style="margin: auto; width: 50%;">409 <form enctype="multipart/form-data" id="uploadForm" method="POST" action="<?php echo esc_attr(add_query_arg('step', 2)) ?>"> 411 410 <label for="upload"><?php _e('Choose an image from your computer:'); ?></label><br /><input type="file" id="upload" name="import" /> 412 411 <input type="hidden" name="action" value="save" /> 413 412 <?php wp_nonce_field('custom-header') ?> -
wp-admin/css/wp-admin.dev.css
3668 3668 display: inline; 3669 3669 } 3670 3670 3671 /* Custom Header */ 3672 3673 table#available-headers td { 3674 padding: 0 20px 10px 0; 3675 } 3676 table#available-headers label input { 3677 margin-right: 8px; 3678 } 3679 table#available-headers label img { 3680 vertical-align: middle; 3681 } 3682 3671 3683 /* Tab Interface */ 3672 3684 3673 3685 .menu-tabs {