WordPress.org

Make WordPress Core

Changeset 4336


Ignore:
Timestamp:
10/04/2006 12:58:05 PM (12 years ago)
Author:
markjaquith
Message:

CSS and consistency fixes for options.php

Location:
trunk/wp-admin
Files:
2 edited

Legend:

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

    r4332 r4336  
    117117
    118118<div class="wrap">
    119   <h2><?php _e('All options'); ?></h2>
     119  <h2><?php _e('All Options'); ?></h2>
    120120  <form name="form" action="options.php" method="post" id="all-options">
    121121  <?php wp_nonce_field('update-options') ?>
    122122  <input type="hidden" name="action" value="update" />
     123    <p class="submit"><input type="submit" name="Update" value="<?php _e('Update Options &raquo;') ?>" /></p>
    123124  <table width="98%">
    124125<?php
     
    139140<td>";
    140141
    141     if (stristr($value, "\n")) echo "<textarea name='$option->option_name' id='$option->option_name' cols='30' rows='5'>$value</textarea>";
    142     else echo "<input type='text' name='$option->option_name' id='$option->option_name' size='30' value='" . $value . "' />";
     142    if (stristr($value, "\n")) echo "<textarea class='all-options' name='$option->option_name' id='$option->option_name' cols='30' rows='5'>$value</textarea>";
     143    else echo "<input class='all-options' type='text' name='$option->option_name' id='$option->option_name' size='30' value='" . $value . "' />";
    143144   
    144145    echo "</td>
     
    148149?>
    149150  </table>
    150 <p class="submit"><input type="submit" name="Update" value="<?php _e('Update Settings &raquo;') ?>" /></p>
     151<p class="submit"><input type="submit" name="Update" value="<?php _e('Update Options &raquo;') ?>" /></p>
    151152  </form>
    152153</div>
  • trunk/wp-admin/wp-admin.css

    r4330 r4336  
    401401}
    402402
    403 #all-options textarea, #all-options input {
     403textarea.all-options, input.all-options {
    404404    width: 250px;
    405405}
Note: See TracChangeset for help on using the changeset viewer.