Ticket #21847: 21847.4.patch
File 21847.4.patch, 4.4 KB (added by , 13 years ago) |
---|
-
wp-admin/css/wp-admin-rtl.css
883 883 11.1 - Custom Fields 884 884 ------------------------------------------------------------------------------*/ 885 885 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 */ 891 887 892 888 /*------------------------------------------------------------------------------ 893 889 11.2 - Post Revisions -
wp-admin/css/wp-admin.css
3166 3166 11.1 - Custom Fields 3167 3167 ------------------------------------------------------------------------------*/ 3168 3168 3169 #postcustomstuff .updatemeta,3170 #postcustomstuff .deletemeta {3171 margin: auto;3172 }3173 3174 3169 #postcustomstuff thead th { 3175 3170 padding: 5px 8px 8px; 3176 3171 } … … 3178 3173 #postcustom #postcustomstuff .submit { 3179 3174 border: 0 none; 3180 3175 float: none; 3181 padding: 0 08px 8px;3176 padding: 0 8px 8px; 3182 3177 } 3183 3178 3184 3179 #side-sortables #postcustom #postcustomstuff .submit { 3185 padding: 0 5px; 3180 margin: 0; 3181 padding: 0; 3186 3182 } 3187 3183 3188 #side-sortables #postcustom #postcustomstuff td.left input {3189 margin: 3px 3px 0;3190 }3191 3192 3184 #side-sortables #postcustom #postcustomstuff #the-list textarea { 3193 3185 height: 85px; 3194 margin: 3px;3195 3186 } 3196 3187 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 3197 3194 #postcustomstuff table { 3198 3195 margin: 0; 3199 3196 width: 100%; … … 3202 3199 border-spacing: 0; 3203 3200 } 3204 3201 3202 #postcustomstuff tr { 3203 vertical-align: top; 3204 } 3205 3205 3206 #postcustomstuff table input, 3206 3207 #postcustomstuff table select, 3207 3208 #postcustomstuff table textarea { 3208 width: 9 5%;3209 margin: 8px 0 8px 8px;3209 width: 96%; 3210 margin: 8px; 3210 3211 } 3211 3212 3213 #side-sortables #postcustomstuff table input, 3214 #side-sortables #postcustomstuff table select, 3215 #side-sortables #postcustomstuff table textarea { 3216 margin: 3px; 3217 } 3218 3212 3219 #postcustomstuff th.left, 3213 3220 #postcustomstuff td.left { 3214 3221 width: 38%; 3215 3222 } 3216 3223 3217 #postcustomstuff .submit input ,3218 #postcustomstuff table #newmeta-submit { 3224 #postcustomstuff .submit input { 3225 margin: 0; 3219 3226 width: auto; 3220 3227 } 3221 3228 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; 3228 3232 text-decoration: none; 3229 3233 } 3230 3234 -
wp-admin/includes/template.php
492 492 $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']}' />"; 493 493 494 494 $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 ); 496 496 $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 ); 498 498 $r .= "</div>"; 499 499 $r .= wp_nonce_field( 'change-meta', '_ajax_nonce', false, false ); 500 500 $r .= "</td>"; … … 554 554 <td><textarea id="metavalue" name="metavalue" rows="2" cols="25"></textarea></td> 555 555 </tr> 556 556 557 <tr><td colspan="2" class="submit"> 557 <tr><td colspan="2"> 558 <div class="submit"> 558 559 <?php submit_button( __( 'Add Custom Field' ), 'add:the-list:newmeta secondary', 'addmeta', false, array( 'id' => 'newmeta-submit' ) ); ?> 560 </div> 559 561 <?php wp_nonce_field( 'add-meta', '_ajax_nonce-add-meta', false ); ?> 560 562 </td></tr> 561 563 </tbody>