Changeset 3156 for branches/1.2/bp-messages/bp-messages-templatetags.php
- Timestamp:
- 08/03/2010 09:40:51 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-messages/bp-messages-templatetags.php
r3145 r3156 246 246 } 247 247 248 function bp_message_css_class() { 249 echo bp_get_message_css_class(); 250 } 251 252 function bp_get_message_css_class() { 253 global $messages_template; 254 255 $class = false; 256 257 if ( $messages_template->current_thread % 2 == 1 ) 258 $class .= 'alt'; 259 260 return apply_filters( 'bp_get_message_css_class', trim( $class ) ); 261 } 262 248 263 function bp_message_thread_has_unread() { 249 264 global $messages_template;
Note: See TracChangeset
for help on using the changeset viewer.