gl-website-deployer/admin/phpMyAdmin/templates/server/sub_page_header.twig

17 lines
410 B
Twig
Raw Normal View History

2024-11-23 20:45:29 +01:00
{# array contains Sub page icon and text #}
{% set header = {
'privileges': {
'image': 'b_usrlist',
'text': 'Privileges'|trans
}
} %}
<h2>
{% if is_image|default(true) %}
{{ get_image(header[type]['image']) }}
{% else %}
{{ get_icon(header[type]['image']) }}
{% endif %}
{{ header[type]['text'] }}
{{ link is defined ? show_mysql_docu(link) }}
</h2>