]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/openid-selector.tmpl
update
[git.ikiwiki.info.git] / templates / openid-selector.tmpl
index 393479865f4a34c891e67099b7a0bd3d92e282e8..06eefebb97d72c785cab85c53ca862a958aa0211 100644 (file)
@@ -2,21 +2,18 @@
 <script type="text/javascript" src="ikiwiki/openid/openid-jquery.js"></script>
 <script type="text/javascript">
 $(document).ready(function() {
 <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">
 });
 </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>
        <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_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>"/>
                </div>
                <div id="openid_input_area">
                        <input id="openid_identifier" name="openid_identifier" type="text" value="<TMPL_VAR OPENID_URL>"/>