Changeset 13751 for trunk/wp-admin/custom-header.php
- Timestamp:
- 03/18/2010 07:06:57 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/custom-header.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/custom-header.php
r13725 r13751 358 358 function step_1() { 359 359 $this->process_default_headers(); 360 if ( isset($_GET['updated']) && $_GET['updated'] ) { ?> 360 ?> 361 362 <div class="wrap"> 363 <?php screen_icon(); ?> 364 <h2><?php _e('Your Header Image'); ?></h2> 365 366 <?php 367 if ( isset($_GET['updated']) && $_GET['updated'] ) { ?> 361 368 <div id="message" class="updated"> 362 369 <p><?php printf(__('Header updated. <a href="%s">Visit your site</a> to see how it looks.'), home_url()); ?></p> 363 370 </div> 364 <?php } ?> 365 366 <div class="wrap"> 367 <?php screen_icon(); ?> 368 <h2><?php _e('Your Header Image'); ?></h2> 369 <?php 371 <?php } 372 370 373 if ( get_theme_mod('header_image') || empty($this->default_headers) ) : 371 374 ?> … … 405 408 ?> 406 409 <div class="wrap"> 407 <h 2><?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>410 <h3><?php _e('Upload New Header Image'); ?></h3><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> 408 411 409 412 <form enctype="multipart/form-data" id="uploadForm" method="POST" action="<?php echo esc_attr(add_query_arg('step', 2)) ?>"> … … 420 423 <?php if ( get_theme_mod('header_image') || get_theme_mod('header_textcolor') ) : ?> 421 424 <div class="wrap"> 422 <h 2><?php _e('Reset Header Image and Color'); ?></h2>425 <h3><?php _e('Reset Header Image and Color'); ?></h3> 423 426 <form method="post" action="<?php echo esc_attr(add_query_arg('step', 1)) ?>"> 424 427 <?php
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)