Draw more attention to the messages, which now blend in a little with the header. TODO: Put all messages in an array, abstract out HTML

git-svn-id: http://svn.automattic.com/wordpress/trunk@2762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt
2005-08-08 01:13:22 +00:00
parent 06e8e848a4
commit 65546ba7a5
22 changed files with 135 additions and 34 deletions

View File

@@ -4,7 +4,7 @@ $messages[2] = __('Custom field updated');
$messages[3] = __('Custom field deleted.');
?>
<?php if (isset($_GET['message'])) : ?>
<div class="updated"><p><?php echo $messages[$_GET['message']]; ?></p></div>
<div id="message" class="updated fade"><p><?php echo $messages[$_GET['message']]; ?></p></div>
<?php endif; ?>
<form name="post" action="post.php" method="post" id="post">
@@ -52,7 +52,7 @@ function focusit() {
// focus on first input field
document.post.title.focus();
}
window.onload = focusit;
addLoadEvent(focusit);
</script>
<?php endif; ?>
<div id="poststuff">