aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2015-05-13 12:18:22 -0400
committerJoey Hess <joeyh@joeyh.name>2015-05-13 12:18:22 -0400
commitec72b4c95bce640f8b02b7885dad84640b924ffe (patch)
tree58970eda82487ca68d60c236d428d04f8514d05f /templates
parent0434f86dd5edbfa672c644466d070b1af8bc5d3b (diff)
downloadikiwiki-ec72b4c95bce640f8b02b7885dad84640b924ffe.tar
ikiwiki-ec72b4c95bce640f8b02b7885dad84640b924ffe.tar.gz
When openid and passwordauth are the only enabled auth plugins, make the openid selector display "Password" instead of "Other", so users are more likely to click on it when they don't have an openid.
Diffstat (limited to 'templates')
-rw-r--r--templates/openid-selector.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/openid-selector.tmpl b/templates/openid-selector.tmpl
index 0fd833042..95ba086fe 100644
--- a/templates/openid-selector.tmpl
+++ b/templates/openid-selector.tmpl
@@ -2,7 +2,7 @@
<script type="text/javascript" src="ikiwiki/openid/openid-jquery.js"></script>
<script type="text/javascript">
$(document).ready(function() {
- openid.init('openid_identifier','<TMPL_IF NONOPENIDFORM>nonopenidform</TMPL_IF>');
+ openid.init('openid_identifier','<TMPL_IF NONOPENIDFORM>nonopenidform</TMPL_IF>', '<TMPL_VAR NONOPENIDFORM_LABEL>');
});
</script>
@@ -13,7 +13,7 @@ $(document).ready(function() {
<form action="<TMPL_VAR CGIURL>" method="get" id="openid_form">
<fieldset>
<script>
- $('fieldset').append("<legend>Select your account provider</legend>");
+ $('fieldset').append("<legend>Select login method</legend>");
</script>
<input type="hidden" name="do" value="signin" />
@@ -36,7 +36,7 @@ $(document).ready(function() {
<TMPL_IF NONOPENIDFORM>
<br />
<noscript>
-<h2>Other:</h2>
+<h2><TMPL_VAR NONOPENIDFORM_LABEL>:</h2>
</noscript>
</TMPL_IF>
<TMPL_VAR NONOPENIDFORM>