Changeset 3685 for trunk/bp-friends/bp-friends-templatetags.php
- Timestamp:
- 01/09/2011 05:40:12 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends/bp-friends-templatetags.php
r3523 r3685 220 220 'wrapper_class' => 'friendship-button pending', 221 221 'wrapper_id' => 'friendship-button-' . $potential_friend_id, 222 'link_class' => 'requested',223 222 'link_href' => trailingslashit( $bp->loggedin_user->domain . $bp->friends->slug . '/requests' ), 224 223 'link_text' => __( 'Friendship Requested', 'buddypress' ), 225 'link_title' => __( 'Friendship Requested', 'buddypress' ) 224 'link_title' => __( 'Friendship Requested', 'buddypress' ), 225 'link_class' => 'friendship-button pending requested' 226 226 ); 227 227 break; … … 235 235 'wrapper_class' => 'friendship-button is_friend', 236 236 'wrapper_id' => 'friendship-button-' . $potential_friend_id, 237 'link_class' => '',238 237 'link_href' => wp_nonce_url( $bp->loggedin_user->domain . $bp->friends->slug . '/remove-friend/' . $potential_friend_id . '/', 'friends_remove_friend' ), 239 238 'link_text' => __( 'Cancel Friendship', 'buddypress' ), … … 241 240 'link_id' => 'friend-' . $potential_friend_id, 242 241 'link_rel' => 'remove', 243 'link_class' => ' remove'242 'link_class' => 'friendship-button is_friend remove' 244 243 ); 245 244 break; … … 253 252 'wrapper_class' => 'friendship-button not_friends', 254 253 'wrapper_id' => 'friendship-button-' . $potential_friend_id, 255 'link_class' => '',256 254 'link_href' => wp_nonce_url( $bp->loggedin_user->domain . $bp->friends->slug . '/add-friend/' . $potential_friend_id . '/', 'friends_add_friend' ), 257 255 'link_text' => __( 'Add Friend', 'buddypress' ), … … 259 257 'link_id' => 'friend-' . $potential_friend_id, 260 258 'link_rel' => 'add', 261 'link_class' => ' add'259 'link_class' => 'friendship-button not_friends add' 262 260 ); 263 261 break;
Note: See TracChangeset
for help on using the changeset viewer.