Changeset 13303 for trunk/wp-admin/custom-background.php
- Timestamp:
- 02/22/2010 06:46:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/custom-background.php
r13189 r13303 136 136 <?php } ?> 137 137 138 <div class="wrap" >138 <div class="wrap" id="custom-background"> 139 139 <?php screen_icon(); ?> 140 140 <h2><?php _e('Custom Background'); ?></h2> … … 154 154 </div> 155 155 <?php } ?> 156 </div>157 156 158 157 <?php if ( get_background_image() ) : ?> 159 <div class="wrap"> 160 158 161 159 <h2><?php _e('Change Display Options') ?></h2> 162 160 <form method="post" action="<?php echo esc_attr(add_query_arg('step', 1)) ?>"> … … 212 210 213 211 <?php wp_nonce_field('custom-background'); ?> 214 < input type="submit" class="button" name="save-background-options" value="<?php esc_attr_e('Save Changes'); ?>" />212 <p class="submit"><input type="submit" class="button" name="save-background-options" value="<?php esc_attr_e('Save Changes'); ?>" /></p> 215 213 </form> 216 </div> 214 217 215 <?php endif; ?> 218 216 219 <div class="wrap">220 217 <h2><?php _e('Upload New Background Image'); ?></h2> 221 <form enctype="multipart/form-data" id="uploadF orm" method="POST" action="<?php echo esc_attr(add_query_arg('step', 2)) ?>" style="margin: auto; width: 50%;">218 <form enctype="multipart/form-data" id="uploadFrom" method="POST" action="<?php echo esc_attr(add_query_arg('step', 2)) ?>"> 222 219 <label for="upload"><?php _e('Choose an image from your computer:'); ?></label><br /><input type="file" id="upload" name="import" /> 223 220 <input type="hidden" name="action" value="save" /> … … 227 224 </p> 228 225 </form> 229 </div>230 226 231 227 <?php if ( get_background_image() ) : ?> 232 <div class="wrap">233 228 <h2><?php _e('Remove Background Image'); ?></h2> 234 229 <p><?php _e('This will remove background image. You will not be able to retrieve any customizations.') ?></p> … … 237 232 <input type="submit" class="button" name="remove-background" value="<?php esc_attr_e('Remove Background'); ?>" /> 238 233 </form> 234 235 <?php endif; ?> 239 236 </div> 240 <?php endif; 241 237 <?php 242 238 } 243 239
Note: See TracChangeset
for help on using the changeset viewer.