WordPress.org

Make WordPress Core

Changeset 4335


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

CSS and consistency fixes for options.php

Location:
branches/2.0/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-admin/options.php

    r4333 r4335  
    142142
    143143<div class="wrap">
    144   <h2><?php _e('All options'); ?></h2>
     144  <h2><?php _e('All Options'); ?></h2>
    145145  <form name="form" action="options.php" method="post" id="all-options">
    146146  <?php wp_nonce_field('update-options') ?>
     
    164164<td>";
    165165
    166     if (stristr($value, "\n")) echo "<textarea name='$option->option_name' id='$option->option_name' cols='30' rows='5'>$value</textarea>";
    167     else echo "<input type='text' name='$option->option_name' id='$option->option_name' size='30' value='" . $value . "' />";
     166    if (stristr($value, "\n")) echo "<textarea class='all-options' name='$option->option_name' id='$option->option_name' cols='30' rows='5'>$value</textarea>";
     167    else echo "<input class='all-options' type='text' name='$option->option_name' id='$option->option_name' size='30' value='" . $value . "' />";
    168168   
    169169    echo "</td>
     
    173173?>
    174174  </table>
    175 <p class="submit"><input type="submit" name="Update" value="<?php _e('Update Settings &raquo;') ?>" /></p>
     175<p class="submit"><input type="submit" name="Update" value="<?php _e('Update Options &raquo;') ?>" /></p>
    176176  </form>
    177177</div>
  • branches/2.0/wp-admin/wp-admin.css

    r4331 r4335  
    358358}
    359359
    360 #all-options textarea, #all-options input {
     360textarea.all-options, input.all-options {
    361361    width: 250px;
    362362}
Note: See TracChangeset for help on using the changeset viewer.