Make WordPress Core


Ignore:
Timestamp:
10/09/2008 07:37:05 AM (18 years ago)
Author:
azaozz
Message:

No-JS mode for replying to comments and some improvements/cleanup of comment-reply.js, includes patch by Viper007Bond, see #7635

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/comments.php

    r9025 r9112  
    4545<div id="respond">
    4646
    47 <h3>Leave a Reply</h3>
     47<h3><?php comment_form_title( 'Leave a Reply', 'Leave a Reply to %s' ); ?></h3>
    4848
    49 <div id="cancel-comment-reply" style="display: none;">
    50     <small><?php echo cancel_comment_reply_link() ?></small>
     49<div class="cancel-comment-reply">
     50    <small><?php cancel_comment_reply_link(); ?></small>
    5151</div>
    5252
     
    8080<p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" />
    8181<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
    82 <input type="hidden" name="comment_parent" id="comment-parent" value="0" />
     82<?php comment_parent_field(); ?>
    8383</p>
    8484<?php do_action('comment_form', $post->ID); ?>
Note: See TracChangeset for help on using the changeset viewer.