phpmyadmin/resources/templates/select_all.twig
Maurício Meneghini Fauth 90ee00efd5
Create the 'pma' global variable for Twig templates
Creates the Twig\PmaGlobalVariable class to handle the 'pma' Twig global
variable.

The idea of this global variable is to automatically inject in all
templates some useful information.

For now it only includes `pma.version` to get the phpMyAdmin version
and `pma.text_dir` to get the text direction ('ltr' or 'rtl').

Adding new variables to the `pma` global variable should be done with
caution.

- https://twig.symfony.com/doc/3.x/advanced.html#globals

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-07-09 20:30:48 -03:00

6 lines
343 B
Twig

{{ get_image('select_all_arrow', t('With selected:'), {'dir': pma.text_dir, 'width': '38', 'height': '22'}) }}
<input type="checkbox" id="{{ form_name }}_checkall" class="checkall_box"
title="{{ t('Check all') }}">
<label for="{{ form_name }}_checkall">{{ t('Check all') }}</label>
<em class="with-selected">{{ t('With selected:') }}</em>