Changeset 11067
- Timestamp:
- 04/23/2009 07:11:31 AM (16 years ago)
- Location:
- trunk/wp-content/themes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/classic/comments-popup.php
r10978 r11067 64 64 65 65 <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> 66 <?php if ( $user_ID) : ?>66 <?php if ( is_user_logged_in() ) : ?> 67 67 <p><?php printf(__('Logged in as %s.'), '<a href="'.get_option('siteurl').'/wp-admin/profile.php">'.$user_identity.'</a>'); ?> <a href="<?php echo wp_logout_url(); ?>" title="<?php echo attribute_escape(__('Log out of this account')); ?>"><?php _e('Log out »'); ?></a></p> 68 68 <?php else : ?> -
trunk/wp-content/themes/classic/comments.php
r10931 r11067 15 15 </h2> 16 16 17 <?php if ( $comments) : ?>17 <?php if ( have_comments() ) : ?> 18 18 <ol id="commentlist"> 19 19 … … 42 42 <h2 id="postcomment"><?php _e('Leave a comment'); ?></h2> 43 43 44 <?php if ( get_option('comment_registration') && ! $user_ID) : ?>44 <?php if ( get_option('comment_registration') && !is_user_logged_in() ) : ?> 45 45 <p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.'), wp_login_url( get_permalink() ) );?></p> 46 46 <?php else : ?> … … 48 48 <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> 49 49 50 <?php if ( $user_ID) : ?>50 <?php if ( is_user_logged_in() ) : ?> 51 51 52 52 <p><?php printf(__('Logged in as %s.'), '<a href="'.get_option('siteurl').'/wp-admin/profile.php">'.$user_identity.'</a>'); ?> <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="<?php _e('Log out of this account') ?>"><?php _e('Log out »'); ?></a></p> -
trunk/wp-content/themes/default/comments.php
r10978 r11067 57 57 </div> 58 58 59 <?php if ( get_option('comment_registration') && ! $user_ID) : ?>59 <?php if ( get_option('comment_registration') && !is_user_logged_in() ) : ?> 60 60 <p>You must be <a href="<?php echo wp_login_url( get_permalink() ); ?>">logged in</a> to post a comment.</p> 61 61 <?php else : ?> … … 63 63 <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> 64 64 65 <?php if ( $user_ID) : ?>65 <?php if ( is_user_logged_in() ) : ?> 66 66 67 67 <p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account">Log out »</a></p>
Note: See TracChangeset
for help on using the changeset viewer.