Changeset 7003
- Timestamp:
- 02/24/2008 04:51:47 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-comments.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-comments.php
r6999 r7003 32 32 33 33 require_once('admin-header.php'); 34 if (empty($_GET['mode'])) $mode = 'view'; 35 else $mode = attribute_escape($_GET['mode']); 34 35 if ( empty($_GET['mode']) ) 36 $mode = 'detail'; 37 else 38 $mode = attribute_escape($_GET['mode']); 36 39 ?> 37 40 … … 100 103 <input type="hidden" name="mode" value="<?php echo $mode; ?>" /> 101 104 102 <p><a href="?mode= view"><?php _e('Detail View') ?></a> | <a href="?mode=edit"><?php _e('List View') ?></a></p>105 <p><a href="?mode=detail"><?php _e('Detail View') ?></a> | <a href="?mode=list"><?php _e('List View') ?></a></p> 103 106 104 107 <?php … … 180 183 <?php comment_author_email_link() ?> | 181 184 <?php endif; ?> 182 <a href="edit-comments.php?s=<?php comment_author_IP() ?>&mode= edit"><?php comment_author_IP() ?></a>183 <p><?php comment_excerpt(); ?></p>185 <a href="edit-comments.php?s=<?php comment_author_IP() ?>&mode=detail"><?php comment_author_IP() ?></a> 186 <p><?php if ( 'list' == $mode ) comment_excerpt(); else comment_text(); ?></p> 184 187 <?php printf(__('From %1$s, %2$s at %3$s'), $post_link, get_the_time(get_option('date_format')), get_the_time()) ?> 185 188 </td>
Note: See TracChangeset
for help on using the changeset viewer.