1 <?php if ( !empty($post->post_password) && $_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) : ?>
3 <p><?php _e('Enter your password to view comments.'); ?></p>
5 <?php return; endif; ?>
7 <h2 id="comments"><?php comments_number(__('No Comments'), __('1 Comment'), __('% Comments')); ?>
8 <?php if ( comments_open() ) : ?>
9 <a href="#postcomment" title="<?php _e("Leave a comment"); ?>">»</a>
14 <?php if ( $comments ) : ?>
18 <?php foreach ($comments as $comment) : ?>
21 <!--Change the gravatar size by replacing '70' with bigger resp. smaller sizes-->
22 <div class="authorcomm">
24 <?php echo get_avatar( $comment, 70 ); ?>
26 <?php comment_author_link() ?>
28 <?php comment_text() ?>
30 <div class="meta"><?php comment_type(__('Comment'), __('Trackback'), __('Pingback')); ?> | <?php comment_date() ?> <?php edit_comment_link(__("Edit This"), ' |'); ?></div>
43 <p style="font-size:12px;"><?php post_comments_feed_link(__('RSS feed for comments on this post.')); ?>
44 <?php if ( pings_open() ) : ?>
45 <a href="<?php trackback_url() ?>" rel="trackback"><?php _e('TrackBack URL'); ?></a>
49 <?php if ( comments_open() ) : ?>
50 <h2 id="postcomment"><?php _e('Leave a comment'); ?></h2>
52 <?php if ( get_option('comment_registration') && !$user_ID ) : ?>
53 <p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.'), get_option('siteurl')."/wp-login.php?redirect_to=".urlencode(get_permalink()));?></p>
56 <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
58 <?php if ( $user_ID ) : ?>
60 <p><?php printf(__('Logged in as %s.'), '<a href="'.get_option('siteurl').'/wp-admin/profile.php">'.$user_identity.'</a>'); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account') ?>"><?php _e('Log out »'); ?></a></p>
64 <p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
65 <label for="author"><small><?php _e('Name'); ?> <?php if ($req) _e('(required)'); ?></small></label></p>
67 <p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
68 <label for="email"><small><?php _e('Mail (will not be published)');?> <?php if ($req) _e('(required)'); ?></small></label></p>
70 <p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
71 <label for="url"><small><?php _e('Website'); ?></small></label></p>
75 <!--<p><small><strong>XHTML:</strong> <?php printf(__('You can use these tags: %s'), allowed_tags()); ?></small></p>-->
77 <p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>
79 <p><input name="submit" type="submit" id="submit" tabindex="5" value="<?php echo attribute_escape(__('Submit Comment')); ?>" />
80 <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
82 <?php do_action('comment_form', $post->ID); ?>
86 <?php endif; // If registration required and not logged in ?>
88 <?php else : // Comments are closed ?>
89 <p><?php _e('Sorry, the comment form is closed at this time.'); ?></p>