k2auth_regform.php 4.09 KB
<?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>

	';