Changeset 5737 for trunk/bp-themes/bp-default/functions.php
- Timestamp:
- 02/12/2012 08:09:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/functions.php
r5736 r5737 229 229 position: relative; 230 230 color: #fff; 231 background: url(<?php header_image() ?>);231 background: url(<?php header_image(); ?>); 232 232 -moz-border-radius-bottomleft: 6px; 233 233 -webkit-border-bottom-left-radius: 6px; … … 247 247 } 248 248 #headimg h1 a{ 249 color:#<?php header_textcolor() ?>;249 color:#<?php header_textcolor(); ?>; 250 250 text-decoration: none; 251 251 border-bottom: none; 252 252 } 253 253 #headimg #desc{ 254 color:#<?php header_textcolor() ?>;254 color:#<?php header_textcolor(); ?>; 255 255 font-size:1em; 256 256 margin-top:-0.5em; … … 266 266 } 267 267 #headimg h1 a, #headimg #desc { 268 color:#<?php echo HEADER_TEXTCOLOR ?>;268 color:#<?php echo HEADER_TEXTCOLOR; ?>; 269 269 } 270 270 <?php } ?> … … 358 358 #header h1, #header #desc { display: none; } 359 359 <?php } else { ?> 360 #header h1 a, #desc { color:#<?php header_textcolor() ?>; }360 #header h1 a, #desc { color:#<?php header_textcolor(); ?>; } 361 361 <?php } ?> 362 362 </style> … … 462 462 ?> 463 463 464 <li <?php comment_class() ?> id="comment-<?php comment_ID()?>">464 <li <?php comment_class(); ?> id="comment-<?php comment_ID(); ?>"> 465 465 <div class="comment-avatar-box"> 466 466 <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"> 468 468 <?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 ) ); ?> 470 470 <?php else : ?> 471 <?php echo get_avatar( $comment, $avatar_size ) ?>471 <?php echo get_avatar( $comment, $avatar_size ); ?> 472 472 <?php endif; ?> 473 473 </a> … … 490 490 <?php endif; ?> 491 491 492 <?php comment_text() ?>492 <?php comment_text(); ?> 493 493 </div> 494 494 … … 499 499 500 500 <?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' ) ); ?> 502 502 <?php endif; ?> 503 503 … … 569 569 570 570 <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> 572 572 </div> 573 573 … … 674 674 <div class="avb"> 675 675 <?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 ); ?> 678 678 </a> 679 679 <?php else : ?> 680 <?php echo get_avatar( 0, 50 ) ?>680 <?php echo get_avatar( 0, 50 ); ?> 681 681 <?php endif; ?> 682 682 </div>
Note: See TracChangeset
for help on using the changeset viewer.