";
+ if ('unapproved' == $comment_status) {
+ echo '';
+ } else {
+ echo '';
}
- ?>
- Name: comment_author_email) { ?>| Email: comment_author_email) { ?> | URI: | IP:
+ ?>
+ Name: comment_author_email) { ?>| Email: comment_author_email) { ?> | URI: | IP:
Posted | comment_ID."\">Edit";
echo " | comment_post_ID."&comment=".$comment->comment_ID."\" onclick=\"return confirm('You are about to delete this comment by \'".$comment->comment_author."\'\\n \'Cancel\' to stop, \'OK\' to delete.')\">Delete | ";
} // end if any comments to show
- ?> View Post
- ";
- }
- ?>
+ ?> Edit Post
diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css
index 6dff1d6776..08a70c09bd 100644
--- a/wp-admin/wp-admin.css
+++ b/wp-admin/wp-admin.css
@@ -35,7 +35,7 @@ h2 {
}
label {
- font-weight: bold;
+ cursor: pointer;
}
li {
@@ -197,6 +197,24 @@ textarea, input, select {
clear: both;
}
+#post label.selectit {
+ background-color: #eee;
+ padding: 0 2px;
+ display: block;
+ margin-bottom: 1px;
+ border-bottom: 1px solid #666;
+ font-size: 11px;
+}
+
+#post label.selectit:hover {
+ background-color: #dadada;
+}
+
+label input {
+ padding: 0;
+ margin: 0;
+}
+
#profile {
margin: 10px;
}
diff --git a/wp-admin/wp-edit.form.php b/wp-admin/wp-edit.form.php
index a4fa93e812..4381194288 100644
--- a/wp-admin/wp-edit.form.php
+++ b/wp-admin/wp-edit.form.php
@@ -8,6 +8,10 @@ function selected($selected, $current) {
if ($selected == $current) echo ' selected="selected"';
}
+function checked($checked, $current) {
+ if ($checked == $current) echo ' checked="checked"';
+}
+
switch($action) {
case 'post':
$submitbutton_text = 'Blog this!';
@@ -57,7 +61,7 @@ switch($action) {
-