Make WordPress Core

Ticket #21847: 21847.4.patch

File 21847.4.patch, 4.4 KB (added by SergeyBiryukov, 13 years ago)
  • wp-admin/css/wp-admin-rtl.css

     
    883883  11.1 - Custom Fields
    884884------------------------------------------------------------------------------*/
    885885
    886 #postcustomstuff table input,
    887 #postcustomstuff table select,
    888 #postcustomstuff table textarea {
    889         margin: 8px 8px 8px 0;
    890 }
     886/* No RTL for now, this space intentionally left blank */
    891887
    892888/*------------------------------------------------------------------------------
    893889  11.2 - Post Revisions
  • wp-admin/css/wp-admin.css

     
    31663166  11.1 - Custom Fields
    31673167------------------------------------------------------------------------------*/
    31683168
    3169 #postcustomstuff .updatemeta,
    3170 #postcustomstuff .deletemeta {
    3171         margin: auto;
    3172 }
    3173 
    31743169#postcustomstuff thead th {
    31753170        padding: 5px 8px 8px;
    31763171}
     
    31783173#postcustom #postcustomstuff .submit {
    31793174        border: 0 none;
    31803175        float: none;
    3181         padding: 0 0 8px 8px;
     3176        padding: 0 8px 8px;
    31823177}
    31833178
    31843179#side-sortables #postcustom #postcustomstuff .submit {
    3185         padding: 0 5px;
     3180        margin: 0;
     3181        padding: 0;
    31863182}
    31873183
    3188 #side-sortables #postcustom #postcustomstuff td.left input {
    3189         margin: 3px 3px 0;
    3190 }
    3191 
    31923184#side-sortables #postcustom #postcustomstuff #the-list textarea {
    31933185        height: 85px;
    3194         margin: 3px;
    31953186}
    31963187
     3188#side-sortables #postcustom #postcustomstuff td.left input,
     3189#side-sortables #postcustom #postcustomstuff td.left select,
     3190#side-sortables #postcustomstuff #newmetaleft a {
     3191        margin: 3px 3px 0;
     3192}
     3193
    31973194#postcustomstuff table {
    31983195        margin: 0;
    31993196        width: 100%;
     
    32023199        border-spacing: 0;
    32033200}
    32043201
     3202#postcustomstuff tr {
     3203        vertical-align: top;
     3204}
     3205
    32053206#postcustomstuff table input,
    32063207#postcustomstuff table select,
    32073208#postcustomstuff table textarea {
    3208         width: 95%;
    3209         margin: 8px 0 8px 8px;
     3209        width: 96%;
     3210        margin: 8px;
    32103211}
    32113212
     3213#side-sortables #postcustomstuff table input,
     3214#side-sortables #postcustomstuff table select,
     3215#side-sortables #postcustomstuff table textarea {
     3216        margin: 3px;
     3217}
     3218
    32123219#postcustomstuff th.left,
    32133220#postcustomstuff td.left {
    32143221        width: 38%;
    32153222}
    32163223
    3217 #postcustomstuff .submit input,
    3218 #postcustomstuff table #newmeta-submit {
     3224#postcustomstuff .submit input {
     3225        margin: 0;
    32193226        width: auto;
    32203227}
    32213228
    3222 #postcustomstuff #newmetaleft {
    3223         vertical-align: top;
    3224 }
    3225 
    3226 #postcustomstuff #newmetaleft a {
    3227         padding: 0 10px;
     3229#postcustomstuff #newmetaleft a {       
     3230        display: inline-block;
     3231        margin: 0 8px 8px;
    32283232        text-decoration: none;
    32293233}
    32303234
  • wp-admin/includes/template.php

     
    492492        $r .= "\n\t\t<td class='left'><label class='screen-reader-text' for='meta[{$entry['meta_id']}][key]'>" . __( 'Key' ) . "</label><input name='meta[{$entry['meta_id']}][key]' id='meta[{$entry['meta_id']}][key]' type='text' size='20' value='{$entry['meta_key']}' />";
    493493
    494494        $r .= "\n\t\t<div class='submit'>";
    495         $r .= get_submit_button( __( 'Delete' ), "delete:the-list:meta-{$entry['meta_id']}::_ajax_nonce=$delete_nonce deletemeta", "deletemeta[{$entry['meta_id']}]", false );
     495        $r .= get_submit_button( __( 'Delete' ), "delete:the-list:meta-{$entry['meta_id']}::_ajax_nonce=$delete_nonce deletemeta small", "deletemeta[{$entry['meta_id']}]", false );
    496496        $r .= "\n\t\t";
    497         $r .= get_submit_button( __( 'Update' ), "add:the-list:meta-{$entry['meta_id']}::_ajax_nonce-add-meta=$update_nonce updatemeta" , "meta-{$entry['meta_id']}-submit", false );
     497        $r .= get_submit_button( __( 'Update' ), "add:the-list:meta-{$entry['meta_id']}::_ajax_nonce-add-meta=$update_nonce updatemeta small" , "meta-{$entry['meta_id']}-submit", false );
    498498        $r .= "</div>";
    499499        $r .= wp_nonce_field( 'change-meta', '_ajax_nonce', false, false );
    500500        $r .= "</td>";
     
    554554<td><textarea id="metavalue" name="metavalue" rows="2" cols="25"></textarea></td>
    555555</tr>
    556556
    557 <tr><td colspan="2" class="submit">
     557<tr><td colspan="2">
     558<div class="submit">
    558559<?php submit_button( __( 'Add Custom Field' ), 'add:the-list:newmeta secondary', 'addmeta', false, array( 'id' => 'newmeta-submit' ) ); ?>
     560</div>
    559561<?php wp_nonce_field( 'add-meta', '_ajax_nonce-add-meta', false ); ?>
    560562</td></tr>
    561563</tbody>