diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-07-13 23:18:55 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-07-13 23:18:55 +0000 |
| commit | 74683f30e107b9da9ab634ad76c795e9a0a787f0 (patch) | |
| tree | 71b6fabb0976f0b68941c01598b3723cd02b035e /modules | |
| parent | 6c094d28138c197c6e1e06da450559c96b020fcc (diff) | |
| download | users-74683f30e107b9da9ab634ad76c795e9a0a787f0.tar.gz users-74683f30e107b9da9ab634ad76c795e9a0a787f0.tar.bz2 users-74683f30e107b9da9ab634ad76c795e9a0a787f0.zip | |
try to clean up https code which has a lot of bogus assignments and convoluted code - still needs testing
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/mod_login_box.tpl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/mod_login_box.tpl b/modules/mod_login_box.tpl index 6190083..59a0219 100644 --- a/modules/mod_login_box.tpl +++ b/modules/mod_login_box.tpl @@ -1,4 +1,4 @@ -{* $Header: /cvsroot/bitweaver/_bit_users/modules/mod_login_box.tpl,v 1.14 2006/12/31 13:12:02 squareing Exp $ *} +{* $Header: /cvsroot/bitweaver/_bit_users/modules/mod_login_box.tpl,v 1.15 2007/07/13 23:18:55 squareing Exp $ *} {strip} {bitmodule title="$moduleTitle" name="login_box"} {if $gBitUser->IsRegistered()} @@ -28,19 +28,19 @@ </div> {/if} - {if $gBitSystem->getConfig('http_login_url') or $gBitSystem->getConfig('https_login_url')} + {if $gBitSystem->isFeatureActive('http_login_url') or $gBitSystem->isFeatureActive('https_login_url')} <div class="row"> <a href="{$gBitSystem->getConfig('http_login_url')}" title="{tr}Click here to login using the default security protocol{/tr}">{tr}standard{/tr}</a> | <a href="{$gBitSystem->getConfig('https_login_url')}" title="{tr}Click here to login using a secure protocol{/tr}">{tr}secure{/tr}</a> </div> {/if} - {if $gBitSystem->isFeatureActive('show_stay_in_ssl_mode')} + {if $smarty.server.HTTPS == 'on'} <div class="row"> - <label>{tr}Stay in ssl mode{/tr} <input type="checkbox" name="stay_in_ssl_mode" id="stay_in_ssl_mode" {if $gBitSystem->isFeatureActive('stay_in_ssl_mode')}checked="checked"{/if} /></label> + <label>{tr}Stay in ssl mode{/tr} <input type="checkbox" name="stay_in_ssl_mode" id="stay_in_ssl_mode" {if $smarty.server.HTTPS == 'on'}checked="checked"{/if} /></label> </div> {else} - <input type="hidden" name="stay_in_ssl_mode" value="{$gBitSystem->getConfig('stay_in_ssl_mode')|escape}" /> + <input type="hidden" name="stay_in_ssl_mode" value="on" /> {/if} <div class="row submit"> |
