add registration settings to set username
This commit is contained in:
parent
1b7e5c7510
commit
ff4e620b75
@ -97,7 +97,8 @@
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
<p class="help-block col-md-4">{Lang::T('The method which OTP will be sent to user')}</p>
|
||||
<p class="help-block col-md-4">{Lang::T('The method which OTP will be sent to user')}<br>
|
||||
{Lang::T('For Registration and Update Phone Number')}</p>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{Lang::T('Email OTP Required')}</label>
|
||||
|
@ -120,13 +120,6 @@
|
||||
<span class="help-block col-md-4">{Lang::T('Income will reset every this
|
||||
day')}</span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">APP URL</label>
|
||||
<div class="col-md-6">
|
||||
<input type="text" readonly class="form-control" value="{$app_url}">
|
||||
</div>
|
||||
<p class="help-block col-md-4">{Lang::T('edit at config.php')}</p>
|
||||
</div>
|
||||
<button class="btn btn-success btn-block" type="submit">
|
||||
{Lang::T('Save Changes')}
|
||||
</button>
|
||||
@ -168,6 +161,71 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel">
|
||||
<div class="panel-heading" role="tab" id="Registration">
|
||||
<h4 class="panel-title">
|
||||
<a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion"
|
||||
href="#collapseRegistration" aria-expanded="false" aria-controls="collapseRegistration">
|
||||
{Lang::T('Registration')}
|
||||
</a>
|
||||
</h4>
|
||||
</div>
|
||||
<div id="collapseRegistration" class="panel-collapse collapse" role="tabpanel">
|
||||
<div class="panel-body">
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{Lang::T('Registration Username')}</label>
|
||||
<div class="col-md-6">
|
||||
<select name="registration_username" id="voucher_format" class="form-control">
|
||||
<option value="username" {if $_c['registration_username']=='username' }selected="selected"
|
||||
{/if}>Username
|
||||
</option>
|
||||
<option value="email" {if $_c['registration_username']=='email' }selected="selected" {/if}>
|
||||
Email
|
||||
</option>
|
||||
<option value="phone" {if $_c['registration_username']=='phone' }selected="selected" {/if}>
|
||||
Phone Number
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{Lang::T('SMS OTP Registration')}</label>
|
||||
<div class="col-md-6">
|
||||
<select name="sms_otp_registration" id="sms_otp_registration" class="form-control">
|
||||
<option value="no">
|
||||
{Lang::T('No')}
|
||||
</option>
|
||||
<option value="yes" {if $_c['sms_otp_registration']=='yes' }selected="selected" {/if}>
|
||||
{Lang::T('Yes')}
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
<p class="help-block col-md-4">
|
||||
{Lang::T('Customer Registration need to validate using OTP')}
|
||||
</p>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{Lang::T('OTP Method')}</label>
|
||||
<div class="col-md-6">
|
||||
<select name="phone_otp_type" id="phone_otp_type" class="form-control">
|
||||
<option value="sms" {if $_c['phone_otp_type']=='sms' }selected="selected" {/if}>
|
||||
{Lang::T('By SMS')}
|
||||
<option value="whatsapp" {if $_c['phone_otp_type']=='whatsapp' }selected="selected" {/if}>
|
||||
{Lang::T('by WhatsApp')}
|
||||
<option value="both" {if $_c['phone_otp_type']=='both' }selected="selected" {/if}>
|
||||
{Lang::T('By WhatsApp and SMS')}
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
<p class="help-block col-md-4">{Lang::T('The method which OTP will be sent to user')}<br>
|
||||
{Lang::T('For Registration and Update Phone Number')}</p>
|
||||
</div>
|
||||
<button class="btn btn-success btn-block" type="submit">
|
||||
{Lang::T('Save Changes')}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel">
|
||||
<div class="panel-heading" role="tab" id="Voucher">
|
||||
<h4 class="panel-title">
|
||||
@ -457,23 +515,6 @@
|
||||
{Lang::T('it will be replaced.')}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{Lang::T('SMS OTP Registration')}</label>
|
||||
<div class="col-md-6">
|
||||
<select name="sms_otp_registration" id="sms_otp_registration" class="form-control">
|
||||
<option value="no">
|
||||
{Lang::T('No')}
|
||||
</option>
|
||||
<option value="yes" {if $_c['sms_otp_registration']=='yes' }selected="selected" {/if}>
|
||||
{Lang::T('Yes')}
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
<p class="help-block col-md-4">
|
||||
{Lang::T('Customer Registration need to validate using OTP')}
|
||||
</p>
|
||||
</div>
|
||||
<small id="emailHelp" class="form-text text-muted">{Lang::T('You can use')} WhatsApp
|
||||
{Lang::T('in here too.')} <a href="https://wa.nux.my.id/login" target="_blank">{Lang::T('Free
|
||||
Server')}</a></small>
|
||||
|
Loading…
x
Reference in New Issue
Block a user