Ticket #7435: comment-reply-no-js-validate.diff
File comment-reply-no-js-validate.diff, 2.0 KB (added by , 16 years ago) |
---|
-
wp-admin/edit-comments.php
174 174 175 175 <div class="alignleft"> 176 176 <select name="action"> 177 <option value="" selected ><?php _e('Actions') ?></option>177 <option value="" selected="selected"><?php _e('Actions') ?></option> 178 178 <?php if ( 'approved' == $comment_status ): ?> 179 179 <option value="unapprove"><?php _e('Unapprove'); ?></option> 180 180 <?php else : ?> 181 <option value="approve"><?php _e('Approve'); ?> 181 <option value="approve"><?php _e('Approve'); ?></option> 182 182 <?php endif; ?> 183 183 <?php if ( 'spam' != $comment_status ): ?> 184 184 <option value="markspam"><?php _e('Mark as Spam'); ?></option> … … 263 263 264 264 <?php 265 265 wp_comment_reply('-1', true, 'detail'); 266 include('admin-footer.php'); ?> 267 No newline at end of file 266 include('admin-footer.php'); ?> -
wp-admin/includes/template.php
1034 1034 } 1035 1035 1036 1036 if ( 'spam' != $the_comment_status ) 1037 $actions['reply'] = ' | <a onclick="commentReply.open(\''.$comment->comment_ID.'\',\''.$post->ID.'\',this);return false;" title="'.__('Reply to this comment').'" href="#">' . __('Reply') . '</a>';1037 $actions['reply'] = '<span class="hide-if-no-js"> | <a onclick="commentReply.open(\''.$comment->comment_ID.'\',\''.$post->ID.'\',this);return false;" title="'.__('Reply to this comment').'" href="#">' . __('Reply') . '</a></span>'; 1038 1038 1039 1039 $actions = apply_filters( 'comment_row_actions', $actions, $comment ); 1040 1040 … … 1078 1078 } 1079 1079 ?> 1080 1080 <div id="replyerror" style="display:none;"> 1081 <img src="images/logo.gif" />1082 1081 <h3 class="info-box-title"><?php _e('Comment Reply Error'); ?></h3> 1083 1082 <p id="replyerrtext"></p> 1084 1083 <p class="submit"><button id="close-button" onclick="commentReply.close();" class="button"><?php _e('Close'); ?></button></p>