diff --git src/bp-core/admin/bp-core-admin-tools.php src/bp-core/admin/bp-core-admin-tools.php
index aa9f4c645..c05eecc81 100644
|
|
function bp_core_admin_tools() { |
21 | 21 | |
22 | 22 | <h1><?php esc_html_e( 'BuddyPress Tools', 'buddypress' ) ?></h1> |
23 | 23 | |
24 | | <p><?php esc_html_e( 'BuddyPress keeps track of various relationships between members, groups, and activity items. Occasionally these relationships become out of sync, most often after an import, update, or migration.', 'buddypress' ); ?></p> |
| 24 | <hr class="wp-header-end" /> |
| 25 | |
| 26 | <p><?php esc_html_e( 'BuddyPress keeps track of various relationships between members, groups, and activity items.', 'buddypress' ); ?></p> |
| 27 | <p><?php esc_html_e( 'Occasionally these relationships become out of sync, most often after an import, update, or migration.', 'buddypress' ); ?></p> |
25 | 28 | <p><?php esc_html_e( 'Use the tools below to manually recalculate these relationships.', 'buddypress' ); ?> |
26 | 29 | </p> |
27 | | <p class="description"><?php esc_html_e( 'Some of these tools create substantial database overhead. Avoid running more than one repair job at a time.', 'buddypress' ); ?></p> |
| 30 | <p class="attention"><?php esc_html_e( 'Some of these tools create substantial database overhead. Avoid running more than one repair job at a time.', 'buddypress' ); ?></p> |
| 31 | |
| 32 | <h2><?php esc_html_e( 'Activate checkboxe(s) to select the operation(s) to perform', 'buddypress' ); ?></h2> |
28 | 33 | |
29 | 34 | <form class="settings" method="post" action=""> |
30 | 35 | |
31 | 36 | <fieldset> |
32 | | <legend><?php esc_html_e( 'Repair tools', 'buddypress' ) ?></legend> |
| 37 | <legend class="screen-reader-text"><?php esc_html_e( 'Repair tools', 'buddypress' ); ?></legend> |
33 | 38 | |
34 | | <div class="checkbox"> |
35 | 39 | <?php foreach ( bp_admin_repair_list() as $item ) : ?> |
36 | | <label for="<?php echo esc_attr( str_replace( '_', '-', $item[0] ) ); ?>"><input type="checkbox" class="checkbox" name="<?php echo esc_attr( $item[0] ) . '" id="' . esc_attr( str_replace( '_', '-', $item[0] ) ); ?>" value="1" /> <?php echo esc_html( $item[1] ); ?></label> |
| 40 | <p> |
| 41 | <label for="<?php echo esc_attr( str_replace( '_', '-', $item[0] ) ); ?>"> |
| 42 | <input type="checkbox" class="checkbox" name="<?php echo esc_attr( $item[0] ) . '" id="' . esc_attr( str_replace( '_', '-', $item[0] ) ); ?>" value="1" /> <?php echo esc_html( $item[1] ); ?> |
| 43 | </label> |
| 44 | </p> |
37 | 45 | <?php endforeach; ?> |
38 | | </div> |
39 | 46 | |
40 | 47 | <p class="submit"> |
41 | 48 | <input class="button-primary" type="submit" name="bp-tools-submit" value="<?php esc_attr_e( 'Repair Items', 'buddypress' ); ?>" /> |
diff --git src/bp-core/admin/css/common.css src/bp-core/admin/css/common.css
index c5f7aa6fb..c0af4884c 100644
|
|
TABLE OF CONTENTS: |
21 | 21 | 3.1 Users List |
22 | 22 | 3.2 Site Notices |
23 | 23 | 4.0 Emails - Edit page |
24 | | 5.0 Tools - BuddyPress |
25 | | 6.0 Plugins page |
| 24 | 5.0 Plugins page |
26 | 25 | ------------------------------------------------------------------------------*/ |
27 | 26 | |
28 | 27 | /*------------------------------------------------------------------------------ |
… |
… |
body.post-type-bp-email .categorydiv label { |
523 | 522 | } |
524 | 523 | |
525 | 524 | /*------------------------------------------------------------------------------ |
526 | | * 5.0 Tools - BuddyPress |
527 | | *----------------------------------------------------------------------------*/ |
528 | | .tools_page_bp-tools .wrap { |
529 | | max-width: 950px; |
530 | | } |
531 | | |
532 | | .tools_page_bp-tools p { |
533 | | line-height: 2; |
534 | | } |
535 | | |
536 | | .tools_page_bp-tools fieldset { |
537 | | margin: 2em 0 0; |
538 | | } |
539 | | |
540 | | .tools_page_bp-tools legend { |
541 | | color: #23282d; |
542 | | font-size: 1.3em; |
543 | | font-weight: 600; |
544 | | margin: 1em 0; |
545 | | } |
546 | | |
547 | | .tools_page_bp-tools label { |
548 | | clear: left; |
549 | | display: block; |
550 | | line-height: 1.5; |
551 | | margin: 0 0 1em; |
552 | | vertical-align: middle; |
553 | | } |
554 | | |
555 | | @media screen and (max-width: 782px) { |
556 | | |
557 | | .tools_page_bp-tools p { |
558 | | line-height: 1.5; |
559 | | } |
560 | | |
561 | | .tools_page_bp-tools label { |
562 | | margin-bottom: 1em; |
563 | | padding-right: 25px; |
564 | | text-indent: -33px; |
565 | | } |
566 | | |
567 | | .tools_page_bp-tools .checkbox { |
568 | | padding: 0 0 0 30px; |
569 | | } |
570 | | } |
571 | | |
572 | | |
573 | | /*------------------------------------------------------------------------------ |
574 | | * 6.0 Plugins page |
| 525 | * 5.0 Plugins page |
575 | 526 | *----------------------------------------------------------------------------*/ |
576 | 527 | #buddypress-update.not-shiny .update-message { |
577 | 528 | border-left: 0; |