]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/edit-form-comment.php
WordPress 4.1.2-scripts
[autoinstalls/wordpress.git] / wp-admin / edit-form-comment.php
index 55f8df635b023a8551d602d6188b7dcef18d1ba4..d6e3d4e1a05880e90b349b16cddd9c039d482f93 100644 (file)
@@ -28,11 +28,11 @@ if ( !defined('ABSPATH') )
 <div class="inside">
 <table class="form-table editcomment">
 <tbody>
-<tr valign="top">
+<tr>
        <td class="first"><?php _e( 'Name:' ); ?></td>
        <td><input type="text" name="newcomment_author" size="30" value="<?php echo esc_attr( $comment->comment_author ); ?>" id="name" /></td>
 </tr>
-<tr valign="top">
+<tr>
        <td class="first">
        <?php
                if ( $comment->comment_author_email ) {
@@ -43,7 +43,7 @@ if ( !defined('ABSPATH') )
 ?></td>
        <td><input type="text" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" id="email" /></td>
 </tr>
-<tr valign="top">
+<tr>
        <td class="first">
        <?php
                if ( ! empty( $comment->comment_author_url ) && 'http://' != $comment->comment_author_url ) {
@@ -71,7 +71,7 @@ if ( !defined('ABSPATH') )
 
 <div id="postbox-container-1" class="postbox-container">
 <div id="submitdiv" class="stuffbox" >
-<h3><span class='hndle'><?php _e('Status') ?></span></h3>
+<h3><span class="hndle"><?php _e('Status') ?></span></h3>
 <div class="inside">
 <div class="submitbox" id="submitcomment">
 <div id="minor-publishing">
@@ -99,7 +99,7 @@ if ( !defined('ABSPATH') )
 
 <div class="misc-pub-section curtime misc-pub-curtime">
 <?php
-// translators: Publish box date format, see http://php.net/date
+/* translators: Publish box date format, see http://php.net/date */
 $datef = __( 'M j, Y @ G:i' );
 $stamp = __('Submitted on: <b>%1$s</b>');
 $date = date_i18n( $datef, strtotime( $comment->comment_date ) );
@@ -155,6 +155,8 @@ do_meta_boxes(null, 'normal', $comment);
 </div>
 </form>
 
+<?php if ( ! wp_is_mobile() ) : ?>
 <script type="text/javascript">
 try{document.post.name.focus();}catch(e){}
 </script>
+<?php endif;