From bfed4b81aa99beed917e0eba59196cf9ab4eee15 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 5 Apr 2005 21:26:41 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=5782 --- html/user/am_get_info.php | 3 ++- html/user/language_select.php | 11 +++++++--- html/user/verify_cpid.php | 38 ----------------------------------- 3 files changed, 10 insertions(+), 42 deletions(-) delete mode 100644 html/user/verify_cpid.php diff --git a/html/user/am_get_info.php b/html/user/am_get_info.php index f857aed97d..55b854cda6 100644 --- a/html/user/am_get_info.php +++ b/html/user/am_get_info.php @@ -36,7 +36,8 @@ $postal_code = urlencode($user->postal_code); $url = urlencode($user->url); success( -"$name +"$user->id +$name $country $postal_code diff --git a/html/user/language_select.php b/html/user/language_select.php index 30e3439a47..b32f647cf3 100644 --- a/html/user/language_select.php +++ b/html/user/language_select.php @@ -54,12 +54,17 @@ for ($i=0; $i".$languages[$i]."", - "".$lang_international[$i]." (".$lang_native[$i].")" + "".$lang_international[$i]."" ); } end_table(); -echo "

You can always go back to automatic language selection by pressing - this link

+$prefs = $HTTP_SERVER_VARS["HTTP_ACCEPT_LANGUAGE"]; +echo " +

+ For language selection based on your Web browser preferences, + click here. +

+ Your current Web browser preferences are:

$prefs
"; page_tail(); ?> diff --git a/html/user/verify_cpid.php b/html/user/verify_cpid.php deleted file mode 100644 index 7323e41d86..0000000000 --- a/html/user/verify_cpid.php +++ /dev/null @@ -1,38 +0,0 @@ -\n$x\n"; -} - -$cpid = process_user_text($_GET["cpid"]);; -$authenticator = process_user_text($_GET["authenticator"]);; - -if (!$cpid || !$authenticator) { - reply("missing argument\n"); - exit(); -} - -$user = lookup_user_auth($authenticator); - -if (!$user) { - reply("bad authenticator\n"); - exit(); -} - -$x = $user->cross_project_id.$user->email_addr; -if (md5($x) == $cpid) { - reply( "\n"); -} else { - reply( "bad CPID\n"); -} - -?>