Changeset 5697 for trunk/wp-content/themes/classic/comments.php
- Timestamp:
- 06/13/2007 04:41:21 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/classic/comments.php
r4495 r5697 36 36 37 37 <?php if ( get_option('comment_registration') && !$user_ID ) : ?> 38 <p> You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">logged in</a> to post a comment.</p>38 <p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.'), get_option('siteurl')."/wp-login.php?redirect_to=".get_the_permalink());?></p> 39 39 <?php else : ?> 40 40 … … 43 43 <?php if ( $user_ID ) : ?> 44 44 45 <p> Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account') ?>">Logout »</a></p>45 <p><?php printf(__('Logged in as %s.'), '<a href="'.get_option('siteurl').'/wp-admin/profile.php">'.$user_identity.'</a>'); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account') ?>"><?php _e('Logout »'); ?></a></p> 46 46 47 47 <?php else : ?> 48 48 49 49 <p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" /> 50 <label for="author"><small> Name<?php if ($req) _e('(required)'); ?></small></label></p>50 <label for="author"><small><?php _e('Name'); ?> <?php if ($req) _e('(required)'); ?></small></label></p> 51 51 52 52 <p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" /> 53 <label for="email"><small> Mail (will not be published)<?php if ($req) _e('(required)'); ?></small></label></p>53 <label for="email"><small><?php _e('Mail (will not be published)');?> <?php if ($req) _e('(required)'); ?></small></label></p> 54 54 55 55 <p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" /> 56 <label for="url"><small> Website</small></label></p>56 <label for="url"><small><?php _e('Website'); ?></small></label></p> 57 57 58 58 <?php endif; ?> 59 59 60 <!--<p><small><strong>XHTML:</strong> You can use these tags: <?php echo allowed_tags(); ?></small></p>-->60 <!--<p><small><strong>XHTML:</strong> <?php printf(__('You can use these tags: %s'), allowed_tags()); ?></small></p>--> 61 61 62 62 <p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p> 63 63 64 <p><input name="submit" type="submit" id="submit" tabindex="5" value=" Submit Comment" />64 <p><input name="submit" type="submit" id="submit" tabindex="5" value="<?php echo attribute_escape(__('Submit Comment')); ?>" /> 65 65 <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> 66 66 </p>
Note: See TracChangeset
for help on using the changeset viewer.