diff --git a/drupal/sites/all/features/user_account_host_list/user_account_host_list.views_default.inc b/drupal/sites/all/features/user_account_host_list/user_account_host_list.views_default.inc index 6ec58b1ad9..0f21ab0114 100644 --- a/drupal/sites/all/features/user_account_host_list/user_account_host_list.views_default.inc +++ b/drupal/sites/all/features/user_account_host_list/user_account_host_list.views_default.inc @@ -955,8 +955,10 @@ function user_account_host_list_views_default_views() { 'text' => '', 'make_link' => 0, 'path' => '', + 'absolute' => 0, 'link_class' => '', 'alt' => '', + 'rel' => '', 'prefix' => '', 'suffix' => '', 'target' => '', @@ -971,10 +973,14 @@ function user_account_host_list_views_default_views() { 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, + 'hide_alter_empty' => 0, 'set_precision' => 1, 'precision' => '0', 'decimal' => '.', 'separator' => ',', + 'format_plural' => 0, + 'format_plural_singular' => '1', + 'format_plural_plural' => '@count', 'prefix' => '', 'suffix' => '', 'exclude' => 0, @@ -993,8 +999,10 @@ function user_account_host_list_views_default_views() { 'text' => '', 'make_link' => 0, 'path' => '', + 'absolute' => 0, 'link_class' => '', 'alt' => '', + 'rel' => '', 'prefix' => '', 'suffix' => '', 'target' => '', @@ -1009,10 +1017,14 @@ function user_account_host_list_views_default_views() { 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, + 'hide_alter_empty' => 0, 'set_precision' => 1, 'precision' => '0', 'decimal' => '.', 'separator' => ',', + 'format_plural' => 0, + 'format_plural_singular' => '1', + 'format_plural_plural' => '@count', 'prefix' => '', 'suffix' => '', 'exclude' => 0, @@ -1020,6 +1032,9 @@ function user_account_host_list_views_default_views() { 'table' => 'host', 'field' => 'total_credit', 'relationship' => 'none', + 'override' => array( + 'button' => 'Use default', + ), ), 'rpc_time' => array( 'label' => 'Last contact', diff --git a/drupal/sites/default/boinc/modules/boincuser/boincuser.module b/drupal/sites/default/boinc/modules/boincuser/boincuser.module index a95ab4e50e..8e745d46df 100644 --- a/drupal/sites/default/boinc/modules/boincuser/boincuser.module +++ b/drupal/sites/default/boinc/modules/boincuser/boincuser.module @@ -1483,8 +1483,8 @@ function boincuser_get_projects_table($account = null) { foreach ($projects AS $project) { $output .= ' ' . "\n"; $output .= " {$project->name}" . "\n"; - $output .= " {$project->expavg_credit}" . "\n"; - $output .= " {$project->total_credit}" . "\n"; + $output .= ' ' . number_format((float) $project->expavg_credit) . '' . "\n"; + $output .= ' ' . number_format((float) $project->total_credit) . '' . "\n"; $output .= ' ' . "\n"; } $output .= '' . "\n";