Changeset 6252 for trunk/src/includes/admin/topics.php
- Timestamp:
- 01/17/2017 07:10:27 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/admin/topics.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/topics.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 … … 540 537 541 538 return $topic_id; 542 }543 544 /**545 * Add some general styling to the admin area546 *547 * @since 2.0.0 bbPress (r2464)548 *549 * @uses bbp_get_forum_post_type() To get the forum post type550 * @uses bbp_get_topic_post_type() To get the topic post type551 * @uses bbp_get_reply_post_type() To get the reply post type552 * @uses sanitize_html_class() To sanitize the classes553 * @uses do_action() Calls 'bbp_admin_head'554 */555 public function admin_head() {556 ?>557 558 <style type="text/css" media="screen">559 /*<![CDATA[*/560 561 strong.label {562 display: inline-block;563 width: 60px;564 }565 566 .column-bbp_topic_reply_author,567 .column-bbp_forum_topic_author {568 width: 25% !important;569 }570 571 .column-bbp_topic_reply_author .avatar,572 .column-bbp_forum_topic_author .avatar {573 float: left;574 margin-right: 10px;575 }576 577 .column-bbp_forum_topic_count,578 .column-bbp_forum_reply_count,579 .column-bbp_topic_reply_count,580 .column-bbp_topic_voice_count {581 width: 8% !important;582 }583 584 .column-author,585 .column-bbp_reply_author,586 .column-bbp_topic_author {587 width: 10% !important;588 }589 590 .column-bbp_topic_forum,591 .column-bbp_reply_forum,592 .column-bbp_reply_topic {593 width: 10% !important;594 }595 596 .column-bbp_forum_freshness,597 .column-bbp_topic_freshness {598 width: 10% !important;599 }600 601 .column-bbp_forum_created,602 .column-bbp_topic_created,603 .column-bbp_reply_created {604 width: 15% !important;605 }606 607 .status-closed {608 background-color: #eaeaea;609 }610 611 .status-spam {612 background-color: #faeaea;613 }614 615 .status-pending {616 background-color: #fef7f1;617 }618 619 /*]]>*/620 </style>621 622 <?php623 539 } 624 540
Note: See TracChangeset
for help on using the changeset viewer.