HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vhost/disk-apps/pma.bikenow.co/templates/server/privileges/add_user.twig
<h2>
  {{ get_icon('b_usradd') }}
  {% trans 'Add user account' %}
</h2>

<form name="usersForm" id="addUsersForm" action="{{ url('/server/privileges') }}" method="post" autocomplete="off">
  {{ get_hidden_inputs() }}

  {{ login_information_fields_new|raw }}

  <fieldset id="fieldset_add_user_database">
    <legend>{% trans 'Database for user account' %}</legend>

    <input type="checkbox" name="createdb-1" id="createdb-1">
    <label for="createdb-1">{% trans 'Create database with same name and grant all privileges.' %}</label>
    <br>

    <input type="checkbox" name="createdb-2" id="createdb-2">
    <label for="createdb-2">{% trans 'Grant all privileges on wildcard name (username\\_%).' %}</label>
    <br>

    {% if database is not empty %}
      <input type="checkbox" name="createdb-3" id="createdb-3" checked>
      <label for="createdb-3">{{ 'Grant all privileges on database %s.'|trans|format(database) }}</label>
      <input type="hidden" name="dbname" value="{{ database }}">
      <br>
    {% endif %}
  </fieldset>

  {% if is_grant_user %}
    {{ privileges_table|raw }}
  {% endif %}

  <fieldset id="fieldset_add_user_footer" class="tblFooters">
    <input type="hidden" name="adduser_submit" value="1">
    <input class="btn btn-primary" type="submit" id="adduser_submit" value="{% trans 'Go' %}">
  </fieldset>
</form>