HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.30
System: Linux iZj6c1151k3ad370bosnmsZ 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64
User: root (0)
PHP: 7.4.30
Disabled: NONE
Upload Files
File: /var/www/html/phpmyfaq/assets/themes/default/templates/register.html
<section class="col-12">
  <h1>{{ pageHeader }}</h1>
  <p>{{ msgRegistrationCredentials }} {{ msgRegistrationNote }}</p>

  <div id="registrations"></div>

  <form id="formValues" method="post" action="#" accept-charset="utf-8">
    <input type="hidden" name="lang" id="lang" value="{{ lang }}" />

    <div class="form-group row">
      <label class="col-3 form-control-label" for="realname">{{ realname }}</label>
      <div class="col-9">
        <input type="text" name="realname" id="realname" required class="form-control" />
      </div>
    </div>

    <div class="form-group row">
      <label class="col-3 form-control-label" for="name">{{ loginname }}</label>
      <div class="col-9">
        <input type="text" name="name" id="name" required class="form-control" />
      </div>
    </div>

    <div class="form-group row">
      <label class="col-3 form-control-label" for="email">{{ email }}</label>
      <div class="col-9">
        <input type="email" name="email" id="email" required class="form-control" />
      </div>
    </div>

    <div class="form-group row">
      <div class="offset-3 col-sm-9">
        <div class="form-check">
          <input class="form-check-input" type="checkbox" id="is_visible" name="is_visible" />
          <label class="form-check-label" for="is_visible"> {{ is_visible }} </label>
        </div>
      </div>
    </div>

    {{ captchaFieldset }}

    <div id="loader"></div>

    <div class="form-group row">
      <div class="col-12 text-right">
        <button class="btn btn-primary" type="submit" id="submitregistration">{{ submitRegister }}</button>
      </div>
    </div>
  </form>
  <script type="text/javascript">
    document.addEventListener('DOMContentLoaded', () => {
      'use strict';
      $('#submitregistration').on('click', () => {
        saveFormValues('saveregistration', 'registration');
      });
      $('form#formValues').submit(() => {
        return false;
      });
    });
  </script>
</section>