. # -------------------------------------------------------- # $Id: bug_sponsorship_list_view_inc.php,v 1.16.2.1 2007-10-13 22:32:55 giallu Exp $ # -------------------------------------------------------- ?> 0; $t_can_sponsor = !bug_is_readonly( $f_bug_id ) && !current_user_is_anonymous(); $t_show_sponsorships = $t_sponsorships_exist || $t_can_sponsor; } else { $t_show_sponsorships = false; } # # Sponsorship Box # if ( $t_show_sponsorships ) { ?>
0 ) { ?>
<?php echo lang_get( 'sponsor_verb' ) ?> ' . lang_get( 'sponsorship_more_info' ) . ']'; } ?>

'; $i = 0; foreach ( $t_sponsorship_ids as $id ) { $t_sponsorship = sponsorship_get( $id ); $t_date_added = date( config_get( 'normal_date_format' ) , $t_sponsorship->date_submitted ); echo ($i > 0) ? '
' : ''; $i++; echo $t_date_added . ': '; print_user( $t_sponsorship->user_id ); echo ' (' . sponsorship_format_amount( $t_sponsorship->amount ) . ')'; if ( access_has_bug_level( config_get( 'handle_sponsored_bugs_threshold' ), $f_bug_id ) ) { echo ' ' . get_enum_element( 'sponsorship', $t_sponsorship->paid ); } } } ?>
' . lang_get( 'sponsorship_more_info' ) . ']'; } ?> 0 ) { echo ' ('; echo sprintf( lang_get( 'total_sponsorship_amount' ), sponsorship_format_amount( $t_total_sponsorship ) ); echo ')'; } ?>