summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-admin
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-09-23 11:00:03 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-09-23 11:00:03 +0000
commitc8d80466b49d6c93716cf998b6d24c86f4aeb7e3 (patch)
treeababfa2e69fd6900778209cfd1a9f38e5ae8da18 /wp-inst/wp-admin
parent49e7e55a27a93e1a304f7f31ca52033bb6aa1294 (diff)
downloadwordpress-mu-c8d80466b49d6c93716cf998b6d24c86f4aeb7e3.tar.gz
wordpress-mu-c8d80466b49d6c93716cf998b6d24c86f4aeb7e3.tar.xz
wordpress-mu-c8d80466b49d6c93716cf998b6d24c86f4aeb7e3.zip
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@362 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-admin')
-rw-r--r--wp-inst/wp-admin/edit-form-advanced.php4
-rw-r--r--wp-inst/wp-admin/wp-admin.css13
2 files changed, 16 insertions, 1 deletions
diff --git a/wp-inst/wp-admin/edit-form-advanced.php b/wp-inst/wp-admin/edit-form-advanced.php
index 8818da0..289d30c 100644
--- a/wp-inst/wp-admin/edit-form-advanced.php
+++ b/wp-inst/wp-admin/edit-form-advanced.php
@@ -10,7 +10,9 @@ $messages[3] = __('Custom field deleted.');
<form name="post" action="post.php" method="post" id="post">
<div class="wrap">
-<h2><?php _e('Write Post'); ?></h2>
+<a id="write-post"></a>
+<h2><?php _e('Write Post'); ?><?php if ( 0 != $post_ID ) : ?>
+ <small class="quickjump"><a href="#preview-post"><?php _e('preview &darr;'); ?></a></small><?php endif; ?></h2>
<?php
if (0 == $post_ID) {
diff --git a/wp-inst/wp-admin/wp-admin.css b/wp-inst/wp-admin/wp-admin.css
index f8920b9..df6f34e 100644
--- a/wp-inst/wp-admin/wp-admin.css
+++ b/wp-inst/wp-admin/wp-admin.css
@@ -114,6 +114,19 @@ h2 {
margin: 5px 10px;
}
+h2 small.quickjump {
+ display: block;
+ text-align: right;
+}
+
+h2 small.quickjump a {
+ text-decoration: none;
+ border-bottom: 0;
+ font-size: 15px;
+ background: #f0f8ff;
+ padding: 5px 10px;
+}
+
img, #footer a {
border: 0;
}