Changeset 11109 for trunk/wp-admin/custom-header.php
- Timestamp:
- 04/28/2009 05:58:45 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/custom-header.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/custom-header.php
r11104 r11109 288 288 <input type="button" class="button" value="<?php _ea('Select a Text Color'); ?>" id="pickcolor" /><input type="button" class="button" value="<?php _ea('Use Original Color'); ?>" onclick="colorDefault()" id="defaultcolor" /> 289 289 <?php wp_nonce_field('custom-header') ?> 290 <input type="hidden" name="textcolor" id="textcolor" value="#<?php attr ibute_escape(header_textcolor()) ?>" /><input name="submit" type="submit" class="button" value="<?php _ea('Save Changes'); ?>" /></form>290 <input type="hidden" name="textcolor" id="textcolor" value="#<?php attr(header_textcolor()) ?>" /><input name="submit" type="submit" class="button" value="<?php _ea('Save Changes'); ?>" /></form> 291 291 <?php } ?> 292 292 … … 297 297 <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> 298 298 299 <form enctype="multipart/form-data" id="uploadForm" method="POST" action="<?php echo attr ibute_escape(add_query_arg('step', 2)) ?>" style="margin: auto; width: 50%;">299 <form enctype="multipart/form-data" id="uploadForm" method="POST" action="<?php echo attr(add_query_arg('step', 2)) ?>" style="margin: auto; width: 50%;"> 300 300 <label for="upload"><?php _e('Choose an image from your computer:'); ?></label><br /><input type="file" id="upload" name="import" /> 301 301 <input type="hidden" name="action" value="save" /> … … 312 312 <h2><?php _e('Reset Header Image and Color'); ?></h2> 313 313 <p><?php _e('This will restore the original header image and color. You will not be able to retrieve any customizations.') ?></p> 314 <form method="post" action="<?php echo attr ibute_escape(add_query_arg('step', 1)) ?>">314 <form method="post" action="<?php echo attr(add_query_arg('step', 1)) ?>"> 315 315 <?php wp_nonce_field('custom-header'); ?> 316 316 <input type="submit" class="button" name="resetheader" value="<?php _ea('Restore Original Header'); ?>" /> … … 373 373 <div class="wrap"> 374 374 375 <form method="POST" action="<?php echo attr ibute_escape(add_query_arg('step', 3)) ?>">375 <form method="POST" action="<?php echo attr(add_query_arg('step', 3)) ?>"> 376 376 377 377 <p><?php _e('Choose the part of the image you want to use as your header.'); ?></p>
Note: See TracChangeset
for help on using the changeset viewer.