Changeset 9436 for trunk/wp-admin/edit-form-comment.php
- Timestamp:
- 10/31/2008 06:05:25 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-form-comment.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-comment.php
r9434 r9436 33 33 <div id="side-info-column" class="inner-sidebar"> 34 34 <div id="submitdiv" class="stuffbox" > 35 <h3><span class='hndle'>S ave</span></h3>35 <h3><span class='hndle'>Status</span></h3> 36 36 <div class="inside"> 37 37 <div class="submitbox" id="submitcomment"> … … 40 40 <div id="misc-pub-block-1"> 41 41 <div class="misc-pub-section" id="comment-status-radio"> 42 <p><?php _e('Status:') ?></p>43 42 <label class="approved"><input type="radio"<?php checked( $comment->comment_approved, '1' ); ?> name="comment_status" value="1" /><?php _e('Approved') ?></label><br /> 44 43 <label class="waiting"><input type="radio"<?php checked( $comment->comment_approved, '0' ); ?> name="comment_status" value="0" /><?php _e('Awaiting Moderation') ?></label><br /> … … 81 80 82 81 <div id="namediv" class="stuffbox"> 83 <h3><label for="name"><?php _e( 'Name') ?></label></h3>82 <h3><label for="name"><?php _e( 'Author' ) ?></label></h3> 84 83 <div class="inside"> 85 <input type="text" name="newcomment_author" size="30" value="<?php echo attribute_escape( $comment->comment_author ); ?>" tabindex="1" id="name" /> 84 <table class="form-table"> 85 <tbody> 86 <tr valign="top"> 87 <td class="first"><?php _e( 'Name:' ); ?></td> 88 <td><input type="text" name="newcomment_author" size="30" value="<?php echo attribute_escape( $comment->comment_author ); ?>" tabindex="1" id="name" /></td> 89 </tr> 90 <tr valign="top"> 91 <td class="first"> 92 <?php 93 if ( $email ) { 94 printf( __( 'E-mail (%s):' ), get_comment_author_email_link( __( 'send e-mail' ), '', '' ) ); 95 } else { 96 _e( 'E-mail:' ); 97 } 98 ?></td> 99 <td><input type="text" name="newcomment_author_email" size="30" value="<?php echo $email; ?>" tabindex="2" id="email" /></td> 100 </tr> 101 <tr valign="top"> 102 <td class="first"> 103 <?php 104 $url = get_comment_author_url(); 105 if ( ! empty( $url ) && 'http://' != $url ) { 106 $link = "<a href='$url' rel='external nofollow' target='_blank'>" . __('visit site') . "</a>"; 107 printf( __( 'URL (%s):' ), apply_filters('get_comment_author_link', $link ) ); 108 } else { 109 _e( 'URL:' ); 110 } ?></td> 111 <td><input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" value="<?php echo $url; ?>" tabindex="3" /></td> 112 </tr> 113 </tbody> 114 </table> 115 <br /> 86 116 </div> 87 117 </div> … … 90 120 <?php the_editor($comment->comment_content, 'content', 'newcomment_author_url', false, 4); ?> 91 121 <?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?> 92 </div>93 94 <div id="emaildiv" class="stuffbox">95 <h3><label for="email"><?php _e('E-mail') ?></label></h3>96 <div class="inside">97 <input type="text" name="newcomment_author_email" size="30" value="<?php echo $email; ?>" tabindex="2" id="email" />98 <?php if ( $email )99 comment_author_email_link( __('Send Email'), '<p>', '</p>'); ?>100 </div>101 </div>102 103 <div id="uridiv" class="stuffbox">104 <h3><label for="newcomment_author_url"><?php _e('URL') ?></label></h3>105 <div class="inside">106 <input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" value="<?php echo $url; ?>" tabindex="3" />107 <?php if ( ! empty( $url ) && 'http://' != $url ) {108 $url = get_comment_author_url();109 $link = "<a href='$url' rel='external nofollow' target='_blank'>" . __('Visit site') . "</a>";110 111 echo '<p>' . apply_filters('get_comment_author_link', $link) . '</p>';112 } ?>113 </div>114 122 </div> 115 123
Note: See TracChangeset
for help on using the changeset viewer.