Initial commit
This commit is contained in:
26
#pma/templates/table/search/search_and_replace.phtml
Normal file
26
#pma/templates/table/search/search_and_replace.phtml
Normal file
@ -0,0 +1,26 @@
|
||||
<?= __('Find:'); ?>
|
||||
<input type="text" value="" name="find" required />
|
||||
<?= __('Replace with:'); ?>
|
||||
<input type="text" value="" name="replaceWith" />
|
||||
|
||||
<?= __('Column:'); ?>
|
||||
<select name="columnIndex">
|
||||
<?php for ($i = 0, $nb = count($columnNames); $i < $nb; $i++): ?>
|
||||
<?php $type = preg_replace('@\(.*@s', '', $columnTypes[$i]); ?>
|
||||
<?php if ($GLOBALS['PMA_Types']->getTypeClass($type) == 'CHAR'): ?>
|
||||
<?php $column = $columnNames[$i]; ?>
|
||||
<option value="<?= $i; ?>">
|
||||
<?= htmlspecialchars($column); ?>
|
||||
</option>
|
||||
<?php endif; ?>
|
||||
<?php endfor; ?>
|
||||
</select>
|
||||
|
||||
<br>
|
||||
<?= PMA\libraries\Util::getCheckbox(
|
||||
'useRegex',
|
||||
__('Use regular expression'),
|
||||
false,
|
||||
false,
|
||||
'useRegex'
|
||||
); ?>
|
Reference in New Issue
Block a user