Validation fixes from leftjustified. fixes #2907
git-svn-id: http://svn.automattic.com/wordpress/trunk@3983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9894158868
commit
f02a7931d8
|
@ -37,12 +37,12 @@ if (isset($mode) && 'bookmarklet' == $mode) {
|
|||
<input type="hidden" name="post_type" value="page" />
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
// <![CDATA[
|
||||
function focusit() { // focus on first input field
|
||||
document.post.title.focus();
|
||||
}
|
||||
addLoadEvent(focusit);
|
||||
//-->
|
||||
// ]]>
|
||||
</script>
|
||||
<div id="poststuff">
|
||||
|
||||
|
@ -83,7 +83,7 @@ addLoadEvent(focusit);
|
|||
</fieldset>
|
||||
|
||||
<?php if ( 0 != count( get_page_templates() ) ) { ?>
|
||||
<fieldset id="pageparent" class="dbx-box">
|
||||
<fieldset id="pagetemplate" class="dbx-box">
|
||||
<h3 class="dbx-handle"><?php _e('Page Template:') ?></h3>
|
||||
<div class="dbx-content"><p><select name="page_template">
|
||||
<option value='default'><?php _e('Default Template'); ?></option>
|
||||
|
|
|
@ -284,8 +284,10 @@ die(__('This script was not meant to be called directly.'));
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_settings('blog_charset'); ?>" />
|
||||
<title></title>
|
||||
<meta http-equiv="imagetoolbar" content="no" />
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
/* Define any variables we'll need, such as alternate URLs. */
|
||||
<?php echo $script; ?>
|
||||
function htmldecode(st) {
|
||||
|
@ -423,6 +425,7 @@ function sendToEditor(n) {
|
|||
else
|
||||
win.edInsertContent(win.edCanvas, h);
|
||||
}
|
||||
// ]]>
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<?php if ( $action == 'links' ) : ?>
|
||||
|
@ -663,7 +666,7 @@ th {
|
|||
</div>
|
||||
<?php elseif ( $action == 'upload' ) : ?>
|
||||
<div class="tip"></div>
|
||||
<form enctype="multipart/form-data" id="uploadForm" method="POST" action="<?php echo basename(__FILE__); ?>">
|
||||
<form enctype="multipart/form-data" id="uploadForm" method="post" action="<?php echo basename(__FILE__); ?>">
|
||||
<table style="width:99%;">
|
||||
<tr>
|
||||
<th scope="row" align="right"><label for="upload"><?php _e('File:'); ?></label></th>
|
||||
|
@ -694,7 +697,6 @@ th {
|
|||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</form>
|
||||
<?php elseif ( $action == 'links' ) : ?>
|
||||
<div id="links">
|
||||
|
|
|
@ -143,10 +143,10 @@ $post_title = ('' == $post_title) ? "# $comment->comment_post_ID" : $post_title;
|
|||
?>
|
||||
<a href="<?php echo get_permalink($comment->comment_post_ID); ?>" title="<?php echo $post_title; ?>"><?php _e('View Post') ?></a> ] —
|
||||
<?php _e('Bulk action:') ?>
|
||||
<input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment[<?php echo $comment->comment_ID; ?>]-approve" value="approve" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-approve"><?php _e('Approve') ?></label>
|
||||
<input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment[<?php echo $comment->comment_ID; ?>]-spam" value="spam" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-spam"><?php _e('Spam') ?></label>
|
||||
<input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment[<?php echo $comment->comment_ID; ?>]-delete" value="delete" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-delete"><?php _e('Delete') ?></label>
|
||||
<input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment[<?php echo $comment->comment_ID; ?>]-nothing" value="later" checked="checked" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-nothing"><?php _e('Defer until later') ?></label>
|
||||
<input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment-<?php echo $comment->comment_ID; ?>-approve" value="approve" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-approve"><?php _e('Approve') ?></label>
|
||||
<input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment-<?php echo $comment->comment_ID; ?>-spam" value="spam" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-spam"><?php _e('Spam') ?></label>
|
||||
<input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment-<?php echo $comment->comment_ID; ?>-delete" value="delete" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-delete"><?php _e('Delete') ?></label>
|
||||
<input type="radio" name="comment[<?php echo $comment->comment_ID; ?>]" id="comment-<?php echo $comment->comment_ID; ?>-nothing" value="later" checked="checked" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-nothing"><?php _e('Defer until later') ?></label>
|
||||
</p>
|
||||
|
||||
</li>
|
||||
|
|
Loading…
Reference in New Issue