Server : Apache/2.4.43 (Win64) OpenSSL/1.1.1g PHP/7.4.6 System : Windows NT USER-PC 6.1 build 7601 (Windows 7 Professional Edition Service Pack 1) AMD64 User : User ( 0) PHP Version : 7.4.6 Disable Function : NONE Directory : C:/xampp/phpMyAdmin/templates/server/privileges/ |
{% 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 = format_privilege(priv, true) %} <div class="item"> <input type="checkbox" class="checkall" name="{{ priv[0] }}_priv" id="checkbox_{{ priv[0] }}_priv" value="Y" title="{{ priv[2] }}" {{ checked }}> <label for="checkbox_{{ priv[0] }}_priv"> <code> {{ formatted_priv|raw }} </code> </label> </div> {% endfor %} </fieldset> {% endfor %}