Make WordPress Core

Ticket #7985: 7985.diff

File 7985.diff, 25.1 KB (added by Speedboxer, 16 years ago)

Make settings pages more consistent

  • wp-admin.css

     
    11741174        line-height: 1px;
    11751175}
    11761176
     1177textarea.large-text {
     1178        width: 99%;
     1179}
     1180
     1181.form-table input.regular-text {
     1182        width: 325px;
     1183}
     1184
     1185.form-table input.small-text {
     1186        width: 40px;
     1187}
     1188
    11771189#profile-page .form-table textarea {
    11781190        width: 500px;
    11791191        margin-bottom: 6px;
  • options-general.php

     
    5757<table class="form-table">
    5858<tr valign="top">
    5959<th scope="row"><label for="blogname"><?php _e('Blog Title') ?></label></th>
    60 <td><input name="blogname" type="text" id="blogname" value="<?php form_option('blogname'); ?>" size="45" /></td>
     60<td><input name="blogname" type="text" id="blogname" value="<?php form_option('blogname'); ?>" class="regular-text" /></td>
    6161</tr>
    6262<tr valign="top">
    6363<th scope="row"><label for="blogdescription"><?php _e('Tagline') ?></label></th>
    64 <td><input name="blogdescription" type="text" id="blogdescription"  value="<?php form_option('blogdescription'); ?>" size="45" />
     64<td><input name="blogdescription" type="text" id="blogdescription"  value="<?php form_option('blogdescription'); ?>" class="regular-text" />
    6565<span class="setting-description"><?php _e('In a few words, explain what this blog is about.') ?></span></td>
    6666</tr>
    6767<tr valign="top">
    6868<th scope="row"><label for="siteurl"><?php _e('WordPress address (URL)') ?></label></th>
    69 <td><input name="siteurl" type="text" id="siteurl" value="<?php form_option('siteurl'); ?>" size="45" class="code<?php if ( defined( 'WP_SITEURL' ) ) : ?> disabled" disabled="disabled"<?php else: ?>"<?php endif; ?> /></td>
     69<td><input name="siteurl" type="text" id="siteurl" value="<?php form_option('siteurl'); ?>" class="regular-text code<?php if ( defined( 'WP_SITEURL' ) ) : ?> disabled" disabled="disabled"<?php else: ?>"<?php endif; ?> /></td>
    7070</tr>
    7171<tr valign="top">
    7272<th scope="row"><label for="home"><?php _e('Blog address (URL)') ?></label></th>
    73 <td><input name="home" type="text" id="home" value="<?php form_option('home'); ?>" size="45" class="code<?php if ( defined( 'WP_HOME' ) ) : ?> disabled" disabled="disabled"<?php else: ?>"<?php endif; ?> />
     73<td><input name="home" type="text" id="home" value="<?php form_option('home'); ?>" class="regular-text code<?php if ( defined( 'WP_HOME' ) ) : ?> disabled" disabled="disabled"<?php else: ?>"<?php endif; ?> />
    7474<span class="setting-description"><?php _e('Enter the address here if you want your blog homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></span></td>
    7575</tr>
    7676<tr valign="top">
    7777<th scope="row"><label for="admin_email"><?php _e('E-mail address') ?> </label></th>
    78 <td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" size="45" class="code" />
     78<td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text code" />
    7979<span class="setting-description"><?php _e('This address is used for admin purposes, like new user notification.') ?></span></td>
    8080</tr>
    8181<tr valign="top">
     
    153153
    154154        echo '  <label><input type="radio" name="date_format" id="date_format_custom_radio" value="\c\u\s\t\o\m"';
    155155        checked( $custom, TRUE );
    156         echo '/> ' . __('Custom') . ': </label><input type="text" name="date_format_custom" value="' . attribute_escape( get_option('date_format') ) . '" size="30" /> ' . gmdate( get_option('date_format'), current_time('timestamp') ) . "\n";
     156        echo '/> ' . __('Custom') . ': </label><input type="text" name="date_format_custom" value="' . attribute_escape( get_option('date_format') ) . '" class="small-text" /> ' . gmdate( get_option('date_format'), current_time('timestamp') ) . "\n";
    157157
    158158        echo "\t<p>" . __('<a href="http://codex.wordpress.org/Formatting_Date_and_Time">Documentation on date formatting</a>. Click "Save Changes" to update sample output.') . "</p>\n";
    159159?>
     
    185185
    186186        echo '  <label><input type="radio" name="time_format" id="time_format_custom_radio" value="\c\u\s\t\o\m"';
    187187        checked( $custom, TRUE );
    188         echo '/> ' . __('Custom') . ': </label><input type="text" name="time_format_custom" value="' . attribute_escape( get_option('time_format') ) . '" size="30" /> ' . gmdate( get_option('time_format'), current_time('timestamp') ) . "\n";
     188        echo '/> ' . __('Custom') . ': </label><input type="text" name="time_format_custom" value="' . attribute_escape( get_option('time_format') ) . '" class="small-text" /> ' . gmdate( get_option('time_format'), current_time('timestamp') ) . "\n";
    189189?>
    190190        </fieldset>
    191191</td>
  • options-media.php

     
    5656<th scope="row"><?php _e('Thumbnail size') ?></th>
    5757<td>
    5858<label for="thumbnail_size_w"><?php _e('Width'); ?></label>
    59 <input name="thumbnail_size_w" type="text" id="thumbnail_size_w" value="<?php form_option('thumbnail_size_w'); ?>" size="6" />
     59<input name="thumbnail_size_w" type="text" id="thumbnail_size_w" value="<?php form_option('thumbnail_size_w'); ?>" class="small-text" />
    6060<label for="thumbnail_size_h"><?php _e('Height'); ?></label>
    61 <input name="thumbnail_size_h" type="text" id="thumbnail_size_h" value="<?php form_option('thumbnail_size_h'); ?>" size="6" /><br />
     61<input name="thumbnail_size_h" type="text" id="thumbnail_size_h" value="<?php form_option('thumbnail_size_h'); ?>" class="small-text" /><br />
    6262<input name="thumbnail_crop" type="checkbox" id="thumbnail_crop" value="1" <?php checked('1', get_option('thumbnail_crop')); ?>/>
    6363<label for="thumbnail_crop"><?php _e('Crop thumbnail to exact dimensions (normally thumbnails are proportional)'); ?></label>
    6464</td>
     
    6868<th scope="row"><?php _e('Medium size') ?></th>
    6969<td><fieldset><legend class="hidden"><?php _e('Medium size') ?></legend>
    7070<label for="medium_size_w"><?php _e('Max Width'); ?></label>
    71 <input name="medium_size_w" type="text" id="medium_size_w" value="<?php form_option('medium_size_w'); ?>" size="6" />
     71<input name="medium_size_w" type="text" id="medium_size_w" value="<?php form_option('medium_size_w'); ?>" class="small-text" />
    7272<label for="medium_size_h"><?php _e('Max Height'); ?></label>
    73 <input name="medium_size_h" type="text" id="medium_size_h" value="<?php form_option('medium_size_h'); ?>" size="6" />
     73<input name="medium_size_h" type="text" id="medium_size_h" value="<?php form_option('medium_size_h'); ?>" class="small-text" />
    7474</fieldset></td>
    7575</tr>
    7676
     
    7878<th scope="row"><?php _e('Large size') ?></th>
    7979<td><fieldset><legend class="hidden"><?php _e('Large size') ?></legend>
    8080<label for="large_size_w"><?php _e('Max Width'); ?></label>
    81 <input name="large_size_w" type="text" id="large_size_w" value="<?php form_option('large_size_w'); ?>" size="6" />
     81<input name="large_size_w" type="text" id="large_size_w" value="<?php form_option('large_size_w'); ?>" class="small-text" />
    8282<label for="large_size_h"><?php _e('Max Height'); ?></label>
    83 <input name="large_size_h" type="text" id="large_size_h" value="<?php form_option('large_size_h'); ?>" size="6" />
     83<input name="large_size_h" type="text" id="large_size_h" value="<?php form_option('large_size_h'); ?>" class="small-text" />
    8484</fieldset></td>
    8585</tr>
    8686 
  • options-misc.php

     
    2828<table class="form-table">
    2929<tr valign="top">
    3030<th scope="row"><label for="upload_path"><?php _e('Store uploads in this folder'); ?></label></th>
    31 <td><input name="upload_path" type="text" id="upload_path" class="code" value="<?php echo attribute_escape(str_replace(ABSPATH, '', get_option('upload_path'))); ?>" size="40" />
     31<td><input name="upload_path" type="text" id="upload_path" value="<?php echo attribute_escape(str_replace(ABSPATH, '', get_option('upload_path'))); ?>" class="regular-text code" />
    3232<span class="setting-description"><?php _e('Default is <code>wp-content/uploads</code>'); ?></span>
    3333</td>
    3434</tr>
    3535
    3636<tr valign="top">
    3737<th scope="row"><label for="upload_url_path"><?php _e('Full URL path to files'); ?></label></th>
    38 <td><input name="upload_url_path" type="text" id="upload_url_path" class="code" value="<?php echo attribute_escape( get_option('upload_url_path')); ?>" size="40" />
     38<td><input name="upload_url_path" type="text" id="upload_url_path" value="<?php echo attribute_escape( get_option('upload_url_path')); ?>" class="regular-text code" />
    3939<span class="setting-description"><?php _e('Configuring this is optional by default it should be blank'); ?></span>
    4040</td>
    4141</tr>
  • options-discussion.php

     
    5555
    5656<label for="close_comments_for_old_posts">
    5757<input name="close_comments_for_old_posts" type="checkbox" id="close_comments_for_old_posts" value="1" <?php checked('1', get_option('close_comments_for_old_posts')); ?> />
    58 <?php printf( __('Automatically close comments on articles older than %s days'), '</label><input name="close_comments_days_old" type="text" id="close_comments_days_old" value="' . attribute_escape(get_option('close_comments_days_old')) . '" size="3" />') ?>
     58<?php printf( __('Automatically close comments on articles older than %s days'), '</label><input name="close_comments_days_old" type="text" id="close_comments_days_old" value="' . attribute_escape(get_option('close_comments_days_old')) . '" class="small-text" />') ?>
    5959<br />
    6060<label for="thread_comments">
    6161<input name="thread_comments" type="checkbox" id="thread_comments" value="1" <?php checked('1', get_option('thread_comments')); ?> />
     
    8484if ( 'oldest' == get_option('default_comments_page') ) $default_comments_page .= ' selected="selected"';
    8585$default_comments_page .= '>' . __('first') . '</option></select>';
    8686
    87 printf( __('Break comments into pages with %1$s comments per page and the %2$s page displayed by default'), '</label><input name="comments_per_page" type="text" id="comments_per_page" value="' . attribute_escape(get_option('comments_per_page')) . '" size="3" />', $default_comments_page );
     87printf( __('Break comments into pages with %1$s comments per page and the %2$s page displayed by default'), '</label><input name="comments_per_page" type="text" id="comments_per_page" value="' . attribute_escape(get_option('comments_per_page')) . '" class="small-text" />', $default_comments_page );
    8888
    8989?>
    9090<br />
     
    126126<tr valign="top">
    127127<th scope="row"><?php _e('Comment Moderation') ?></th>
    128128<td><fieldset><legend class="hidden"><?php _e('Comment Moderation') ?></legend>
    129 <p><label for="comment_max_links"><?php printf(__('Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="text" id="comment_max_links" size="3" value="' . get_option('comment_max_links'). '" />' ) ?></label></p>
     129<p><label for="comment_max_links"><?php printf(__('Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="text" id="comment_max_links" value="' . get_option('comment_max_links'). '" class="small-text" />' ) ?></label></p>
    130130
    131131<p><label for="moderation_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP per line. It will match inside words, so "press" will match "WordPress".') ?></label></p>
    132132<p>
    133 <textarea name="moderation_keys" cols="60" rows="10" id="moderation_keys" style="width: 98%; font-size: 12px;" class="code"><?php form_option('moderation_keys'); ?></textarea>
     133<textarea name="moderation_keys" rows="10" id="moderation_keys" class="large-text code"><?php form_option('moderation_keys'); ?></textarea>
    134134</p>
    135135</fieldset></td>
    136136</tr>
     
    139139<td><fieldset><legend class="hidden"><?php _e('Comment Blacklist') ?></legend>
    140140<p><label for="blacklist_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be marked as spam. One word or IP per line. It will match inside words, so "press" will match "WordPress".') ?></label></p>
    141141<p>
    142 <textarea name="blacklist_keys" cols="60" rows="10" id="blacklist_keys" style="width: 98%; font-size: 12px;" class="code"><?php form_option('blacklist_keys'); ?></textarea>
     142<textarea name="blacklist_keys" rows="10" id="blacklist_keys" class="large-text code"><?php form_option('blacklist_keys'); ?></textarea>
    143143</p>
    144144</fieldset></td>
    145145</tr>
  • options.php

     
    9191  <input type="hidden" name="action" value="update" />
    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">
    9797<?php
     
    122122<td>";
    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>
    128128</tr>";
     
    130130?>
    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>
    136136
  • user-edit.php

     
    239239<table class="form-table">
    240240        <tr>
    241241                <th><label for="user_login"><?php _e('Username'); ?></label></th>
    242                 <td><input type="text" name="user_login" id="user_login" value="<?php echo $profileuser->user_login; ?>" disabled="disabled" /> <?php _e('Your username cannot be changed'); ?></td>
     242                <td><input type="text" name="user_login" id="user_login" value="<?php echo $profileuser->user_login; ?>" disabled="disabled" class="regular-text" /> <?php _e('Your username cannot be changed.'); ?></td>
    243243        </tr>
    244244
    245245<?php if ( !$is_profile_page ): ?>
     
    269269
    270270<tr>
    271271        <th><label for="first_name"><?php _e('First name') ?></label></th>
    272         <td><input type="text" name="first_name" id="first_name" value="<?php echo $profileuser->first_name ?>" /></td>
     272        <td><input type="text" name="first_name" id="first_name" value="<?php echo $profileuser->first_name ?>" class="regular-text" /></td>
    273273</tr>
    274274
    275275<tr>
    276276        <th><label for="last_name"><?php _e('Last name') ?></label></th>
    277         <td><input type="text" name="last_name" id="last_name" value="<?php echo $profileuser->last_name ?>" /></td>
     277        <td><input type="text" name="last_name" id="last_name" value="<?php echo $profileuser->last_name ?>" class="regular-text" /></td>
    278278</tr>
    279279
    280280<tr>
    281281        <th><label for="nickname"><?php _e('Nickname') ?></label></th>
    282         <td><input type="text" name="nickname" id="nickname" value="<?php echo $profileuser->nickname ?>" /></td>
     282        <td><input type="text" name="nickname" id="nickname" value="<?php echo $profileuser->nickname ?>" class="regular-text" /></td>
    283283</tr>
    284284
    285285<tr>
     
    311311<table class="form-table">
    312312<tr>
    313313        <th><label for="email"><?php _e('E-mail') ?></label></th>
    314         <td><input type="text" name="email" id="email" value="<?php echo $profileuser->user_email ?>" /> <?php _e('Required'); ?></td>
     314        <td><input type="text" name="email" id="email" value="<?php echo $profileuser->user_email ?>" class="regular-text" /> <?php _e('Required.');?></td>
    315315</tr>
    316316
    317317<tr>
    318318        <th><label for="url"><?php _e('Website') ?></label></th>
    319         <td><input type="text" name="url" id="url" value="<?php echo $profileuser->user_url ?>" /></td>
     319        <td><input type="text" name="url" id="url" value="<?php echo $profileuser->user_url ?>" class="regular-text" /></td>
    320320</tr>
    321321
    322322<tr>
    323323        <th><label for="aim"><?php _e('AIM') ?></label></th>
    324         <td><input type="text" name="aim" id="aim" value="<?php echo $profileuser->aim ?>" /></td>
     324        <td><input type="text" name="aim" id="aim" value="<?php echo $profileuser->aim ?>" class="regular-text" /></td>
    325325</tr>
    326326
    327327<tr>
    328328        <th><label for="yim"><?php _e('Yahoo IM') ?></label></th>
    329         <td><input type="text" name="yim" id="yim" value="<?php echo $profileuser->yim ?>" /></td>
     329        <td><input type="text" name="yim" id="yim" value="<?php echo $profileuser->yim ?>" class="regular-text" /></td>
    330330</tr>
    331331
    332332<tr>
    333333        <th><label for="jabber"><?php _e('Jabber / Google Talk') ?></label></th>
    334         <td><input type="text" name="jabber" id="jabber" value="<?php echo $profileuser->jabber ?>" /></td>
     334        <td><input type="text" name="jabber" id="jabber" value="<?php echo $profileuser->jabber ?>" class="regular-text" /></td>
    335335</tr>
    336336</table>
    337337
     
    390390<p class="submit">
    391391        <input type="hidden" name="action" value="update" />
    392392        <input type="hidden" name="user_id" id="user_id" value="<?php echo $user_id; ?>" />
    393         <input type="submit" class="button" value="<?php $is_profile_page? _e('Update Profile') : _e('Update User') ?>" name="submit" />
    394  </p>
     393        <input type="submit" class="button-primary" value="<?php $is_profile_page? _e('Update Profile') : _e('Update User') ?>" name="submit" />
     394</p>
    395395</form>
    396396</div>
    397397<?php
  • options-reading.php

     
    5555<tr valign="top">
    5656<th scope="row"><label for="posts_per_page"><?php _e('Blog pages show at most') ?></label></th>
    5757<td>
    58 <input name="posts_per_page" type="text" id="posts_per_page" value="<?php form_option('posts_per_page'); ?>" size="3" /> <?php _e('posts') ?>
     58<input name="posts_per_page" type="text" id="posts_per_page" value="<?php form_option('posts_per_page'); ?>" class="small-text" /> <?php _e('posts') ?>
    5959</td>
    6060</tr>
    6161<tr valign="top">
    6262<th scope="row"><label for="posts_per_rss"><?php _e('Syndication feeds show the most recent') ?></label></th>
    63 <td><input name="posts_per_rss" type="text" id="posts_per_rss" value="<?php form_option('posts_per_rss'); ?>" size="3" /> <?php _e('posts') ?></td>
     63<td><input name="posts_per_rss" type="text" id="posts_per_rss" value="<?php form_option('posts_per_rss'); ?>" class="small-text" /> <?php _e('posts') ?></td>
    6464</tr>
    6565<tr valign="top">
    6666<th scope="row"><?php _e('For each article in a feed, show') ?> </th>
     
    7272
    7373<tr valign="top">
    7474<th scope="row"><label for="blog_charset"><?php _e('Encoding for pages and feeds') ?></label></th>
    75 <td><input name="blog_charset" type="text" id="blog_charset" value="<?php form_option('blog_charset'); ?>" size="20" class="code" />
     75<td><input name="blog_charset" type="text" id="blog_charset" value="<?php form_option('blog_charset'); ?>" class="regular-text code" />
    7676<span class="setting-description"><?php _e('The character encoding you write your blog in (UTF-8 is <a href="http://developer.apple.com/documentation/macos8/TextIntlSvcs/TextEncodingConversionManager/TEC1.5/TEC.b0.html">recommended</a>)') ?></span></td>
    7777</tr>
    7878<?php do_settings_fields('reading', 'default'); ?>
  • options-permalink.php

     
    172172                        </label>
    173173                </th>
    174174                <td>
    175                         <input name="permalink_structure" id="permalink_structure" type="text" class="code" style="width: 60%;" value="<?php echo attribute_escape($permalink_structure); ?>" size="50" />
     175                        <input name="permalink_structure" id="permalink_structure" type="text" value="<?php echo attribute_escape($permalink_structure); ?>" class="regular-text code" />
    176176                </td>
    177177        </tr>
    178178</table>
     
    187187<table class="form-table">
    188188        <tr>
    189189                <th><label for="category_base"><?php _e('Category base'); ?></label></th>
    190                 <td><input name="category_base" id="category_base" type="text" class="code"  value="<?php echo attribute_escape($category_base); ?>" size="30" /></td>
     190                <td><input name="category_base" id="category_base" type="text" value="<?php echo attribute_escape($category_base); ?>" class="regular-text code" /></td>
    191191        </tr>
    192192        <tr>
    193193                <th><label for="tag_base"><?php _e('Tag base'); ?></label></th>
    194                 <td><input name="tag_base" id="tag_base" type="text" class="code"  value="<?php echo attribute_escape($tag_base); ?>" size="30" /></td>
     194                <td><input name="tag_base" id="tag_base" type="text" value="<?php echo attribute_escape($tag_base); ?>" class="regular-text code" /></td>
    195195        </tr>
    196196        <?php do_settings_fields('permalink', 'optional'); ?>
    197197</table>
     
    206206  <p><?php _e('If your <code>.htaccess</code> file were <a href="http://codex.wordpress.org/Changing_File_Permissions">writable</a>, we could do this automatically, but it isn&#8217;t so these are the mod_rewrite rules you should have in your <code>.htaccess</code> file. Click in the field and press <kbd>CTRL + a</kbd> to select all.') ?></p>
    207207<form action="options-permalink.php" method="post">
    208208<?php wp_nonce_field('update-permalink') ?>
    209         <p><textarea rows="5" style="width: 98%;" name="rules" id="rules"><?php echo wp_specialchars($wp_rewrite->mod_rewrite_rules()); ?></textarea></p>
     209        <p><textarea rows="6" class="large-text readonly" name="rules" id="rules" readonly="readonly"><?php echo wp_specialchars($wp_rewrite->mod_rewrite_rules()); ?></textarea></p>
    210210</form>
    211211<?php endif; ?>
    212212
  • options-writing.php

     
    2626<table class="form-table">
    2727<tr valign="top">
    2828<th scope="row"><label for="default_post_edit_rows"> <?php _e('Size of the post box') ?></label></th>
    29 <td><input name="default_post_edit_rows" type="text" id="default_post_edit_rows" value="<?php form_option('default_post_edit_rows'); ?>" size="2" style="width: 1.5em;" />
     29<td><input name="default_post_edit_rows" type="text" id="default_post_edit_rows" value="<?php form_option('default_post_edit_rows'); ?>" class="small-text" />
    3030<?php _e('lines') ?></td>
    3131</tr>
    3232<tr valign="top">
     
    9797<table class="form-table">
    9898<tr valign="top">
    9999<th scope="row"><label for="mailserver_url"><?php _e('Mail Server') ?></label></th>
    100 <td><input name="mailserver_url" type="text" id="mailserver_url" value="<?php form_option('mailserver_url'); ?>" size="40" />
     100<td><input name="mailserver_url" type="text" id="mailserver_url" value="<?php form_option('mailserver_url'); ?>" class="regular-text" />
    101101<label for="mailserver_port"><?php _e('Port') ?></label>
    102 <input name="mailserver_port" type="text" id="mailserver_port" value="<?php form_option('mailserver_port'); ?>" size="6" />
     102<input name="mailserver_port" type="text" id="mailserver_port" value="<?php form_option('mailserver_port'); ?>" class="small-text" />
    103103</td>
    104104</tr>
    105105<tr valign="top">
    106106<th scope="row"><label for="mailserver_login"><?php _e('Login Name') ?></label></th>
    107 <td><input name="mailserver_login" type="text" id="mailserver_login" value="<?php form_option('mailserver_login'); ?>" size="40" /></td>
     107<td><input name="mailserver_login" type="text" id="mailserver_login" value="<?php form_option('mailserver_login'); ?>" class="regular-text" /></td>
    108108</tr>
    109109<tr valign="top">
    110110<th scope="row"><label for="mailserver_pass"><?php _e('Password') ?></label></th>
    111111<td>
    112 <input name="mailserver_pass" type="text" id="mailserver_pass" value="<?php form_option('mailserver_pass'); ?>" size="40" />
     112<input name="mailserver_pass" type="text" id="mailserver_pass" value="<?php form_option('mailserver_pass'); ?>" class="regular-text" />
    113113</td>
    114114</tr>
    115115<tr valign="top">
     
    135135
    136136<p><label for="ping_sites"><?php _e('When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see <a href="http://codex.wordpress.org/Update_Services">Update Services</a> on the Codex. Separate multiple service <abbr title="Universal Resource Locator">URL</abbr>s with line breaks.') ?></label></p>
    137137
    138 <textarea name="ping_sites" id="ping_sites" style="width: 98%;" rows="3" cols="50"><?php form_option('ping_sites'); ?></textarea>
     138<textarea name="ping_sites" id="ping_sites" class="large-text" rows="3"><?php form_option('ping_sites'); ?></textarea>
    139139
    140140<?php else : ?>
    141141