Urgent Fix registration logic
This commit is contained in:
parent
e32e0aba16
commit
fd920748be
@ -918,5 +918,10 @@
|
||||
"Email_Address": "Email Address",
|
||||
"Photo_Required": "Photo Required",
|
||||
"Customer_Registration_need_to_upload_their_photo": "Customer Registration need to upload their photo",
|
||||
"Account_already_exists": "Account already exists"
|
||||
"Account_already_exists": "Account already exists",
|
||||
"Notify_Admin": "Notify Admin",
|
||||
"Notify_Admin_upon_self_registration": "Notify Admin upon self registration",
|
||||
"Registration_Mandatory_Fields": "Registration Mandatory Fields",
|
||||
"Mikrotik_SMS_Command": "Mikrotik SMS Command",
|
||||
"Mandatory_Fields": "Mandatory Fields"
|
||||
}
|
@ -385,7 +385,7 @@
|
||||
</p>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label">{Lang::T('Registration Mandatory Fields')}:</label><br>
|
||||
<label class="col-md-3 control-label">{Lang::T('Mandatory Fields')}:</label><br>
|
||||
<label class="col-md-3 control-label">
|
||||
<input type="checkbox" name="man_fields_email" value="yes"
|
||||
{if !isset($_c['man_fields_email']) || $_c['man_fields_email'] neq 'no'}checked{/if}>
|
||||
@ -401,11 +401,6 @@
|
||||
{if !isset($_c['man_fields_address']) || $_c['man_fields_address'] neq 'no'}checked{/if}>
|
||||
{Lang::T('Address')}
|
||||
</label>
|
||||
<label class="col-md-3 control-label">
|
||||
<input type="checkbox" name="man_fields_custom" value="yes"
|
||||
{if !isset($_c['man_fields_custom']) || $_c['man_fields_custom'] neq 'no'}checked{/if}>
|
||||
{Lang::T('Custom Fields')}
|
||||
</label>
|
||||
</div>
|
||||
<button class="btn btn-success btn-block" type="submit">
|
||||
{Lang::T('Save Changes')}
|
||||
|
@ -38,28 +38,22 @@
|
||||
<input type="file" required class="form-control" id="photo" name="photo" accept="image/*">
|
||||
</div>
|
||||
{/if}
|
||||
{if $_c['man_fields_fname'] neq 'no'}
|
||||
<div class="form-group">
|
||||
<label>{Lang::T('Full Name')}</label>
|
||||
<input type="text" required class="form-control" id="fullname" value="{$fullname}"
|
||||
name="fullname">
|
||||
<input type="text" {if $_c['man_fields_fname'] neq 'no'}required{/if} class="form-control"
|
||||
id="fullname" value="{$fullname}" name="fullname">
|
||||
</div>
|
||||
{/if}
|
||||
{if $_c['man_fields_address'] neq 'no'}
|
||||
<div class="form-group">
|
||||
<label>{Lang::T('Email')}</label>
|
||||
<input type="text" class="form-control" placeholder="xxxxxx@xxx.xx" id="email"
|
||||
value="{$email}" name="email">
|
||||
<input type="text" class="form-control" {if $_c['man_fields_email'] neq 'no'}required{/if}
|
||||
placeholder="xxxxxx@xxx.xx" id="email" value="{$email}" name="email">
|
||||
</div>
|
||||
{/if}
|
||||
{if $_c['man_fields_address'] neq 'no'}
|
||||
<div class="form-group">
|
||||
<label>{Lang::T('Home Address')}</label>
|
||||
<input type="text" name="address" id="address" value="{$address}" class="form-control">
|
||||
<input type="text" name="address" {if $_c['man_fields_address'] neq 'no'}required{/if}
|
||||
id="address" value="{$address}" class="form-control">
|
||||
</div>
|
||||
{if $_c['man_fields_custom'] neq 'no'}
|
||||
{$customFields}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -121,11 +115,11 @@
|
||||
</div>
|
||||
</div>
|
||||
{if $_c['tawkto'] != ''}
|
||||
<!--Start of Tawk.to Script-->
|
||||
<script type="text/javascript">
|
||||
<!--Start of Tawk.to Script-->
|
||||
<script type="text/javascript">
|
||||
var Tawk_API = Tawk_API || {},
|
||||
Tawk_LoadStart = new Date();
|
||||
(function () {
|
||||
(function() {
|
||||
var s1 = document.createElement("script"),
|
||||
s0 = document.getElementsByTagName("script")[0];
|
||||
s1.async = true;
|
||||
@ -134,8 +128,8 @@
|
||||
s1.setAttribute('crossorigin', '*');
|
||||
s0.parentNode.insertBefore(s1, s0);
|
||||
})();
|
||||
</script>
|
||||
<!--End of Tawk.to Script-->
|
||||
</script>
|
||||
<!--End of Tawk.to Script-->
|
||||
{/if}
|
||||
|
||||
{include file="customer/footer-public.tpl"}
|
@ -47,29 +47,22 @@
|
||||
<input type="file" required class="form-control" id="photo" name="photo" accept="image/*">
|
||||
</div>
|
||||
{/if}
|
||||
{if $_c['man_fields_fname'] neq 'no'}
|
||||
<div class="form-group">
|
||||
<label>{Lang::T('Full Name')}</label>
|
||||
<input type="text" required class="form-control" id="fullname" value="{$fullname}"
|
||||
name="fullname">
|
||||
<input type="text" {if $_c['man_fields_fname'] neq 'no'}required{/if} class="form-control"
|
||||
id="fullname" value="{$fullname}" name="fullname">
|
||||
</div>
|
||||
{/if}
|
||||
{if $_c['man_fields_email'] neq 'no'}
|
||||
<div class="form-group">
|
||||
<label>{Lang::T('Email')}</label>
|
||||
<input type="text" class="form-control" id="email" placeholder="xxxxxxx@xxxx.xx"
|
||||
value="{$email}" name="email">
|
||||
<input type="text" {if $_c['man_fields_email'] neq 'no'}required{/if} class="form-control"
|
||||
id="email" placeholder="xxxxxxx@xxxx.xx" value="{$email}" name="email">
|
||||
</div>
|
||||
{/if}
|
||||
{if $_c['man_fields_address'] neq 'no'}
|
||||
<div class="form-group">
|
||||
<label>{Lang::T('Home Address')}</label>
|
||||
<input type="text" name="address" id="address" value="{$address}" class="form-control">
|
||||
<input type="text" {if $_c['man_fields_address'] neq 'no'}required{/if} name="address"
|
||||
id="address" value="{$address}" class="form-control">
|
||||
</div>
|
||||
{/if}
|
||||
{if $_c['man_fields_custom'] neq 'no'}
|
||||
{$customFields}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"version": "2024.12.6"
|
||||
"version": "2024.12.6.1"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user