diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2005-07-17 17:36:05 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2005-07-17 17:36:05 +0000 |
| commit | 303cb7200c2ef868b25113af4d524122807dc2d5 (patch) | |
| tree | 8fa6131147fd80c04fd1cc1a964d64b1da15a0ea /templates/install_login.tpl | |
| parent | 54937494744116492a4392f0cfb7fb9b625b124c (diff) | |
| download | install-303cb7200c2ef868b25113af4d524122807dc2d5.tar.gz install-303cb7200c2ef868b25113af4d524122807dc2d5.tar.bz2 install-303cb7200c2ef868b25113af4d524122807dc2d5.zip | |
Merge recent changes from R1 to HEAD - never doing this again.
Diffstat (limited to 'templates/install_login.tpl')
| -rw-r--r-- | templates/install_login.tpl | 75 |
1 files changed, 2 insertions, 73 deletions
diff --git a/templates/install_login.tpl b/templates/install_login.tpl index 1354c68..e929d2d 100644 --- a/templates/install_login.tpl +++ b/templates/install_login.tpl @@ -1,76 +1,5 @@ -{* $Header: /cvsroot/bitweaver/_bit_install/templates/install_login.tpl,v 1.1 2005/06/19 04:51:19 bitweaver Exp $ *} +{* $Header: /cvsroot/bitweaver/_bit_install/templates/install_login.tpl,v 1.2 2005/07/17 17:36:05 squareing Exp $ *} <h1>You must be logged in as an administrator to run the installer.</h1> -<form name="loginbox" action="{$login_url}" method="post" {if $gBitSystemPrefs.feature_challenge eq 'y'}onsubmit="doChallengeResponse()"{/if}> - {if $gBitSystemPrefs.feature_challenge eq 'y'} - <script language="javascript" type="text/javascript" src="lib/md5.js"></script> - {literal} - <script language="Javascript" type="text/javascript"> - <!-- - function doChallengeResponse() { - hashstr = document.loginbox.user.value + - document.loginbox.pass.value + - document.loginbox.email.value; - str = document.loginbox.user.value + - MD5(hashstr) + - document.loginbox.challenge.value; - document.loginbox.response.value = MD5(str); - document.loginbox.pass.value=''; - /* - document.login.password.value = ""; - document.logintrue.username.value = document.login.username.value; - document.logintrue.response.value = MD5(str); - document.logintrue.submit(); - */ - document.loginbox.submit(); - return false; - } - // --> - </script> - {/literal} - <input type="hidden" name="challenge" value="{$challenge|escape}" /> - <input type="hidden" name="response" value="" /> - {/if} - - {legend legend="Please log in"} - <div class="row"> - {formlabel label="Username" for="login-user"} - {forminput} - <input type="text" name="user" id="login-user" size="15" /> - {/forminput} - </div> - - {if $gBitSystemPrefs.feature_challenge eq 'y'} - <div class="row"> - {formlabel label="email" for="login-email"} - {forminput} - <input type="text" name="email" id="login-email" size="15" /> - {/forminput} - </div> - {/if} - - <div class="row"> - {formlabel label="Password" for="login-pass"} - {forminput} - <input type="password" name="pass" id="login-pass" size="15" /> - {/forminput} - </div> - - <div class="row submit"> - <input type="submit" name="login" value="{tr}login{/tr}" /> - </div> - - {if $http_login_url ne '' or $https_login_url ne ''} - <a href="{$http_login_url}" title="{tr}Click here to login using the default security protocol{/tr}">{tr}standard{/tr}</a> | - <a href="{$https_login_url}" title="{tr}Click here to login using a secure protocol{/tr}">{tr}secure{/tr}</a> - {/if} - {if $show_stay_in_ssl_mode eq 'y'} - <label for="login-stayssl">{tr}stay in ssl mode{/tr}:</label> - <input type="checkbox" name="stay_in_ssl_mode" id="login-stayssl" {if $stay_in_ssl_mode eq 'y'}checked="checked"{/if} /> - {/if} - {if $show_stay_in_ssl_mode ne 'y'} - <input type="hidden" name="stay_in_ssl_mode" value="{$stay_in_ssl_mode|escape}" /> - {/if} - {/legend} -</form> +{include file="bitpackage:users/login_inc.tpl"} |
