Initial commit
This commit is contained in:
16
#pma/templates/privileges/add_privileges_database.phtml
Normal file
16
#pma/templates/privileges/add_privileges_database.phtml
Normal file
@ -0,0 +1,16 @@
|
||||
<?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.'))?>
|
Reference in New Issue
Block a user