diff --git a/html/inc/account.inc b/html/inc/account.inc index 3dea844d9db435335794a384783931a071c9b1aa..93825f8362fdcdb8c11da04925c788184863ce7d 100644 --- a/html/inc/account.inc +++ b/html/inc/account.inc @@ -78,7 +78,7 @@ function create_account_form($teamid, $next_url) { if ($publickey) { row2( "", - recaptcha_get_html($publickey) + boinc_recaptcha_get_html($publickey) ); } diff --git a/html/inc/util.inc b/html/inc/util.inc index 6bb901f2376fb3054dd8dde786ec60c07756206a..9e5d55abaae0e7125fbca953ebc23293e1a9bad6 100644 --- a/html/inc/util.inc +++ b/html/inc/util.inc @@ -1002,7 +1002,7 @@ function recaptcha_get_head_extra() { } } -function recaptcha_get_html($publickey) { +function boinc_recaptcha_get_html($publickey) { if ($publickey) { return '<div class="g-recaptcha" data-sitekey="' . $publickey . '"></div>'; } else { diff --git a/html/user/create_profile.php b/html/user/create_profile.php index 5cdb7669282a6b0e484f77f06c613f00bde986e0..9d2d4d69f494ef361cd9ee04e690a5ea9c775cfc 100644 --- a/html/user/create_profile.php +++ b/html/user/create_profile.php @@ -107,7 +107,7 @@ function show_submit() { $config = get_config(); $publickey = parse_config($config, "<recaptcha_public_key>"); if ($publickey) { - table_row(recaptcha_get_html($publickey)); + table_row(boinc_recaptcha_get_html($publickey)); } table_row("<p><input class=\"btn btn-primary\" type=\"submit\" value=\"".tra("Create/edit profile") ."\" name=\"submit\">"); }