{strip} {assign var=force_secure value=$gBitSystem->isFeatureActive("site_https_login_required")} {form legend="Sign in with your username or email to continue" ipackage=users ifile='validate.php' secure=$force_secure}
{formfeedback error="$error"} {formlabel label="Username or Email" for="user"} {forminput} {formhelp note=""} {/forminput}
{formlabel label="Password" for="pass"} {forminput} {/forminput}
{if $gBitSystem->isFeatureActive('users_remember_me')}
{formlabel label="Remember me" for="rme"} {forminput} {formhelp note=""} {/forminput}
{/if} {if !$gBitSystem->getConfig('site_https_login_required') && $gBitSystem->isFeatureActive('http_login_url') or $gBitSystem->isFeatureActive('https_login_url')}
{formlabel label="" for=""} {forminput} {tr}Standard{/tr} | {tr}Secure{/tr} {formhelp note=""} {/forminput}
{/if} {if $smarty.server.HTTPS == 'on'}
{formlabel label="stay in ssl mode" for="stay_in_ssl_mode"} {forminput} {formhelp note=""} {/forminput}
{else} {/if}
{if $gBitSystem->isFeatureActive('site_https_login_required') || $smarty.server.HTTPS=='on'} {biticon iname="emblem-readonly" ipackage="icons" iexplain="Secure Login"} {/if}
{/form} {/strip}