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

Hide window.opener from pages opened in a new window (bug #561)

This commit is contained in:
Jakub Vrana
2018-01-23 12:53:22 +01:00
parent dbc76a2b1e
commit b14aa75a98
22 changed files with 35 additions and 27 deletions

View File

@@ -498,7 +498,7 @@ function doc_link($paths) {
'mssql' => "https://msdn.microsoft.com/library/",
'oracle' => "https://download.oracle.com/docs/cd/B19306_01/server.102/b14200/",
);
return ($paths[$jush] ? "<a href='$urls[$jush]$paths[$jush]' target='_blank' rel='noreferrer'><sup>?</sup></a>" : "");
return ($paths[$jush] ? "<a href='$urls[$jush]$paths[$jush]'" . target_blank() . "><sup>?</sup></a>" : "");
}
/** Wrap gzencode() for usage in ob_start()