Changeset 13751 for trunk/wp-admin/custom-background.php
- Timestamp:
- 03/18/2010 07:06:57 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/custom-background.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/custom-background.php
r13725 r13751 219 219 */ 220 220 function step_1() { 221 if ( isset($_GET['updated']) && $_GET['updated'] ) { ?> 221 ?> 222 <div class="wrap" id="custom-background"> 223 <?php screen_icon(); ?> 224 <h2><?php _e('Custom Background'); ?></h2> 225 <?php if ( isset($_GET['updated']) && $_GET['updated'] ) { ?> 222 226 <div id="message" class="updated"> 223 227 <p><?php printf(__('Background updated. <a href="%s">Visit your site</a> to see how it looks.'), home_url()); ?></p> 224 228 </div> 225 <?php } ?> 226 227 <div class="wrap" id="custom-background"> 228 <?php screen_icon(); ?> 229 <h2><?php _e('Custom Background'); ?></h2> 230 <?php if ( get_background_image() || get_background_color() ) { ?> 229 <?php } 230 231 if ( get_background_image() || get_background_color() ) { ?> 231 232 <p><?php _e('This is your current background.'); ?></p> 232 233 <?php … … 251 252 if ( get_background_image() ) : ?> 252 253 253 <h 2><?php _e('Change Display Options') ?></h2>254 <h3><?php _e('Change Display Options') ?></h3> 254 255 <form method="post" action="<?php echo esc_attr(add_query_arg('step', 1)) ?>"> 255 256 <table> … … 317 318 <?php endif; ?> 318 319 319 <h 2><?php _e('Upload New Background Image'); ?></h2>320 <h3><?php _e('Upload New Background Image'); ?></h3> 320 321 <form enctype="multipart/form-data" id="uploadForm" method="POST" action="<?php echo esc_attr(add_query_arg('step', 2)) ?>"> 321 322 <label for="upload"><?php _e('Choose an image from your computer:'); ?></label><br /><input type="file" id="upload" name="import" /> … … 328 329 329 330 <?php if ( get_background_image() ) : ?> 330 <h 2><?php _e('Remove Background Image'); ?></h2>331 <h3><?php _e('Remove Background Image'); ?></h3> 331 332 <p><?php _e('This will remove the background image. You will not be able to retrieve any customizations.') ?></p> 332 333 <form method="post" action="<?php echo esc_attr(add_query_arg('step', 1)) ?>">
Note: See TracChangeset
for help on using the changeset viewer.