<form class="submenu-item" action="server_privileges.php" id="{{ form_id }}" method="post"> {{ Url_getHiddenInputs() }} <input type="hidden" name="username" value="{{ username }}" /> <input type="hidden" name="hostname" value="{{ hostname }}" /> <fieldset> <legend data-submenu-label="{{ sub_menu_label }}"> {{ legend }} </legend> <table class="data"> <thead> <tr> <th>{{ type_label }}</th> <th>{% trans 'Privileges' %}</th> <th>{% trans 'Grant' %}</th> {% if type == 'database' %} <th>{% trans 'Table-specific privileges' %}</th> {% elseif type == 'table' %} <th>{% trans 'Column-specific privileges' %}</th> {% endif %} <th colspan="2">{% trans 'Action' %}</th> </tr> </thead> <tbody> {% if privileges|length == 0 %} {% set colspan = type == 'database' ? 7 : (type == 'table' ? 6 : 5) %} <tr> <td colspan="{{ colspan }}"><center><em>{% trans 'None' %}</em></center></td> </tr> {% else %} {% for privilege in privileges %} {% include 'privileges/privileges_summary_row.twig' with privilege|merge({'type': type}) only %} {% endfor %} {% endif %} </tbody> </table> {% if type == 'database' %} {% include 'privileges/add_privileges_database.twig' with { 'databases': databases } only %} {% elseif type == 'table' %} {% include 'privileges/add_privileges_table.twig' with { 'database': database, 'tables': tables } only %} {% else %} {% include 'privileges/add_privileges_routine.twig' with { 'database': database, 'routines': routines } only %} {% endif %} </fieldset> <fieldset class="tblFooters"> <input type="submit" value="{% trans 'Go' %}" /> </fieldset> </form>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
add_privileges_database.twig | File | 544 B | 0644 |
|
add_privileges_routine.twig | File | 542 B | 0644 |
|
add_privileges_table.twig | File | 522 B | 0644 |
|
add_user_fieldset.twig | File | 397 B | 0644 |
|
choose_user_group.twig | File | 442 B | 0644 |
|
column_privileges.twig | File | 986 B | 0644 |
|
delete_user_fieldset.twig | File | 867 B | 0644 |
|
edit_routine_privileges.twig | File | 1.19 KB | 0644 |
|
global_priv_table.twig | File | 841 B | 0644 |
|
global_priv_tbl_item.twig | File | 313 B | 0644 |
|
initials_row.twig | File | 992 B | 0644 |
|
privileges_summary.twig | File | 2.3 KB | 0644 |
|
privileges_summary_row.twig | File | 410 B | 0644 |
|
require_options.twig | File | 527 B | 0644 |
|
require_options_item.twig | File | 978 B | 0644 |
|
resource_limit_item.twig | File | 389 B | 0644 |
|
resource_limits.twig | File | 374 B | 0644 |
|