");
$user = get_logged_in_user();
page_head("Weak account key");
$weak_auth = weak_auth($user);
// figure out the name of this project's account file.
// strip http://
$idx = strpos($url, '://');
if ($idx) {
$url = substr($url, $idx+strlen('://'));
}
//convert invalid characters into underscores
for ($i=0; $i
", tra("Your weak account key for this project is:"), "
", "$weak_auth", "
" , tra("To use your weak account key on a given host, find or create the 'account file' for this project. This file has a name of the form account_PROJECT_URL.xml. The account file for %1 is %2.", PROJECT, $account_file), "
", "", tra("Create this file if needed. Set its contents to:"), "
", "", htmlspecialchars( "", ""), " PROJECT_URL WEAK_ACCOUNT_KEY
", tra("Your weak account key is a function of your password. If you change your password, your weak account key changes, and your previous weak account key becomes invalid."), "
" ; page_tail(); ?>