Make WordPress Core

Changeset 1205


Ignore:
Timestamp:
04/28/2004 07:49:27 PM (22 years ago)
Author:
saxmatt
Message:

Cosmetic fixes from forums.

Location:
trunk/wp-admin
Files:
1 deleted
6 edited

Legend:

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

    r1201 r1205  
    219219        if (!$meta) return;     
    220220?>
    221 <table id='meta-list' width='98%'>
     221<table id='meta-list' cellpadding="3">
    222222        <tr>
    223223                <th><?php _e('Key') ?></th>
    … …  
    231231                echo "
    232232        <tr $style>
    233                 <td valign='top'><input name='meta[{$entry['meta_id']}][key]' tabindex='6' type='text' value='{$entry['meta_key']}' /></td>
    234                 <td><textarea name='meta[{$entry['meta_id']}][value]' tabindex='6' rows='2' cols='40'>{$entry['meta_value']}</textarea></td>
    235                 <td align='center'><input name='updatemeta' type='submit' class='updatemeta' tabindex='6' value='" . __('Update') ."' /></td>
    236                 <td align='center'><input name='deletemeta[{$entry['meta_id']}]' type='submit' class='deletemeta' tabindex='6' value='" . __('Delete') ."' /></td>
     233                <td valign='top'><input name='meta[{$entry['meta_id']}][key]' tabindex='6' type='text' size='20' value='{$entry['meta_key']}' /></td>
     234                <td><textarea name='meta[{$entry['meta_id']}][value]' tabindex='6' rows='2' cols='30'>{$entry['meta_value']}</textarea></td>
     235                <td align='center' width='10%'><input name='updatemeta' type='submit' class='updatemeta' tabindex='6' value='" . __('Update') ."' /></td>
     236                <td align='center' width='10%'><input name='deletemeta[{$entry['meta_id']}]' type='submit' class='deletemeta' tabindex='6' value='" . __('Delete') ."' /></td>
    237237        </tr>
    238238";
    … …  
    266266?>
    267267<h3><?php _e('Add a new custom field to this post:') ?></h3>
    268 <table width="100%" cellspacing="3" cellpadding="3">
     268<table cellspacing="3" cellpadding="3">
    269269        <tr>
    270270<th colspan="2"><?php _e('Key') ?></th>
    271271<th><?php _e('Value') ?></th>
    272 <th></th>
    273272</tr>
    274273        <tr valign="top">
    275                 <td align="right"><select id="metakeyselect" name="metakeyselect" tabindex="7">
     274                <td align="right" width="18%"><select id="metakeyselect" name="metakeyselect" tabindex="7">
    276275<option value="#NONE#">- Select -</option>
    277276<?php
    … …  
    280279        }
    281280?>
    282 </select> or </td><td><input type="text" id="metakeyinput" name="metakeyinput" tabindex="7" /></td>
     281</select> or </td>
     282<td><input type="text" id="metakeyinput" name="metakeyinput" tabindex="7" /></td>
    283283                <td><textarea id="metavalue" name="metavalue" rows="3" cols="25" tabindex="7"></textarea></td>
    284                 <td></td>
    285284        </tr>
    286285
  • trunk/wp-admin/admin-header.php

    r1200 r1205  
    134134</head>
    135135<body>
    136 <h1 id="wphead"><a href="http://wordpress.org" rel="external" title="<?php _e('Visit WordPress.org') ?>"><?php _e('WordPress') ?></a></h1>
     136<div id="wphead">
     137<h1><a href="http://wordpress.org" rel="external" title="<?php _e('Visit WordPress.org') ?>"><?php _e('WordPress') ?></a></h1>
     138</div>
    137139
    138140<?php
  • trunk/wp-admin/edit.php

    r1204 r1205  
    1 un<?php
     1<?php
    22require_once('../wp-includes/wp-l10n.php');
    33
    … …  
    4545<form name="viewarc" action="" method="get" style="float: left; width: 20em;">
    4646        <fieldset>
    47         <legend><?php _e('Show Posts From Month of ...') ?></legend>
     47        <legend><?php _e('Show Posts From Month of...') ?></legend>
    4848   
    4949        <?php
    … …  
    6868        </fieldset>
    6969</form>
    70 <form name="searchform" action="" method="get">
     70<form name="searchform" action="" method="get" style="float: left; width: 20em; margin-left: 3em;">
    7171  <fieldset>
    7272  <legend><?php _e('Show Posts That Contain...') ?></legend>
    … …  
    7676</form>
    7777
    78 <br clear="both" />
     78<br style="clear:both;" />
    7979
    8080<table width="100%" cellpadding="3" cellspacing="3">
  • trunk/wp-admin/menu.php

    r1203 r1205  
    2020);
    2121
    22 $self = str_replace('/wp-admin/', '', $PHP_SELF);
     22$self = preg_replace('|.*/wp-admin/|i', '', $_SERVER['PHP_SELF']);
    2323foreach ($menu as $item) {
    2424        $class = '';
    2525
    2626    // 0 = name, 1 = user_level, 2 = file
    27     if ((substr($self, -20) == substr($item[1], -20) && empty($parent_file)) || ($parent_file && ($item[2] == $parent_file))) $class = ' class="current"';
     27    if ((substr($self, -10) == substr($item[2], -10) && empty($parent_file)) || ($parent_file && ($item[2] == $parent_file))) $class = ' class="current"';
    2828   
    2929    if ($user_level >= $item[1]) {
  • trunk/wp-admin/post.php

    r1197 r1205  
    237237         <h2><?php _e('Post Preview (updated when post is saved)'); ?></h2>
    238238                                                                                                                                                <h3 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__("Permanent Link: %s"), the_title()); ?>"><?php the_title(); ?></a></h3>
    239                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         <div class="meta"><?php printf(__("Filed under: %s"), the_category()); ?> &#8212; <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(); ?></div>
     239                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <div class="meta"><?php _e("Filed under:"); ?> <?php the_category(','); ?> &#8212; <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(); ?></div>
    240240
    241241<div class="storycontent">
  • trunk/wp-admin/wp-admin.css

    r1197 r1205  
    3636
    3737body    {
    38         background-color: #fff;
     38        background: #fff;
    3939        color: #000;
    4040        margin: 0;
    … …  
    4949        border: 1px solid #ddd;
    5050        padding: 2px;
    51 }
    52 
    53 fieldset.options {
    54         padding: 1em;
    55 }
    56 
    57 fieldset.options legend {
    58         font-size: 16px;
    5951}
    6052
    … …  
    7466}
    7567
     68fieldset legend a {
     69        border-bottom: none;
     70}
     71
    7672fieldset span.cat-nest {
    7773        display: block;
    7874        margin-left: 10px;
     75}
     76
     77fieldset.options {
     78        padding: 1em;
     79}
     80
     81fieldset.options legend {
     82        font-size: 16px;
    7983}
    8084
    … …  
    156160}
    157161
    158 .submit {
     162.submit, #quicktags, .editform th, #postcustomsubmit {
    159163        text-align: right;
    160164}
    161165
     166.unapproved {
     167        color: #888;
     168}
     169
     170.unapproved a:link {
     171        color: #b9bcff;
     172}
     173
     174.unapproved a:visited {
     175        color: #696dff;
     176}
     177
     178.unapproved a:hover {
     179        color: #009ef0;
     180}
     181
    162182.updated {
    163         background-color: #f0f8ff;
     183        background: #f0f8ff;
    164184        border: 1px solid #69c;
    165185        margin: 5px 5% 10px;
    166186        padding: 0 1em 0 1em;
    167 }
    168 
    169 .unapproved {
    170         color: #888;
    171 }
    172 
    173 .unapproved a:link {
    174         color: #b9bcff;
    175 }
    176 
    177 .unapproved a:visited {
    178         color: #696dff;
    179 }
    180 
    181 .unapproved a:hover {
    182         color: #009ef0;
    183187}
    184188
    … …  
    191195.wrap h2 {
    192196        margin: 6px 0;
     197}
     198
     199#adminmenu {
     200        border-bottom: 2px solid #707070;
     201        margin: 2px 2px 0 2px;
     202        padding: 0 2px;
    193203}
    194204
    … …  
    207217}
    208218
     219#adminmenu a:hover, .current {
     220        background: #eaeaea;
     221        border: 1px solid #9d9d9d;
     222        color: #171717;
     223}
     224
     225#adminmenu li, #adminmenu2 li {
     226        display: inline;
     227        line-height: 2.0em;
     228        list-style: none;
     229        text-align: center;
     230}
     231
     232#adminmenu2 {
     233        background: #707070;
     234        border-bottom: none;
     235        height: 20px;
     236        margin: 0 2px;
     237        padding: 0;
     238}
     239
     240#adminmenu2 .current {
     241        background: #fff;
     242        color: #000;
     243}
     244
    209245#adminmenu2 a {
    210246        border: none;
    … …  
    216252        text-decoration: none;
    217253}
     254
     255#adminmenu2 a {
     256        font-size: 12px;
     257}
     258
    218259#adminmenu2 a:hover {
    219         background-color: #f0f0f0;
    220         color: black;
    221 }
    222 #adminmenu2 .current {
    223         background-color: #fff;
     260        background: #f0f0f0;
    224261        color: #000;
    225262}
    226263
    227 #adminmenu a:hover, .current {
    228         background: #eaeaea;
    229         border: 1px solid #9d9d9d;
    230         color: #171717;
    231 }
    232 
    233 #adminmenu li, #adminmenu2 li {
    234         display: inline;
    235         line-height: 2.0em;
    236         list-style: none;
    237         text-align: center;
    238 }
    239 
    240 #adminmenu {
    241         border-bottom: 2px solid #707070;
    242         margin: 2px 2px 0 2px;
    243         padding: 0 2px;
    244 }
    245 
    246 #adminmenu2 {
    247         margin: 0 2px;
    248         padding: 0;
    249         border-bottom: none;
    250         background-color: #707070;
    251         height: 20px;
    252 }
    253264#adminmenu2 li {
    254265        line-height: 1.7em;
    255 }
    256 
    257 #adminmenu2 a {
    258         font-size: 12px;
    259266}
    260267
    … …  
    328335#postcustom {
    329336        border: 1px solid #aaa;
    330         margin: 0.25em;
    331         padding: 0.25em;
    332         width: 98%;
     337        padding: .5em;
     338        width: 97%;
     339}
     340
     341#postcustom .updatemeta, #postcustom .deletemeta {
     342        margin: auto;
     343        width: 5em;
    333344}
    334345
    … …  
    340351        border: 1px solid #ccc;
    341352        margin: .5em;
    342         width: 100%;
    343        
    344 }
     353        width: 98%;
     354}
     355
    345356
    346357#postcustom table input, #postcustom table textarea {
    347         width: 97%;
    348 }
    349 
    350 #postcustom td, #postcustom th {
    351         color: #000;
    352         margin: 0.2em;
    353         padding: .3em;
    354 }
    355 
    356 #postcustom .updatemeta, #postcustom .deletemeta {
    357         width: 90%;
    358         margin: auto;
    359 }
    360 
    361 fieldset legend a {
    362         border-bottom: none;
    363 }
    364 #postcustomvals {
    365         float: right;
    366         width: 49%;
    367 }
    368 
    369 #save {
    370         width: 13em;
     358        width: 95%;
    371359}
    372360
    … …  
    379367}
    380368
    381 #poststuff textarea {
     369#content {
     370        margin-left: 1%;
    382371        width: 97%;
    383         margin-left:1%;
    384 
    385372}
    386373
    … …  
    407394}
    408395
    409 #quicktags, .editform th, #postcustomsubmit {
    410         text-align: right;
    411 }
    412 
    413396#quicktags {
    414397        margin-right: 1%;
     398}
     399
     400#save {
     401        width: 13em;
    415402}
    416403
    … …  
    427414#wphead {
    428415        background: url(../wp-images/header-shadow.png) #f2f2f2 repeat-x bottom;
    429         height: 44px;
    430         margin: 0;
    431416        padding: 4px 0 0 5px;
    432417}
    433418
    434419#wphead a {
    435         background: url(../wp-images/wp-small.png) no-repeat;
    436420        border-bottom: none;
    437421        display: block;
    … …  
    441425        width: 200px;
    442426}
     427
     428#wphead h1 {
     429        background: url(../wp-images/wp-small.png) no-repeat;
     430        height: 44px;
     431        margin: 0;
     432}
Note: See TracChangeset for help on using the changeset viewer.