for Loic
This commit is contained in:
@@ -420,11 +420,12 @@ for ($i = 0; $i < $fields_cnt; $i++) {
|
|||||||
|
|
||||||
if (isset($disp) && $disp) {
|
if (isset($disp) && $disp) {
|
||||||
echo ' <td bgcolor="' . $bgcolor . '">' . "\n";
|
echo ' <td bgcolor="' . $bgcolor . '">' . "\n";
|
||||||
|
echo ' ' . $backup_field . "\n";
|
||||||
echo ' <select name="fields[' . urlencode($field) . ']">' . "\n";
|
echo ' <select name="fields[' . urlencode($field) . ']">' . "\n";
|
||||||
while ($relrow = @PMA_mysql_fetch_array($disp)) {
|
while ($relrow = @PMA_mysql_fetch_array($disp)) {
|
||||||
$key = $relrow[$foreign_field];
|
$key = $relrow[$foreign_field];
|
||||||
$value = (($foreign_display != FALSE) ? '-' . htmlspecialchars($relrow[$foreign_display]) : '');
|
$value = (($foreign_display != FALSE) ? ' - ' . htmlspecialchars($relrow[$foreign_display]) : '');
|
||||||
echo ' <option value="' . urlencode($key) . '"';
|
echo ' <option value="' . htmlspecialchars($key) . '"';
|
||||||
if ($key == $data) {
|
if ($key == $data) {
|
||||||
echo ' selected="selected"';
|
echo ' selected="selected"';
|
||||||
} // end if
|
} // end if
|
||||||
|
Reference in New Issue
Block a user