WordPress.org

Make WordPress Core

Changeset 5182


Ignore:
Timestamp:
04/05/07 02:03:40 (8 years ago)
Author:
rob1n
Message:

Move inline styles to wp-admin.css. see #4068

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r5168 r5182  
    148148 
    149149<?php if ( 'publish' == $post->post_status ) { ?> 
    150 <a href="<?php echo clean_url(get_permalink($post->ID)); ?>" style="position: absolute; right: 2em; margin-right: 19em; text-decoration: underline;" target="_blank"><?php _e('View &raquo;'); ?></a> 
     150<a href="<?php echo clean_url(get_permalink($post->ID)); ?>" class="view-link" target="_blank"><?php _e('View &raquo;'); ?></a> 
    151151<?php } elseif ( 'edit' == $action ) { ?> 
    152 <a href="<?php echo clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" style="position: absolute; right: 2em; margin-right: 19em; text-decoration: underline;" target="_blank"><?php _e('Preview &raquo;'); ?></a> 
     152<a href="<?php echo clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" class="view-link" target="_blank"><?php _e('Preview &raquo;'); ?></a> 
    153153<?php } ?> 
    154154</legend> 
  • trunk/wp-admin/wp-admin.css

    r5110 r5182  
    13331333    margin: 0 6px; 
    13341334} 
     1335 
     1336a.view-link { 
     1337    position: absolute; 
     1338    right: 2em; 
     1339    margin-right: 19em; 
     1340    text-decoration:underline; 
     1341} 
Note: See TracChangeset for help on using the changeset viewer.