Newer
Older
ubFramework / Portal / docroot / phpMyAdmin / templates / privileges / add_privileges_database.phtml
@Christopher W. Olsen Christopher W. Olsen on 10 Dec 2017 702 bytes Cleaning Up Making It A Sub Module
<?php use PMA\libraries\Util; ?>
<label for="text_dbname"><?= __('Add privileges on the following database(s):'); ?></label>

<?php if (! empty($databases)) : ?>
    <select name="pred_dbname[]" multiple="multiple">
        <?php foreach ($databases as $database) : ?>
            <?php $escapedDatabase = Util::escapeMysqlWildcards($database); ?>
            <option value="<?= htmlspecialchars($escapedDatabase); ?>">
                <?= htmlspecialchars($database); ?>
            </option>
        <?php endforeach; ?>
    </select>
<?php endif; ?>

<input type="text" id="text_dbname" name="dbname" />
<?= Util::showHint(__('Wildcards % and _ should be escaped with a \ to use them literally.'))?>