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" />
|
<input type="hidden" name="post_type" value="page" />
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
<!--
|
// <![CDATA[
|
||||||
function focusit() { // focus on first input field
|
function focusit() { // focus on first input field
|
||||||
document.post.title.focus();
|
document.post.title.focus();
|
||||||
}
|
}
|
||||||
addLoadEvent(focusit);
|
addLoadEvent(focusit);
|
||||||
//-->
|
// ]]>
|
||||||
</script>
|
</script>
|
||||||
<div id="poststuff">
|
<div id="poststuff">
|
||||||
|
|
||||||
|
@ -83,7 +83,7 @@ addLoadEvent(focusit);
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<?php if ( 0 != count( get_page_templates() ) ) { ?>
|
<?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>
|
<h3 class="dbx-handle"><?php _e('Page Template:') ?></h3>
|
||||||
<div class="dbx-content"><p><select name="page_template">
|
<div class="dbx-content"><p><select name="page_template">
|
||||||
<option value='default'><?php _e('Default Template'); ?></option>
|
<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">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_settings('blog_charset'); ?>" />
|
<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" />
|
<meta http-equiv="imagetoolbar" content="no" />
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
// <![CDATA[
|
||||||
/* Define any variables we'll need, such as alternate URLs. */
|
/* Define any variables we'll need, such as alternate URLs. */
|
||||||
<?php echo $script; ?>
|
<?php echo $script; ?>
|
||||||
function htmldecode(st) {
|
function htmldecode(st) {
|
||||||
|
@ -423,6 +425,7 @@ function sendToEditor(n) {
|
||||||
else
|
else
|
||||||
win.edInsertContent(win.edCanvas, h);
|
win.edInsertContent(win.edCanvas, h);
|
||||||
}
|
}
|
||||||
|
// ]]>
|
||||||
</script>
|
</script>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
<?php if ( $action == 'links' ) : ?>
|
<?php if ( $action == 'links' ) : ?>
|
||||||
|
@ -663,7 +666,7 @@ th {
|
||||||
</div>
|
</div>
|
||||||
<?php elseif ( $action == 'upload' ) : ?>
|
<?php elseif ( $action == 'upload' ) : ?>
|
||||||
<div class="tip"></div>
|
<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%;">
|
<table style="width:99%;">
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row" align="right"><label for="upload"><?php _e('File:'); ?></label></th>
|
<th scope="row" align="right"><label for="upload"><?php _e('File:'); ?></label></th>
|
||||||
|
@ -694,7 +697,6 @@ th {
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
</form>
|
</form>
|
||||||
<?php elseif ( $action == 'links' ) : ?>
|
<?php elseif ( $action == 'links' ) : ?>
|
||||||
<div id="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> ] —
|
<a href="<?php echo get_permalink($comment->comment_post_ID); ?>" title="<?php echo $post_title; ?>"><?php _e('View Post') ?></a> ] —
|
||||||
<?php _e('Bulk action:') ?>
|
<?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; ?>-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; ?>-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; ?>-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; ?>-nothing" value="later" checked="checked" /> <label for="comment[<?php echo $comment->comment_ID; ?>]-nothing"><?php _e('Defer until later') ?></label>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue