diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/admin_login.tpl | 2 | ||||
| -rw-r--r-- | templates/login_inc.tpl | 4 |
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} |
