Merge remote-tracking branch 'origin/QA_3_4'
This commit is contained in:
commit
103aed54d9
@ -53,11 +53,11 @@ require_once './libraries/header_meta_style.inc.php';
|
||||
?>
|
||||
</div>
|
||||
<p>
|
||||
<a href="enum_editor.php?token=<?php echo urlencode($_GET['token']); ?>&field=<?php echo urlencode($_GET['field']); ?>&extra_fields=<?php echo $_GET['extra_fields'] + 1; ?>&values=<?php echo urlencode(join(",", $values)); ?>">
|
||||
<a href="enum_editor.php<?php echo PMA_generate_common_url(array('field' => $_GET['field'], 'extra_fields' => $_GET['extra_fields'] + 1, 'values' => join(',', $values))); ?>">
|
||||
<?php echo __('+ Restart insertion and add a new value'); ?>
|
||||
</a>
|
||||
</p>
|
||||
<input type="hidden" name="token" value="<?php echo htmlspecialchars($_GET['token']); ?>" />
|
||||
<?php echo PMA_generate_common_hidden_inputs(); ?>
|
||||
<input type="hidden" name="field" value="<?php echo htmlspecialchars($_GET['field']); ?>" />
|
||||
<input type="hidden" name="num_fields" value="<?php echo $total_fields; ?>" />
|
||||
<input type="submit" value="<?php echo __('Go'); ?>" />
|
||||
|
||||
@ -108,7 +108,7 @@ if ($import_type == 'table') {
|
||||
}
|
||||
$err_url = $goto
|
||||
. '?' . $common
|
||||
. (preg_match('@^tbl_[a-z]*\.php$@', $goto) ? '&table=' . urlencode($table) : '');
|
||||
. (preg_match('@^tbl_[a-z]*\.php$@', $goto) ? '&table=' . htmlspecialchars($table) : '');
|
||||
$_SESSION['Import_message']['go_back_url'] = $err_url;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user