Changeset 1790 for trunk/bp-status/bp-status-templatetags.php
- Timestamp:
- 09/04/2009 06:49:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-status/bp-status-templatetags.php
r1655 r1790 103 103 } 104 104 105 function bp_the_status_css_class() { 106 echo bp_get_the_status_css_class(); 107 } 108 function bp_get_the_status_css_class() { 109 return ( bp_loggedin_user_id() == bp_displayed_user_id() ) ? 'status-editable' : 'status-display'; 110 } 111 105 112 ?>
Note: See TracChangeset
for help on using the changeset viewer.