diff options
author | Joey Hess <joey@kitenet.net> | 2010-05-07 21:20:40 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-05-07 21:20:40 -0400 |
commit | 62b15f811f57cb6b915022e8a58d30b6e38a3f8a (patch) | |
tree | b76352bcb1ac8498faf2a28734a0996351d7f441 | |
parent | c1e365abdc8b89acc4d52b2bb3773b16ae722b8b (diff) |
update
-rw-r--r-- | templates/openid-selector.tmpl | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/templates/openid-selector.tmpl b/templates/openid-selector.tmpl index 393479865..06eefebb9 100644 --- a/templates/openid-selector.tmpl +++ b/templates/openid-selector.tmpl @@ -2,21 +2,18 @@ <script type="text/javascript" src="ikiwiki/openid/openid-jquery.js"></script> <script type="text/javascript"> $(document).ready(function() { - openid.init('openid_identifier'); + openid.init('openid_identifier', "<TMPL_VAR NONOPENIDURL>"); }); </script> <form action="<TMPL_VAR CGIURL>" method="get" id="openid_form"> - <input type="hidden" name="do" value="signin" /> - <input type="hidden" name="action" value="verify" /> <fieldset> - <legend><TMPL_VAR LOGINLABEL></legend> + <legend>Select your account provider</legend> + + <input type="hidden" name="do" value="signin" /> + <input type="hidden" name="action" value="verify" /> <div id="openid_choice"> - <div id="openid_btns"> - </div> - <TMPL_IF NONOPENIDURL> - <a href="<TMPL_VAR NONOPENIDURL>">local account</a> - </TMPL_IF> + <div id="openid_btns"></div> </div> <div id="openid_input_area"> <input id="openid_identifier" name="openid_identifier" type="text" value="<TMPL_VAR OPENID_URL>"/> |