k2auth_regform.php
4.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?php
$this->remember_form='
<div class="row">
<div class="col-6">
<h2 class="h-text text-center">{lnRememberPassword}</h2>
<form id="myformremember" method="post" class="contact_form">
<div class="form-group">
<label for="txtName">{lnEnterLogin}:</label>
<input id="RememberName" type="text" name="RememberName" value=""/ class="form-control">
<span id="RememberName_RequiredFieldValidator"></span>
</div>
<button class="btn login hvr-icon-wobble-horizontal submit" name="btnsubmit" type="submit">{lnResetPassword}</button>
<div class="form-group"></div>
</form>
</div>
</div>
';
$this->reg_form=' <div class="row">
<div class="col-6">
<h2 class="h-text text-center">Реєстрація користувача</h2>
<form id="myformreg" method="post" class = "contact_form">
<script type="text/javascript">
function check_password_consistence()
{
var _txtPassword = myform_manager.get_control("txtPassword");
var _txtPassword_Confirm = myform_manager.get_control("txtPassword_Confirm");
return (_txtPassword.get_value()==_txtPassword_Confirm.get_value());
}
</script>
<div class="form-group">
<label for="txtName">{lnLogin}*:</label>
<input id="txtName" name="txtName" type="text" value="{login}" class="form-control" >
<span id="txtName_RequiredFieldValidator"></span>
</div>
<div class="form-group">
<label for="txtName">Ф.И.О.*:</label>
<input id="txtFIO" name="txtFIO" type="text" class="form-control" >
</div>
<div class="form-group">
<label for="txtName">{lnPhone}:</label>
<input id="txtPhone" name="txtPhone" type="text" value="{phone}" class="form-control" >
<span id="txtPhone_RequiredFieldValidator"></span>
<span id="txtPhone_RegularExpressionValidator"></span>
</div>
<div class="form-group">
<label for="txtName">{lnEmail}*:</label>
<input id="txtEmail" name="txtEmail" type="text" value="{email}" class="form-control" >
<span id="txtEmail_RequiredFieldValidator"></span>
<span id="txtEmail_RegularExpressionValidator"></span>
</div>
<div class="form-group">
<label for="txtName">{lnPassword}*:</label>
<input id="txtPassword" name="txtPassword" type="password" class="form-control" >
</div>
<div class="form-group">
<label for="txtName">{lnRepeatPassword}*:</label>
<input id="txtPassword2" name="txtPassword2" type="password" class="form-control" >
</div>
<div class="form-group d-none" >
<label for="txtRole">Права*:</label></br>
{role}
</div>
<input type="submit" name="btnsubmit" class="btn login hvr-icon-wobble-horizontal" value="{regbtn}">
<div class="form-group">
</div>
</form>
</div>
</div>
';