Changeset 3106
- Timestamp:
- 06/28/2010 05:37:50 PM (15 years ago)
- Location:
- branches/1.2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-forums/bp-forums-templatetags.php
r3083 r3106 583 583 $class = false; 584 584 585 if ( $forum_template->current_topic % 2 != 1 )585 if ( $forum_template->current_topic % 2 == 1 ) 586 586 $class .= 'alt'; 587 587 … … 869 869 $class = false; 870 870 871 if ( $topic_template->current_post % 2 != 1 )871 if ( $topic_template->current_post % 2 == 1 ) 872 872 $class .= 'alt'; 873 873 -
branches/1.2/bp-themes/bp-default/_inc/global.js
r3084 r3106 820 820 /** Alternate Highlighting ******************************************/ 821 821 822 jq(' body#bp-default table tbody tr,div.message-box').each( function(i) {823 if ( i % 2 != 1 )822 jq('div.message-box').each( function(i) { 823 if ( i % 2 == 1 ) 824 824 jq(this).addClass('alt'); 825 825 }); 826 827 jq('body#bp-default table tbody tr:nth-child(even)').addClass('alt'); 826 828 827 829 /** Private Messaging ******************************************/ -
branches/1.2/bp-xprofile/bp-xprofile-templatetags.php
r2831 r3106 188 188 $css_classes[] = 'field_' . sanitize_title( $profile_template->field->name ); 189 189 190 if ( $profile_template->current_field % 2 )190 if ( $profile_template->current_field % 2 == 1 ) 191 191 $css_classes[] = 'alt'; 192 192
Note: See TracChangeset
for help on using the changeset viewer.