Initial commit
This commit is contained in:
12
#pma/templates/table/relation/dropdown_generate.phtml
Normal file
12
#pma/templates/table/relation/dropdown_generate.phtml
Normal file
@ -0,0 +1,12 @@
|
||||
<?= (! empty($dropdown_question)
|
||||
? htmlspecialchars($dropdown_question) . ' '
|
||||
: ''); ?><select name="<?= htmlspecialchars($select_name); ?>">
|
||||
<?php foreach ($choices as $one_value => $one_label): ?>
|
||||
<option value="<?= htmlspecialchars($one_value); ?>"
|
||||
<?php if ($selected_value == $one_value): ?>
|
||||
selected="selected"
|
||||
<?php endif; ?>>
|
||||
<?= htmlspecialchars($one_label); ?>
|
||||
</option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
Reference in New Issue
Block a user