web/wp-includes/theme-compat/comments-popup.php
changeset 204 09a1c134465b
parent 194 32102edaa81b
equal deleted inserted replaced
203:f507feede89a 204:09a1c134465b
    30 if ( have_posts() ) :
    30 if ( have_posts() ) :
    31 while( have_posts()) : the_post();
    31 while( have_posts()) : the_post();
    32 ?>
    32 ?>
    33 <h2 id="comments"><?php _e('Comments'); ?></h2>
    33 <h2 id="comments"><?php _e('Comments'); ?></h2>
    34 
    34 
    35 <p><a href="<?php echo get_post_comments_feed_link($post->ID); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.'); ?></a></p>
    35 <p><a href="<?php echo esc_url( get_post_comments_feed_link($post->ID) ); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.'); ?></a></p>
    36 
    36 
    37 <?php if ( pings_open() ) { ?>
    37 <?php if ( pings_open() ) { ?>
    38 <p><?php printf(__('The <abbr title="Universal Resource Locator">URL</abbr> to TrackBack this entry is: <em>%s</em>'), get_trackback_url()); ?></p>
    38 <p><?php printf(__('The <abbr title="Universal Resource Locator">URL</abbr> to TrackBack this entry is: <em>%s</em>'), get_trackback_url()); ?></p>
    39 <?php } ?>
    39 <?php } ?>
    40 
    40 
    66 <h2><?php _e('Leave a comment'); ?></h2>
    66 <h2><?php _e('Leave a comment'); ?></h2>
    67 <p><?php printf(__('Line and paragraph breaks automatic, e-mail address never displayed, <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code>%s</code>'), allowed_tags()); ?></p>
    67 <p><?php printf(__('Line and paragraph breaks automatic, e-mail address never displayed, <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code>%s</code>'), allowed_tags()); ?></p>
    68 
    68 
    69 <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    69 <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    70 <?php if ( $user_ID ) : ?>
    70 <?php if ( $user_ID ) : ?>
    71 	<p><?php printf(__('Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out &raquo;</a>'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity, wp_logout_url(get_permalink())); ?></p>
    71 	<p><?php printf(__('Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out &raquo;</a>'), get_edit_user_link(), $user_identity, wp_logout_url(get_permalink())); ?></p>
    72 <?php else : ?>
    72 <?php else : ?>
    73 	<p>
    73 	<p>
    74 	  <input type="text" name="author" id="author" class="textarea" value="<?php echo esc_attr($comment_author); ?>" size="28" tabindex="1" />
    74 	  <input type="text" name="author" id="author" class="textarea" value="<?php echo esc_attr($comment_author); ?>" size="28" tabindex="1" />
    75 	   <label for="author"><?php _e('Name'); ?></label>
    75 	   <label for="author"><?php _e('Name'); ?></label>
    76 	</p>
    76 	</p>