Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/12/2012 08:09:34 PM (14 years ago)
Author:
johnjamesjacoby
Message:

Add ending semicolons to bp-default where omitted. Fixes #4002.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/functions.php

    r5736 r5737  
    229229                        position: relative;
    230230                        color: #fff;
    231                         background: url(<?php header_image() ?>);
     231                        background: url(<?php header_image(); ?>);
    232232                        -moz-border-radius-bottomleft: 6px;
    233233                        -webkit-border-bottom-left-radius: 6px;
     
    247247                }
    248248                #headimg h1 a{
    249                         color:#<?php header_textcolor() ?>;
     249                        color:#<?php header_textcolor(); ?>;
    250250                        text-decoration: none;
    251251                        border-bottom: none;
    252252                }
    253253                #headimg #desc{
    254                         color:#<?php header_textcolor() ?>;
     254                        color:#<?php header_textcolor(); ?>;
    255255                        font-size:1em;
    256256                        margin-top:-0.5em;
     
    266266                }
    267267                #headimg h1 a, #headimg #desc {
    268                         color:#<?php echo HEADER_TEXTCOLOR ?>;
     268                        color:#<?php echo HEADER_TEXTCOLOR; ?>;
    269269                }
    270270                <?php } ?>
     
    358358                #header h1, #header #desc { display: none; }
    359359                <?php } else { ?>
    360                 #header h1 a, #desc { color:#<?php header_textcolor() ?>; }
     360                #header h1 a, #desc { color:#<?php header_textcolor(); ?>; }
    361361                <?php } ?>
    362362        </style>
     
    462462        ?>
    463463
    464         <li <?php comment_class() ?> id="comment-<?php comment_ID() ?>">
     464        <li <?php comment_class(); ?> id="comment-<?php comment_ID(); ?>">
    465465                <div class="comment-avatar-box">
    466466                        <div class="avb">
    467                                 <a href="<?php echo get_comment_author_url() ?>" rel="nofollow">
     467                                <a href="<?php echo get_comment_author_url(); ?>" rel="nofollow">
    468468                                        <?php if ( $comment->user_id ) : ?>
    469                                                 <?php echo bp_core_fetch_avatar( array( 'item_id' => $comment->user_id, 'width' => $avatar_size, 'height' => $avatar_size, 'email' => $comment->comment_author_email ) ) ?>
     469                                                <?php echo bp_core_fetch_avatar( array( 'item_id' => $comment->user_id, 'width' => $avatar_size, 'height' => $avatar_size, 'email' => $comment->comment_author_email ) ); ?>
    470470                                        <?php else : ?>
    471                                                 <?php echo get_avatar( $comment, $avatar_size ) ?>
     471                                                <?php echo get_avatar( $comment, $avatar_size ); ?>
    472472                                        <?php endif; ?>
    473473                                </a>
     
    490490                                <?php endif; ?>
    491491
    492                                 <?php comment_text() ?>
     492                                <?php comment_text(); ?>
    493493                        </div>
    494494
     
    499499
    500500                                        <?php if ( current_user_can( 'edit_comment', $comment->comment_ID ) ) : ?>
    501                                                 <?php printf( '<a class="button comment-edit-link bp-secondary-action" href="%1$s" title="%2$s">%3$s</a> ', get_edit_comment_link( $comment->comment_ID ), esc_attr__( 'Edit comment', 'buddypress' ), __( 'Edit', 'buddypress' ) ) ?>
     501                                                <?php printf( '<a class="button comment-edit-link bp-secondary-action" href="%1$s" title="%2$s">%3$s</a> ', get_edit_comment_link( $comment->comment_ID ), esc_attr__( 'Edit comment', 'buddypress' ), __( 'Edit', 'buddypress' ) ); ?>
    502502                                        <?php endif; ?>
    503503
     
    569569
    570570        <div id="message" class="updated fade">
    571                 <p><?php printf( __( 'Theme activated! This theme contains <a href="%s">custom header image</a> support and <a href="%s">sidebar widgets</a>.', 'buddypress' ), admin_url( 'themes.php?page=custom-header' ), admin_url( 'widgets.php' ) ) ?></p>
     571                <p><?php printf( __( 'Theme activated! This theme contains <a href="%s">custom header image</a> support and <a href="%s">sidebar widgets</a>.', 'buddypress' ), admin_url( 'themes.php?page=custom-header' ), admin_url( 'widgets.php' ) ); ?></p>
    572572        </div>
    573573
     
    674674                <div class="avb">
    675675                        <?php if ( bp_loggedin_user_id() ) : ?>
    676                                 <a href="<?php echo bp_loggedin_user_domain() ?>">
    677                                         <?php echo get_avatar( bp_loggedin_user_id(), 50 ) ?>
     676                                <a href="<?php echo bp_loggedin_user_domain(); ?>">
     677                                        <?php echo get_avatar( bp_loggedin_user_id(), 50 ); ?>
    678678                                </a>
    679679                        <?php else : ?>
    680                                 <?php echo get_avatar( 0, 50 ) ?>
     680                                <?php echo get_avatar( 0, 50 ); ?>
    681681                        <?php endif; ?>
    682682                </div>
Note: See TracChangeset for help on using the changeset viewer.