Changeset 6252 for trunk/src/includes/admin/replies.php
- Timestamp:
- 01/17/2017 07:10:27 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/admin/replies.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/replies.php
r6250 r6252 59 59 */ 60 60 private function setup_actions() { 61 62 // Add some general styling to the admin area63 add_action( 'bbp_admin_head', array( $this, 'admin_head' ) );64 61 65 62 // Messages … … 451 448 452 449 return $reply_id; 453 }454 455 /**456 * Add some general styling to the admin area457 *458 * @since 2.0.0 bbPress (r2464)459 *460 * @uses bbp_get_forum_post_type() To get the forum post type461 * @uses bbp_get_topic_post_type() To get the topic post type462 * @uses bbp_get_reply_post_type() To get the reply post type463 * @uses sanitize_html_class() To sanitize the classes464 * @uses do_action() Calls 'bbp_admin_head'465 */466 public function admin_head() {467 ?>468 469 <style type="text/css" media="screen">470 /*<![CDATA[*/471 472 strong.label {473 display: inline-block;474 width: 60px;475 }476 477 .column-bbp_forum_topic_count,478 .column-bbp_forum_reply_count,479 .column-bbp_topic_reply_count,480 .column-bbp_topic_voice_count {481 width: 8% !important;482 }483 484 .column-author,485 .column-bbp_reply_author,486 .column-bbp_topic_author {487 width: 10% !important;488 }489 490 .column-bbp_topic_forum,491 .column-bbp_reply_forum,492 .column-bbp_reply_topic {493 width: 10% !important;494 }495 496 .column-bbp_forum_freshness,497 .column-bbp_topic_freshness {498 width: 10% !important;499 }500 501 .column-bbp_forum_created,502 .column-bbp_topic_created,503 .column-bbp_reply_created {504 width: 15% !important;505 }506 507 .status-closed {508 background-color: #eaeaea;509 }510 511 .status-spam {512 background-color: #faeaea;513 }514 515 .status-pending {516 background-color: #fef7f1;517 }518 519 /*]]>*/520 </style>521 522 <?php523 450 } 524 451
Note: See TracChangeset
for help on using the changeset viewer.