From 5afb77ccdd8419a048f3ca8c2efc6b50391caffb Mon Sep 17 00:00:00 2001
From: ryan
Date: Fri, 22 Feb 2008 03:45:19 +0000
Subject: [PATCH] Submitbox style changes from mt. see #5949
git-svn-id: http://svn.automattic.com/wordpress/trunk@6969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
---
wp-admin/edit-form-advanced.php | 7 ++++---
wp-admin/edit-link-form.php | 4 ++--
wp-admin/edit-page-form.php | 6 +++---
wp-admin/wp-admin.css | 31 ++++++++++++++++++++++++++++++-
4 files changed, 39 insertions(+), 9 deletions(-)
diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php
index 8dc2c8bd41..9826dbefec 100644
--- a/wp-admin/edit-form-advanced.php
+++ b/wp-admin/edit-form-advanced.php
@@ -137,7 +137,7 @@ if ( !in_array( $post->post_status, array('publish', 'future') ) || 0 == $post_I
}
if ( ('edit' == $action) && current_user_can('delete_post', $post_ID) )
- echo "post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this post '%s'\n 'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete post') . "";
+ echo "post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this post '%s'\n 'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete post') . "";
?>
@@ -145,8 +145,8 @@ if ( ('edit' == $action) && current_user_can('delete_post', $post_ID) )
-
-
+
+
@@ -158,6 +158,7 @@ if ( ('edit' == $action) && current_user_can('delete_post', $post_ID) )
+
diff --git a/wp-admin/edit-link-form.php b/wp-admin/edit-link-form.php
index 873a13ce85..688182416c 100644
--- a/wp-admin/edit-link-form.php
+++ b/wp-admin/edit-link-form.php
@@ -55,8 +55,8 @@ function xfn_check($class, $value = '', $deprecated = '') {
-
-
+
+
diff --git a/wp-admin/edit-page-form.php b/wp-admin/edit-page-form.php
index 899a23ada3..f419eb198a 100644
--- a/wp-admin/edit-page-form.php
+++ b/wp-admin/edit-page-form.php
@@ -118,7 +118,7 @@ if ( !in_array( $post->post_status, array('publish', 'future') ) || 0 == $post_I
}
if ( ('edit' == $action) && current_user_can('delete_page', $post_ID) )
- echo "post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this page '%s'\n 'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete page') . "";
+ echo "post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this page '%s'\n 'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete page') . "";
?>
@@ -126,8 +126,8 @@ if ( ('edit' == $action) && current_user_can('delete_page', $post_ID) )
-
-
+
+
diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css
index 1d23de8fac..6a43a0024a 100644
--- a/wp-admin/wp-admin.css
+++ b/wp-admin/wp-admin.css
@@ -122,7 +122,36 @@ form#upload #post_content {
}
.submit {
- margin: 1.5em 0;
+ margin: 1.5em 0 0 0;
+ -moz-border-radius-bottomleft: 3px;
+ -khtml-border-bottom-left-radius: 3px;
+ -webkit-border-bottom-left-radius: 3px;
+ border-bottom-left-radius: 3px;
+ -moz-border-radius-bottomright: 3px;
+ -khtml-border-bottom-right-radius: 3px;
+ -webkit-border-bottom-right-radius: 3px;
+ border-bottom-right-radius: 3px;
+}
+
+.side-info {
+ background: #fff;
+ margin: 0;
+ padding: 4px;
+ font-size: 11px;
+}
+
+.side-info h5 {
+ padding-bottom: 8px;
+ border-bottom: 1px solid #dadada;
+ font-size: 14px;
+ margin-bottom: 6px;
+}
+
+.side-info ul {
+ margin: 0;
+ padding-left: 18px;
+ color: #666;
+ list-style: square;
}
.submit input, .button, .button-secondary {