Changeset 7007
- Timestamp:
- 02/24/08 20:42:44 (9 months ago)
- Files:
-
- trunk/wp-admin/edit-comments.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/edit-comments.php
r7006 r7007 151 151 152 152 <div style="float: left"> 153 <?php if ( 'approved' != $comment_status ): ?> 153 154 <input type="submit" value="<?php _e('Approve'); ?>" name="approveit" class="button-secondary" /> 155 <?php endif; ?> 154 156 <input type="submit" value="<?php _e('Mark as Spam'); ?>" name="spamit" class="button-secondary" /> 155 157 <input type="submit" value="<?php _e('Delete'); ?>" name="deleteit" class="button-secondary" /> … … 185 187 if ( 'http://' == $author_url ) 186 188 $author_url = ''; 189 $author_url_display = $author_url; 190 if ( strlen($author_url_display) > 50 ) 191 $author_url_display = substr($author_url_display, 0, 49) . '...'; 187 192 ?> 188 193 <tr id="comment-<?php echo $comment->comment_ID; ?>" class='<?php echo $class; ?>'> … … 190 195 <td class="comment"> 191 196 <p class="comment-author"><strong><?php comment_author(); ?></strong><br /> 192 <?php if ( !empty($author_url) ) : ?> 193 <a href="<?php echo $author_url ?>"><?php echo $author_url ; ?></a> |197 <?php if ( !empty($author_url) ) : ?> 198 <a href="<?php echo $author_url ?>"><?php echo $author_url_display; ?></a> | 194 199 <?php endif; ?> 195 200 <?php if ( !empty($comment->comment_author_email) ): ?>
