Ticket #19616: custombg.diff
File custombg.diff, 1.1 KB (added by , 11 years ago) |
---|
-
wp-admin/custom-background.php
304 304 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Color' ); ?></span></legend> 305 305 <?php $show_clear = get_background_color() ? '' : ' style="display:none"'; ?> 306 306 <input type="text" name="background-color" id="background-color" value="#<?php echo esc_attr(get_background_color()) ?>" /> 307 < a class="hide-if-no-js" href="#" id="pickcolor"><?php _e('Select a Color'); ?></a><span<?php echo $show_clear; ?> class="hide-if-no-js" id="clearcolor"> (<a href="#"><?php _e( 'Clear' ); ?></a>)</span>307 <input id="pickcolor" type="button" class="pickcolor button hide-if-no-js" value="<?php esc_attr_e( 'Select a Color', 'twentyeleven' ); ?>" /><span<?php echo $show_clear; ?> class="hide-if-no-js" id="clearcolor"> (<a href="#"><?php _e( 'Clear' ); ?></a>)</span> 308 308 <div id="colorPickerDiv" style="z-index: 100; background:#eee; border:1px solid #ccc; position:absolute; display:none;"></div> 309 309 </fieldset></td> 310 310 </tr>