Make WordPress Core


Ignore:
Timestamp:
10/28/2008 10:07:39 PM (16 years ago)
Author:
westi
Message:

Move inline styles to the stylesheets. Fixes #7985 props Speedboxer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options.php

    r9368 r9390  
    9292  <input type='hidden' name='option_page' value='options' />
    9393<p class="submit submit-top">
    94     <input type="submit" name="Submit" value="<?php _e('Save Changes') ?>" class="button" />
     94    <input type="submit" name="Submit" value="<?php _e('Save Changes') ?>" class="button-primary" />
    9595</p>
    9696  <table class="form-table">
     
    123123
    124124    if (strpos($value, "\n") !== false) echo "<textarea class='$class' name='$option->option_name' id='$option->option_name' cols='30' rows='5'>" . wp_specialchars($value) . "</textarea>";
    125     else echo "<input class='$class' type='text' name='$option->option_name' id='$option->option_name' size='30' value='" . attribute_escape($value) . "'$disabled />";
     125    else echo "<input class='regular-text $class' type='text' name='$option->option_name' id='$option->option_name' value='" . attribute_escape($value) . "'$disabled />";
    126126
    127127    echo "</td>
     
    131131  </table>
    132132<?php $options_to_update = implode(',', $options_to_update); ?>
    133 <p class="submit"><input type="hidden" name="page_options" value="<?php echo $options_to_update; ?>" /><input type="submit" name="Update" value="<?php _e('Save Changes') ?>" /></p>
     133<p class="submit"><input type="hidden" name="page_options" value="<?php echo $options_to_update; ?>" /><input type="submit" name="Update" value="<?php _e('Save Changes') ?>" class="button-primary" /></p>
    134134  </form>
    135135</div>
Note: See TracChangeset for help on using the changeset viewer.