[FIX] disabled timezone with two factor auth

This commit is contained in:
iAmShorty 2014-05-01 12:45:59 +02:00
parent b4d8d1006e
commit 79d8db2659

View File

@ -33,14 +33,14 @@
<div class="form-group"> <div class="form-group">
<label>Timezone</label> <label>Timezone</label>
{nocache} {nocache}
<select class="form-control" name="timezone"> <select class="form-control select-mini" name="timezone" {if $GLOBAL.twofactor.enabled && $GLOBAL.twofactor.options.details && !$DETAILSUNLOCKED}id="disabledInput" disabled{/if}>
{html_options options=$TIMEZONES selected=$GLOBAL.userdata.timezone} {html_options options=$TIMEZONES selected=$GLOBAL.userdata.timezone}
</select> </select>
{/nocache} {/nocache}
</div> </div>
<div class="form-group"> <div class="form-group">
<label>Payment Address</label> <label>Payment Address</label>
{nocache}<input class="form-control" type="text" name="paymentAddress" value="{$smarty.request.paymentAddress|default:$GLOBAL.userdata.coin_address|escape}" size="40" {if $GLOBAL.twofactor.enabled && $GLOBAL.twofactor.options.details && !$DETAILSUNLOCKED}id="disabledInput" disabled{/if}/>{/nocache} {nocache}<input class="form-control" type="text" name="paymentAddress" value="{$smarty.request.paymentAddress|default:$GLOBAL.userdata.coin_address|escape}" size="40" {if $GLOBAL.twofactor.enabled && $GLOBAL.twofactor.options.details && !$DETAILSUNLOCKED}id="disabledInput" disabled{/if}/>{/nocache}
</div> </div>
<div class="form-group"> <div class="form-group">
<label>Donation Percentage</label> <label>Donation Percentage</label>