Make WordPress Core

Changeset 7000


Ignore:
Timestamp:
02/24/2008 04:33:10 AM (16 years ago)
Author:
ryan
Message:

Change niceblue class name to form-table. Props filosofo and mt. fixes #5973

Location:
trunk/wp-admin
Files:
21 edited

Legend:

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

    r6943 r7000  
    9494</form>
    9595
    96 <table class="niceblue" cellpadding="5">
     96<table class="form-table" cellpadding="5">
    9797<tr class="alt">
    9898<th scope="row"><?php _e('Author'); ?></th>
  • trunk/wp-admin/css/install.css

    r6965 r7000  
    6666}
    6767
    68 .niceblue {
     68.form-table {
    6969    border-collapse: collapse;
    7070    margin-top: 1em;
     
    7272}
    7373
    74 .niceblue td {
     74.form-table td {
    7575    margin-bottom: 9px;
    7676    padding: 10px;
     
    7878}
    7979
    80 .niceblue th {
     80.form-table th {
    8181    font-size: 12px;
    8282    text-align: left;
     
    8787}
    8888
    89 .niceblue tr {
     89.form-table tr {
    9090    background: #eaf3fa;
    9191}
    9292
    93 .niceblue code {
     93.form-table code {
    9494    line-height: 18px;
    9595    font-size: 18px;
    9696}
    9797
    98 .niceblue p {
     98.form-table p {
    9999    margin: 4px 0 0 0;
    100100    font-size: 11px;
  • trunk/wp-admin/edit-category-form.php

    r6950 r7000  
    2424<input type="hidden" name="cat_ID" value="<?php echo $category->term_id ?>" />
    2525<?php wp_nonce_field($nonce_action); ?>
    26     <table class="niceblue">
     26    <table class="form-table">
    2727        <tr class="form-field form-required">
    2828            <th scope="row" valign="top"><label for="cat_name"><?php _e('Category Name') ?></label></th>
  • trunk/wp-admin/edit-link-category-form.php

    r6950 r7000  
    2424<input type="hidden" name="cat_ID" value="<?php echo $category->term_id ?>" />
    2525<?php wp_nonce_field($nonce_action); ?>
    26     <table class="niceblue">
     26    <table class="form-table">
    2727        <tr class="form-field form-required">
    2828            <th scope="row" valign="top"><label for="name"><?php _e('Category name') ?></label></th>
  • trunk/wp-admin/edit-tag-form.php

    r6950 r7000  
    2424<input type="hidden" name="tag_ID" value="<?php echo $tag->term_id ?>" />
    2525<?php wp_nonce_field($nonce_action); ?>
    26     <table class="niceblue">
     26    <table class="form-table">
    2727        <tr class="form-field form-required">
    2828            <th scope="row" valign="top"><label for="name"><?php _e('Tag name') ?></label></th>
  • trunk/wp-admin/import/dotclear.php

    r6950 r7000  
    641641    function db_form()
    642642    {
    643         echo '<table class="niceblue">';
     643        echo '<table class="form-table">';
    644644        printf('<tr><th><label for="dbuser">%s</label></th><td><input type="text" name="dbuser" id="dbuser" /></td></tr>', __('DotClear Database User:'));
    645645        printf('<tr><th><label for="dbpass">%s</label></th><td><input type="password" name="dbpass" id="dbpass" /></td></tr>', __('DotClear Database Password:'));
  • trunk/wp-admin/import/greymatter.php

    r6950 r7000  
    3737<?php wp_nonce_field('import-greymatter'); ?>
    3838<h3><?php _e('Second step: GreyMatter details:') ?></h3>
    39 <table class="niceblue">
     39<table class="form-table">
    4040<tr>
    4141<td><?php _e('Path to GM files:') ?></td>
  • trunk/wp-admin/import/textpattern.php

    r6950 r7000  
    576576    function db_form()
    577577    {
    578         echo '<table class="niceblue">';
     578        echo '<table class="form-table">';
    579579        printf('<tr><th scope="row"><label for="dbuser">%s</label></th><td><input type="text" name="dbuser" id="dbuser" /></td></tr>', __('Textpattern Database User:'));
    580580        printf('<tr><th scope="row"><label for="dbpass">%s</label></th><td><input type="password" name="dbpass" id="dbpass" /></td></tr>', __('Textpattern Database Password:'));
  • trunk/wp-admin/install.php

    r6965 r7000  
    4646
    4747<form id="setup" method="post" action="install.php?step=2">
    48     <table class="niceblue">
     48    <table class="form-table">
    4949        <tr>
    5050            <th scope="row"><?php _e('Blog Title'); ?></th>
     
    9292<p><?php printf(__('WordPress has been installed. Were you expecting more steps? Sorry to disappoint.'), ''); ?></p>
    9393
    94 <table class="niceblue">
     94<table class="form-table">
    9595    <tr>
    9696        <th><?php _e('Username'); ?></th>
  • trunk/wp-admin/options-discussion.php

    r6980 r7000  
    1212<form method="post" action="options.php">
    1313<?php wp_nonce_field('update-options') ?>
    14 <table class="niceblue">
     14<table class="form-table">
    1515<tr valign="top">
    1616<th scope="row"><?php _e('Default article settings') ?></th>
  • trunk/wp-admin/options-general.php

    r6978 r7000  
    1212<form method="post" action="options.php">
    1313<?php wp_nonce_field('update-options') ?>
    14 <table class="niceblue">
     14<table class="form-table">
    1515<tr valign="top">
    1616<th scope="row"><?php _e('Blog Title') ?></th>
  • trunk/wp-admin/options-misc.php

    r6978 r7000  
    1414<?php wp_nonce_field('update-options') ?>
    1515<h3><?php _e('Uploading'); ?></h3>
    16 <table class="niceblue">
     16<table class="form-table">
    1717<tr valign="top">
    1818<th scope="row"><?php _e('Store uploads in this folder'); ?></th>
     
    3838</tr>
    3939</table>
    40 <table class="niceblue">
     40<table class="form-table">
    4141<tr>
    4242    <th colspan="2"><input name="use_linksupdate" type="checkbox" id="use_linksupdate" value="1" <?php checked('1', get_option('use_linksupdate')); ?> />
  • trunk/wp-admin/options-permalink.php

    r6980 r7000  
    128128?>
    129129<h3><?php _e('Common settings'); ?></h3>
    130 <table class="niceblue">
     130<table class="form-table">
    131131    <tr>
    132132        <th><label><input name="selection" type="radio" value="" class="tog" <?php checked('', $permalink_structure); ?> /> <?php _e('Default'); ?></label></th>
     
    164164<?php endif; ?>
    165165
    166 <table class="niceblue">
     166<table class="form-table">
    167167    <tr>
    168168        <th><?php _e('Category base'); ?></th>
  • trunk/wp-admin/options-privacy.php

    r6850 r7000  
    1212<form method="post" action="options.php">
    1313<?php wp_nonce_field('update-options') ?>
    14 <table class="niceblue">
     14<table class="form-table">
    1515<tr valign="top">
    1616<th scope="row"><?php _e('Blog Visibility') ?> </th>
  • trunk/wp-admin/options-reading.php

    r6850 r7000  
    1212<form name="form1" method="post" action="options.php">
    1313<?php wp_nonce_field('update-options') ?>
    14 <table class="niceblue">
     14<table class="form-table">
    1515<?php if ( get_pages() ): ?>
    1616<tr valign="top">
  • trunk/wp-admin/options-writing.php

    r6980 r7000  
    1313<?php wp_nonce_field('update-options') ?>
    1414
    15 <table class="niceblue">
     15<table class="form-table">
    1616<tr valign="top">
    1717<th scope="row"> <?php _e('Size of the post box') ?></th>
     
    6161<p><?php _e('The sizes listed below determine the maximum dimensions to use when inserting an image into the body of a post.'); ?></p>
    6262
    63 <table class="niceblue">
     63<table class="form-table">
    6464<tr valign="top">
    6565<th scope="row"><?php _e('Thumbnail size') ?></th>
     
    8585<p><?php printf(__('To post to WordPress by e-mail you must set up a secret e-mail account with POP3 access. Any mail received at this address will be posted, so it&#8217;s a good idea to keep this address very secret. Here are three random strings you could use: <code>%s</code>, <code>%s</code>, <code>%s</code>.'), wp_generate_password(), wp_generate_password(), wp_generate_password()) ?></p>
    8686
    87 <table class="niceblue">
     87<table class="form-table">
    8888<tr valign="top">
    8989<th scope="row"><?php _e('Mail Server') ?></th>
  • trunk/wp-admin/options.php

    r6979 r7000  
    4949  <?php wp_nonce_field('update-options') ?>
    5050  <input type="hidden" name="action" value="update" />
    51   <table class="niceblue">
     51  <table class="form-table">
    5252<?php
    5353$options = $wpdb->get_results("SELECT * FROM $wpdb->options ORDER BY option_name");
  • trunk/wp-admin/setup-config.php

    r6965 r7000  
    6767<form method="post" action="setup-config.php?step=2">
    6868    <p>Below you should enter your database connection details. If you're not sure about these, contact your host. </p>
    69     <table class="niceblue">
     69    <table class="form-table">
    7070        <tr>
    7171            <th scope="row">Database Name</th>
  • trunk/wp-admin/update.php

    r6943 r7000  
    3232<h2><?php _e('FTP Connection Information') ?></h2>
    3333<p><?php _e('To perform the requested update, FTP connection information is required.') ?></p>
    34 <table class="niceblue">
     34<table class="form-table">
    3535<tr valign="top">
    3636<th scope="row"><?php _e('Hostname:') ?></th>
  • trunk/wp-admin/users.php

    r6990 r7000  
    402402<form action="#add-new-user" method="post" name="adduser" id="adduser" class="add:user-list:">
    403403<?php wp_nonce_field('add-user') ?>
    404 <table class="niceblue">
     404<table class="form-table">
    405405    <tr class="form-field form-required">
    406406        <th scope="row"><?php _e('Username (required)') ?><input name="action" type="hidden" id="action" value="adduser" /></th>
  • trunk/wp-admin/wp-admin.css

    r6997 r7000  
    930930/* Tables used on comment.php and option/setting pages */
    931931
    932 .niceblue {
     932.form-table {
    933933    border-collapse: collapse;
    934934    margin-top: 1em;
     
    936936}
    937937
    938 .niceblue td {
     938.form-table td {
    939939    margin-bottom: 9px;
    940940    padding: 10px;
     
    943943}
    944944
    945 .niceblue th {
     945.form-table th {
    946946    text-align: left;
    947947    padding: 10px;
     
    949949}
    950950
    951 .niceblue tr {
     951.form-table tr {
    952952    background: #eaf3fa;
    953953}
Note: See TracChangeset for help on using the changeset viewer.