Setting sAllow Registration = Yes/Voucher/No Registration
This commit is contained in:
parent
ca98ca2223
commit
b15fdf1d6a
@ -73,7 +73,7 @@ class Admin
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function setCookie($aid)
|
public static function setCookie($aid)
|
||||||
{
|
{
|
||||||
global $db_pass, $config;
|
global $db_pass, $config;
|
||||||
|
@ -802,5 +802,8 @@
|
|||||||
"Customer_Registration_need_to_validate_using_OTP": "Customer Registration need to validate using OTP",
|
"Customer_Registration_need_to_validate_using_OTP": "Customer Registration need to validate using OTP",
|
||||||
"Registration_Username": "Registration Username",
|
"Registration_Username": "Registration Username",
|
||||||
"Registration": "Registration",
|
"Registration": "Registration",
|
||||||
"For_Registration_and_Update_Phone_Number": "For Registration and Update Phone Number"
|
"For_Registration_and_Update_Phone_Number": "For Registration and Update Phone Number",
|
||||||
|
"Voucher_Only": "Voucher Only",
|
||||||
|
"No_Registration": "No Registration",
|
||||||
|
"Allow_Registration": "Allow Registration"
|
||||||
}
|
}
|
@ -172,6 +172,27 @@
|
|||||||
</div>
|
</div>
|
||||||
<div id="collapseRegistration" class="panel-collapse collapse" role="tabpanel">
|
<div id="collapseRegistration" class="panel-collapse collapse" role="tabpanel">
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-md-2 control-label">{Lang::T('Allow Registration')}</label>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<select name="disable_registration" id="disable_registration" class="form-control">
|
||||||
|
<option value="no" {if $_c['disable_registration']=='no' }selected="selected" {/if}>
|
||||||
|
{Lang::T('Yes')}
|
||||||
|
</option>
|
||||||
|
{if $_c['disable_voucher'] != 'yes'}
|
||||||
|
<option value="yes" {if $_c['disable_registration']=='yes' }selected="selected" {/if}>
|
||||||
|
{Lang::T('Voucher Only')}
|
||||||
|
</option>
|
||||||
|
{/if}
|
||||||
|
<option value="noreg" {if $_c['disable_registration']=='noreg' }selected="selected" {/if}>
|
||||||
|
{Lang::T('No Registration')}
|
||||||
|
</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
<p class="help-block col-md-4">
|
||||||
|
{Lang::T('Customer just Login with Phone number and Voucher Code, Voucher will be password')}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-md-2 control-label">{Lang::T('Registration Username')}</label>
|
<label class="col-md-2 control-label">{Lang::T('Registration Username')}</label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
@ -218,7 +239,7 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<p class="help-block col-md-4">{Lang::T('The method which OTP will be sent to user')}<br>
|
<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>
|
{Lang::T('For Registration and Update Phone Number')}</p>
|
||||||
</div>
|
</div>
|
||||||
<button class="btn btn-success btn-block" type="submit">
|
<button class="btn btn-success btn-block" type="submit">
|
||||||
{Lang::T('Save Changes')}
|
{Lang::T('Save Changes')}
|
||||||
@ -271,23 +292,6 @@
|
|||||||
<p class="help-block col-md-4">UPPERCASE lowercase RaNdoM</p>
|
<p class="help-block col-md-4">UPPERCASE lowercase RaNdoM</p>
|
||||||
</div>
|
</div>
|
||||||
{if $_c['disable_voucher'] != 'yes'}
|
{if $_c['disable_voucher'] != 'yes'}
|
||||||
<div class="form-group">
|
|
||||||
<label class="col-md-2 control-label">{Lang::T('Disable Registration')}</label>
|
|
||||||
<div class="col-md-6">
|
|
||||||
<select name="disable_registration" id="disable_registration" class="form-control">
|
|
||||||
<option value="no" {if $_c['disable_registration']=='no' }selected="selected" {/if}>
|
|
||||||
{Lang::T('No')}
|
|
||||||
</option>
|
|
||||||
<option value="yes" {if $_c['disable_registration']=='yes' }selected="selected" {/if}>
|
|
||||||
{Lang::T('Yes')}
|
|
||||||
</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
<p class="help-block col-md-4">
|
|
||||||
{Lang::T('Customer just Login with Phone number and Voucher Code, Voucher will be
|
|
||||||
password')}
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-md-2 control-label">{Lang::T('Redirect URL after Activation')}</label>
|
<label class="col-md-2 control-label">{Lang::T('Redirect URL after Activation')}</label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
|
@ -63,9 +63,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-group btn-group-justified mb15">
|
<div class="btn-group btn-group-justified mb15">
|
||||||
<div class="btn-group">
|
{if $_c['disable_registration'] != 'noreg'}
|
||||||
<a href="{$_url}register" class="btn btn-success">{Lang::T('Register')}</a>
|
<div class="btn-group">
|
||||||
</div>
|
<a href="{$_url}register" class="btn btn-success">{Lang::T('Register')}</a>
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<button type="submit" class="btn btn-primary">{Lang::T('Login')}</button>
|
<button type="submit" class="btn btn-primary">{Lang::T('Login')}</button>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user