Skip to:
Content

BuddyPress.org

Ticket #4601: activate-notice.patch

File activate-notice.patch, 922 bytes (added by apeatling, 12 years ago)

Patch for repositioning activated notice.

  • bp-core/admin/css/common.css

     
    178178    display: table-cell;
    179179    vertical-align: top;
    180180}
     181
     182/* Update Nag
     183------------------------------------------------------------------------------*/
     184
     185#bp-update-nag {
     186        margin: 0 0 1.5em 0;
     187}
  • bp-core/bp-core-admin.php

     
    478478                                break;
    479479                } ?>
    480480
    481                 <div class="update-nag"><?php echo $msg; ?></div>
     481                <div class="update-nag" id="bp-update-nag"><?php echo $msg; ?></div>
     482                <script type="text/javascript">jQuery( function($) { $('#wpbody').find( 'h2' ).after( $('#bp-update-nag') ); } );</script>
    482483
    483484                <?php
    484485        }