]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/openid-selector.tmpl
Added a comment: I'm trying to use OpenID without success
[git.ikiwiki.info.git] / templates / openid-selector.tmpl
index b4d0e314f5ad0cd2997cafc8a138c5be892a715d..b6be2720c99e4593d8fede439675916817b37aa5 100644 (file)
@@ -1,4 +1,4 @@
-<script type="text/javascript" src="ikiwiki/openid/jquery.js"></script>
+<script type="text/javascript" src="ikiwiki/jquery.min.js"></script>
 <script type="text/javascript" src="ikiwiki/openid/openid-jquery.js"></script>
 <script type="text/javascript">
 $(document).ready(function() {
@@ -12,7 +12,9 @@ $(document).ready(function() {
 
 <form action="<TMPL_VAR CGIURL>" method="get" id="openid_form">
        <fieldset>
-               <legend>Select your account provider</legend>
+               <script>
+               $('fieldset').append("<legend>Select your account provider</legend>");
+               </script>
                
                <input type="hidden" name="do" value="signin" />
                <input type="hidden" name="action" value="verify" />
@@ -20,6 +22,7 @@ $(document).ready(function() {
                        <div id="openid_btns"></div>
                </div>
                <div id="openid_input_area">
+                       <label for="openid_identifier" class="block">Enter your OpenID:</label>
                        <input id="openid_identifier" name="openid_identifier" type="text" value="<TMPL_VAR OPENID_URL>"/>
                        <input id="openid_submit" type="submit" value="Login"/>
                </div>
@@ -33,7 +36,7 @@ $(document).ready(function() {
 <TMPL_IF NONOPENIDFORM>
 <br />
 <noscript>
-<h2>Local Account:</h2>
+<h2>Other:</h2>
 </noscript>
 </TMPL_IF>
 <TMPL_VAR NONOPENIDFORM>