Changeset 168 for trunk/wp-content/themes/xpress_default/comments.php
- Timestamp:
- Apr 8, 2009, 9:07:06 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/xpress_default/comments.php
r150 r168 36 36 <?php if ('open' == $post->comment_status) : ?> 37 37 <div id="xpress-respond"> 38 39 38 <h3><?php comment_form_title( __('Leave a Reply', 'xpress'), __('Leave a Reply for %s' , 'xpress') ); ?></h3> 40 39 </div> … … 42 41 <div id="cancel-comment-reply"> 43 42 <small><?php cancel_comment_reply_link() ?></small> 44 43 </div> 45 44 46 <?php if ( get_option('comment_registration') && !$user_ID ) : ?> 47 <p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.', 'xpress'), get_option('siteurl') . '/wp-login.php?redirect_to=' . urlencode(get_permalink())); ?></p> 48 <?php else : ?> 45 <?php if ( get_option('comment_registration') && !$user_ID ) : ?> 46 <p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.', 'xpress'), get_option('siteurl') . '/wp-login.php?redirect_to=' . urlencode(get_permalink())); ?></p> 47 <?php else : ?> 48 <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> 49 49 <div id="xpress-comment-user"> 50 <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">51 50 <?php if ( $user_ID ) : ?> 52 51 <p><?php printf(__('Logged in as <a href="%1$s">%2$s</a>.', 'xpress'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity); ?> <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="<?php _e('Log out of this account', 'xpress'); ?>"><?php _e('Log out »', 'xpress'); ?></a></p> … … 72 71 <?php comment_id_fields(); ?> 73 72 <?php do_action('comment_form', $post->ID); ?> 74 </form>75 73 </div> 76 < ?php endif; // If registration required and not logged in ?>77 < /div>74 </form> 75 <?php endif; // If registration required and not logged in ?> 78 76 79 77 <?php endif; // if you delete this the sky will fall on your head ?>
Note: See TracChangeset
for help on using the changeset viewer.