diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-05-13 18:37:24 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-05-13 18:50:29 -0400 |
commit | 5b459737a50d83ff94490d86d1b9a4438d4b50a1 (patch) | |
tree | bbef22e5ca5f1288f226c2044cbfb46565e4bcb6 /templates/login-selector.tmpl | |
parent | f8add0adb327a6514bbfc1773e1fc9577c98fa32 (diff) | |
download | ikiwiki-5b459737a50d83ff94490d86d1b9a4438d4b50a1.tar ikiwiki-5b459737a50d83ff94490d86d1b9a4438d4b50a1.tar.gz |
Converted openid-selector into a more generic loginselector helper plugin.
Diffstat (limited to 'templates/login-selector.tmpl')
-rw-r--r-- | templates/login-selector.tmpl | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/templates/login-selector.tmpl b/templates/login-selector.tmpl index e3a91fef2..9b68838dc 100644 --- a/templates/login-selector.tmpl +++ b/templates/login-selector.tmpl @@ -6,7 +6,7 @@ $(document).ready(function() { 'openid_identifier', { <TMPL_IF LOGIN_SELECTOR_OPENID>'openid': 1,</TMPL_IF> - <TMPL_IF LOGIN_SELECTOR_EMAIL>'email': 1,</TMPL_IF> + <TMPL_IF LOGIN_SELECTOR_EMAILAUTH>'email': 1,</TMPL_IF> }, '<TMPL_IF OTHERFORM>otherform</TMPL_IF>', '<TMPL_VAR OTHERFORM_LABEL>' @@ -27,23 +27,23 @@ $(document).ready(function() { </div> <div id="login_input_area"> - <div> - <h3>OpenId login:</h3> <TMPL_IF LOGIN_SELECTOR_OPENID> - <label for="openid_identifier" class="block">Enter your OpenID:</label> - <input id="openid_identifier" name="openid_identifier" type="text" value="<TMPL_VAR ESCAPE=HTML OPENID_URL>"/> - <input id="openid_submit" type="submit" value="Login"/> + <div> + <h3>OpenId login:</h3> + <label for="openid_identifier" class="block">Enter your OpenID:</label> + <input id="openid_identifier" name="openid_identifier" type="text" value="<TMPL_VAR ESCAPE=HTML OPENID_URL>"/> + <input id="openid_submit" type="submit" value="Login"/> + </div> </TMPL_IF> - </div> - <div> - <h3>Email login:</h3> - <TMPL_IF LOGIN_SELECTOR_EMAIL> - <label for="email_address" class="block">Enter your email address:</label> - <input id="email_address" name="Email_entry" type="text" value="<TMPL_VAR ESCAPE=HTML EMAIL_ADDRESS>"/> - <input id="email_submit" type="submit" value="Login"/> + <TMPL_IF LOGIN_SELECTOR_EMAILAUTH> + <div> + <h3>Email login:</h3> + <label for="email_address" class="block">Enter your email address:</label> + <input id="email_address" name="Email_entry" type="text" value="<TMPL_VAR ESCAPE=HTML EMAIL_ADDRESS>"/> + <input id="email_submit" type="submit" value="Login"/> + </div> </TMPL_IF> </div> - </div> <TMPL_IF LOGIN_ERROR> <div class="error"><TMPL_VAR LOGIN_ERROR></div> |