diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index 51ee0e0d..8d578d1f 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -148,6 +148,37 @@ function confirm($count = "", $stop = false) { return " onclick=\"" . ($stop ? "eventStop(event); " : "") . "return confirm('" . lang('Are you sure?') . ($count ? " (' + $count + ')" : "") . "');\""; } +/** Print header for hidden fieldset (close by ) +* @param string +* @param string +* @param bool +* @param string +* @return null +*/ +function print_fieldset($id, $legend, $visible = false, $onclick = "") { + echo "
$legend