diff options
author | tailor <cygnus@janrain.com> | 2007-04-06 17:32:53 +0000 |
---|---|---|
committer | tailor <cygnus@janrain.com> | 2007-04-06 17:32:53 +0000 |
commit | 586b506c914c041cfc7d1aef6512e73ceb186901 (patch) | |
tree | ee659510a83923bd3f061104b5e05adbf96b9d7a | |
parent | a8e629caa1fd632120ceed0064e208db79311f92 (diff) | |
download | php-openid-586b506c914c041cfc7d1aef6512e73ceb186901.zip php-openid-586b506c914c041cfc7d1aef6512e73ceb186901.tar.gz php-openid-586b506c914c041cfc7d1aef6512e73ceb186901.tar.bz2 |
[project @ Fix and clarify text on login page]
-rw-r--r-- | examples/server/lib/render/login.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/examples/server/lib/render/login.php b/examples/server/lib/render/login.php index c6fea21..986a885 100644 --- a/examples/server/lib/render/login.php +++ b/examples/server/lib/render/login.php @@ -6,8 +6,12 @@ require_once "lib/render.php"; define('login_form_pat', '<div class="form"> <p> - Enter your identity URL and password into this form to log in to - this server. This server must be configured to accept your identity URL. + + Enter your username into this form to log in to this server. It + can be anything; this is just for demonstration purposes. For + example, entering USERNAME will give you the identity URL + + <pre>%s</pre> </p> <form method="post" action="%s"> @@ -43,7 +47,7 @@ function login_render($errors=null, $input=null, $needed=null) $esc_input = htmlspecialchars($input, ENT_QUOTES); $login_url = buildURL('login', true); - $body = sprintf(login_form_pat, $login_url, $esc_input); + $body = sprintf(login_form_pat, idURL('USERNAME'), $login_url, $esc_input); if ($errors) { $body = loginError_render($errors) . $body; } |