mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Merge branch 'master' into ajax
This commit is contained in:
@@ -135,6 +135,14 @@ function html_select($name, $options, $value = "", $onchange = true) {
|
||||
return $return;
|
||||
}
|
||||
|
||||
/** Get onclick confirmation
|
||||
* @param string JavaScript expression
|
||||
* @return string
|
||||
*/
|
||||
function confirm($count = "") {
|
||||
return " onclick=\"return confirm('" . lang('Are you sure?') . ($count ? " (' + $count + ')" : "") . "');\"";
|
||||
}
|
||||
|
||||
/** Get INI boolean value
|
||||
* @param string
|
||||
* @return bool
|
||||
|
Reference in New Issue
Block a user