1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 15:47:00 +02:00

Display notification about performing action after relogin

This commit is contained in:
Jakub Vrana
2018-02-08 16:49:56 +01:00
parent 60e5d24116
commit cf7fe88990
5 changed files with 11 additions and 3 deletions

View File

@@ -848,9 +848,10 @@ function friendly_url($val) {
/** Print hidden fields
* @param array
* @param array
* @return null
* @return bool
*/
function hidden_fields($process, $ignore = array()) {
$return = false;
while (list($key, $val) = each($process)) {
if (!in_array($key, $ignore)) {
if (is_array($val)) {
@@ -858,10 +859,12 @@ function hidden_fields($process, $ignore = array()) {
$process[$key . "[$k]"] = $v;
}
} else {
$return = true;
echo '<input type="hidden" name="' . h($key) . '" value="' . h($val) . '">';
}
}
}
return $return;
}
/** Print hidden fields for GET forms