Changeset 436 for trunk/bp-core/bp-core-classes.php
- Timestamp:
- 10/24/2008 04:00:42 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/bp-core-classes.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-classes.php
r430 r436 80 80 81 81 function populate_extras() { 82 global $bp; 83 82 84 $this->total_friends = BP_Friends_Friendship::total_friend_count( $this->id ); 83 85 … … 87 89 else 88 90 $this->total_friends .= ' ' . __( 'friends', 'buddypress' ); 91 92 $this->total_friends = '<a href="' . $this->user_url . $bp['friends']['slug'] . '" title="' . sprintf( __( "%s's friend list", 'buddypress' ), $this->fullname ) . '">' . $this->total_friends . '</a>'; 89 93 } 90 94 … … 94 98 else 95 99 $this->total_blogs .= ' ' . __( 'blogs', 'buddypress' ); 100 101 $this->total_blogs = '<a href="' . $this->user_url . $bp['blogs']['slug'] . '" title="' . sprintf( __( "%s's blog list", 'buddypress' ), $this->fullname ) . '">' . $this->total_blogs . '</a>'; 96 102 } 97 103 … … 104 110 else 105 111 $this->total_groups .= ' ' . __( 'groups', 'buddypress' ); 112 113 $this->total_groups = '<a href="' . $this->user_url . $bp['groups']['slug'] . '" title="' . sprintf( __( "%s's group list", 'buddypress' ), $this->fullname ) . '">' . $this->total_groups . '</a>'; 106 114 } 107 115 }
Note:
See TracChangeset
for help on using the changeset viewer.