Changeset 11204 for trunk/wp-content/themes/classic/comments-popup.php
- Timestamp:
- 05/05/2009 07:43:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/classic/comments-popup.php
r11173 r11204 65 65 <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> 66 66 <?php if ( is_user_logged_in() ) : ?> 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 attr(__('Log out of this account')); ?>"><?php _e('Log out »'); ?></a></p>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 esc_attr(__('Log out of this account')); ?>"><?php _e('Log out »'); ?></a></p> 68 68 <?php else : ?> 69 69 <p> 70 <input type="text" name="author" id="author" class="textarea" value="<?php echo attr($comment_author); ?>" size="28" tabindex="1" />70 <input type="text" name="author" id="author" class="textarea" value="<?php echo esc_attr($comment_author); ?>" size="28" tabindex="1" /> 71 71 <label for="author"><?php _e("Name"); ?></label> 72 72 </p> 73 73 74 74 <p> 75 <input type="text" name="email" id="email" value="<?php echo attr($comment_author_email); ?>" size="28" tabindex="2" />75 <input type="text" name="email" id="email" value="<?php echo esc_attr($comment_author_email); ?>" size="28" tabindex="2" /> 76 76 <label for="email"><?php _e("E-mail"); ?></label> 77 77 </p> 78 78 79 79 <p> 80 <input type="text" name="url" id="url" value="<?php echo attr($comment_author_url); ?>" size="28" tabindex="3" />80 <input type="text" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="28" tabindex="3" /> 81 81 <label for="url"><?php _e("<abbr title=\"Universal Resource Locator\">URL</abbr>"); ?></label> 82 82 </p> … … 91 91 <p> 92 92 <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> 93 <input type="hidden" name="redirect_to" value="<?php echo attr($_SERVER["REQUEST_URI"]); ?>" />94 <input name="submit" type="submit" tabindex="5" value="<?php _ea("Say It!"); ?>" />93 <input type="hidden" name="redirect_to" value="<?php echo esc_attr($_SERVER["REQUEST_URI"]); ?>" /> 94 <input name="submit" type="submit" tabindex="5" value="<?php esc_attr_e("Say It!"); ?>" /> 95 95 </p> 96 96 <?php do_action('comment_form', $post->ID); ?>
Note: See TracChangeset
for help on using the changeset viewer.