From 4b4055432d0563a58186bf5f5ba3b87f5cfa4365 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Wed, 27 Jul 2011 09:04:43 +0200 Subject: [PATCH] Reorganize functions --- adminer/include/functions.inc.php | 112 +++++++++++++++--------------- 1 file changed, 56 insertions(+), 56 deletions(-) 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