Changeset 6252
- Timestamp:
- 01/17/2017 07:10:27 AM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 5 edited
-
bbpress.php (modified) (1 diff)
-
includes/admin/css/admin.css (modified) (1 diff)
-
includes/admin/forums.php (modified) (2 diffs)
-
includes/admin/replies.php (modified) (2 diffs)
-
includes/admin/topics.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bbpress.php
r6250 r6252 204 204 /** Versions **********************************************************/ 205 205 206 $this->version = '2.6-beta-62 49';206 $this->version = '2.6-beta-6251'; 207 207 $this->db_version = '260'; 208 208 -
trunk/src/includes/admin/css/admin.css
r6093 r6252 211 211 clear: left; 212 212 } 213 214 /* List Tables */ 215 216 body.post-type-forum #minor-publishing, 217 body.post-type-forum #save-post { 218 display: none; 219 } 220 221 body.post-type-forum strong.label, 222 body.post-type-topic strong.label, 223 body.post-type-reply strong.label { 224 display: inline-block; 225 width: 60px; 226 } 227 228 .column-bbp_forum_topic_count, 229 .column-bbp_forum_reply_count, 230 .column-bbp_topic_reply_count, 231 .column-bbp_topic_voice_count { 232 width: 8% !important; 233 } 234 235 .column-author, 236 .column-bbp_forum_mods, 237 .column-bbp_reply_author, 238 .column-bbp_topic_author { 239 width: 10% !important; 240 } 241 242 .column-bbp_topic_forum, 243 .column-bbp_reply_forum, 244 .column-bbp_reply_topic { 245 width: 10% !important; 246 } 247 248 .column-bbp_forum_freshness, 249 .column-bbp_topic_freshness { 250 width: 10% !important; 251 } 252 253 .column-bbp_forum_created, 254 .column-bbp_topic_created, 255 .column-bbp_reply_created { 256 width: 15% !important; 257 } 258 259 .column-bbp_topic_reply_author, 260 .column-bbp_forum_topic_author { 261 width: 25% !important; 262 } 263 264 .column-bbp_topic_reply_author .avatar, 265 .column-bbp_forum_topic_author .avatar { 266 float: left; 267 margin-right: 10px; 268 } 269 270 #bbp_moderators { 271 width: 100%; 272 } 273 274 #bbp_forum_attributes hr { 275 border-style: solid; 276 border-width: 1px; 277 border-color: #ccc #fff #fff #ccc; 278 } 279 280 #the-list .status-closed { 281 background-color: #f5f5f5; 282 } 283 284 #the-list .status-closed:nth-child(odd) { 285 background-color: #f0f0f0; 286 } 287 288 #the-list .status-spam { 289 background-color: #ffeeee; 290 } 291 292 #the-list .status-spam:nth-child(odd) { 293 background-color: #ffdddd; 294 } 295 296 #the-list .status-pending { 297 background-color: #fff2e8; 298 } 299 300 #the-list .status-pending:nth-child(odd) { 301 background-color: #fff7f1; 302 } 303 304 #the-list .status-closed td, 305 #the-list .status-spam td { 306 color: #999; 307 } -
trunk/src/includes/admin/forums.php
r6250 r6252 58 58 */ 59 59 private function setup_actions() { 60 61 // Add some general styling to the admin area62 add_action( 'bbp_admin_head', array( $this, 'admin_head' ) );63 60 64 61 // Messages … … 377 374 378 375 /** 379 * Add some general styling to the admin area380 *381 * @since 2.0.0 bbPress (r2464)382 *383 * @uses bbp_get_forum_post_type() To get the forum post type384 * @uses bbp_get_topic_post_type() To get the topic post type385 * @uses bbp_get_reply_post_type() To get the reply post type386 * @uses sanitize_html_class() To sanitize the classes387 * @uses do_action() Calls 'bbp_admin_head'388 */389 public function admin_head() {390 ?>391 392 <style type="text/css" media="screen">393 /*<![CDATA[*/394 395 #minor-publishing,396 #save-post {397 display: none;398 }399 400 strong.label {401 display: inline-block;402 width: 60px;403 }404 405 #bbp_moderators {406 width: 100%;407 }408 409 #bbp_forum_attributes hr {410 border-style: solid;411 border-width: 1px;412 border-color: #ccc #fff #fff #ccc;413 }414 415 .column-bbp_forum_topic_count,416 .column-bbp_forum_reply_count,417 .column-bbp_topic_reply_count,418 .column-bbp_topic_voice_count {419 width: 8% !important;420 }421 422 .column-author,423 .column-bbp_forum_mods,424 .column-bbp_reply_author,425 .column-bbp_topic_author {426 width: 10% !important;427 }428 429 .column-bbp_topic_forum,430 .column-bbp_reply_forum,431 .column-bbp_reply_topic {432 width: 10% !important;433 }434 435 .column-bbp_forum_freshness,436 .column-bbp_topic_freshness {437 width: 10% !important;438 }439 440 .column-bbp_forum_created,441 .column-bbp_topic_created,442 .column-bbp_reply_created {443 width: 15% !important;444 }445 446 .status-closed {447 background-color: #eaeaea;448 }449 450 .status-spam {451 background-color: #faeaea;452 }453 454 /*]]>*/455 </style>456 457 <?php458 }459 460 /**461 376 * Toggle forum 462 377 * -
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 -
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.