Changeset 7005
- Timestamp:
- 02/24/08 19:41:04 (9 months ago)
- Files:
-
- trunk/wp-admin/css/global.css (modified) (2 diffs)
- trunk/wp-admin/edit-comments.php (modified) (6 diffs)
- trunk/wp-admin/wp-admin.css (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/css/global.css
r6997 r7005 53 53 .subsubsub a { line-height: 200%; padding: 3px; } 54 54 55 .subsubsub a.current { color: #000; font-weight: bold; }55 .subsubsub a.current { color: #000; font-weight: bold; background: none; border: none;} 56 56 57 57 .subsubsub li { display: inline; margin: 0; padding: 0; } … … 68 68 font-size: 10px; 69 69 padding: 10px 6px 20px 6px; 70 vertical-align: text-top; 70 71 } 71 72 trunk/wp-admin/edit-comments.php
r7003 r7005 62 62 $class = ( '' === $comment_status ) ? ' class="current"' : ''; 63 63 $status_links[] = "<li><a href=\"edit-comments.php\"$class>".__('All Comments')."</a>"; 64 echo implode(' | </li>', $status_links) . '</li>';64 echo implode(' | </li>', $status_links) . '</li>'; 65 65 unset($status_links); 66 66 ?> … … 103 103 <input type="hidden" name="mode" value="<?php echo $mode; ?>" /> 104 104 105 <p><a href="?mode=detail"><?php _e('Detail View') ?></a> | <a href="?mode=list"><?php _e('List View') ?></a></p> 105 <ul class="view-switch"> 106 <li <?php if ( 'detail' == $mode ) echo "class='current'" ?>><a href="?mode=detail"><?php _e('Detail View') ?></a></li> 107 <li <?php if ( 'list' == $mode ) echo "class='current'" ?>><a href="?mode=list"><?php _e('List View') ?></a></li> 108 </ul> 106 109 107 110 <?php … … 127 130 128 131 ?> 129 130 <br style="clear:both;" />131 132 132 133 <div class="tablenav"> … … 166 167 $authordata = get_userdata($post->post_author); 167 168 $comment_status = wp_get_comment_status($comment->comment_ID); 168 $class = ('alternate' == $class) ? '' : ' alternate';169 $class = ('alternate' == $class) ? '' : ''; 169 170 $class .= ('unapproved' == $comment_status) ? ' unapproved' : ''; 170 171 $post_link = '<a href="' . get_comment_link() . '">' . get_the_title($comment->comment_post_ID) . '</a>'; … … 174 175 ?> 175 176 <tr id="comment-<?php echo $comment->comment_ID; ?>" class='<?php echo $class; ?>'> 176 <td style="text-align: center; vertical-align: text-top"><?php if ( current_user_can('edit_post', $comment->comment_post_ID) ) { ?><input type="checkbox" name="delete_comments[]" value="<?php echo $comment->comment_ID; ?>" /><?php } ?></td>177 <td style="vertical-align: text-top">178 <p ><strong class="comment-author"><?php comment_author(); ?></strong><br />177 <td style="text-align: center;"><?php if ( current_user_can('edit_post', $comment->comment_post_ID) ) { ?><input type="checkbox" name="delete_comments[]" value="<?php echo $comment->comment_ID; ?>" /><?php } ?></td> 178 <td class="comment"> 179 <p class="comment-author"><strong><?php comment_author(); ?></strong><br /> 179 180 <?php if ( !empty($author_url) ) : ?> 180 181 <a href="<?php echo $author_url ?>"><?php echo $author_url; ?></a> | … … 184 185 <?php endif; ?> 185 186 <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> 187 <?php printf(__('From %1$s, %2$s at %3$s'), $post_link, get_the_time(get_option('date_format')), get_the_time()) ?> 187 </p> 188 <p><?php if ( 'list' == $mode ) comment_excerpt(); else comment_text(); ?></p> 189 <p><?php printf(__('From %1$s, %2$s at %3$s'), $post_link, get_the_time(get_option('date_format')), get_the_time()) ?></p> 188 190 </td> 189 <td style="vertical-align: text-top"><?php comment_date(); ?></td>190 <td style="vertical-align: text-top">191 <td><?php comment_date(); ?></td> 192 <td> 191 193 <?php if ( current_user_can('edit_post', $comment->comment_post_ID) ) { 192 194 echo "<a href='comment.php?action=editcomment&c=$comment->comment_ID' class='edit'>" . __('Edit') . "</a> | "; trunk/wp-admin/wp-admin.css
r7000 r7005 1 2 a.delete:hover {3 background: #c00;4 color: #fff;5 }6 7 1 .plugins p { 8 2 margin: 4px; … … 183 177 } 184 178 185 .submit a {179 .submit a { 186 180 color: #fff; 187 }188 189 .unapproved {190 color: #888;191 }192 193 .unapproved a:link {194 color: #b9bcff;195 }196 197 .unapproved a:visited {198 color: #696dff;199 }200 201 .unapproved a:hover {202 color: #009ef0;203 181 } 204 182 … … 299 277 margin-bottom: 1.5em; 300 278 width: 300px; 301 }302 303 input.delete:hover {304 background: #ce0000;305 color: #fff;306 }307 308 #deletebookmarks:hover {309 background: #ce0000;310 color: #fff;311 279 } 312 280 … … 1346 1314 min-width: 940px; 1347 1315 } 1316 1317 ul.view-switch { 1318 float: right; 1319 list-style: none; 1320 margin: -28px 5px 0 0; 1321 } 1322 1323 ul.view-switch li { 1324 float: left; 1325 margin: 0; 1326 font-size: 12px; 1327 padding: 6px; 1328 } 1329 1330 ul.view-switch li.current { 1331 background: #eaf3fa; 1332 border: none; 1333 -moz-border-radius-topleft: 3px; 1334 -khtml-border-top-left-radius: 3px; 1335 -webkit-border-top-left-radius: 3px; 1336 border-top-left-radius: 3px; 1337 -moz-border-radius-topright: 3px; 1338 -khtml-border-top-right-radius: 3px; 1339 -webkit-border-top-right-radius: 3px; 1340 border-top-right-radius: 3px; 1341 } 1342 1343 ul.view-switch li.current a { 1344 color: #333; 1345 } 1346 1347 #the-comment-list .comment a { 1348 color: #666; 1349 padding-bottom: 1px; 1350 border-bottom: 1px solid #ababab; 1351 } 1352 1353 #the-comment-list .comment a:hover { 1354 color: #d54e21; 1355 } 1356 1357 #the-comment-list .unapproved { 1358 background: #f0f0f0; 1359 } 1360 1361 #the-comment-list td.comment p.comment-author { 1362 margin-top: 0; 1363 margin-left: 0 ; 1364 } 1365 1366 #the-comment-list p.comment-author img { 1367 float: left; 1368 margin-right: 8px; 1369 } 1370 1371 #the-comment-list td { 1372 vertical-align: top; 1373 font-size: 11px; 1374 } 1375 1376 #the-comment-list td.comment { 1377 width: 70%; 1378 } 1379 1380 #the-comment-list td.comment p { 1381 margin-left: 8px; 1382 }
