summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorNick Palmer <nick@sluggardy.net>2007-07-16 17:07:07 +0000
committerNick Palmer <nick@sluggardy.net>2007-07-16 17:07:07 +0000
commit9269e401adee2a8ed6e355cfa8795eb06ae2a211 (patch)
treefc3e13935954e968c4dacb9402bc0e0da19756ba /templates
parent9ad6850a57d1c9eb03446b527b2de813c15d42d7 (diff)
downloadusers-9269e401adee2a8ed6e355cfa8795eb06ae2a211.tar.gz
users-9269e401adee2a8ed6e355cfa8795eb06ae2a211.tar.bz2
users-9269e401adee2a8ed6e355cfa8795eb06ae2a211.zip
A few minor tweaks to https changes. Otherwise, nice cleanup xing!
Diffstat (limited to 'templates')
-rw-r--r--templates/admin_login.tpl2
-rw-r--r--templates/login_inc.tpl4
2 files changed, 5 insertions, 1 deletions
diff --git a/templates/admin_login.tpl b/templates/admin_login.tpl
index a40380d..484b66f 100644
--- a/templates/admin_login.tpl
+++ b/templates/admin_login.tpl
@@ -129,6 +129,8 @@
{form legend="HTTP Settings"}
<input type="hidden" name="page" value="{$page}" />
+ <div class="row warning">{tr}If you turn on any secure login features you must set the HTTP and HTTPS server name.{/tr}</div>
+
{foreach from=$httpSettings key=feature item=output}
<div class="row">
{formlabel label=`$output.label` for=$feature}
diff --git a/templates/login_inc.tpl b/templates/login_inc.tpl
index 9d82029..67070f5 100644
--- a/templates/login_inc.tpl
+++ b/templates/login_inc.tpl
@@ -31,7 +31,9 @@
<div class="row">
{formlabel label="" for=""}
{forminput}
- <a href="{$gBitSystem->getConfig('http_login_url')}" title="{tr}Click here to login using the default security protocol{/tr}">{tr}Standard{/tr}</a> |
+ {if !$force_secure}
+ <a href="{$gBitSystem->getConfig('http_login_url')}" title="{tr}Click here to login using the default security protocol{/tr}">{tr}Standard{/tr}</a> |
+ {/if}
<a href="{$gBitSystem->getConfig('https_login_url')}" title="{tr}Click here to login using a secure protocol{/tr}">{tr}Secure{/tr}</a>
{formhelp note=""}
{/forminput}