]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - templates/openid-selector.tmpl
patch hidden field setting code
[git.ikiwiki.info.git] / templates / openid-selector.tmpl
1 <script type="text/javascript" src="ikiwiki/openid-selector/jquery.js"></script>
2 <script type="text/javascript" src="ikiwiki/openid-selector/openid-jquery.js"></script>
3 <script type="text/javascript">
4 $(document).ready(function() {
5         openid.init('openid_url');
6 });
7 </script>
8         
9 <TMPL_IF OPENID_ERROR>
10 <div class="error"><TMPL_VAR OPENID_ERROR></span>
11 </TMPL_IF>
12 </div>
14 <form action="<TMPL_VAR CGIURL>" method="get" id="openid_form">
15         <input type="hidden" name="do" value="signin" />
16         <input type="hidden" name="action" value="verify" />
17         <div id="openid_choice">
18                 <p><TMPL_VAR LOGINLABEL>:</p>
19                 <div id="openid_btns">
20                 </div>
21                 <TMPL_IF NONOPENIDURL>
22                 <a href="<TMPL_VAR NONOPENIDURL>">local account</a>
23                 </TMPL_IF>
24         </div>
25         
26         <span id="openid_input_area">
27                 <input id="openid_url" name="openid_url" type="text" value="<TMPL_VAR OPENID_URL>"/>
28                 <input id="openid_submit" type="submit" value="Login"/>
29         </span>
30 </form>