To donate, fill in the amount you want to donate using the field below. PayPal is accepting
- multiple currencies (Canadian Dollars, Euros, Pounds Sterling, U.S. Dollars, Yen, Australian Dollars, New Zealand Dollars,
- Swiss Francs, Hong Kong Dollars, Singapore Dollars, Swedish Kronor, Danish Kroner, Polish Zloty, Norwegian Kroner,
- Hungarian Forint, Czech Koruna). You can use included currency converter to see the donation amount equivalent in different
- currencies (please note that the rates are only estimates and the actual amount may differ).
+ To donate, fill in the amount you want to donate using the field below.
+ PayPal is accepting multiple currencies
+ (Canadian Dollars, Euros, Pounds Sterling, U.S. Dollars,
+ Yen, Australian Dollars, New Zealand Dollars,
+ Swiss Francs, Hong Kong Dollars, Singapore Dollars, Swedish Kronor,
+ Danish Kroner, Polish Zloty, Norwegian Kroner,
+ Hungarian Forint, Czech Koruna).
+ You can use included currency converter
+ to see the donation amount equivalent in different currencies
+ (please note that the rates are only estimates
+ and the actual amount may differ).
+ ";
}
echo "\n";
diff --git a/html/user/user_search.php b/html/user/user_search.php
index ab5753139c..7b075cdebe 100644
--- a/html/user/user_search.php
+++ b/html/user/user_search.php
@@ -49,7 +49,8 @@ require_once("../inc/user.inc");
function filter_user($user, $filter) {
if ($filter->do_country && $user->country!=$filter->country) return false;
if ($filter->do_profile) {
- if (!($user->has_profile!=0 xor $filter->has_profile)) return false;
+ if ($user->has_profile and !$filter->has_profile) return false;
+ if (!$user->has_profile and $filter->has_profile) return false;
}
if ($filter->do_team) {
if ($filter->team xor $user->teamid!=0) return false;
@@ -60,7 +61,7 @@ function filter_user($user, $filter) {
function show_user($user) {
echo "
";
- row2("With profile?",
+ row2(tra("With profile?"),
" Either
No
Yes
");
- row2("On a team?",
+ row2(tra("On a team?"),
" Either
No
Yes
");
- row2("", "");
+ row2("", "");
end_table();
echo "
@@ -142,7 +143,7 @@ function name_search($filter) {
$search_string = get_str('search_string');
if (strlen($search_string)<3) {
- error_page("search string must be at least 3 characters");
+ error_page(tra("search string must be at least 3 characters"));
}
$s = boinc_real_escape_string($search_string);
$s = escape_pattern($s);
@@ -152,9 +153,9 @@ function name_search($filter) {
foreach ($users as $user) {
if (!filter_user($user, $filter)) continue;
if ($n==0) {
- echo "
User names starting with '".htmlspecialchars($search_string)."'