WordPress.org

Make WordPress Core

Changeset 10860


Ignore:
Timestamp:
04/03/09 00:52:50 (5 years ago)
Author:
ryan
Message:

Make buttons pretty

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/custom-header.php

    r10846 r10860  
    276276<?php if ( !defined( 'NO_HEADER_TEXT' ) ) { ?> 
    277277<form method="post" action="<?php echo admin_url('themes.php?page=custom-header&amp;updated=true') ?>"> 
    278 <input type="button" value="<?php _e('Hide Text'); ?>" onclick="hide_text()" id="hidetext" /> 
    279 <input type="button" value="<?php _e('Select a Text Color'); ?>" id="pickcolor" /><input type="button" value="<?php _e('Use Original Color'); ?>" onclick="colorDefault()" id="defaultcolor" /> 
     278<input type="button" class="button" value="<?php _e('Hide Text'); ?>" onclick="hide_text()" id="hidetext" /> 
     279<input type="button" class="button" value="<?php _e('Select a Text Color'); ?>" id="pickcolor" /><input type="button" class="button" value="<?php _e('Use Original Color'); ?>" onclick="colorDefault()" id="defaultcolor" /> 
    280280<?php wp_nonce_field('custom-header') ?> 
    281 <input type="hidden" name="textcolor" id="textcolor" value="#<?php attribute_escape(header_textcolor()) ?>" /><input name="submit" type="submit" value="<?php _e('Save Changes'); ?>" /></form> 
     281<input type="hidden" name="textcolor" id="textcolor" value="#<?php attribute_escape(header_textcolor()) ?>" /><input name="submit" type="submit" class="button" value="<?php _e('Save Changes'); ?>" /></form> 
    282282<?php } ?> 
    283283 
     
    305305<form method="post" action="<?php echo attribute_escape(add_query_arg('step', 1)) ?>"> 
    306306<?php wp_nonce_field('custom-header'); ?> 
    307 <input type="submit" name="resetheader" value="<?php _e('Restore Original Header'); ?>" /> 
     307<input type="submit" class="button" name="resetheader" value="<?php _e('Restore Original Header'); ?>" /> 
    308308</form> 
    309309</div> 
Note: See TracChangeset for help on using the changeset viewer.