Ticket #13383: 13383-custom-background.diff
File 13383-custom-background.diff, 1.2 KB (added by , 15 years ago) |
---|
-
wp-admin/custom-background.php
156 156 <td> 157 157 <style type="text/css"> 158 158 #custom-background-image { 159 <?php if ( get_background_color() ) { ?> 159 160 background-color: #<?php echo get_background_color()?>; 161 <?php } ?> 160 162 <?php if ( get_background_image() ) { ?> 161 163 background: url(<?php echo get_theme_mod('background_image_thumb', ''); ?>); 162 164 background-repeat: <?php echo get_theme_mod('background_repeat', 'no-repeat'); ?>; … … 201 203 <?php endif; ?> 202 204 <tr valign="top"> 203 205 <th scope="row"><?php _e('Upload Image'); ?></th> 204 <td><form enctype="multipart/form-data" id="uploadForm" method=" POST" action="">206 <td><form enctype="multipart/form-data" id="uploadForm" method="post" action=""> 205 207 <label for="upload"><?php _e('Choose an image from your computer:'); ?></label><br /><input type="file" id="upload" name="import" /> 206 208 <input type="hidden" name="action" value="save" /> 207 209 <?php wp_nonce_field('custom-background') ?> … … 210 212 </p> 211 213 </form> 212 214 </td> 215 </tr> 213 216 </tbody> 214 217 </table> 215 218