init web ems all

This commit is contained in:
agtuser
2024-09-27 17:13:36 +08:00
parent 81c97acbe9
commit 5cc56f8078
4263 changed files with 798779 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
{% for key, table in priv_table %}
<fieldset>
<legend>
<input type="checkbox" class="sub_checkall_box" id="checkall_{{ priv_table_names[key] }}_priv"
title="{% trans 'Check all' %}" />
<label for="checkall_{{ priv_table_names[key] }}_priv">{{ priv_table_names[key] }}</label>
</legend>
{% for priv in table %}
{% set checked = row[priv[0] ~ '_priv'] is defined and row[priv[0] ~ '_priv'] == 'Y' ? ' checked="checked"' %}
{% set formatted_priv = ServerPrivileges_formatPrivilege(priv, true) %}
{% include 'privileges/global_priv_tbl_item.twig' with {
'checked': checked,
'formatted_priv': formatted_priv,
'priv': priv
} only %}
{% endfor %}
</fieldset>
{% endfor %}