29 <div class="inside"> |
29 <div class="inside"> |
30 <table class="form-table editcomment"> |
30 <table class="form-table editcomment"> |
31 <tbody> |
31 <tbody> |
32 <tr valign="top"> |
32 <tr valign="top"> |
33 <td class="first"><?php _e( 'Name:' ); ?></td> |
33 <td class="first"><?php _e( 'Name:' ); ?></td> |
34 <td><input type="text" name="newcomment_author" size="30" value="<?php echo esc_attr( $comment->comment_author ); ?>" tabindex="1" id="name" /></td> |
34 <td><input type="text" name="newcomment_author" size="30" value="<?php echo esc_attr( $comment->comment_author ); ?>" id="name" /></td> |
35 </tr> |
35 </tr> |
36 <tr valign="top"> |
36 <tr valign="top"> |
37 <td class="first"> |
37 <td class="first"> |
38 <?php |
38 <?php |
39 if ( $comment->comment_author_email ) { |
39 if ( $comment->comment_author_email ) { |
40 printf( __( 'E-mail (%s):' ), get_comment_author_email_link( __( 'send e-mail' ), '', '' ) ); |
40 printf( __( 'E-mail (%s):' ), get_comment_author_email_link( __( 'send e-mail' ), '', '' ) ); |
41 } else { |
41 } else { |
42 _e( 'E-mail:' ); |
42 _e( 'E-mail:' ); |
43 } |
43 } |
44 ?></td> |
44 ?></td> |
45 <td><input type="text" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" tabindex="2" id="email" /></td> |
45 <td><input type="text" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" id="email" /></td> |
46 </tr> |
46 </tr> |
47 <tr valign="top"> |
47 <tr valign="top"> |
48 <td class="first"> |
48 <td class="first"> |
49 <?php |
49 <?php |
50 if ( ! empty( $comment->comment_author_url ) && 'http://' != $comment->comment_author_url ) { |
50 if ( ! empty( $comment->comment_author_url ) && 'http://' != $comment->comment_author_url ) { |
51 $link = '<a href="' . $comment->comment_author_url . '" rel="external nofollow" target="_blank">' . __('visit site') . '</a>'; |
51 $link = '<a href="' . $comment->comment_author_url . '" rel="external nofollow" target="_blank">' . __('visit site') . '</a>'; |
52 printf( __( 'URL (%s):' ), apply_filters('get_comment_author_link', $link ) ); |
52 printf( __( 'URL (%s):' ), apply_filters('get_comment_author_link', $link ) ); |
53 } else { |
53 } else { |
54 _e( 'URL:' ); |
54 _e( 'URL:' ); |
55 } ?></td> |
55 } ?></td> |
56 <td><input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" class="code" value="<?php echo esc_attr($comment->comment_author_url); ?>" tabindex="3" /></td> |
56 <td><input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" class="code" value="<?php echo esc_attr($comment->comment_author_url); ?>" /></td> |
57 </tr> |
57 </tr> |
58 </tbody> |
58 </tbody> |
59 </table> |
59 </table> |
60 <br /> |
60 <br /> |
61 </div> |
61 </div> |
96 // translators: Publish box date format, see http://php.net/date |
96 // translators: Publish box date format, see http://php.net/date |
97 $datef = __( 'M j, Y @ G:i' ); |
97 $datef = __( 'M j, Y @ G:i' ); |
98 $stamp = __('Submitted on: <b>%1$s</b>'); |
98 $stamp = __('Submitted on: <b>%1$s</b>'); |
99 $date = date_i18n( $datef, strtotime( $comment->comment_date ) ); |
99 $date = date_i18n( $datef, strtotime( $comment->comment_date ) ); |
100 ?> |
100 ?> |
101 <span id="timestamp"><?php printf($stamp, $date); ?></span> <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a> |
101 <span id="timestamp"><?php printf($stamp, $date); ?></span> <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js"><?php _e('Edit') ?></a> |
102 <div id='timestampdiv' class='hide-if-js'><?php touch_time(('editcomment' == $action), 0, 5); ?></div> |
102 <div id='timestampdiv' class='hide-if-js'><?php touch_time(('editcomment' == $action), 0); ?></div> |
103 </div> |
103 </div> |
104 </div> <!-- misc actions --> |
104 </div> <!-- misc actions --> |
105 <div class="clear"></div> |
105 <div class="clear"></div> |
106 </div> |
106 </div> |
107 |
107 |
108 <div id="major-publishing-actions"> |
108 <div id="major-publishing-actions"> |
109 <div id="delete-action"> |
109 <div id="delete-action"> |
110 <?php echo "<a class='submitdelete deletion' href='" . wp_nonce_url("comment.php?action=" . ( !EMPTY_TRASH_DAYS ? 'deletecomment' : 'trashcomment' ) . "&c=$comment->comment_ID&_wp_original_http_referer=" . urlencode(wp_get_referer()), 'delete-comment_' . $comment->comment_ID) . "'>" . ( !EMPTY_TRASH_DAYS ? __('Delete Permanently') : __('Move to Trash') ) . "</a>\n"; ?> |
110 <?php echo "<a class='submitdelete deletion' href='" . wp_nonce_url("comment.php?action=" . ( !EMPTY_TRASH_DAYS ? 'deletecomment' : 'trashcomment' ) . "&c=$comment->comment_ID&_wp_original_http_referer=" . urlencode(wp_get_referer()), 'delete-comment_' . $comment->comment_ID) . "'>" . ( !EMPTY_TRASH_DAYS ? __('Delete Permanently') : __('Move to Trash') ) . "</a>\n"; ?> |
111 </div> |
111 </div> |
112 <div id="publishing-action"> |
112 <div id="publishing-action"> |
113 <?php submit_button( __( 'Update' ), 'primary', 'save', false, array( 'tabindex' => '4' ) ); ?> |
113 <?php submit_button( __( 'Update' ), 'primary', 'save', false ); ?> |
114 </div> |
114 </div> |
115 <div class="clear"></div> |
115 <div class="clear"></div> |
116 </div> |
116 </div> |
117 </div> |
117 </div> |
118 </div> |
118 </div> |