Changeset 1080 for trunk/wp-comments.php
- Timestamp:
- 04/16/2004 01:56:04 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-comments.php
r1066 r1080 7 7 if ($HTTP_COOKIE_VARS['wp-postpass_'.$cookiehash] != $post->post_password) { // and it doesn't match the cookie 8 8 ?> 9 <p><?php $lang->str('comments_password'); ?><p>9 <p><?php e_("Enter your password to view comments."); ?><p> 10 10 <?php 11 11 return; … … 22 22 <!-- You can start editing here. --> 23 23 24 <h2 id="comments"><?php comments_number( $lang->str('comments','',1)); ?>24 <h2 id="comments"><?php comments_number(__("Comments")); ?> 25 25 <?php if ('open' == $post->comment_status) { ?> 26 <a href="#postcomment" title="<?php $lang->str('leave_a_comment'); ?>">»</a>26 <a href="#postcomment" title="<?php _e("Leave a comment"); ?>">»</a> 27 27 <?php } ?> 28 28 </h2> 29 29 <?php if ('open' == $post->ping_status) { ?> 30 <p><?php $lang->str('trackback_uri'); ?> <em><?php trackback_url() ?></em></p>30 <p><?php _e("The <acronym title=\"Uniform Resource Identifier\">URI</acronym> to TrackBack this entry is:"); ?> <em><?php trackback_url() ?></em></p> 31 31 <?php } ?> 32 32 … … 37 37 <li id="comment-<?php comment_ID() ?>"> 38 38 <?php comment_text() ?> 39 <p><cite><?php comment_type(); ?> <?php $lang->str('by'); ?> <?php comment_author_link() ?> — <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite> <?php edit_comment_link($lang->str('edit_this', '', 1), ' |'); ?></p>39 <p><cite><?php comment_type(); ?> <?php _e("by"); ?> <?php comment_author_link() ?> — <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite> <?php edit_comment_link(__("Edit This"), ' |'); ?></p> 40 40 </li> 41 41 … … 43 43 </ol> 44 44 <?php } else { // this is displayed if there are no comments so far ?> 45 <p><?php $lang->str('no_comments'); ?></p>45 <p><?php _e("No comments yet."); ?></p> 46 46 <?php } ?> 47 <p><?php comments_rss_link( $lang->str('comments_rss_post', '', 1)); ?></p>48 <h2 id="postcomment"><?php $lang->str('leave_a_comment'); ?></h2>47 <p><?php comments_rss_link(__("<abbr title=\"Really Simple Syndication\">RSS</abbr> feed for comments on this post.")); ?></p> 48 <h2 id="postcomment"><?php _e("Leave a comment"); ?></h2> 49 49 <?php if ('open' == $post->comment_status) { ?> 50 <p><?php $lang->str('comments_instructions'); ?> <code><?php echo allowed_tags(); ?></code></p>50 <p><?php _e("Line and paragraph breaks automatic, e-mail address never displayed, <acronym title=\"Hypertext Markup Language\">HTML</acronym> allowed:"); ?> <code><?php echo allowed_tags(); ?></code></p> 51 51 52 52 <form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> 53 53 <p> 54 54 <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" /> 55 <label for="author"><?php $lang->str('comment_name'); ?></label>55 <label for="author"><?php _e("Name"); ?></label> 56 56 <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> 57 57 <input type="hidden" name="redirect_to" value="<?php echo htmlspecialchars($_SERVER["REQUEST_URI"]); ?>" /> … … 60 60 <p> 61 61 <input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="28" tabindex="2" /> 62 <label for="email"><?php $lang->str('comment_email'); ?></label>62 <label for="email"><?php _e("E-mail"); ?></label> 63 63 </p> 64 64 65 65 <p> 66 66 <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" /> 67 <label for="url"><?php $lang->str('comment_uri'); ?></label>67 <label for="url"><?php _e("<acronym title=\"Uniform Resource Identifier\">URI</acronym>"); ?></label> 68 68 </p> 69 69 70 70 <p> 71 <label for="comment"><?php $lang->str('comment_body'); ?></label>71 <label for="comment"><?php _e("Your Comment"); ?></label> 72 72 <br /> 73 73 <textarea name="comment" id="comment" cols="70" rows="4" tabindex="4"></textarea> … … 75 75 76 76 <p> 77 <input name="submit" type="submit" tabindex="5" value="<?php $lang->str('say_it'); ?>" />77 <input name="submit" type="submit" tabindex="5" value="<?php _e("Say It!"); ?>" /> 78 78 </p> 79 79 </form> 80 80 <?php } else { // comments are closed ?> 81 <p><?php $lang->str('comments_closed'); ?></p>81 <p><?php _e("Sorry, the comment form is closed at this time."); ?></p> 82 82 <?php } ?> 83 83
Note: See TracChangeset
for help on using the changeset viewer.