Changeset 597
- Timestamp:
- 11/28/2008 09:45:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-templatetags.php
r596 r597 199 199 } 200 200 201 function 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 201 210 function bp_loggedinuser_avatar_thumbnail( $width = false, $height = false ) { 202 211 global $bp; … … 206 215 else 207 216 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 else216 echo bp_core_get_avatar( $bp['loggedin_userid'], 2 );217 217 } 218 218
Note: See TracChangeset
for help on using the changeset viewer.