You are here

function _contribute_account_summary in Contribute 6

1 call to _contribute_account_summary()
contribute_block in ./contribute.module

File

./contribute.module, line 459
Lets users contribute to projects

Code

function _contribute_account_summary() {
  global $user;
  $output = "";
  $output .= '<div class="contribute-user-budget-label">Balance:</div>';
  $output .= "<div class=\"contribute-user-budget\">";
  $output .= number_format(contribute_get_user_balance($user->uid), 2);
  $output .= "</div>";
  $output .= l('Load your account', 'load_account');
  return $output;
}