Skip to:
Content

BuddyPress.org

Changeset 597


Ignore:
Timestamp:
11/28/2008 09:45:36 PM (18 years ago)
Author:
apeatling
Message:

Renamed function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-templatetags.php

    r596 r597  
    199199}
    200200
     201function bp_loggedinuser_avatar( $width = false, $height = false ) {
     202        global $bp;
     203       
     204        if ( $width && $height )
     205                echo bp_core_get_avatar( $bp['loggedin_userid'], 2, $width, $height );
     206        else
     207                echo bp_core_get_avatar( $bp['loggedin_userid'], 2 );
     208}
     209
    201210function bp_loggedinuser_avatar_thumbnail( $width = false, $height = false ) {
    202211        global $bp;
    … …  
    206215        else
    207216                echo bp_core_get_avatar( $bp['loggedin_userid'], 1 );
    208 }
    209 
    210 function bp_loggedinuser_avatar_full( $width = false, $height = false ) {
    211         global $bp;
    212        
    213         if ( $width && $height )
    214                 echo bp_core_get_avatar( $bp['loggedin_userid'], 2, $width, $height );
    215         else
    216                 echo bp_core_get_avatar( $bp['loggedin_userid'], 2 );
    217217}
    218218
Note: See TracChangeset for help on using the changeset viewer.