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

git-svn-id: http://svn.automattic.com/wordpress/trunk@5182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rob1n 2007-04-05 02:03:40 +00:00
parent c864976754
commit c2ab78d52c
2 changed files with 9 additions and 2 deletions

View File

@ -147,9 +147,9 @@ endforeach;
<legend><?php _e('Post') ?> <legend><?php _e('Post') ?>
<?php if ( 'publish' == $post->post_status ) { ?> <?php if ( 'publish' == $post->post_status ) { ?>
<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> <a href="<?php echo clean_url(get_permalink($post->ID)); ?>" class="view-link" target="_blank"><?php _e('View &raquo;'); ?></a>
<?php } elseif ( 'edit' == $action ) { ?> <?php } elseif ( 'edit' == $action ) { ?>
<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> <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>
<?php } ?> <?php } ?>
</legend> </legend>

View File

@ -1332,3 +1332,10 @@ a.page-numbers:hover {
font-weight: bold; font-weight: bold;
margin: 0 6px; margin: 0 6px;
} }
a.view-link {
position: absolute;
right: 2em;
margin-right: 19em;
text-decoration:underline;
}