Update default.tpl

Toggle Switch Test
This commit is contained in:
nrpatten 2013-09-13 21:58:12 +10:00
parent 5e873c3d8a
commit ca780ba164

View File

@ -39,10 +39,12 @@
</fieldset> </fieldset>
<fieldset> <fieldset>
<label>Anonymous Account</label> <label>Anonymous Account</label>
Hide username on website others. Admins can still get your user information. Hide username on website from others. Admins can still get your user information.
<input type="hidden" name="is_anonymous" value="0" /> <label class="checkbox" for="is_anonymous">
<input type="checkbox" name="is_anonymous" value="1" id="is_anonymous" {if $GLOBAL.userdata.is_anonymous}checked{/if} /> <input class="ios-switch" type="hidden" name="is_anonymous" value="0" />
<label class="checkbox" for="is_anonymous"></label> <input class="ios-switch" type="checkbox" name="is_anonymous" value="1" id="is_anonymous" {if $GLOBAL.userdata.is_anonymous}checked{/if} />
<div class="switch"></div>
</label>
</fieldset> </fieldset>
<fieldset> <fieldset>
<label>4 digit PIN</label> <label>4 digit PIN</label>