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

git-svn-id: https://develop.svn.wordpress.org/trunk@5182 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
rob1n 2007-04-05 02:03:40 +00:00
parent 42414763e8
commit 8044a5fec7
2 changed files with 9 additions and 2 deletions

View File

@ -147,9 +147,9 @@ endforeach;
<legend><?php _e('Post') ?>
<?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 ) { ?>
<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 } ?>
</legend>

View File

@ -1331,4 +1331,11 @@ a.page-numbers:hover {
.pagenav span {
font-weight: bold;
margin: 0 6px;
}
a.view-link {
position: absolute;
right: 2em;
margin-right: 19em;
text-decoration:underline;
}