]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - templates/openid-selector.tmpl
bugfix
[git.ikiwiki.info.git] / templates / openid-selector.tmpl
1 <script type="text/javascript" src="ikiwiki/openid/jquery.js"></script>
2 <script type="text/javascript" src="ikiwiki/openid/openid-jquery.js"></script>
3 <script type="text/javascript">
4 $(document).ready(function() {
5         openid.init('openid_identifier', "<TMPL_VAR NONOPENIDURL>");
6 });
7 </script>
8         
9 <form action="<TMPL_VAR CGIURL>" method="get" id="openid_form">
10         <fieldset>
11                 <legend>Select your account provider</legend>
13                 <input type="hidden" name="do" value="signin" />
14                 <input type="hidden" name="action" value="verify" />
15                 <div id="openid_choice">
16                         <div id="openid_btns"></div>
17                 </div>
18                 <div id="openid_input_area">
19                         <input id="openid_identifier" name="openid_identifier" type="text" value="<TMPL_VAR OPENID_URL>"/>
20                         <input id="openid_submit" type="submit" value="Login"/>
21                 </div>
22                 <TMPL_IF OPENID_ERROR>
23                 <div class="error"><TMPL_VAR OPENID_ERROR></div>
24                 </TMPL_IF>
25         </fieldset>
26 </form>