Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/09/2008 06:52:13 PM (18 years ago)
Author:
apeatling
Message:

Added complete support for existing blog networks. Please see mailing list for complete overview on the new "home base" features.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-friends/bp-friends-cssjs.php

    r251 r309  
    1212                $_GET['page'] = null;
    1313
    14         if ( strpos( $_GET['page'], 'friends' ) !== false || $bp['current_component'] == $bp['friends']['slug'] ) {
     14        if ( $bp['current_component'] == $bp['friends']['slug'] ) {
    1515                echo '
    1616                        <script src="' . get_option('siteurl') . '/wp-content/mu-plugins/bp-friends/js/general.js" type="text/javascript"></script>';
    … …  
    1818}
    1919add_action( 'wp_head', 'friends_add_js' );
    20 add_action( 'admin_menu', 'friends_add_js' );
    21 
    22 /**************************************************************************
    23  add_css()
    24  
    25  Inserts the CSS needed to style the friends pages.
    26  **************************************************************************/   
    27 
    28 function friends_add_css()
    29 {
    30         ?>
    31        
    32         <?php
    33 }
    3420
    3521?>
Note: See TracChangeset for help on using the changeset viewer.